cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi All

I explore example of creation 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.

Accepted Solutions (0)

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

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:

and team can respond here.

Regards,

SAP Mobile Support Team

Former Member
0 Kudos

Hello Mark.

Thank you for information.

When I try to share the discussion with Alexandra it shows exclamation point with warning.

Can I share the discussion with Alexandra?