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 while Creating Outbound Delivery using BAPI

Former Member
0 Likes
2,833

Hi Folks,

I'm getting an error while Creating Outbound Delivery using BAPI BAPI_OUTB_DELIVERY_CREATE_SLS in the below Scenario of step 2.


Step 1: When a reverse PGI of delivery XYZ is failed through FM WS_REVERSE_GOODS_ISSUE (say against a sales order SO1).
Step 2: Creating Outbound Delivery using BAPI BAPI_OUTB_DELIVERY_CREATE_SLS for another sales order say SO2.

In the step 2, I'm getting below error message.


The error message "Error while creating Delivery..Copying is not poss.because an entry is missing in Table TVCPL: ZDOR"

The error message "Error while creating Delivery..No instance of object type OutboundDelivery has been created. External reference:"


Please help to me solve this issue, whether its buffer issue or refreshing any table or any thing else.

Thanks

Note: I saw in table TVCPL, that entry ZDOR exist in it, and if I skip step 1, and directly process the step 2 then BAPI is creating delivery successfully for any given Sales Order(SO2).

1 REPLY 1
Read only

Sijin_Chandran
Active Contributor
0 Likes
1,217

Hello Jalaaluddin ,

The error message "Error while creating Delivery..Copying is not poss.because an entry is missing in Table TVCPL: ZDOR"

This error is due to incomplete Copy Control settings maintained ( check for SO1 to ZDOR in the system . )

It seems that copy control between  SO1 to ZDOR is not maintained

and whereas for SO2 to ZDOR is maintained.

TCODE : VTLA.