MESSAGE ID sy-msgid TYPE ‘S’ NUMBER sy-msgno INTO msg WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. 修改消息显性 MESSAGE msg TYPE ‘S’ DISPLAY LIKE ‘E’. 消息类型: 消息类型 说明 异常终止 A 终止当前操作 错误 E 系统等待新输入数据 信息 I 处理回车之后,系统继续处理 成功...
SET CURSOR FIELD 'P_OPEN'. MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. IF l_result2 <> 'X'. SET CURSOR FIELD 'P_OPEN'. MESSAGE TEXT-002 TYPE 'E'. ENDIF. IF p_xls = 'X' AND NOT ( P_OPEN CP '*.XLSX' OR P_OPE...
details of the error message are passed back to the calling system in the following system fields:SY-MSGNO, SY-MSGID, SY-MSGTY, SY-MSGV1, SY-MSGV2, SY-MSGV3, andSY-MSGV4. These fields are initialized before every RFC. If a short dump or a type X message occurs, the short text...
SY-SUBRC 是一个用于表示上一个执行的函数模块的返回代码的 System Field。如果函数模块执行成功,SY-SU...
'titel ='title'start_column =25start_row =6cancel_display ='X'IMPORTINGanswer = answerEXCEPTIONStext_too_long =1OTHERS =2.IFsy-subrc <>0.MESSAGEIDsy-msgidTYPEsy-msgtyNUMBERsy-msgnoWITHsy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.ENDIF....
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 11、 sy-msgv3 sy-msgv4. ENDIF. p1 = l_date+0(6).*检查日期的合理性 CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = bkdf-dbbdt "周期性分录的凭证抬头补充 周期性分录凭证开始日期 EXCEPTIONS plausibility...
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.说明:SAP的数据存储是这样的: 存入:X = M * 10(N-2) 读取:Y = X * 10(2-N) M为传票交易币的金额,N为货币设置的小数点位数。日币一般为0位小数,故在表中看到是小了100倍,如果系统...
withtext='X'TABLESdd07v_tab_a=it_taba dd07v_tab_n=it_tabbEXCEPTIONSillegal_value=1op_failure=2OTHERS=3.IFsy-subrc<>0.MESSAGEIDSY-MSGIDTYPESY-MSGTYNUMBERSY-MSGNOWITHSY-MSGV1SY-MSGV2SY-MSGV3SY-MSGV4.ENDIF.LOOPATit_tabaINTOfs_taba.WRITE:/sy-tabix,fs_taba-domvalue_lCENTERED,fs_ta...
36 MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno 37 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 . 38 ENDIF. 39 40 LOOP AT lt_table INTO ls_table. 41 CONCATENATE ls_table-tabname '-' ls_table-fieldname INTO l_string. ...
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. ENDFORM. 此程序使用OOALV :GR_ALV是自己创建的OO ALV的类,打印的按钮代码如下 CLASS lcl_alv DEFINITION . PUBLIC SECTION. ··· "自定义...