2007 Apr 24 6:55 AM
Hi friends,
I am debugging one report... in that report i have one statemet.
IF ITAB1 CA '1234'.
what is it means.
Advance thanks,
Anil.
Hi friends,
I am debugging one report... in that report i have one statemet.
IF ITAB1 CA '1234'.
what is it means.
Advance thanks,
Anil.
2007 Apr 24 6:56 AM
contains any = CA
CA (Contains Any)
The logical expression
<f1> CA <f2>
is true if <f1> contains at least one character from <f2>. The comparison is case-sensitive. If the comparison is true, the system field SY-FDPOS contains the offset of the first character of <f1> that also occurs in <f2> . If it is false, SY-FDPOS contains the length of <f1>.
Regards
Prabhu
2007 Apr 24 6:57 AM
Hi,
IF ITAB1 CA '1234'.
if any of the fields of ITAB1 contains any 1234..
then the successive code gets executed.
regards,
kiran kumar k
2007 Apr 24 6:58 AM
Hi...
IF ITAB1 CA '1234'.
it is a string comparison operator.
if ITAB1 Contains any of the characters 1 or 2 or 3 or 4
then the code in that if condition will be executed.
see the following link for various Strings Comparison operators .
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3516358411d1829f0000e829fbfe/frameset.htm
Regards,
Suresh......
2007 Apr 24 6:59 AM
It means it itan1 contain any of the character of '1234' then the following statement will execute. Other wise the control will got it else statement in case of else or to the endif.
2007 Apr 24 7:03 AM
Hello anil,
Those are comparision operators.
IF ITAB1 CA '1234'.
This means, if itab1 contains any of 1 or 2 or 3 or 4, you expresssion will be executed.
Regards
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |