Skip to Content
avatar image
Former Member

automatically delivery not created from BDC on VA02

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 20, 2011 at 03:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 20, 2011 at 02:08 PM

    Check if you use COMMIT_WORK after BDC code..

    Add comment
    10|10000 characters needed characters exceeded