cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Greetings,

Just doing some development and I am aware of how to create quotations and orders as well but this time, it seems that I keep running into a strange error, error from which I cannot go forward.

I do call the right parameters and the order is saved but it is rolled back after the creation of the SD order.

The error that I'm still getting is this:

[3] => Array

  (

       [TYPE] => W

       [ID] => V1

       [NUMBER] => 555

       [MESSAGE] => The sales document is not yet complete: Edit data

       [LOG_NO] =>

       [LOG_MSG_NO] => 0

       [MESSAGE_V1] => VBAPKOM

       [MESSAGE_V2] => 000010

       [MESSAGE_V3] =>

       [MESSAGE_V4] =>

       [PARAMETER] => VBUVKOM

       [ROW] => 0

       [FIELD] =>

       [SYSTEM] => DEVCLNT200

  )

You can see my request and my response in the attached screenshots.

0 Likes
View Entire Topic
Former Member
0 Likes

Thanks, but it is the same problem and I cannot figure it out.

Based on the SAP NOTE it is an ABAP issue, and I write in PHP.

Also, I did want to create the order from the GUI, but I do get the same error -> see attached screenshot

It does not say what kind of error it is or for what field ...

jpfriends79
Active Contributor
0 Likes

On GUI, instead of using FM to create. Use TCode VA01. with this system will indicate you the relevant fields for which you are getting incompletion log(Error Message V1 555)

Thanks, JP

Former Member
0 Likes

The order is created without problems in VA01 ... so annoying

If i create it with a refference to a Qutation, without items, it gives no error, the returned salesorder number is okay.

But then, SD document 1063335 is not in the database or has been archived.

In the WEB i do call COMMIT ... and no errors, but the document cannot be accessed.

Array

(

  [1] => Array

  (

  [TYPE] => S

  [ID] => V4

  [NUMBER] => 233

  [MESSAGE] => SALES_HEADER_IN a fost prelucrat cu succes

  [LOG_NO] =>

  [LOG_MSG_NO] => 0

  [MESSAGE_V1] => VBAKKOM

  [MESSAGE_V2] =>

  [MESSAGE_V3] =>

  [MESSAGE_V4] =>

  [PARAMETER] => SALES_HEADER_IN

  [ROW] => 0

  [FIELD] =>

  [SYSTEM] => xxxx

  )

  [2] => Array

  (

  [TYPE] => S

  [ID] => V4

  [NUMBER] => 233

  [MESSAGE] => SALES_ITEM_IN a fost prelucrat cu succes

  [LOG_NO] =>

  [LOG_MSG_NO] => 0

  [MESSAGE_V1] => VBAPKOM

  [MESSAGE_V2] => 000010

  [MESSAGE_V3] =>

  [MESSAGE_V4] =>

  [PARAMETER] => SALES_ITEM_IN

  [ROW] => 1

  [FIELD] =>

  [SYSTEM] => xxxx

  )

  [3] => Array

  (

  [TYPE] => S

  [ID] => V1

  [NUMBER] => 311

  [MESSAGE] => Vanzare 2667587 salvat

  [LOG_NO] =>

  [LOG_MSG_NO] => 0

  [MESSAGE_V1] => Vanzare

  [MESSAGE_V2] => 2667587

  [MESSAGE_V3] =>

  [MESSAGE_V4] =>

  [PARAMETER] => SALES_HEADER_IN

  [ROW] => 0

  [FIELD] =>

  [SYSTEM] => =xxxx

  )

)

jpfriends79
Active Contributor
0 Likes

Then better debug the transaction SE37 for the FM BAPI_SALESORDER_CREATEFROMDAT2, where focus on the data getting processed under:

  • Program SAPMV45A
  • Include MV45AF0B_BELEG_BEARBEITEN_ENDE
  • Structure VBUVVB

For

 [MESSAGE] => Vanzare 2667587 salvat

Use TCode VA23 to view quotation 2667587

Thanks, JP