cancel
Showing results for 
Search instead for 
Did you mean: 

error getting while implementing server proxy

Former Member
0 Kudos

Hi All,

I am implementing server proxy using synchronous inbound message interface.I am trying to get the purchage order details from SAP.I am giving input as PO number.While getting output of multiple rows it is showing only one row.that is the problem.If i can change the occurence of output fields its getting syntax error.

how can i get the multiple row items from that synchronous proxy.please give me any suggestions.

thanks,

Kishan.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

in your message interface, for the input and output structure check the occurance. For your message if it is 0-unbounded then only u will be able to extract multiple line items !!!

After you do the changes, activate the interface and regenerate the proxy + activate the same.

Former Member
0 Kudos

Hi Shabarish,

Thanks for reply.If i can change the occurence in outout structure at the time the output is not assigning to the output fields.This is getting syntax error.

The interface is working only for 1 occurence.

I am assigning the output like this..

<b>output-ES_TARGET_MSG_TYPE-ITEM-PONUMBER = it_EPSS-PONUMBER.</b>

here it_EPSS is the table.

ITEM-PONUMBER is the output field.

thanks,

Kishan.

Shabarish_Nair
Active Contributor
0 Kudos

in case you need to retrieve multiple records, in ABAP you might require to loop and use the logic to pull in data.

Answers (0)