10-20-2008 12:57 PM
Hi,
In my requirement i need to test a condition which looks like this,
I_VEIAV-(I_T609I-HEFEL) <> INITIAL
can any one tell me the meaning plz
10-20-2008 12:59 PM
Hi ,
Could you let us know how you have declared : I_VEIAV-(I_T609I-HEFEL).
Rgds,
Sandeep
10-20-2008 1:00 PM
Hi,
I_VEIAV-(I_T609I-HEFEL) is INITIAL.
It checks whether I_VEIAV-HEFEL has ne value or not.
If it is initial then it has no value.
10-20-2008 1:05 PM
10-20-2008 1:06 PM
10-20-2008 1:09 PM
How did you declare the internal table structure can you post the code
or try to write the condition with putting them in the parenthesis
I_VEIAV-I_T609I-HEFEL is INITIAL.
10-20-2008 1:01 PM
Hi,
if I_VEIAV-(I_T609I-HEFEL) INITIAL
it mean the value of (I_T609I-HEFEL) is getting in the run time .
suppose in run time , the value of I_T609I-HEFEL is MATNR say.
ultimately..
if I_VEIAV-MATNR initial
regards
Naveen
10-20-2008 1:02 PM
HI
I_VEIAV-(I_T609I-HEFEL) INITIAL Check whether I_VEIAV is a internal table with headear line and this internal table's structure is a DEEP structure , i mean the internal table consiting of one more internal table inside it
HEFEL is a field of inner internal table I_T609I and by putting them in a pair of parenthesis mean their values are set at run time.
and I_VEIAV-(I_T609I-HEFEL) INITIAL mean that the whole value is initial or does it contain any value other than ZERO or the initial value of the type it has been assigned.
Regards
Pavan
10-20-2008 1:13 PM
try like this...
DATA: fnam TYPE char20.
FIELD-SYMBOLS <fs>.
CONCATENATE 'I_VEIAV-' i_t609i INTO fnam.
CONDENSE fnam NO-GAPS.
ASSIGN (fnam) TO <fs>.
IF <fs> IS ASSIGNED.
IF <fs> IS INITIAL.
"Write ur code here...
ENDIF.
ENDIF.
10-20-2008 1:15 PM
hi,
I_VEIAV-(I_T609I-HEFEL) INITIAL
at runtime I_T60911-HEFEL would be having some value ,say A.
so,
I_VEIAV-(I_T609I-HEFEL) INITIAL
becomes :
I_VEIAV-A initial.
it checks whether I_VEIAV-A is intial .