SM30: Add custom …

网友投稿 217 2022-09-25

SM30: Add custom …

SM30: Add custom button on maintenance view:

Step by step:

Create DB table: ZLM_TEST_MT

Create maintenance view

Add event:

Form routine name must be SAPL + function group name.

Before press editor you’d better go to sm30 to check status:

Then press editor

Choose status and input EULG. Press copy user interface;

Form program SAPLSVIM (you can check function group SVIM)

After copy EULG. Change -> add custom button

Save and active.

Modify maintenance screen

(you can also go to SE80 to change it)

Double click on the module name and create the include program as shown in below screen shot.

.

Write the below code in the include :

MODULE MOD_SET_STATUS INPUT.   DATA COUNT_ER TYPE I.   CASE FUNCTION.     WHEN 'POP'.       CALL FUNCTION 'POPUP_TO_INFORM'         EXPORTING           TITEL = 'Information'           TXT1  = 'HELLOOOOOOOOOO............'           TXT2  = COUNT_ER.   ENDCASE.ENDMODULE.

SM30

Press pop show:

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:修改文本CREATE_TEXT/SAVE_TEXT/RE…
下一篇:苹果中国份额猛增:iPhone11今年上半年最畅销手机,华为无机型对抗!
相关文章

 发表评论

暂时没有评论,来抢沙发吧~