06-02-2010 5:49 AM
Dear Experts,
I am trying to set up Alert Management for a scenario "Whenever the customer credit limit is exceeded at the time of Sales Order creation (VA01) or at the time of Change SO (VA02) certain users should get an e-mail with the details of customer number, SO number, Credit Limit Exceeded Amont and so on...
Can anyone please help me on how to do this...?
Best Regards,
Venkat
06-02-2010 5:06 PM
I would do it from userexit_save_document, in include MV45AFZZ, probably. There you would need to code for email, call the email API as a separate task... I would probably maintain a variable table somewhere with a list of email IDs to be used, if I were going to send via the internet, as opposed to SAP workplace.
06-08-2010 10:42 AM
Thanks for the reply with usefull information.
I have need some more help.
how can I catch the Static Credit information which I need to send to user but by the time the execution reaches to the program MV45AFZZ that information will not available.
the information which I need will be available while executing FM SD_ORDER_CREDIT_CHECK.
can I copy this FM to ZSD_ORDER_CREDIT_CHECK and call FM one more time in the exit USEREXIT_SAVE_DOCUMENT and catch the require and info and export to memory and import where I needed.
pl you and all experts let me know your opinion
Cheers
Venkat
06-08-2010 2:45 PM
Dear Experts,
my requirement will be fulfilled if I am able to modify the FM SD_ORDER_CREDIT_CHECK, can any one tell me that if I can modify this FM.
Regards
Venkat
06-17-2010 12:05 PM
Hello Venkatesh ,
Even if you have enough authorizations to edit a standard function module, it is not recommended by SAP- Your modifications will be lost when system upgrade. Instead you can use enhancement to achieve the same result via a "modification-free" way when system is upgrade.
Display the function module in function builder, click "Edit"->"Enhancement Operations"->"Create" to create your own enhancement on the function module. Hope it helps.
Best Regards,
Jerry
06-17-2010 8:08 AM
05-27-2014 1:37 PM
Hi,
I'm facing similar problem. I trying to copy variable credit_limit_exceeded in form MESSAGE_EXCEEDED_VALUE to vbak-zzfield with USEREXIT_MOVE_FIELD_TO_VBAK. Can you please explain how you solved your problem?
Regards,
Robert