on 08-15-2016 4:16 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.