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

Error in bapi BAPI_OUTB_DELIVERY_CREATENOREF

Former Member
0 Likes
3,421

Hi,

I want to create a delivery without reference i.e. tcode = VL01NO

I am using bapi BAPI_OUTB_DELIVERY_CREATENOREF.

But I am getting an error " Copying is not poss.because an entry is missing in Table TVCPL: ZLOR"

ZLOR is my delivery type to create delivery without reference.

Manually I am able to create delivery w/o ref in VL01NO.

However bapi is giving me an error.

I enquired with the functional, TVCPL check shouldn't happen as it is used to fetch when delivery is created without reference.

Please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,273

Hi All,

for my requirement i.e. creating delivery without reference for CPD customers BAPI_OUTB_DELIVERY_CREATENOREF cannot be used.

I found a note 1956188 which says this BAPI cannot be used to create delivery for CPD customers.

tcode VL01NO only has to be used.

Closing the thread

4 REPLIES 4
Read only

MukeshKumar
Participant
0 Likes
2,273

Hi , try to simulate transaction VL01N (using the BAPI) instead of VL01NO. Best Regards!

Read only

0 Likes
2,273

Hi Mukesh,

Thanks for the advice.

But debugging both VL01N and VL01NO did not help.

inside BAPI_OUTB_DELIVERY_CREATENOREF another FM is used, i.e GN_DELIVERY_CREATE.

and in this FM, there is a check on table TVCPL.

maybe I am missing to pass something. Can you help with it?

Following is the data passed to BAPI_OUTB_DLIVERY_CREATENOREF:

Read only

0 Likes
2,273

also I simulated VL01N and VL01NO while manually creating delivery w/o ref. standard code has not used any FM and direct table update takes place.

Could you please help  ?

Read only

Former Member
0 Likes
2,274

Hi All,

for my requirement i.e. creating delivery without reference for CPD customers BAPI_OUTB_DELIVERY_CREATENOREF cannot be used.

I found a note 1956188 which says this BAPI cannot be used to create delivery for CPD customers.

tcode VL01NO only has to be used.

Closing the thread