Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smart forms and global data

Former Member
0 Kudos

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 ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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