DATA: MAT_DOCLIKE BAPI2017_GM_HEAD_RET-MAT_DOC."物料凭证编号 DATA: GMHEADLIKE BAPI2017_GM_HEAD_01. DATA:BEGINOF GMCODE. INCLUDESTRUCTURE BAPI2017_GM_CODE. DATA:ENDOF GMCODE. GMCODE-GM_CODE='03'. ***gmcode-gm_code取值含义*** ***01 MB01 ***02 MB31 ***03 MB1A ***04 MB1B...
wa_item-move_type = '201'. wa_item-plant = fuss-werks. wa_item-MOVE_REAS = RM07M-grund. wa_item-entry_qnt = l_value. wa_item-entry_uom = fuss-erfme. wa_item-material = fuss-matnr. wa_item-stge_loc = fuss-lgort. wa_item-costcenter = '32MCGNPOWR'. wa_item...
wa_item-move_type = '201'. wa_item-plant = fuss-werks. wa_item-MOVE_REAS = RM07M-grund. wa_item-entry_qnt = l_value. wa_item-entry_uom = fuss-erfme. wa_item-material = fuss-matnr. wa_item-stge_loc = fuss-lgort. wa_item-costcenter = '32MCGNPOWR'. wa_item-batch = f...
endat. if s_data-bwart = '201' or s_data-bwart = '202' or s_data-bwart = '551' or s_data-bwart = '221' or s_data-bwart = '222'. if lv_code <> '03'. rtype = 'E'. rtmsg = 'When the business type is 03, the move type must be 201,202,551,221,222'. zfmparaval...
DATA: MAT_DOCLIKE BAPI2017_GM_HEAD_RET-MAT_DOC."物料凭证编号 DATA: GMHEADLIKE BAPI2017_GM_HEAD_01. DATA:BEGINOF GMCODE. INCLUDESTRUCTURE BAPI2017_GM_CODE. DATA:ENDOF GMCODE. GMCODE-GM_CODE='04'. ***gmcode-gm_code取值含义*** ***01 MB01 ***...
rtmsg = 'When the move type is 201 or 202, the cost center must have a value'. zfmparavalsave2 'R'. return. endif. "zfmparavalsave2 'R'. ls_item-costcenter = s_data-kostl. perform frm_alpha_input changing ls_item-costcenter. ...
Hi, all I call BAPI_GOODSMVT_CREATE in my message flow through SAP adapter node. Here is the xml format BO created in ESQL, 2008-07-02 03 PWRPACK52 1000 0001 201 33.000
Is there anyway to process Transaction u201CVL02Nu201D and Posting the outbound delivery automatically? I tried via BDC, but it doesnu2019t work well. If in outbound delivery are more than 0ne Position and amount included. I have to put also the serial number. E.g. if have an Outb...
move '201' to gm_item-move_reas. Determine cost center per plant case xresb-werks. when '0004'. move '0000041430' to gm_item-costcenter. when '0006'. move '0000041630' to gm_item-costcenter. when '0007'. move '0000041731' to gm_item-costcenter. when '0008'. move '0000041830' to...
Need your help in similar regards, i was using the same BAPI in my program for posting 201 mvt and it is giving me error of stock defecit whereas stock exists in the system tables MARD,MCHB etc etc. Can you let me know any way to correct the same , as you have mentioned some buffe...