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

creatinginbound delivery for multiple purchase orders

Former Member
0 Likes
717

Hi all,

how to create one inbound delivery for mulitple purchase orders using an abap program. i.e if a vendor no v1 is having 4 po's then 1 inbound delivery for vendor v1 and another vendor v2 having 2 po's and 2 inbound delivery for vendor v2.

Regards,

Karthik

Hi all,

how to create one inbound delivery for mulitple purchase orders using an abap program. i.e if a vendor no v1 is having 4 po's then 1 inbound delivery for vendor v1 and another vendor v2 having 2 po's and 2 inbound delivery for vendor v2.

Regards,

Karthik

3 REPLIES 3
Read only

Former Member
0 Likes
639

Hi Vinu,

You can try BAPI_INB_DELIVERY_SAVEREPLICA. The importinng table

  ITEM_REF_PURCHASE_ORDER should be populated correctly.

Regards,

R

Read only

0 Likes
639

Hi Rudra,

Thanks for your reply, in the bapi where can i pass the vendor no and quantity for po no and po line item. actually i need to change the quantity for po no's and related line items for related vendor.

My scenario is

Vendor1:1800000002

PO NO,PO Item & Quantity : 4500002148 0001 2

                                                              0003 4

                                           4500002149 0002 2

Vendor2:1800000001

PO NO,PO Item & Quantity : 4500003123 0001 2

                                                              0002 4

                                           4500003133 0002 2

                                           4500003124 0001 2

                                                              0003 4

                                           4500003135 0001 2

for vendor1 and related po's and po line items related quantity has to be changed and create one inbound delivery and for for vendor2 and related po's and po line items related quantity has to be changed and create second inbound delivery

Read only

0 Likes
639

Hi Vinu,

IF you want to change the PO you have to use BAPI_PO_CHANGE for this.

For Inbound delivery creation.

Please see the FM documentation. You send the Vendor number as a header partner(HEADER_PARTNER) with PARTN_ROLE = 'LF'. All the Item details( Qty and all ) should be passed to ITEM_DATA table.

Regards,

R