Hi
Work Area with values are being passed to a Function Module and the Code in the Function Module
*"----------------------------------------------------------------------
*"*"Local interface:
*" EXPORTING
*" REFERENCE(E_VBAK) TYPE VBAK
*" TABLES
*" T_VBAP STRUCTURE VBAPVB OPTIONAL
*" T_VBEP STRUCTURE VBEPVB OPTIONAL
*" T_VBKD STRUCTURE VBKDVB OPTIONAL
*" T_VBPA STRUCTURE VBPAVB OPTIONAL
*" T_VBFA STRUCTURE VBFAVB OPTIONAL
*" T_KOMK STRUCTURE KOMK OPTIONAL
*" T_KOMP STRUCTURE KOMP OPTIONAL
*" T_VBUK STRUCTURE VBUKVB OPTIONAL
*" T_VBUP STRUCTURE VBUPVB OPTIONAL
*" T_OIK37 STRUCTURE OIK37 OPTIONAL
*" T_KONV STRUCTURE KONV OPTIONAL
*"----------------------------------------------------------------------
t_vbap[] = gt_vbap[].
e_vbak = gw_vbak.
t_vbep[] = gt_vbep[].
t_vbkd[] = gt_vbkd[].
t_vbpa[] = gt_vbpa[].
t_vbfa[] = gt_vbfa[].
t_komk[] = gt_komk[].
t_komp[] = gt_komp[].
t_vbuk[] = gt_vbuk[].
t_vbup[] = gt_vbup[].
t_konv[] = gt_konv[].
ENDFUNCTION.
Before the FM is called there are no values for all the internal tables gt_vbap,gt_vbep etc.
But, surprisingly the moment we enter in to the FM, values are shown in the those Internal Tables.
Any ideas please..!!
Thanks
Shankar