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_SALESDOCUMENT_COPY

Former Member
0 Likes
616

I am trying to test BAPI_SALESDOCUMENT_COPY so we can call it remotely. What I am trying to do is copy a quite to an order of type OR. What happens is the order is "created" but it isn't registered in the database.

Regards,

Davis

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

YOu have to run a test sequence of first BAPI_SALESDOCUMENT_COPY and then the commit FM

BAPI_TRANSACTION_COMMIT

Regards,

Ravi Kanth Talagana

3 REPLIES 3
Read only

Former Member
0 Likes
549

YOu have to run a test sequence of first BAPI_SALESDOCUMENT_COPY and then the commit FM

BAPI_TRANSACTION_COMMIT

Regards,

Ravi Kanth Talagana

Read only

0 Likes
548

Ravi,

Thanks for the reply. I am doing the commit bapi but the problem seems to be that the number range for the orders are incorrect. I have no idea what range it is going into (meaning what that range is set aside for) but I am trying to figure that out. Everybody that would know this answer is traveling today.

Davis

Read only

0 Likes
548

HI davis,

You can find the number ranges by looking in the table: NRIV

Pass the Object name as RV_BELEG and see the number ranges that are available.

Regards,

Ravi Kanth Talagana