2011 Apr 21 1:43 PM
Hi,
I am have a GR material document number with movement type 101.
Using "BAPI_GOODSMVT_CANCEL" I am able to reverse the mat. docs. which is done with 102 movement type.
But, My question in here is
I have to do "Return Delivery" of a material document where the new created GR mat. doc with respect to 122 movement type.
Can anybody tell me is there any BAPI for that?
If no BAPI then any other way to do that in my program?
I dont want to do manually.
Regards
Mohan
2011 Apr 25 10:12 AM
Hi,
You can try by creating a BDC program for "MIGO" transaction with "A02 - Return Delivery" and "R02 - Material Document".
Also I think BAPI "BAPI_GOODSMVT_CREATE" can be used for the same. But need to analyze how to acheive the same.
Thanks & Regards,
Harish
2011 Apr 21 3:33 PM
Did you try BAPI_GOODSMVT_CREATE? You could probably specify the original documents in the reference document fields(REF_DOC*) at item level
2011 Apr 21 6:51 PM
Hi Kris,
I have used that BAPI earlier, but I need to do with respect to particular material document number, not with respect to quantity.
2011 Apr 22 5:51 AM
but I need to do with respect to particular material document number
I dont think its respect to mat.doc . It should be respect to delivery no & item. A new matdoc will be created. In VL01N there is not place to provide the material doc.
2011 Apr 25 8:44 AM
Hi Keshav,
I am talking about the PO to Invoice process in MM module which has movement types in it.
Not about the SD Sales movement types.
Thx
2011 Apr 25 10:17 AM
Hi,
I didnt mention anything about sales movement types. Please ask your functional consultant to show it via transaction and revert back
Keshav
2011 Apr 25 10:12 AM
Hi,
You can try by creating a BDC program for "MIGO" transaction with "A02 - Return Delivery" and "R02 - Material Document".
Also I think BAPI "BAPI_GOODSMVT_CREATE" can be used for the same. But need to analyze how to acheive the same.
Thanks & Regards,
Harish
2011 Apr 26 4:59 PM
Already some Custom BDC program is available which uses Call transaction in it.
Anyway I am developing new BDC.
Thx for the replies.