on 2007 Nov 19 3:30 PM
Hi,
I´d like to create inbound deliveries using BAPI or transactions like vl10x (for outbound deliveries) for different purchase orders, items and quantities.
Does anyone know the way to do it?
Thank you in advance
Best regards
Request clarification before answering.
hi,
VL31n is the t code for creating inbound dely wrt PO.
thanks
suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Please kindly be noted that there is no Direct BAPI for this requirement. i did a good enough investigation on this and got into this conclusion.
I started with BBP_INB_DELIVERY_CREATE, i could able to achieve the results, but Material Number was not getting filled in Inbound delivery which in turn created another issue for me. Then i started debugging the whole FM (Standard Code) and got to know that none of the Straight forward FM/BAPI was there for the requirement.
so we have only one option for this to achieve i.e., GN_DELIVERY_CREATE . This i came to know only after debugging whole Standard code.
Solution:
Use this function module GN_DELIVERY_CREATE, and pass the parameters like VBSK_I & XKOMDLGN. Try to pass maximum data from PO by fetching it from EKKO EKPO. Most of the the parameters values we can get it from those tables.
Once we pass all the values to the above parameters, it will create an Inbound delivery and we can receive the delivery number in LT_LIPS Parameter.
Here is the sample code which i can share to you for your reference.(Which is attached)
Hope it helps for the people like me who struggles to get the inbound delivery with respect to a PO.
Note: I will be writing a Blog (Which is related to an OData Service) soon, in which i will be sharing the complete code for this Scenario.
Regards
Sri Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sriram.kompell,
I have same issue was not able to use BBP_INB_DELIVERY_CREATE after many many trials !
Can you please guide with your code how to use GN_DELIVERY_CREATE or what mandatory to pass for it?
Thanks in advance,
User | Count |
---|---|
98 | |
39 | |
8 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.