‎2009 Aug 05 7:59 PM
I have created a dialog text in SE61. How can I add a variable in the editor?
I tried &lv_char& but this does not seem to work.
‎2009 Aug 05 8:43 PM
May be try this way
SE61> Changed> Go to > Change Editor> ( After this Editor will change to Line editor --> here choose command (ie first column) as "AS" --> then type &lv_char&
a®
‎2009 Aug 05 8:30 PM
Where did you using this dialog text, (like as "Diagnose_object" in fm popup_to_confirm) ?
a®
‎2009 Aug 05 8:43 PM
May be try this way
SE61> Changed> Go to > Change Editor> ( After this Editor will change to Line editor --> here choose command (ie first column) as "AS" --> then type &lv_char&
a®
‎2009 Aug 05 8:49 PM
I am trying to use this as Diagnose object in pop_up_confirm
The editor is a line editor. I tried AS and that did not work either.
AS Dialog Text,, &SYST-CPROG&Instead of displaying the program name, it displays it as a string
‎2009 Aug 05 8:55 PM
You need to pass the value to fm Popup_to_confirm
DATA: I_PARAMETERS LIKE SPAR OCCURS 0 WITH HEADER LINE.
MOVE lv_val TO I_PARAMETERS-VALUE. " Here lv_val is the value for parameter LV_CHAR
MOVE u2018LV_CHARu2019 TO I_PARAMETERS-PARAM.
APPEND I_PARAMETERS
Then this I_PARAMETERS to fm popup_to_confirm under tables PARAMETER along with your DIAGNOSE_OBJECT name
a®
‎2009 Aug 05 9:11 PM