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_CREATE_SLS

Former Member
0 Likes
8,015

Hi,

I have a scenario where i have to create Outbound Delivery for scheduling agreement (VA32). I am trying to use BAPI_OUTB_DELIVERY_CREATE_SLS FM but this is only working for Sales Order. Did anybody face same problem?

when i debug this is where it is breaking, it is skipping sales document type E and F. But in debug if i make LF_SUBRC is 0 everything is working fine and its also creating Outbound delivery.

loop at ix_sd_orders-vbak assigning <ls_vbak>

where vbtyp ca 'EF'.

and I am getting below error.

T ID NUM MESSAGE

E V50R 051 Missing data in the BAPI interface: VBAK VBTYP E

E BAPI 001 No instance of object type OutboundDelivery has been created. External reference:

again E is VBTYP - Scheduling agreement

Please suggest.

Thanks

SB

Hi Moderator,

could you Please not delete this mail as you deleted both of my earley mails saying duplicates.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,134

Hi Sampath,

I tried both the FM's and couldn't work, I was looking all the user exits and BADI's(there were some posts in SDN with all user exits and BAID's ) and non seems to be talking about this problem. Could you please suggest me if you know something?

I tried in service market place and couldn't find any notes also.

and one more question you have written i should try IMPLICTLEY for User exit. could you please tell me what does this mean?

Thanks

SB

12 REPLIES 12
Read only

Former Member
0 Likes
5,134

Did you try BAPI_DELIVERYPROCESSING_EXEC

Read only

Former Member
0 Likes
5,134

Hi,

Yes its also doing same thing.

Thanks

SB

Read only

0 Likes
5,134

R u creating delivery with reference to sales order?

Read only

Former Member
0 Likes
5,134

Hi Nani,

No I am creating Outbound Delivery with reference to Scheduling agreement. Correct me if i am wrong. I am going through VA32 and in menu Sales Document -> Delivery and matching picking quantity with Delivery quantity in PICKING tab and saving it.

Thanks

SB

Read only

0 Likes
5,134

unfortunately, the one that you are using is only for sales.

try stock transfer order one...BAPI_OUTB_DELIVERY_CREATE_STO - just a trial.

if not, try this: BAPI_OUTB_DELIVERY_CREATENOREF but it is not with reference to...

Find an enhancement (Try implicit) within the BAPI and code it to create deliveries for scheduling agreement.

Edited by: Sampath Kumar on Jun 9, 2011 2:41 PM

Read only

Former Member
0 Likes
5,135

Hi Sampath,

I tried both the FM's and couldn't work, I was looking all the user exits and BADI's(there were some posts in SDN with all user exits and BAID's ) and non seems to be talking about this problem. Could you please suggest me if you know something?

I tried in service market place and couldn't find any notes also.

and one more question you have written i should try IMPLICTLEY for User exit. could you please tell me what does this mean?

Thanks

SB

Read only

0 Likes
5,134

If you are in ECC 6.0, there is a new enhancement concept which you could use for your purpose. If you are in ECC 6.0, then search for Implicit enhancements in SDN to get the WIKI page... then just follow to see if there is a point available for your purpose.

Read only

Former Member
0 Likes
5,134

thanks Sampath i have used Implicit enhancement to finish my requirement

Read only

0 Likes
5,134

Hi sarath,

    i stuck with the same problem as you all discussed above.but i could not find the solution.could you please display your code here.so that it'd be helpfull for me to complete my requirement

Thanks,

Read only

0 Likes
5,134

Hi Sarath,

I am using the same BAPI to create delivery with respect to sales order. In return, I got this message "No instance of object type OutboundDelivery has been created. External reference"

Please help me, how to use implicit enhancement in this BAPI?

Thanks,

Rajasekar .M

Read only

0 Likes
5,134

This message was moderated.

Read only

giancarla_aguilar
Participant
0 Likes
5,134

Hello.

Can you share the solution you have made for BAPI_OUTB_DELIVERY_CREATE_SLS for scheduling agreements?  At what point did you create the implicit enhancement and how did you reverse or prevent error message V50R-051 from occurring?

Thanks in advance.