‎2008 Mar 25 7:27 AM
Hi All,
I need to generate a Error message for one of my application. In ABAP side i will be passing the Error message to a String and that will be shown to user as a popup.
Problem:
dataitab-message = 'Please type in all position name before clicking ' search'. '.
where dataitab is a internal table and message is of type string.
Since the error message contains ' ' inside it, it is showing syntax error.
Can someone suggest some work around to it?
Thanks in advance.
‎2008 Mar 25 7:31 AM
Hi,
Try using below:
dataitab-message = 'Please type in all position name before clicking '' search''. '.
Thanks,
Sriram Ponna
‎2008 Mar 25 7:31 AM
Hi
If you want to display the quote within the quote then use twice for it
open it and close it
dataitab-message = 'Please type in all position name before clicking ' 'search'.' '.
Regards
Shiva
‎2008 Mar 25 7:43 AM
‎2008 Mar 25 8:27 AM
Hi
one more thing make use of text element dont write like this
if you check in SLIN it will show errors
regards
Shiva
‎2008 Mar 25 9:01 AM
Hi Shiv,
Thanks for the suggestion.
Can you please show me how can i do that using text elements?
Thanks,
‎2008 Mar 25 9:03 AM
Hi
copy the existing text and goto text elements and then paste it
the hard codesd text will translated when logon using different language
Regards
Shiva