Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


I have two table structures coming from BAPI HDR & Line Items.

I need to display all the fields from Header and couple of fields from related Line Items [ any one Line Item is OK let us say we pick the first record of the related Line Items] and combine HDR & first Line Item and form one row[one element of node] on the disply table.

For example,

HDR: OrderNo OrderedDate OrderedBy


Vendor Qty UOM LineItemDescription

Vendor Qty UOM LineItemDescription

Vendor Qty UOM LineItemDescription

I want to see on the display table one row:

OrderNo OrderedDate OrderedBy Vendor

This should happen with just one Search button.

If I use the regular mapping & bindings, then I can only see Header Table separately & Line items separately and with no relation between them.

Any thoughts on how can I display on the table with combined HDR & couple of common fields in Line Item to form one record.

Any help is appreaciated ....

Thank You

Former Member replied

Hi vivek,

one view table can have only one datasource property (can show data from only one context node) so you have to write a method, which fill data from your two bapi result nodes to one new node, and this new node you can show in table.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question