on 02-28-2011 9:43 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check ST22, is there ay dump with your user name??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.