cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI - ZGET_ORDES_LIST Display Issue

Former Member
0 Kudos

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

LineItems:

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

regards

Bogdan

Answers (0)