08-12-2008 9:20 AM
We got a requirement where in transaction crmd_order , when you click on the save button display a message u2018The Employee responsible is <Employee Responsible>u2019. employee responsible is a dynamic field
.How to achieve this please suggest.
Thanks In Advance
08-12-2008 9:32 AM
Do you want to display this message in the standard application log or on a pop up window?
For the application log you should use the 'COLLECT_MESSAGES' function module (or something like it). You can find this FM in function group
CRM_MESSAGE (or something like it).
As far as the message is concerned. If this message is not standard available you should create a new message class (SE91) and a new message. In this message you enter your message 'person responsible &1'.
Upon enter use the SAVE Badi and display your message by using COLLECT_MESSAGES and the reponsible person you should use as a variable. Then the placeholder &1 will be replaced by the responsible person.
08-12-2008 9:32 AM
Do you want to display this message in the standard application log or on a pop up window?
For the application log you should use the 'COLLECT_MESSAGES' function module (or something like it). You can find this FM in function group
CRM_MESSAGE (or something like it).
As far as the message is concerned. If this message is not standard available you should create a new message class (SE91) and a new message. In this message you enter your message 'person responsible &1'.
Upon enter use the SAVE Badi and display your message by using COLLECT_MESSAGES and the reponsible person you should use as a variable. Then the placeholder &1 will be replaced by the responsible person.