当前位置:网站首页>SAP smartforms text content manual wrap output
SAP smartforms text content manual wrap output
2022-06-11 02:06:00 【DeveloperMrMeng】
The effect is as follows , Line feed output of batch and piece number information ( Non wrap )

The implementation is as follows :
1. Use CL_ABAP_CHAR_UTILITIES=>CR_LF Splice newline

2.smartforms Define global variables

3. Add lines of code

DATA:
LT_STRAM_LINES TYPE STANDARD TABLE OF STRING,
LS_STRING TYPE STRING,
LT_TEXT TYPE TLINE_T.
CLEAR GT_CHARGPID.
LS_STRING = GS_ITEM-CHARGPID.
APPEND LS_STRING TO LT_STRAM_LINES.
CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT'
EXPORTING
STREAM_LINES = LT_STRAM_LINES
LF = 'X'
TABLES
ITF_TEXT = GT_CHARGPID.4. Replace the field contents with dynamic text , The format of the dynamic text field is the default paragraph format set in the table style , If there are multiple formats , And the default format is the format with some settings such as line spacing , There may be multiple lines of content superimposed or some abnormal display effects 

边栏推荐
- Sequence table exercises
- [matlab] basic operation of MATLAB image processing
- 【HaaS Hands-On】全新视频节目上线 创意案例我们一起上手做 第一期E01: 物联网工程师 和你一起上手做遥控机械臂
- Task03: building an offline material system
- ---排列数字---
- ASEMI场效应管12N65参数,12N65规格书,12N65特征
- Some records of China open SSL compilation
- 20N10-ASEMI中小功率MOS管20N10
- Introduction and practice of QT tcp/udp network protocol (supplementary)
- Byte Beijing 23K and pinduoduo Shanghai 28K, how should I choose?
猜你喜欢

Fallible point--

Elsevier ---elseviewer--- preprint online publishing notice
![[leetcode] balanced binary tree](/img/77/a37557295646010326dac024cf869a.jpg)
[leetcode] balanced binary tree

ASEMI场效应管12N65参数,12N65规格书,12N65特征

ACM教程 - 堆排序

flutter 状态管理

Data and electricity course design: circuit of full adder / subtractor
![[music] playing city of the sky based on MATLAB [including Matlab source code 1874]](/img/cf/63b04080867e93ab2e00e2e21b37df.jpg)
[music] playing city of the sky based on MATLAB [including Matlab source code 1874]

AI 狂想|来这场大会,一起盘盘 AI 的新工具!

The female programmer gives out a salary slip: the salary is high, but she feels she is 10 years old
随机推荐
【音乐】基于matlab演奏《青花瓷》【含Matlab源码 1873期】
Deep exploration of functions with indefinite parameters in C language
2021-07-18 ROS notes - basics and communication
Virtual joystick of QT quick QML instance
[matlab] image compression coding (DCT, RLE)
【MATLAB】图像复原
[leetcode] same tree + symmetric binary tree
Interviewer: let me introduce the items in your resume. Tell me more about them, and attach the actual project
flutter 状态管理
1个月不到暴增900万播放量,B站3个流量增长密码!
SAP SMARTFORMS文本内容手动换行输出
[leetcode] path sum II (first glimpse recursion + backtracking)
Win11系统使用DISM命令备份驱动程序的方法
[leetcode] a group of K flipped linked lists
[winning] Title A of the 9th Teddy Cup Challenge
[leetcode] ordered linked list transformation binary search tree
Well paid test development programmers, why are you leaving? Kill each other with products until the sky is dark
FB02编辑Coding Block字段
Metersphere tutorial: how to assert when the returned result of the interface is null
關於概率統計中的排列組合