cancel
Showing results for 
Search instead for 
Did you mean: 

sales order is not visible in the system

Former Member
0 Kudos

Dear Sirs

I have gone through threads of sales but could not be able to find help regarding the below problem

I am running the SD_SALESDOCUMENT_CREATE to create sales documents.

After execution I get the following result:

SALES_HEADER_IN has been processed successfully

SALES_ITEM_IN has been processed successfully

SALES_CONDITIONS_IN has been processed successfully

Credit M.-Prod. THE 8000000633 has been saved

in export parameter SALESDOCUMENT_EX I get a value (for example 8000000633) which is a correct sales document number. But when I use transaction VA02 or VA03 and give the above number I get the message "Sales document is not available".

If I try to crete a sales documnet using VA01 the document is created successfully and takes the next sales document number (for exemple 8000000634)

Kindly help asap

Accepted Solutions (0)

Answers (3)

Answers (3)

madhu_vadlamani
Active Contributor
0 Kudos

Hi Kapil,

Just commit the data base .Generally when we create any data using fm or bapi it wont commit database. Take the fm and sequentially use another fm if you did this from se37. If you did this from report just commit data base. It will commit data base and create a record. Please close the thread if it is answered.

Regards,

Madhu.

nisha_sharma1
Active Contributor
0 Kudos

Hi,

I Think this function module does not have commit.

For Saving data in Database , You should do "commit ".

Call "BAPI_TRANSACTION _COMMIT" to save data in database.

Best Regards,

Nisha

Former Member
0 Kudos

Can you check ST22, is there ay dump with your user name??