点击屏幕上的按钮时,SY-UCOMM这个系统字段会记录当前点击按钮的功能代码,BU一般作为系统的保存按钮的功能代码,SY-UCOMM='BU'就表示用户点击保存
syst这个structure中有ucomm字段,它是触发PAI的功能代码,sy-ucomm属于系统字段 通常我们定义ok_code为sy-ucomm类型,用来记录屏幕操作的功能代码,你可以理解为一个动作,就比如输T-code旁的右边三个按钮:Back(后退),Exit(退出),Cancel(取消),在你点击Back后,程序会用ok_code来记录你的动作Ba...
SY-LOOPC:当前表格控件在屏幕中的总行数(Table Control) SY-UCOMM:PAI所出发的功能代码 SY-DYNNR:当前屏幕号 SY-MSGID:Message Class SY-MSGNR:Message Number SY-MSGTY:Message Type SY-MSGV1~4:Message Variant SY-LINCT:REPROT语句中设定的LINE-COUNT SY-LINSZ:REPROT语句中设定的LINE-SIZE SY-SROWS:...
用户在屏幕进行操作后..syst这个structure中有ucomm字段,它是触发PAI的功能代码,sy-ucomm属于系统字段通常我们定义ok_code为sy-ucomm类型,用来记录屏幕操作的功能代码,你可以理解为一个动
SAP Managed Tags: ABAP Development Hi Suresh, SY-UCOMM is a System Field which gets all the user commands when it is pressed like ENTER, BACK, PAGEDOWN etc.. Regards Aneesh. Reply Former Member 2007 Jun 15 12:05 PM 0 Kudos 129 SAP Managed Tags: ABAP Development hi thanks...
ucomm. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following ...
sy-ucomm for any user action is specific to the program you are using. You can define the user command for each button on the screen using the set pf-status command in abap. Regards, ravi Reply Former Member 2006 Oct 12 3:18 PM 0 Kudos 150 SAP Managed Tags: ABAP Developme...
SAP Managed Tags: ABAP Development Hi, I've an z program with two diferents screens, using a buttom i can change between screens however when I use pgdown key, screen change again to default window. I search in code where sy-ucomm = P+ are used but i didn't find it. can somebod...
SY-UCOMM:PAI所出发的功能代码 SY-DYNNR:当前屏幕号 SY-MSGID:Message Class SY-MSGNR:Message Number SY-MSGTY:Message Type SY-MSGV1~4:Message Variant SY-LINCT:REPROT语句中设定的LINE-COUNT SY-LINSZ:REPROT语句中设定的LINE-SIZE SY-SROWS:当前窗口的列表行数 SY-SCOLS:当前窗口的列表栏目数 SY-...
abap里面的AT USER-COMMAND事件到底怎么用啊.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.SELECTION-SCREEN SKIP.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.AT USER-COMMAND.CASE sy-ucomm.WHEN 'ABCD'.MESSAGE I005(MsgClass) WITH '111'....