on 05-03-2007 9:11 AM
I have a structure "ZTY_MUM1" & line type as "ZTY_MUM"
I need to declare internal table (it_mum) & workarea (wa_mum) based on this structure.
How to declare in form interface & global definition.
Kindly revert.
Harshada
Go to TYPES tab and make the TYPES declaration.
TYPES : ty_MUM TYPE STANDARD TABLE OF ZTY_MUM1.
TYPES : ty_mum_struct TYPE ZTY_MUM1.
Then in Global data u can do the declaration for table as
it_mum TYPE ty_MUM
and for workarea as
wa_mum TYPE ty_mum_struct.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harsh,
What all TABLES with item data and WORKAREA with header data that you import from PRINT PROGRAM we declare it in FORM INTERFACE:-
Go to FORM interface :
For Work Area.....
Go to IMPORT TAB
declare the work area as "wa_mum type ZTY_MUM1"
For Internal tables
Go to TABLES Tab
declare the table as " it_mum LIKE ZTY_MUM1".
In Global defenition we declare work areas or variables or constants that we use inside the SMART FORM.
Reward Points If Helpful
Regards
Avi........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
globaldata->it_mum(in variable name) type(in type name) table of ZTY_MUM1( in associated type.
Rewards point if helpful.
Regards
Santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.