2015 Apr 03 6:59 AM
hello,
Can anyone explain the logic behind multiple reversal ?
I'm using the bapi BAPI_GOODSMVT_CREATE with gm_code = 01 and movement type as 102.
what fields needs to be populated ? and is material document number needed for multiple reversal ??
Thanks and Regards.
2015 Apr 03 7:01 AM
2015 Apr 03 8:06 AM
Hi Raymond,
I have not tried it because I don't know the logic/concept behind reversal of goods movement.
If possible could you explain taking any scenario.
Using the bapi BAPI_GOODSMVT_CREATE I could do GR and get a Material Document Number.
But, GR reversal, I don't know what fields to populate. I would appreciate if you could help.
Regards,
Kiran
2015 Apr 03 8:32 AM
For the « logic » first read some documentation, or ask the functional on his exact requirement, e.g . currently called transaction.
Ref: Online help in Inventory Management and Physical Inventory (MM-IM), look for Goods Movement, Cancelling a Material Document and/or Return Delivery.
Regards,
Raymond
2015 Apr 03 11:38 AM
Hi Raymond,
Thanks for the help. The called transaction is MB01.
Also, I have a doubt. Much appreciated if you could help.
For reversal using BAPI_GOODSMVT_CREATE do I need to fetch material document number and pass it to BAPI ??
Thanks.
Kiran
2015 Apr 03 11:50 AM
2015 Apr 03 11:51 AM
Hi,
BAPI_GOODSMVT_CREATE is used to post material document and for reversal, BAPI_GOODSMVT_CANCEL should be used. Parameters are Material document number, Year and posting date. It is just like executing transaction code MBST. For multiple reversal, you need to call this bapi in loop.
Thanks,
Ashok Veer
2015 Apr 03 12:16 PM
2015 Apr 05 6:14 AM
Hello Raymond,
Thanks for the reply. I'm pretty sure that the called transaction is MB01.
So, I need to call BAPI_GOODMVT_CREATE and pass MOVE_TYPE as '102' right ?
If I have multiple entries in GOODSMVT_ITEM then how should I handle this ?
Do I need to set the XSAUT indicator ? ( Because it gave me an error saying enter serial numbers)
Please help !!
Thanks and Regards.
2015 Apr 05 6:17 AM
Hello Ashok,
Thanks for the reply. I'm writing interface for IDOC. Hence the header info that is being recieved into SAP contains transaction MB01.
So, I need to use BAPI_GOODSMVT_CREATE, right ?
Thanks and Regards,
Kiran
2015 Apr 16 9:21 AM
Hi Raymond,
If there is repetition of material in a Purchase Order, only first one is processed.
But second one is not considered.
How to handle this repetition which is not considered by the FM 'BAPI_GOODSMVT_CREATE' ?
Thanks,
Kiran