cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound ABAP Proxy

Former Member
0 Kudos

Hi All,

I have an inbound ABAP proxy as the receiver. The class, interface, structure and tables are generated when I created the proxy.

I edited the method execute_asynchronous to collect the data from the table and send it to another RFC.

When I tried to populate my internal table using the data from table generated during proxy generation, it gives me an error like"zjssrc_dt-header_tab" is not defined in the ABAP dictionary as table, projection view or database view. But it doesn't give me an error while declaring my internal table of the type "zjssrc_dt-header_tab".

Any inputs on this will be of great help.

Thanks & Regards,

Jai Shankar.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

do make sure you drill down into the message structure and find the corresponding table/structure name.

Ref: /people/siva.maranani/blog/2005/04/03/abap-server-proxies

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

Former Member
0 Kudos

Hi,

When you generate your Proxy, there will be some structures created. Here you can see the name of the table type.

Just create a work are for the same table type and one internal table.

<i>eg.

DATA: i_data_records TYPE TABLE OF zback_dt_data_records.

DATA: wa_data_records TYPE zback_dt_data_records.</i>

Now move the data from the proxy to your internal table

eg.

i_data_records = input-mt_val_in-data_records.

Now this value <i>input-mt_val_in-data_records</i> for you would be input_<MessageType>_<segmentName thats repeating>

Now loop through the Internal table and move the data to Work area and then update your table.

I have taken second weblog as eg. Just see that weblog and read this.

Regards

Vijaya

Message was edited by: vijaya kumari

Former Member
0 Kudos

Hi All,

Thanks for all your time & help.

Regards,

Jai Shankar.

Answers (0)