05-16-2006 10:33 AM
Hi everyone,
I have created a custom transaction for HR and this is regarding training. Whenever a new training id is created i want a message at the bottom stating that
TRAINING ID ID NO. HS BEEN CREATED.
I was able to get the id no. dynamically.. what should i do...
can any one please tell me.
Thank in advance,
Bhargava Kavuri.
05-16-2006 10:35 AM
05-16-2006 10:38 AM
HI,
IN se91 create a message with say number 999.
999: TRAINING ID & HS BEEN CREATED.
IN code
trigger the message using the following syntax:
message s999(ZZ) with training_id.
Where training_id is the variable which holds the training id.
zz is the message class in which you have created the message.
REgards,
Ravi
05-16-2006 10:38 AM
Hi,
when ever new id creates , with the help of sy-subrc, you can call this message.(don't forget to capture ID)
message S000 with 'Training ID' ID 'Has been Created'.
regards
vijay
05-16-2006 10:39 AM
Hi,
to get the message type
message s000 with 'TRAINING ID' <ID NO.> 'HAS BEEN CREATED'.
to get the message at the bottom, give it as a success message. and to get a popup give it as an information message. 'i000' instead of 'e000'.
Thanks
Aswin
05-16-2006 10:39 AM
In the message class that you are using create a message with a PLACE HOLDER. So, if you see in SE91, it would look like
Training id &1 has been created.
Now use this in your program like this
message i100(xx) with variable.
Regards,
Ravi
Note : Please mark the helpful answers