cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Proxy - structure not getting populated

Former Member
0 Kudos

Hi all

we have configured an inbound proxy for pushing data to BI. The proxy code is as follows

method ZII_MI_VCNDATATO_BI~EXECUTE_ASYNCHRONOUS.

DATA: l_text TYPE string,

l_s_data TYPE line of /BIC/WCQSENDXML00001000,

l_t_data TYPE /BIC/WCQSENDXML00001000.

FIELD-SYMBOLS <l_line> LIKE LINE OF input-data-item.

LOOP AT input-data-item ASSIGNING <l_line>.

MOVE-CORRESPONDING <l_line> TO l_s_data.

APPEND l_s_data TO l_t_data.

We are getting the data in the "input-data-item" and in "l_line" within the loop but the data in l_line is note getting moved to the corresponding fields of l_s_data.

Hence, we are receiving empty messages in the PSA of BW.

How would we populate the structure l_s_data with the values from l_line.

We have already debugged the proxy with XML taken from the sxmb_moni of Bw

regards

Krishna

Accepted Solutions (1)

Accepted Solutions (1)

turmoll
Active Contributor
0 Kudos

Hi,

Check if there are components of structure l_s_data that have the same names as in structure <l_line>, only then you will be able to use move-corresponding.

If the components have different names you have to assign them one by one.

Regards,

Jakub

Answers (0)