Quantcast
Channel: SCN : Popular Discussions - SAP Supply Network Collaboration (SAP SNC)
Viewing all articles
Browse latest Browse all 834

BAPI_GOODSMVT_CREATE (GM_Code 07)

$
0
0

GM_Code 07: Subsequent adjustment with regard to a subcontract order

 

If PO don't have GR cancel history, this BAPI works well.
But, if PO have GR cancel history, BAPI generates an error message.
"Goods receipt quantity of ordered material in a subcontractorder is 0"


PO was canceled once and then GR again. PO has GR Quantity.

I don't know why BAPI generates an error message

 

PO : 4500002466
09.21 GR
09.21 GR Cancel
09.21 GR


I use following BAPI.


BAPI : BAPI_GOODSMVT_CREATE
(GOODSMVT_HEADER)
     PSTNG_DATE 2012.09.11
     DOC_DATE 2012.09.11

(GOODSMVT_CODE)
     GM_CODE 07

 

(GOODSMVT_ITEM)
(1)
     MATERIAL VMS9010MD_T03
     PLANT 1110
     MOVE_TYPE 121
     PO_NUMBER 4500002466
          PO_ITEM 00010
     WITHDRAWN X
     LINE_ID 000001

(2)
     MATERIAL VMS9010MD_S01
     PLANT 1110
     ENTRY_QNT 1.000
     PO_NUMBER 4500002466
     PO_ITEM 00010
     WITHDRAWN X
     LINE_ID 000002
     PARENT_ID 000001
     LINE_DEPTH 01


Viewing all articles
Browse latest Browse all 834

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>