‎2006 Jun 09 3:13 AM
Hi,
I want material text to be printed only if it has copyright symbol (c with circle around it) otherwise not ?
How can I do this ?
Can this be done in print program or what is the way to do this ?
Any insights will be appreciated.
Please help.
Thanks.
Regards,
Tushar.
‎2006 Jun 09 3:19 AM
‎2006 Jun 09 3:53 AM
This is a duplicate post. Would you please close one of them.
Thanks
Rob
‎2006 Jun 09 6:05 AM
‎2006 Jun 09 6:14 AM
Hi tushar,
1. If u want to write the logic in driver program,
then u can write an IF Condition,
2. which will check if the Material Text (MAKTX)
contains the copy right character or not.
3. like this.
if MAKTX CS '©'
4. We can get this copy right character by
a) either u copy from here (Ctrl + C)
b) or Alt + 0169
©
regards,
amit m.
‎2006 Jun 09 6:16 AM
IF source CS ' '©'.
found = 'X'.
print source.
endif.
or
DATA: source TYPE string,
s_one type string,
s_two type string.
source = 'This is a entlittle © sentence.'.
SPLIT source AT '©' INTO s_ONE s_TWO.
if s_TWO <> ''.
print.
‎2006 Jun 09 6:36 AM
Hi Tushar,
the only way i think is getting ur long text in a variable.
then using
if variable ca 'c' ( this shud be the special character that u need to get in ur program for comparision )
then print.
endif.
hope it helps..