on 06-22-2011 12:48 AM
Hi, I have a problem and hopefully I can support. I have a SOAP2RFC scenario , the SOAP message request has 3 data and only two data are required for the RFC and the outcome of the RFC must be filtered by the third parameter of the SOAP message. As I can do this?. I guess that somehow when I do the mapping of the request message should save the value of third parameter for use in mapping the response message, but not how. Thank you very much for your support.
Daniel
Hi Daniel,
While sending the data to RFC, concatenate the 3rd data with any of the field of RFC message with some tokenizer as separator,
in the RFC FM, use the separator to distinguish between the 2 field and store the 3rd data value in some variable.While response back concatenate the 3rd data value with any of the response field and in the mapping split the value based on the separator. now you have ur 3rd data value with you while response back
Hope this could solve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I did not get your requirement completely,
if you wantto supress the request data before sending to RFC , you can achive this in mapping level only.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I want to expose the RFC as a Web service returns a list of services but does not allow filtering by the description of the service. My idea is to run the RFC and filtering services that match the description entered as a parameter from the request message from the Web service. I hope I have been more clear. Thank you very much for the support.
Hi, the scenario is: I want to expose an RFC as a Web service. The RFC has no parameters and returns a list of services whose data service code and description of service. The issue is that the Web service should receive as parameter a description of service and get the list of services (by RFC) that match the description entered. As I can do this??. I understand that could create a BAPI Z to perform that task specifically, but if that is how I could do??. Thank you very much.
Hi,
For this you need to write a ZBAPI which consists of input parameters. In that ZBAPI call the actual RFC and store the result in an internal table. Loop through the internal table and read the services that matches with the given service description and send that information as response. Expose your ZBAPI as WEbservice. Hope this will help. you.....
Thanks&Regards
Priyanka
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.