‎2007 Dec 11 11:53 AM
Hi All,
I have written code in user exit MV45AFZZ(include program ) ,now i need to create text elements.
The above include is in standard program SAPMV45A,which will ask access key for creating text elements.
Can any one give me some inputs,like,can i go ahead using accesskey or any alternative procedure exists for enhancing text elements without accesskey?
Thanks & Regards
Seshagiri.
‎2007 Dec 11 3:49 PM
Hi
Create one message class or use any created message class(custom). In that write ur text elements and use that in include.
In same program and same include which u r telling, we created one message class called Z_SDRQC and using text elements from this message class in this include. check below sample code for that.
Reward if it is helpful.
Thanks
Siva Kumar
IF SY-TCODE = c_tcode1.
MESSAGE a006(z_sdrqc).
ELSEIF SY-TCODE = c_tcode2 OR SY-TCODE = c_tcode3.
‎2007 Dec 11 3:49 PM
Hi
Create one message class or use any created message class(custom). In that write ur text elements and use that in include.
In same program and same include which u r telling, we created one message class called Z_SDRQC and using text elements from this message class in this include. check below sample code for that.
Reward if it is helpful.
Thanks
Siva Kumar
IF SY-TCODE = c_tcode1.
MESSAGE a006(z_sdrqc).
ELSEIF SY-TCODE = c_tcode2 OR SY-TCODE = c_tcode3.
‎2008 Feb 04 7:13 AM
Hi Siva,
Followed your suggestion and created text elements.
Thanks & Regards
Seshagiri
‎2007 Dec 11 4:04 PM
Hi
The text elements belong to main program so SAPMV45A, so or you write the texts directly in to the code (without to use the text elements) or (if you need to manage the translations concept) you can try to use an your own message class: so you replace the text element with a message of your class.
Max
‎2007 Dec 27 11:30 AM
Hi Siva and Max,
Thanks for your inputs.
As i was on some other assignment,i haven't yet tried creating message class.
I will go-ahead as per your solution.
Thanks & regards
Seshagiri.