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_OUTB_DELIVERY_CHANGE

Former Member
0 Likes
2,149

Hi All,

I have one question. Please clarify how to resolve this.

For Each Delivery No from the table LIKP I have to pull the BOLNR(Bill of Lading), and if the BOLNR is SPACE then I have to call the Function Module "BAPI_OUTB_DELIVERY_CHANGE" and pass the required information and BOLNR to change the delivery.

I have searched the BAPI , but I am not able to fill the BOLNR, since that field is not there in this BAPI. How do I fill the BOLNR in this BAPI, This is one of our client requirement. Can you please explain me how to achieve this solution.

Thanks & Regards,

Sivaram.K

6 REPLIES 6
Read only

Former Member
0 Likes
1,234

For BAPI_OUTB_DELIVERY_CHANGE it is in IMPORT parameter BAPIOBDLVHDR-BILLOFLADING

Don't forget to reward some points to snippets which helped you

Read only

0 Likes
1,234

Thanks vishnu for your immediate reply. I will really appreciate your help. But the structure BAPIOBDLVHDR is not there in this BAPI. Instead it is BAPIOBDLVHDRCHG there. You are right BOLNR field is there in BAPIOBDLVHDR Structure but this is not defined in our existing BAPI. Please advise me how to resolve this issue.

Read only

0 Likes
1,234

Hi

Can you please help me on this issue, it is very urgent for my client. I am doing Research on this issue. If this will not work then please tell me other option.

Thanks & Regards,

Sivaram

Read only

0 Likes
1,234

Hi Sivaram,

I have the same issue. Were you able to solve this issue? If so, how did you solve it?

Thank you,

Surya

Read only

0 Likes
1,234

Hi,

Did you try using WS_DELIVERY_UPDATE_2 or WS_DELIVERY_UPDATE ?

The BAPI eventually calls WS_DELIVERY_UPDATE (which calls WS_DELIVERY_UPDATE_2) and parameter VBKOK_WA of these has Bill of Lading (BOLNR).

Sridhar

Read only

0 Likes
1,234

Hi Sridhar,

Thank you for the response.

I noticed this filed in vbkok structure. What about LIKP-XABLN ? Not sure where to find this.

I have used table extension and BADI to change value to BOLNR. Also, how to change some value of BOLNR to no value with BAPI? meaning from XYZ to blank(reset) . If I pass a value it is being updated to this filed, but from some value to 'no vlaue' is not possible.

Any suggestion on this?

Thank you,

Surya