09-11-2008 9:30 AM
09-11-2008 9:33 AM
Hi,
is AB declared with DATA or a real text like 'AB'.
Did you try anything in Report???
Regards, Dieter.
09-11-2008 9:33 AM
Hi,
is AB declared with DATA or a real text like 'AB'.
Did you try anything in Report???
Regards, Dieter.
09-11-2008 9:35 AM
you can use the operations
Like CS, CA, CN, CP
and also you can use Regular expression to check .
09-11-2008 9:36 AM
09-11-2008 9:38 AM
Hi
You can try
if var CA sy-abcde.
else.
endif.
Regards
Sumit Agarwal
09-11-2008 9:55 AM
Hi,
SY-ABCDE : Contains the alphabet.
comparision of strings can be done by following opearators :
CO Contains Only
CN Contains Not only
CA Contains Any
NA contains Not Any
CS Contains String
NS contains No String
CP Contains Pattern
NP contains No Pattern
example :
if char1 CA sy-abcde.
..
endif.
thanx.
Edited by: Dhanashri Pawar on Sep 11, 2008 10:56 AM