Skip to Content
0
May 23, 2021 at 05:26 PM

eCATT coding issue: how to check if a value 'fistVisibleRow' exists or not

135 Views Last edit May 23, 2021 at 05:54 PM 2 rev

Hello,

I would like to write abap code in ecatt editor to check if the value 'fistVisibleRow' exists or not (please see below).

If it exists, then the system should give a feedback: It exists. In another cases, the system should give a feedback: it doesn't exist.

But somehow the result cdoesn't match my expection. Could somebody tell me how to write the command correctly? Many thanks in advance!

SAPGUI ( SE80_100_27 , TARGET_01 ).
SAPGUI ( SE80_500_26 , TARGET_01 ).
SAPGUI ( OINSC_MD_100_49 , TARGET_01 ).

IF fistVisibleRow.
LOGTEXT ( 0 , 'it exists' ).
ELSE.
LOGTEXT ( 0 , 'it doesn't exist' ).
ENDIF.




Attachments

issue1.gif (251.8 kB)