Skip to Content

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

Line item access

Hello Guys!

From some examples of the salesordercollection I know how to build line-items-lists.

The model would look somewhat like this (Lineitems as attribute and substructure of the main Object)

{

  "SalesOrderCollection": [

  {

  "SoId": "300000097",

  "ApprovalStatus": "",

...

  "LineItems": [

  {

  "SoItemPos": "300000000",

  "Quantity": "10",

...

And in the detailview you have something like

        <Table

                            headerText="{i18n>LineItemTableHeader}"

                            items="{LineItems}" >



Now I have data structure like this

Objectlist
ObjectID

Name

...

LineItem
LineitemID

Name

ObjectID (foreign key)

...

How do I bind/implement the items now, so that only the line items for a specific object appear?

Thank you in advance

Regards,

Chung

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question