Application Development 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: 

BAPI_OUTB_DELIVERY_CREATE_SLS

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Did you try BAPI_DELIVERYPROCESSING_EXEC

Former Member
0 Kudos

Hi,

Yes its also doing same thing.

Thanks

SB

0 Kudos

R u creating delivery with reference to sales order?

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

thanks Sampath i have used Implicit enhancement to finish my requirement

0 Kudos

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,

0 Kudos

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

0 Kudos

This message was moderated.

giancarla_aguilar
Participant
0 Kudos

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.