‎2008 Jul 03 6:49 AM
Hi Gurus,
Could you plz suggest me how to capture the string value.
My requirement is.
I have a structure field called cnj_stat-sttxt_int and it is storing a value like "REL CDRT AVAC". AND the moddile value CDRT will change according to condtions. now i required to write a logic like if cnj_stat-sttxt_int field contain 'REL' and 'AVAC'. I HAVE TO THROW SOME ERROR.
SO please give some idea about on it...
Its urgent..
points will be rewarded...
Thanks in advance!!!!
Thanks & regards,
Kranthi.
‎2008 Jul 03 6:54 AM
Hi,
Typ using Contains Pattern(CP).
example:
IF cnj_stat-sttxt_int CP RELAVAC*.
Give some ERROR.
ENDIf.
Regards,
Jaya Vani
‎2008 Jul 03 6:54 AM
Hi,
Typ using Contains Pattern(CP).
example:
IF cnj_stat-sttxt_int CP RELAVAC*.
Give some ERROR.
ENDIf.
Regards,
Jaya Vani
‎2008 Jul 03 6:54 AM
if cnj_stat-sttxt_int field contain 'REL' and 'AVAC'. I HAVE TO THROW SOME ERROR.
if cnj_stat-sttxt_int CS 'REL' and cnj_stat-sttxt_int CS 'AVAC'.
THROW SOME ERROR.
endif.
‎2008 Jul 03 6:57 AM
do it like in this way
if cnj_stat-sttxt_int cs 'REL' or cnj_stat-sttxt_int cs 'AVAC'.
message 'ERROR' type 'E'.
endif.
‎2008 Jul 03 9:52 AM
‎2011 Feb 02 1:44 PM
HI Dear
could you plz tell me the code how can i handle it in CJ20N this, Actullay i have also this assingment "Select those Projects whose status in not REL DLFL
With regards