2010 Jul 15 4:12 AM
Hi ,
the requriement was..
to display an message after an sales order gets saved.
before displaying the message i should check whether hold exists on the sales order (header /item level ) and display message "Sales order has been saved.Hiolds exits please check".......
this message should appear whenver there is change in an sales order via VA02 ( header/item level hold exists) & during creation of an sales order via VA01( header/item level hold exists).
and i have written my enhancement in include MV45F0B inside MV45F0B_BELEG_SICHERN.
The message is getting displayed properly whenver there is hold & if no hold standard message will be displayed.
This is working if i put one break-point (in my enhancement point).
but the same wont work if there is no break-point.
i.e its working perfectly fine in debugging mode but not when directly executed.
what could be the reason for this?
Hi ,
the requriement was..
to display an message after an sales order gets saved.
before displaying the message i should check whether hold exists on the sales order (header /item level ) and display message "Sales order has been saved.Hiolds exits please check".......
this message should appear whenver there is change in an sales order via VA02 ( header/item level hold exists) & during creation of an sales order via VA01( header/item level hold exists).
and i have written my enhancement in include MV45F0B inside MV45F0B_BELEG_SICHERN.
The message is getting displayed properly whenver there is hold & if no hold standard message will be displayed.
This is working if i put one break-point (in my enhancement point).
but the same wont work if there is no break-point.
i.e its working perfectly fine in debugging mode but not when directly executed.
what could be the reason for this?
2010 Jul 15 6:06 AM
Hi,
You should use the user-exit MV45AFZZ, form-routine : USEREXIT_SAVE_DOCUMENT_PREPARE.
Regards
Vinod
2010 Jul 15 6:54 AM
MV45AFZZ form USEREXIT_SAVE_DOCUMENT_PREPARE
this gets triggerred when you click on save button , but before actual saving....
my message should come after saving....
so i cant use MV45AFZZ form USEREXIT_SAVE_DOCUMENT_PREPARE...
standard message is present in form beleg_sichern inside include MV45F0B.
there only i have given my message.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |