BAPI_GOODSMVT_CREATE物料憑證建立與部分沖銷

'BAPI_GOODSMVT_CREATE能夠實現物料憑證建立和部分沖銷api

所有沖銷能夠使用BAPI_GOODSMVT_CANCELide


圖片

擡頭部分給值:ui

圖片

行項目部分給值(根據移動類型有差別):code

圖片


沖銷時與正常建立憑證同樣,只是BAPI2017_GM_ITEM_CREATE-XSTOB = 'X'. "沖銷標誌 移動類型爲正向,好比261發料,作262的沖銷,移動類型仍給261,不須要修改,此處打叉便可blog

MBST沖銷整個憑證:圖片

圖片

bapi_goodsmvt_create中goodsmvt_code對應值(T158G)rem

01 MB01it

02 MB31io

03 MB1Aclass

04 MB1B

05 MB1C

06 MB11

07 MB04


 BAPI2017_GM_ITEM_CREATE-mvt_ind(Domain:KZBEW) - Movement Indicator

*      Goods movement w/o reference

*  B - Goods movement for purchase order

*  F - Goods movement for production order

*  L - Goods movement for delivery note

*  K - Goods movement for kanban requirement (WM - internal only)

*  O - Subsequent adjustment of "material-provided" consumption

*  W - Subsequent adjustment of proportion/product unit material



一個部分沖銷的例子;



圖片

相關文章
相關標籤/搜索