‎2009 Oct 26 7:11 AM
Hi,
In the below if statement will there be any performance issue or any. One thing i am having records in fs_vend.
Or wht happens when i use ELSE statement.
IF fs_vend IS INITIAL.
Do nothing.*
ELSE.
APPEND fs_vend TO t_vend.
ENDIF.
IF fs_vend IS INITIAL.
APPEND fs_vend TO t_vend.
ENDIF.
Any suggestions on this
Regards
VEnk@
‎2009 Oct 26 7:14 AM
Hi ,
u can use as like this .......
IF fs_vend IS NOT INITIAL.
APPEND fs_vend TO t_vend.
ENDIF.
Thanks
Shambhu
‎2009 Oct 26 7:14 AM
Hi ,
u can use as like this .......
IF fs_vend IS NOT INITIAL.
APPEND fs_vend TO t_vend.
ENDIF.
Thanks
Shambhu
‎2009 Oct 26 7:15 AM
Hi,
I dont see any performance related issue here. If you want to avoid the else part directly use
IF not fs_vend IS INITIAL.
APPEND fs_vend TO t_vend.
ENDIF.
Vikranth
‎2009 Oct 26 7:19 AM
Hi Venkat,
If FS_VEND is an Interanal table with Header line.
then
if not FS_VEND[] is initial.
t_vend[] = fs_vend[]
endi.
Cheeers
Ram