on 04-09-2014 8:05 AM
Hi,
First read the value of the alv table into internal table through
GET_STATIC_ATTRIBUTES_TABLE:
LT_ND_NODE->GET_STATIC_ATTRIBUTES_TABLES(IMPORTING TABLE = LT_NODE ).
then loop the internal table LT_NODE to CHECK the CHECKBOX value is 'X'.Set the flag = 1 if you find any value as 'X' or else 0(intial value).
Check if flag = 'X' then proceed further or else come out of the method.
Regards,
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya,
Once you read the values into internal table using GET_STATIC_ATTRIBUTES_TABLE then use the below code
LT_NODE->GET_STATIC_ATTRIBUTES_TABLES(IMPORTING TABLE = IT_TABLE ).
Then READ TABLE IT_TABLE into WA_TABLE where CHECKBOX = 'X'. This could result you either true or false. If true proceed as you like.
Loop on Internal table just to see if CHECKBOX is checked or not would be a performance problem rather than that just use READ statement.
Regards,
Rafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.