2007 Jun 19 7:52 PM
hello gurus,
can anyone explain the difference between the two user exits..
FORM USEREXIT_SAVE_DOCUMENT_PREPARE
FORM USEREXIT_SAVE_DOCUMENT
i was asked 'what is the difference between a user exit and an enhancement'
can anyone explain this.....
and one more when it comes to sales and distribution how one can know whether a document is succesfully posted or not...
thanks in advance.
2007 Jun 19 7:58 PM
this will trigger before save : FORM USEREXIT_SAVE_DOCUMENT_PREPARE
this will trigger when you click on save button in sales order
FORM USEREXIT_SAVE_DOCUMENT
this will trigger before save : FORM USEREXIT_SAVE_DOCUMENT_PREPARE
this will trigger when you click on save button in sales order
FORM USEREXIT_SAVE_DOCUMENT
2007 Jun 19 7:58 PM
this will trigger before save : FORM USEREXIT_SAVE_DOCUMENT_PREPARE
this will trigger when you click on save button in sales order
FORM USEREXIT_SAVE_DOCUMENT
2007 Jun 19 8:00 PM
Go to MV45AFZZ in SE38 and search for these subroutines. You will find the documentation as part of the subroutine. When you get a message that document number xxxx is created, then you know that the document is created successfully.
2007 Jun 19 8:01 PM
Hi Ramu,
<b>1.</b> USEREXIT_SAVE_DOCUMENT_PREPARE . : If you want to make the validation you use this user exit and this is the last time to do the changes.
USEREXIT_SAVE_DOCUMENT : If you want ot modify the code then you can use it for this userexit.
<b>2.</b> User exit is a form of enhancement. There are other types of enhancements also like BADI's.
<b>3.</b>Look at CDHDR and CDPOS table. If you find your sales document number in these tables, it means that the document has been posted.
Reward if useful.
Regards
Aneesh.
2007 Jun 19 8:09 PM
USEREXIT_SAVE_DOCUMENT
This userexit can be used to save data in additional tables when a document is saved.
USEREXIT_SAVE_DOCUMENT_PREPARE
This userexit can be used for changes or checks, before a document is saved.
A user exit is nothing but an enhancement. In order to code in a user exit, you first
have to create and activate a project with the enhancements. Look at CMOD and SMOD transactions.
Sales document posted message will appear on the status bar whenever it is posted.
Rgds,
Naren
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |