on 11-25-2021 7:36 AM
Hi Gurus,
Please help me with the below requirement. I have created a range table to hold the values in idoc segment.
While reading the range table i have to read only with patten 'ABC*'. Based on this condtions logic has to work differently
used the below.
If ra-atnam cp 'ABC*' This is fAiled even the ra_atnam has containing the record with ABCGDTJE
IF 'ABC*' CP RA_ATNAM[]. please help me how the condition will be successfull.
Thanks,
Chittu.
You'll probably need to use CS(contains String) i.e. ra-atnam CS 'ABC'..
the only thing to note is if any other record has this string even in between i.e. like DEABCFH --> would also be picked up..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure what you are trying.. If RA_ATNAM is your range table then you'll need to code the below
LOOP AT RA_ATNAM ASSIGNING <WA>
WHERE LOW CS 'ABC'. "hopefully there are only EQ records in your Range table
**** Perform your required actions ****
ENDLOOP.
Thanks everyone for your response. Identified solution for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If ra-atnam cp 'ABC*' <-- will check also for the *
If ra-atnam cp 'ABC' <-- should work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.