cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Smart Form Layout data display issue

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)