CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT' //调用输入转换函数将PSPID(项目编号转化为SAP内部可识别的数据) EXPORTING INPUT = T_GHXQ-PSPID IMPORTING OUTPUT = T_GHXQ-PSPID. CONDENSE T_GHXQ-MATNR NO-GAPS. CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING INPUT = T_GHXQ-MATNR IMPORTING ...
* CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT' * EXPORTING * input = <fs_sflight>-carrid * IMPORTING * output = l_node_text. CALL METHOD g_alv_tree->add_node EXPORTING i_relat_node_key = p_relat_key i_relationship = cl_gui_column_tree=>relat_last_child i_node_text = l_node_...
ABAP-增强-层级BOM-AB件业务 目前新需求:整车A下挂有委外总成件B,总成件B和子件E是层级BOM,且采购类型均为F,信息记录类型均为寄售,按照现在标准MRP逻辑,只能计算第一层级子件需求,无法运行出子件E的需求。 1.实现方式 1.1自定义表 ZTMM0093_MRP_WRK ZTMM0010_MAT_INF:接口-物料主数据明细表 1.2增强点 在...
lv_rcTYPEi, lv_objidTYPEwwwdata-objid VALUE'Z9050'.SELECTSINGLErelidFROMwwwdataINTO@DATA(lv_relid)WHERErelid =@lc_miANDobjid =@lv_objidANDsrtf2 =0.IFsy-subrc <>0.MESSAGEi000WITHtext-e03 DISPLAYLIKEzp3ps_e."Check templateEXIT.ENDIF. lv_fname=pv_fullpath.CONCATENATElc_mi lv_objidINTO...
MODULEstatus_9001OUTPUT.PERFORMfrm_set_status.PERFORMfrm_show_data.ENDMODULE.&---&ModuleUSER_EXITINPUT&---“ text ”---
ABAP-树型ALV程序例子 1PROCESS BEFOREOUTPUT.2MODULEpbo .34PROCESS AFTER INPUT.5MODULEpai . 1REPORTy4_b4_test22.2TYPES:BEGINOFty_tree_node,3idTYPEchar18,4textTYPEchar40,5ENDOFty_tree_node.67DATA: g_alv_treeTYPEREFTOcl_gui_alv_tree,8g_custom_containerTYPEREFTOcl_gui_custom_container.910...
DATA GR_ALVGRIDTYPEREFTO CL_GUI_ALV_GRID."AVL对象 DATA GT_FIELDCATTYPE LVC_T_FCAT."存放字段目录的内表 DATA GS_LAYOUTTYPE LVC_S_LAYO."存放ALV样式的结构 DATA: WA_STBLTYPE LVC_S_STBL. WA_STBL-COL= ABAP_TRUE. WA_STBL-ROW= ABAP_TRUE. ...