Skip to Content
Former Member
May 01, 2015 at 06:27 AM

Custom code does not work


Hi all,

I'm a newbie of SMP and SCN. I sincerely respect SMP leaders who posted nice blog.

I’d like to know how can I process the request (the number of customers) from client application to SOAP request.

My requirement is to connect SOAP WebService to client with Integration Gateway in SMP3 SP06.

SOAP service is provided by RFC. I checked the following blog and created function module.

This function module can input customer code (optional) and the number of entities to output customer information such as customer code, name, address, country, postal code and city.

I have configured SOAP WebServices with Integration Gateway in SMP3 SP06.

OData looks like this:

Operation is Query and Response Mapping is defined as below:

At that time, I couldn’t see the Service Document of my OData service. So I added custom script to pass the Basic Authorization and input parameter.

Basic Authorization is working but the request

parentMap.put(“IM_COUNT”, “5”) [the number of customer from FM]

does not work. I thought I could see 5 customers information in the service document but I could see all the customers information.

In addition, When I click on ”Define Request Mapping”, eclipse says "Request mapping is not available for SOAP Query.”

How do I implement my request successfully?