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: 

automatically delivery not created from BDC on VA02

Former Member
0 Kudos

Hi,

VA02 is configured on save to create automatically delivery. My requirement is to create a list with all the sales orders without delivery and on double click to change the user status of the SO and to create the delivery.

The configuration to do automatically delivery I think is made from VOV8. It works fine if I use VA02, the delivery is created.

To do this from a report, I used BDC, but in this case the delivery is not created(no error message).

I also tried to do this by changing the sales order with bapi_salesorder_change, in this case for some materials it works fine and for some I get the error V1 806 u2013 Internal pricing error.

I mention that on save of the SO is made also a transfer of the material from one storage location to another.

I will appreciate any suggestion on how to solve my problem.

1 ACCEPTED SOLUTION

maciej_domagaa
Contributor
0 Kudos

Triy calling your BDC using parameter RACOMMIT - I mean like this:


CALL TRANSACTION ... OPTIONS FROM ...

...with the field RACOMMIT of the options structure set to 'X'.

See F1 help on CALL TRANSACTION for details.

regards

4 REPLIES 4

Former Member
0 Kudos

Check if you use COMMIT_WORK after BDC code..

0 Kudos

the same. nothing happen.

maciej_domagaa
Contributor
0 Kudos

Triy calling your BDC using parameter RACOMMIT - I mean like this:


CALL TRANSACTION ... OPTIONS FROM ...

...with the field RACOMMIT of the options structure set to 'X'.

See F1 help on CALL TRANSACTION for details.

regards

0 Kudos

thanks man. problem solved.