摘要:
编写QUERY中客户出口变量时需选择I_STEP数值,I_STEP的作用是标识了该调用变量发生的时机,常用的为‘1’、‘2’,解释如下:1) I_STEP = 1: Call is made directly before variable entry.2) I_STEP = 2: Call is made directly after variable entry. This step is only _executed if the same variable is not input-ready and could not be filled for I_STEP = 1.3) I_ST 阅读全文
摘要:
DATA: alpha_num(120) TYPE c.alpha_num = ' abcdefghijklopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,./;''[]\-=`<>?:"{}|_+~!@#$%^&*()'.IF input CA alpha_num.output = '不仅仅全是汉字'.ELSE.output = '全是汉字'.ENDIF.IF NOT input CO alpha_num.output = '含有汉字' 阅读全文
摘要:
可以使用ABAP中函数 'DATE_CHECK_PLAUSIBILITY' 或'TIME_CHECK_PLAUSIBILITY'检查日期和时间值是否合法。用法如下:CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'EXPORTINGdate = v_dateEXCEPTIONSplausibility_check_failed = 1OTHERS = 2.IF sy-subrc NE 0. "如果返回非0,则日期不合法..ENDIF.CALL FUNCTION 'TIME_CHECK_PLAUSIBI 阅读全文
摘要:
方法一: t-code:sm12方法二: call function 'ENQUEUE_EMMARCE' exporting matnr = itab-matnr werks = itab-werks _wait = ' ' exceptions foreign_lock = 2 system_failure = 3. 阅读全文