Skip to Content


Jan 17 at 12:41 PM


avatar image

I am attempting to create sales orders using BAPI_SALESORDER_CREATEFROMDAT2 on a ECC 6.0 system and I am getting the above error when executing SD_VEDA_CREATE. the XVEDA table is sorted in decending sequence and when the statement "read table xveda with key da_vedakey binary search" is executed, it cannot find the records due to the binary search option and the records are being appended to the xveda table instead of getting modified. we have looked at our code and cannot find anywhere where the XVEDA would get sorted in decending order. I would like to know if anyone else has had the same issue and what you did to correct it.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

G Lakshmipathi
Jan 17 at 01:53 PM

Normally, system would trigger this error when it is trying to update some data but the same data is already stored in the same table. In your case, it is trying to update VEDA table which is related to Contract / Billing Plan, but not sure, from functional point of view, what exactly you were trying to do. Also have a look at OSS note 49424 though it is related to older version

Show 1 Share
10 |10000 characters needed characters left characters exceeded

I am trying to create a sales order that has three lines (line items 10,20,30). the sales order is creating records in the VEDA table. when I trace the program and view the XVEDA table before the read statement, the XVEDA table is sequenced with line 20 first in the file followed by line item 10. when the read statement is performed, the read does not find the record due to the binary sort associated with the read statement so instead of modifying line 20, it appends a new line 20, this happens for line 30 as well. so my file contains a record for line 10, 2 lines for line 20 and 2 lines for line30. when SD_VEDA_UP runs, the function dumps with the duprec error message.