Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to create outbound delivery

Former Member
0 Likes
1,615

hi. we are using 4.6B and I would like to ask if there is a bapi to create outbound delivery. I need a bapi or any RFC that would create a delivery from a java based environment. Please help.

hi. we are using 4.6B and I would like to ask if there is a bapi to create outbound delivery. I need a bapi or any RFC that would create a delivery from a java based environment. Please help.

8 REPLIES 8
Read only

Former Member
0 Likes
1,193

There are some threads already posted for the same question... please go thr them.

Read only

Former Member
0 Likes
1,193

If i use the bapi BAPI_OUTB_DELIVERY_CONFIRM_DEC, how will i going to generate the delivery no? Is there a bapi also that creates delivery no.?

Read only

0 Likes
1,193

Try fm FM RV_DELIVERY_CREATE.

This thread gives more details about the same. I have not yet used this but this can be just round about way to create Outbound Deliveries.

ashish

Read only

Former Member
0 Likes
1,193

tnx. provided that this FM can create the outbound delivery, can I use that FM as an RFC? I mean my requirement is to create an outbound delivery via WEB.. so can this FM be used? Thanks.

Read only

Former Member
0 Likes
1,193

Hi,

There is no bapi available for creating a delivery, this is because there are a lot of factors coming into play during delivery creation. You can use the RV_DELIVERY_CREATE function module but this in not a BAPI and not remote enabled. You can develop a wrapper for this FM and make it remote enabled, You have to manipulate a lot of data if you need control on what SO items and what quantities are delivered. Based on the requirement that you have there will be a lot of issues in generating the parameters for this FM correctly.

-Kalyan

Read only

Former Member
0 Likes
1,193

Hi kalyan. Thanks for the info. Actually the requirement is delivery w/o reference so SO is not necessary. Do you have a sample program on how to make an RFC? Any documentation or sample program that can help me make an RFC would be a great help. Thanks.

Read only

0 Likes
1,193

Hi If you want to create delivery without reference, you can use the FM GN_DELIVERY_CREATE, it is much easier to handle. You will have to fill XKOMDLGN table and pass it. each line in XKOMDLGN will create a line in the delivery. You can develop the wrapper to this FM and call it remotely

-Kalyan

Read only

Former Member
0 Likes
1,193

any info bout this?