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's for Delivery

Former Member
0 Likes
2,301

Hi,

We are using EDI scenario to get the delivery confirmation from Warehouse system. Once delivery created with certain quantity, based on the inbound confirmation we need to do Pick, Pack and PGI. In this case is there any standard bapi to fulfil this criteria ? Please let me know.

Thanks

Jaya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,943

Hi Jaya,

You can use FM WS_DELIVERY_UPDATE same as BAPI.

This FM is Remote-Enabled Module.

Regards,

Ferry Lianto

12 REPLIES 12
Read only

Former Member
0 Likes
1,943

Hi,

try using the BAPI BAPI_OUTB_DELIVERY_CHANGE

Thanks,

Naren

Read only

0 Likes
1,943

Hi Naren,

Thanks for your solution, but as per the name its looks like it will useful for outbound delivery, but we need for inbound.

Thanks

Jaya

Read only

Former Member
0 Likes
1,943

Hi,

Please try this FM WS_DELIVERY_UPDATE for pick, pack and PGI.

Regards,

Ferry Lianto

Read only

0 Likes
1,943

Hi Ferry,

Thanks for your information, is it BAPI i think its just Remote function module. Is it not ?

Read only

0 Likes
1,943

No,it is normal function module

Read only

Former Member
0 Likes
1,943

LE_MOB_DELIVERY_UPDATE

BAPI_OUTB_DELIVERY_CHANGE'

Read only

0 Likes
1,943

Hi Seshu,

Thanks for your information, LE_MOB_DELIVERY_UPDATE, is it BAPI ?

Thanks

Jaya

Read only

0 Likes
1,943

it is not bapi : LE_MOB_DELIVERY_UPDATE

as per 4.6C system we did not have inbound delivery bapi,so we use this function module to update inbound as well as outbound delivery..

Read only

0 Likes
1,943

Hi Seshu,

Thanks for your information, we are using 4.7. User insisting to use BAPI only, can you please let me know.

Thanks

jaya

Read only

0 Likes
1,943

I found only one BAPI for Delivery in 4.7 -

BAPI_SALESORDER_CONFIRMDELVRY

WS_DELIVERY_UPDATE use this fm to update delivery and post goods issue ,and this is remote enabled.

Reward Points if it is helpful

Thanks

Seshu

Read only

Former Member
0 Likes
1,943

Hi,

Try using the FM WS_DELIVERY_UPDATE...Also for inbound delivery do we require Picking??

Ok..Check this sample code for doing PGI..


PARAMETERS: p_vbeln LIKE likp-vbeln.

DATA: vbkok_wa TYPE vbkok.

vbkok_wa-vbeln_vl = p_vbeln.
vbkok_wa-wabuc = 'X'.

DATA: v_error.

CALL FUNCTION 'WS_DELIVERY_UPDATE'
     EXPORTING
          vbkok_wa                  = vbkok_wa
          delivery                  = p_vbeln
     IMPORTING
          ef_error_in_goods_issue_0 = v_error.

COMMIT WORK.

Thanks,

Naren

Read only

Former Member
0 Likes
1,944

Hi Jaya,

You can use FM WS_DELIVERY_UPDATE same as BAPI.

This FM is Remote-Enabled Module.

Regards,

Ferry Lianto