cancel
Showing results for 
Search instead for 
Did you mean: 

Merging Item table and header table...

Former Member
0 Kudos

Hi All,

In an Adobe layout I have got a Header Table and below it there is item table....

Its a deep structure ..

At present the in the layout we are having the header tabel and below there is item table ....

The requirement is ... I wanted to merge all the table and show it as a single table ...........

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi,

It's possible to show it like that. Instead of tables just use subforms.

Suppose you have a header table say H_TAB and Item table say I_TAB.

H_TAB has got following fields:

HF1

HF2

HF3

and I_TAB has got following fields,

IF1

IF2

IF3

then create a subform for Header: SF_Header and bind it to H_TAB. inside this create you fields HF1, HF2, HF3(Bind these field to header fields) and one more subform for I_TAB say SF_Item and bind it to I_TAB. In this subform create you item fields and bind them with respective fields in item.

While doing this keep two things in mind:

1. The layout should be designed similar to the table.

2. Your Item table must be part of header table like a nested table.

If its a WD ABAP development use item table node(Cardinality 0...n/1...n) inside header table node(Cardinality 0...n/1...n).

Hope this will at least give you an idea to move ahead on this development.

Regards,

Vaibhav

Answers (0)