on 05-10-2010 8:45 AM
Hi all,
I have a very small Problem (I think).
The case is following:
From the ERP-system we want to call a plain RFC function module on the pi-System. With that structure we want to do a Mapping in IR with an User-defined-Java Function, which does an external Web Service Call. This result we want to put into the RFC-response.
When testing the Mapping we get the result we want to have.
all of the logic is between the RFC Request and RFC Response.
Unfortunately we cannot do an Operation mapping between RFC Request and Response.
So I need a dummy Interface, between them. Is that right? Do I have to use BPM in that case? We want to avoid that.
Can you please help me to solve that small scenario?
Thanks
Best Regards
Daniel
Hi,
I solved it that way:
I justed moved the importing parameter to the exporting parameter in the function module. So I could call the UDF in the reponse Mapping.
Regards
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I look for the Java Proxies and I don't understand them, apart from that they make problems here.
The Webservice Call from UDF isn't the point in my problem.
It is the same as the UDF gets 2 Import Numbers and der UDF adds them. We just want the result in one (x)string
Isn't it possible just to map the Request on the Response of the RFC?
RFC.Request -> UDF -> RFC.Response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> From the ERP-system we want to call a plain RFC function module on the pi-System. With that structure we want to do a Mapping in IR with an User-defined-Java Function, which does an external Web Service Call. This result we want to put into the RFC-response.
Who told you to do this that way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately the webservice we want to call does not fit with the SAP-logic.
The process aborts, because we get a "double message payload". Otherwise we would have done it with a simple Client-Proxy. The PI also aborts when trying it by the "normal" web service way.
But we have received a Java Code which can handle that.
Now we should include that in the PI.
And it works when testing a message Mapping with that Code into a UDF.
The problem is, that I do not know how to put that into the response in the "right way".
Regards
Daniel
Hi Daniel,
You will be having two separate mappings in this scenario,one for request and other one for response.And in the interface mapping you will be mentioning the synchronous interfaces(RFC and webservice) and will be providing the message mappings for both request and response.
The testing will be possible at the request side.But the response for webservice has to be taken from any outside applications like XML spy. and take the response of that web service and test the response map.
Regards,
Tiny
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.