DATA: gm_code TYPE bapi2017_gm_code. DATA: gm_headret TYPE bapi2017_gm... 查看原文 SAP 使用过账BAPI按交货单过账成功后,凭证流没有显示物料凭证 问题解决记录 问题如题。 经过跟MIGO前台按交货单收货产生的物料凭证(MSEG表)进行对比,发现有两个字段没有值(第一条为前台操作的数据,第二天为用BAPI...
gmhead LIKE TABLE OF bapi2017_gm_head_01 WITH HEADER LINE, gmcode LIKE TABLE OF bapi2017_gm_code WITH HEADER LINE, lcnt TYPE i, lGOODSMVT_SERV_PART_DATA LIKE TABLE OF /SPE/BAPI2017_SERVICEPART_DATA WITH HEADER LINE, mthead LIKE BAPI2017_GM_HEAD_RET, t_num TYPE C LENGTH 4, mat_...
程序实现库存批次自动确定,不弹出下述窗口 代码如下: FORM FRM_CHARG_DETEMINE TABLES LT_GOODMVT_POST STRUCTURE BAPI2017_GM_ITEM_CREATE ... 查看原文 SAP 免费交货 :gm_headerTYPEbapi2017_gm_head_01.DATA:gm_codeTYPEbapi2017_gm_code.DATA:gm_headretTYPEbapi2017_gm_head_ret.DATA:gm_itemTYPETABLEOF...
lwa_header TYPE bapi2017_gm_head_01, lwa_code TYPE bapi2017_gm_code. DATA:l_line_id TYPE mseg-line_id VALUE '000000', l_parent_id TYPE mseg-parent_id VALUE '000000', l_line_depth TYPE mseg-line_depth VALUE '00'. lwa_code-gm_code = '01' . "MB01 lwa_header-pstng_date = sy...
INCLUDE STRUCTURE bapi2017_gm_code. DATA: END OF gmcode.DATA: BEGIN OF mthead.INCLUDE STRUCTURE bapi2017_gm_head_ret. DATA: END OF mthead.DATA: BEGIN OF itab OCCURS 100.INCLUDE STRUCTURE bapi2017_gm_item_create. DATA: END OF itab.DATA: BEGIN OF errmsg OCCURS 10.INCLUDE STRUCTURE bapi...
1. 在结构BAPI_TE_XMSEG中appending structure附加结构 ZMSEG_001,增加字段LSMNG, LSMEH In The method IF_EX_MB_Hi, you can update LSMNG quantity using EXTENSIONIN structures of BAPI_GOODSMVT_CREATE. The steps are the following: Add LSMNG field in BAPI_TE_XMSEG structure create an appending ...
w_bapi2017_gm_head_01-ver_gr_gi_slip = '1'. w_bapi2017_gm_head_01-ver_gr_gi_slipx = 'X'. w_bapi2017_gm_code-gm_code = '01'. LOOP AT lt_asn_item_det INTO ls_asn_item_det. w_bapi2017_gm_item_create-material = ls_asn_item_det-matnr. w_bapi2017_gm_item_create-plant...
goodsmovementsLIKEbapi2017_gm_item_createOCCURS0WITHHEADERLINE, link_conf_goodsmovLIKEbapi_link_conf_goodsmovOCCURS0WITHHEADERLINE, return_detailLIKEbapi_coru_returnOCCURS0WITHHEADERLINE, returnLIKEbapiret1OCCURS0WITHHEADERLINE.CONSTANTS: cn_flagxTYPEc VALUE'X'.*Get Data...*HeaderCLEARgt_afko[]....
_GM_HEAD_01, GS_MVT TYPE BAPI2017_GM_CODE, G_MAT_DOC TYPE BAPI2017_GM_HEAD_RET-MAT_DOC, G_MAT_YEAR TYPE BAPI2017_GM_HEAD_RET-DOC_YEAR, GT_ITEM TYPE TABLE OF BAPI2017_GM_ITEM_CREATE, WA_ITEM TYPE BAPI2017_GM_ITEM_CREATE, GT_RET TYPE TABLE OF BAPIRET2, WA_RET TYPE BAPIRET...
DATA : LS_HEADER TYPE BAPIOIL2017_GM_HEAD_CREATE , LV_CODE TYPE BAPI2017_GM_CODE VALUE '03' , LT_ITEM TYPE TABLE OF BAPIOIL2017_GM_ITM_CRTE_01 WITH HEADER LINE , LT_PARAM TYPE TABLE OF BAPIOIL2017_GM_ITM_CRTE_PARAM WITH HEADER LINE , ...