cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Material Document Creation

Former Member
0 Kudos

Hi Friends,

We have 2 plants One in SAP and other in Non-SAP, but we have setup a plant for Non-SAP plant in SAP.

Now When I run MRP, system will create a Stock transport order for Non-SAP Plant (Receiving Plant) in SAP, then outbound delivery will be created in SAP plant (Supplying plant). Now the goods receipt will not be done in SAP for Non SAP plant, they use different system.

Now the question is? Once they post the Goods receipt in Non-sap system, next minute it must be able to create material document is SAP for outbound delivery.

Non-SAP team is ready to call the functional module form the SAP system, so please let me know which is the correct Functional module or suggest me which will be right way to post the goods receipt in SAP.

Thanks in Advance,

Chalaa,

Accepted Solutions (1)

Accepted Solutions (1)

PollyGan
Advisor
Advisor
0 Kudos

Hi Chalaa,

SAP provides IDOC MBGMCR or BAPI BAPI_GOODSMVT_CREATE. You can use

those to create material document in SAP system.

Thanks and regards,

Polly

Former Member
0 Kudos

Hi Jolly,

Thanks for your reply,

I used the BAPI which you have mentioned, but I got the below mentioned error., Can you help me in correcting this.

Update control of movement type is incorrect (entry 101 X X _ L)

Regards,

Venkat,

PollyGan
Advisor
Advisor
0 Kudos

Hi Venkat,

Can you please check if you have entered B in GOODSMVT_ITEM- MVT_IND?

101 only support KZBEW = B, rather than KZBEW = L.

Hope it helps.

Thanks and regards,

Polly

Former Member
0 Kudos

Polly,

Once again thank you so much for your response,

I need to do goods receipt w.r.t delivery, which is the best way to handel this.

Thanks in advance,

Chalaa,

Former Member
0 Kudos

Hi Friends,

Can any one help me in resolving this issue,

Thanks in advance,

Chalaa,

Former Member
0 Kudos

Hi Chalaa,

the BAPIs for decentralized WM scenario are the ones for you I believe, specifically BAPI_OUTB_DELIVERY_CONFIRM_DEC (or IDoc SHP_OBDLV_CONFIRM_DECENTRAL depending on your needs). Note that it was designed for that specific scenario, you might have to fake a little bit to make it work.

Cheers,

Attila

Answers (0)