除了一个例外(sy-repid),系统字段都是变量,但是它们都是只读的。此外,更多程序执行的重要信息通常都被丢弃。ABAP程序中的系统字段只在极少需要控制系统行为的时候才能被重写。 System fields are filled by the ABAP runtime environment and can be used in an ABAP program to query system statuses. With one ...
SY-REPID当前程序名称 DATUMDate CRTTMTime UNAMECreate User TCODECreate Tcode RPROGRAMM/REPIDCreate Program
1.sy-repid 是当前程序名字,sy-cprog 是调用程序的名字 比如说一个report程序中调用了一个function,这个function输出的两个参数是 sy-repid 和 sy-cprog。这时,sy-repid显示就是这个function所在的FunctionPool的名字(并不是function的名字),sy-cprog是report的名字。 2.sy-repid 是不可以修......
SY-REPIDName of current ABAP program. With externally called procedures this is the name of the procedure’s main program. If SY-REPID was transferred to an external procedure as an actual parameter before Release 6.10, the formal parameter was not given the name of the caller, but the name...
sy-pfkey c 20 GUI status of the current dynpro. Set after the event PAI. sy-repid c 40 Name of the current ABAP program. In procedures called externally, the name of the master program of the procedure. If sy-repid is passed to an external procedure as an actual parameter, the formal...
SY-REPID: 当前程序名称 SY-INDEX : 当前LOOP循环过的次数 SY-TABIX: 当前处理的是internal table 的第几笔 SY-TMAXL: Internal table的总笔数 SY-SROWS: 屏幕总行数 SY-SCOLS: 屏幕总列数 SY-MANDT: 當前系統編號(CLIENT NUMBER) SY-VLINE: 画竖线 ...
SY-REPID:现在的ABAP程序员 SY-TCODE:现在的事务代码 SY-CPROG:ABAP 程序,外部过程中的调用者 SY-CALLD:ABAP 程序, ABAP 程序调用模式 SY-BATCH:后台的程序运行 (X) SY-BINPT:批输入,批次输入下的程序运行 SY-SLSET:选择屏幕,变式名称 3,逻辑关联 ...
SY-SUBRC: 系统执行某指令后,表示执行成功与否的变量,0表示成功 SY-UNAME: 当前使用者登入SAP的USERNAME SY-DATUM: 当前系统日期 SY-UZEIT: 当前系统时间 SY-TCODE: 当前执行程序的Transaction code SY-REPID: 当前程序名称 SY-DYNNR:当前Screen屏幕号 ...
i_callback_program = sy-repid 当前程序名 is_layout = layout 输出样式 it_fieldcat = fieldcat[] 字段定义描述表 i_callback_pf_status_set = \'PF_STATUS_SET\' 触发事件调用子程序 i_callback_user_command = \'USER_COMMAND\' 鼠标事件操作子程序 ...
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid it_fieldcat_lvc = gt_fieldcat[] it_events = gt_events[] TABLES t_outtab = gt_tab. ENDFORM. 在FIELDCAT的设置中提前设置了drdn_field,用于后续控制不同下拉列表组;并且在定义ALV内表时加入了两个对应的下拉列...