‎2007 May 14 5:18 PM
are parameters defined in global data in smart forms unavailable in form routines to be used
I am working on lbbil_invoice std smart form for invoices and trying to use gs_it_gen type lbbil_it_gen that is been defined in global data. Will I have to define another wa of the same type in my sub routine ?
‎2007 May 14 5:20 PM
Hi,
You have to pass the global data in the parameters..
In the subroutine Give the global internal table in the Input parameters of the subroutine..
Thanks,
Naren
‎2007 May 14 5:20 PM
Global data is for Print program and Form ,it is like interface between program and Layout..
When ever you have internal table then declare work area.
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 14 5:20 PM
Hi,
You have to pass the global data in the parameters..
In the subroutine Give the global internal table in the Input parameters of the subroutine..
Thanks,
Naren
‎2007 May 14 5:33 PM
I am working on a smart form right now
I define in global data
gv_fabrictext type char64
gv_fabriccode type mara-j3afcc then in my form routines i create a sub routine
FORM fcc_values USING gv_fabrictext.
and making computations to calculate gv_fabrictext
then i use a program code and call perform fcc_values using gv_fabrictext with gv_fabrictext as input and output parameters
Is this correct? Why do I have to define gv_fabriccode type mara-j3afcc in the form routine even though its been defined in global data