两个办法,第一个就是进入屏幕设计器,选择对应的按钮查看.第二个就是鼠标点中按钮不要放开,然后移开鼠标,此时按钮会处于选中状态,再按F1就可以看到对应的OKCode了
BDC OKCODE其实都是function code,对于处理一些BDC问题 非常有用, 感謝分享BDC里的 BDC_OKCODE - Rainystuday - 博客园 (cnblogs.com) 列出一些知道的 OKCODE BDC_OKCODE 功能描述 =/00. Enter = /8 F
原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:【ABAP系列】SAP ABAP BDC_OKCODE 解释 回到顶部 前言部分 大家可以关注我的公众号,公众号里的排版更好,阅读更舒适。 回到顶部 正文部分 更多讨论,可以关注我的公众号 /00. Enter /AB Go to overview =ZK Go to additional information =ENTE Enter (d...
1.获取BP客户界面的客户名称数据 FIELD-SYMBOLS: <ZBP_NAME1> TYPE BUT000-NAME_ORG1. ASSIGN ('(SAPLBUD0)BUT000-NAME_ORG1') TO <ZBP_NAME1>. 2.读取OKCODE. DATA: ZBP_UCOMM TYPE BU_FCODE. CALL FUNCTION 'BUS_LOCATOR_OKCODE' IMPORTING EV_OK_CODE = ZBP_UCOMM. 3.清空OKCODE. CALL FUNCT...
perform user_command using l_okcode lflg_refresh lflg_exit ls_stable. if lflg_exit = 'X'. e_exit_caused_by_caller = 'X'. perform exit. else. * IF LFLG_REFRESH = 'X'. if not lflg_refresh is initial. if lflg_refresh = 'X'. ...
你BDC录好屏后,可以看到对应的屏幕名称和字段名称。参照下面代码:PERFORM BDCDATA USING: 'X' 'SAPMKAUF' '0100', "order type ' ' 'COAS-AUART' GT_TABLE-AUART,' ' 'BDC_OKCODE' '=KOKR'.PERFORM BDCDATA USING: 'X' 'SAPLSPO4' '0300', "control area ' ' 'SVAL...
fval='RS38M-PROGRAMM'.APPENDbdcdata_lineTObdcdata_tab.CLEAR:bdcdata_line.bdcdata_line-fnam='BDC_OKCODE'.bdcdata_line-fval='=SHOP'.APPENDbdcdata_lineTObdcdata_tab.CLEAR:bdcdata_line.bdcdata_line-fnam='RS38M-PROGRAMM'.bdcdata_line-fval=ls_data-name.APPENDbdcdata_lineTObdcdata_tab.opt-dismode=...
I write some small ABAP tools for my daily work. Some of them might not be so useful at first glance – I just write them for fun. Some of them could be used to improve work efficiency, to just reduce several mouse clicks – I am too lazy ...
perform user_command using l_okcode lflg_refresh lflg_exit ls_stable. if lflg_exit = 'X'. e_exit_caused_by_caller = 'X'. perform exit. else. * IF LFLG_REFRESH = 'X'. if not lflg_refresh is initial. if lflg_refresh = 'X'. ...
PERFORM FRM_FIELD_LINE USING 'BDC_OKCODE' '/EE'. PERFORM FRM_FIELD_LINE USING 'BDC_CURSOR' 'I_VBUKR'. ENDFORM. FORM FRM_SCREEN_LINE USING VALUE(P_VALUE1) VALUE(P_VALUE2). CLEAR: GT_BDCDATA. GT_BDCDATA-PROGRAM = P_VALUE1. GT_BDCDATA-DYNPRO = P_VALUE2. GT_BDCDATA-DYNBEGIN = ...