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_CREATENOREF - Error

SimoneMilesi
Active Contributor
0 Likes
2,239

Hi Gurus!

I'm using the BAPI 'BAPI_OUTB_DELIVERY_CREATENOREF' to simulate VL01NO and create a delivery without document to refer at.

I got an error into my return table: class message VL message n.473

It say 'Copying is not poss.because an entry is missing in Table TVCPL:'.

Any hint on how to solve this? I'm using a Z-type for the delivery that used manually on VL01NO works without problems.

I'm on SAP ECC 6.0

10 REPLIES 10
Read only

Former Member
0 Likes
1,637

What are the list of values you are passing to the BAPI? Error is related to "Copy control for Deliveries".

Regards

Vinod

Read only

0 Likes
1,637

Thanks for the reply Vinod Kumar .

Here my code



  CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATENOREF'
    EXPORTING
      ship_point = ship_point
      dlv_type   = dlv_type
      salesorg   = salesorg
      distr_chan = distr_chan
      division   = division
      ship_to    = ship_to
      DATE_USAGE = '0'
    IMPORTING
      delivery   = delivery
    TABLES
      dates      = dates
      dlv_items  = dlv_items
      return     = l_return.

All data are the same i put when using VL01NO transaction (and it works..)

I'm a bit usure with DATE_USAGE and DATES table.

I'm passing only WSHDRWADAT date into DATES table.

Read only

0 Likes
1,637

Hi Simone,

Sorry, I am working on ECC5.0, and didn't notice the statement "I am on SAP ECC6.0".

Still i guess there something is missing while passing the reference document details to BAPI which is triggering the error related to Copy Control.

Regards

Vinod

Read only

0 Likes
1,637

No problem Vinod

The problem is that i DO NOT HAVE a ref. document (this bapi should work without ref. document)

Read only

0 Likes
1,637

Hi,

Check this link. May be helpful for you.

[http://www.se80.co.uk/sapfm/b/bapi/bapi_outb_delivery_createnoref.htm]

Regards

Vinod

Read only

0 Likes
1,637

I already got this documentation, but it doesn't fit my needs.

Ty, anyway.

Read only

0 Likes
1,637

Hi Guys,

i also have the same problem with that BAPI. Why do I need a copying control in TVCPL when there is no reference to an order?

Any suggestions?

I see the question is answerd. Any solution?

Edited by: Martin Lermer on May 4, 2010 9:49 AM

Edited by: Martin Lermer on May 4, 2010 9:50 AM

Read only

0 Likes
1,637

>

> Hi Guys,

>

> i also have the same problem with that BAPI. Why do I need a copying control in TVCPL when there is no reference to an order?

> Any suggestions?

>

> I see the question is answerd. Any solution?

>

> Edited by: Martin Lermer on May 4, 2010 9:49 AM

>

> Edited by: Martin Lermer on May 4, 2010 9:50 AM

Martin,

Even I'm running into same issue, did you get this working.

-Amit

Read only

0 Likes
1,637

Sorry, I solved simulating transaction VL01N

Read only

Former Member
0 Likes
1,637

Hi Simone,

Can you please let me know how you solved your problem regarding VL01NO Tcode. Have you used Batch Input for this instead of BAPI. Can you send me your code for simulating VL01NO Tcode.

Thanks