Hi all,
I have this perform statement
data: gt_outtab type table of mara,
gt_fieldcat type lvc_t_fcat.
perform create_and_init_alv changing gt_outtab
gt_fieldcat.
when i double click on this perform ian getting a form like this
FORM create_and_init_alv CHANGING P_GT_OUTTAB
P_GT_FIELDCAT.
ENDFORM. " create_and_init_alv
when i look at the sap standard program for the same perform statement
it has something like this
perform create_and_init_alv changing gt_outtab
gt_fieldcat.
form create_and_init_alv changing pt_outtab like gt_outtab[]
pt_fieldcat type lvc_t_fcat.
ENDFORM.
my questions are
1)can anyone tell me why there is a difference
2) do we need to writ things again in form like gt_outtab[] and type lvc_t_fcat as you see in sap standard code.
what is the purpose of it.
Thanks
Kajol