效果图:


ALV标题居中加粗_SAP刘梦_新浪博客_python




用的FM的ALV,主要代码如下:

​​

ALV标题居中加粗_SAP刘梦_新浪博客_python_02

​​

​​

ALV标题居中加粗_SAP刘梦_新浪博客_订阅号_03


关于那个宏,


直接用下面的就行


   TEXT  =  'User Name : ' . 
CALL METHOD DOCUMENT ->ADD_TEXT
EXPORTING
TEXT = TEXT
SAP_EMPHASIS = 'Strong' .
CALL METHOD DOCUMENT ->ADD_GAP
EXPORTING
WIDTH = 2 .


欢迎关注订阅号:SAP学习记录 (SAPlearning )

PO <wbr><wbr>text <wbr><wbr>copy <wbr><wbr>rules <wbr><wbr>:copy <wbr><wbr>PR <wbr><wbr>item <wbr><wbr>text <wbr><wbr>to <wbr><wbr>PO