当前位置:网站首页>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 

边栏推荐
- [leetcode] notes on recursive time value transfer and reference transfer
- [winning] Title A of the 9th Teddy Cup Challenge
- [image processing] multi functional image processing system based on Matlab GUI [including Matlab source code 1876]
- How to change the administrator's Avatar in win11? Win11 method of changing administrator image
- Project sorting of Online Exercise System Based on gin and Gorm
- 【MATLAB】图像压缩编码(DCT、RLE)
- 【音乐】基于matlab演奏《青花瓷》【含Matlab源码 1873期】
- [leetcode] ordered linked list transformation binary search tree
- Data and electricity course design: circuit of full adder / subtractor
- Deep exploration of functions with indefinite parameters in C language
猜你喜欢
![[music] playing](/img/cf/63b04080867e93ab2e00e2e21b37df.jpg)
[music] playing "over fire" based on MATLAB [including Matlab source code 1875]

Union find

In May, the main growth ranking list (platform of station B) of the single flying melon data up was released

1个月不到暴增900万播放量,B站3个流量增长密码!

How to reinstall win11 drawing tool when it is missing

QT database learning notes (I) basic concepts of database

视频压缩数据集TVD

【BSP视频教程】BSP视频教程第17期:单片机bootloader专题,启动,跳转配置和调试下载的各种用法(2022-06-10)

Fallible point--

Dinner a bang's Craft
随机推荐
Video compression data set TVD
On permutation and Combination in Probabilistic Statistics
Battery control of QT widget (qpainter)
[matlab] image enhancement (power transformation, histogram specification processing method, smoothing and sharpening filtering)
[matlab] image compression coding (DCT, RLE)
【HaaS Hands-On】全新视频节目上线 创意案例我们一起上手做 第一期E01: 物联网工程师 和你一起上手做遥控机械臂
Treatment of small fish
【音乐】基于matlab演奏《天空之城》【含Matlab源码 1874期】
[error record] Android application security detection vulnerability repair (strandhogg vulnerability | set activity component android:taskaffinity= "")
[traitement d'image] système multifonctionnel de traitement d'image basé sur l'interface graphique MATLAB [y compris le code source MATLAB 1876]
Interviewer: let me introduce the items in your resume. Tell me more about them, and attach the actual project
ACM tutorial - heap sorting
Matlab random function summary
[Qt] Erreur: qapplication: No such file or directory Solution
2021-02-27image processing of MATLAB
[leetcode] merge K ascending linked lists
Database overview
视频压缩数据集TVD
ABAP CDS实现多行字段内容拼接
The argument type ‘int?‘ can‘t be assigned to the parameter type ‘num‘