LOOP AT t_status. IF t_status='I0046'. WRITE:'订单已关闭'. EXIT. ENDIF. ENDLOOP.2.STATUS_TEXT_EDIT 改函数读取的结果是将订单状态拼接到一个字符串中,而且这个字符串是在前台订单上看到的状态,比较直接,这样做的结果就可能由于状态较多导致长度过长,在某些情况下取的数据可能不准。 下面是一段代码 ...
STATUS_TEXT_EDIT SPELL_AMOUNT 金额大小写转换 DYNP_VALUES_READ – 读取SCREEN字段的值,也可以用来读取报表SELECTION SCREEN。 DYNP_VALUES_UPDATE - 更新屏幕字段的值。 GET_GLOBAL_SYMBOLS – 返回一个程序的tables, select options, texts, etc 。甚至包含selection screen的文本定义。 RPY_DYNPRO_READ – 读取...
使用系统标准函数:STATUS_TEXT_EDIT FORM frm_get_order_status. DATA:l_stsma TYPE jsto-stsma, l_line TYPE bsvx-sttxt, l_user_line TYPE bsvx-sttxt, l_stonr TYPE tj30-stonr. DATA:lv_objnr TYPE jest-objnr. "取对象号" SELECT SINGLE objnr INTO lv_objnr FROM vbak WHERE vbeln =...
调用函数'STATU..关于读取长文本函数 STATUS_TEXT_EDIT的基本用法,在此就不赘述了,只想说说最近的新发现吧。最近在项目上,客户有个需求,在开发的屏幕上列出了生产订单,提供的修改与显示的功能,但用户修改生产
form get_order_status. " 此处通过函数 'STATUS_TEXT_EDIT' 获取工单的系统状态 select single objnr from onror into corresponding fields of wa_tab0 where onror~aufnr = wa_tab0-aufnr. call function 'STATUS_TEXT_EDIT' exporting " client = sy-mandt ...
* SET PF-STATUS 'xxxxxxxx'. * SET TITLEBAR 'xxx'. IF INIT IS INITIAL . INIT = 'X'. CREATE OBJECT : CONTAINER EXPORTING CONTAINER_NAME = 'P1'. CREATE OBJECT EDITOR EXPORTING PARENT = CONTAINER WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION ...
CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING OBJNR = LV_OBJNR SPRAS = SY-LANGU IMPORTING LINE = LV_LINE EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2. IF LV_LINE CS 'TECO' OR LV_LINE CS 'CLSD' OR LV_LINE CS 'DLT' OR LV_LINE CS 'CRTD'. ...
ALL METHOD TEXT_EDITOR->SET_STATUSBAR_MODE EXPORTING STATUSBAR_MODE = CL_GUI_TEXTEDIT=>FALSE. CREATE OBJECT EDITOR_CONTAINER EXPORTING CONTAINER_NAME = 'TEXTEDITOR' EXCEPTIONS CNTL_ERROR = 1 CNTL_SYSTEM_ERROR = 2 CREATE_ERROR = 3 LIFETIME_ERROR = 4 LIFETIME_DYNPRO_DYNPRO_LINK = 5....
MODULE status_0100 OUTPUT. 1. * The TextEdit control should only be initialized the first time the 1. * PBO module executes 1. IF editor IS INITIAL. 1. repid = sy-repid. 1. * Create obejct for custom container 1. CREATE OBJECT custom_container ...
MODULE status_0100 OUTPUT. * The TextEdit control should only be initialized the first time the * PBO module executes IF editor IS INITIAL. repid = sy-repid. * Create obejct for custom container CREATE OBJECT custom_container EXPORTING