Skip to Content
author's profile photo Former Member
Former Member

How To Part 2 Build an Agentry Based App From Scratch - Structure of Compect table - FlightCarrierCT

Hi All

I explore example of creation Agentry Based App From Scratch.

How To Part 2 Build an Agentry Based App From Scratch

Example works but there are some question.


Section 4.3 Complex Tables.


We define Z00_GET_CARRIER_COMPLEX_TAB class and Z00_BAPI_GET_CARRIER_CT BAPI.


In the method Z00_GET_CARRIER_COMPLEX_TAB-GET_COMPLEX_TABLE

they have next code


if lt_flt_temp[] is not initial.

assign ls_mdo_output_vals-et_complex_table->* to <filter_tab>.

<filter_tab> = lt_flt_temp[].

endif.

Tables <filter_tab> and lt_flt_temp have have completely different structures.

I tested in in the Debuger

Q1. Is it correct way to return data for a Complext Table?

Also

We don't define structure of the table in the ConfigPanel Home

but at the same time in the Java code we request fields by there ERP table SCARR

Q2. How Java App get know the structure of the table Table arg0?

We never defined it or passed the table with such a stucture.

The <filter_tab> table in ABAP code have type of row "/syclo/pm_buspartner_tab" that is not the type of

lt_flt_temp table with "scarr" row type.

sshot-039.png (80.6 kB)
sshot-040.png (32.0 kB)
sshot-041.png (35.7 kB)
sshot-042.png (63.7 kB)
sshot-043.png (89.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 19, 2016 at 02:50 PM

    Konstantin,

    Hi. This question is tied to a demo app created by our SAP RIG team and not an out of the box standard application. Hopefully the team who created it can respond to this question.

    Hopefully RIG:@Alexandra Linde-Dunmire

    and team can respond here.

    Regards,

    SAP Mobile Support Team

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.