on 05-07-2007 4:17 PM
Hi All,
I have declared an internal table in a smart form printprogram as below:
TYPES: BEGIN OF ty_items.
INCLUDE STRUCTURE z3manboxid.
TYPES: sernr TYPE gernr.
TYPES: END OF ty_items.
DATA: wa_items TYPE ty_items.
DATA: t_items TYPE STANDARD TABLE OF ty_items.
Above you can see that <b>sernr</b> is extra field i have added.
In Layout set of SmartForm:
In Form Interface i have declared following:
T_ITEMS LIKE Z3MANBOXID
In Global definitions i have declared following:
T_ITEMS_WA TYPE Z3MANBOXID
Now in my item data i am able to display all the fields except for SERNR field.
How to fetch the same.
In the same layout i need to display 3 fields at header level which will be same for all items i am not display them also, How can i display values for them!
Can anybody solve my above issues!
How can i fetch the data, what are declarations i need to make!
Please solve these issues!
Thanks,
Deep.
I see a couple of different ways that you could go about this:
1) create a DDIC structure that includes Z3MANBOXID and SERNR then use this new structure in your SF interface.
2) Have a seperate table with a key from the Items table and SERNR. As you loop through the line items in your table node READ this new table with the key and capture SERNR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.