Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

accessing data from a table type generated in abap proxy for XI Msg intf

Former Member
0 Likes
969

hi,

i have the following message interface defined in XI

aaa - element

bbb - element - 1: unbound

ccc - element

basically bbb is like an internal table holding list of values (i.e. ccc )

so in in my abap proxy class program i have to loop thru the values in bbb and store in a local internal table. can anyone give the sample code for looping ? how do i access the values in bbb ?

thks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
530

Hi,

goto transaction sproxy and goto the structure tab there you can see the path you need to follows until you reach the table bbb

bbb can be accessed as follows :

input -(message_type)-recordset-bbb

message type is the inbound message type for which you created a proxy in t-code sproxy.

so you can directly loop at this as follows :


 loop at input-(message_type)-recordset-bbb
 endloop.

hi,

i have the following message interface defined in XI

aaa - element

bbb - element - 1: unbound

ccc - element

basically bbb is like an internal table holding list of values (i.e. ccc )

so in in my abap proxy class program i have to loop thru the values in bbb and store in a local internal table. can anyone give the sample code for looping ? how do i access the values in bbb ?

thks

2 REPLIES 2
Read only

Former Member
0 Likes
531

Hi,

goto transaction sproxy and goto the structure tab there you can see the path you need to follows until you reach the table bbb

bbb can be accessed as follows :

input -(message_type)-recordset-bbb

message type is the inbound message type for which you created a proxy in t-code sproxy.

so you can directly loop at this as follows :


 loop at input-(message_type)-recordset-bbb
 endloop.

Read only

0 Likes
530

thanks..i think this should help.