SY-REPID当前程序名称 DATUMDate CRTTMTime UNAMECreate User TCODECreate Tcode RPROGRAMM/REPIDCreate Program
SY-LISEL 选择行的内容,长度为255 SY-LISTI 上一个列表的索引 SY-LOOPC:当前表格控件在屏幕中的总行数(Table Control) SY-LSIND:当前列表索引,第一级列表为1 SY-MSGID 消息, 消息类 SY-MSGTY 消息,消息类型 SY-MSGNO 消息, 消息编号 SY-MSGV1 消息,消息变量1 SY-MSGV2 消息,消息变量2 SY-MSGV3 消...
1.sy-repid 是当前程序名字,sy-cprog 是调用程序的名字 比如说一个report程序中调用了一个function,这个function输出的两个参数是 sy-repid 和 sy-cprog。这时,sy-repid显示就是这个function所在的FunctionPool的名字(并不是function的名字),sy-cprog是report的名字。 2.sy-repid 是不可以修... ...
sy-repid是这个FM所在FunctionPool的名字, sy-cprog是调用这个FM的Report的程序名。 另外,SY-REPID你不能改变,SY-CPROG像其他数据结构可以为改变。
SY-UNAME: 当前使用者登入SAP的USERNAME SY-DATUM: 当前系统日期 SY-UZEIT: 当前系统时间 SY-TCODE: 当前执行程序的Transaction code SY-REPID: 当前程序名称 SY-INDEX : 当前LOOP循环过的次数 SY-TABIX: 当前处理的是internal table 的第几笔 SY-TMAXL: Internal table的总笔数 ...
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\' 鼠标事件操作子程序 ...
SY-SUBRC: 系统执行某指令后,表示执行成功与否的变量,0表示成功 SY-UNAME: 当前使用者登入SAP的USERNAME SY-DATUM: 当前系统日期 SY-UZEIT: 当前系统时间 SY-TCODE: 当前执行程序的Transaction code SY-REPID: 当前程序名称 SY-DYNNR:当前Screen屏幕号 ...
SAP ABAP计划 SY-REPID与SY-CPROG差异 首先,它的两个解释 sy-repid is the name of the current program. “当前程序的程序名 sy-cprog is the name of the calling program. ”调用程序的程序名 写个简单的程序。调个FM ,你就知道差别了,当程序进入FM的时候...
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-REPID作为参数传递给函数模块的时候,SY-REPID的值实际上已经发生了变化。 EPS_GET_FILE_ATTRIBUTES – 获得文件属性。 EPS_GET_DIRECTORY_LISTING – 返回一个本地或网络目录的文件列表。 F4_DATE - 弹出一个窗口显示一个日历允许用户选择一个日期。