on 12-03-2013 9:19 PM
for a synchronous interface mapping, can we pass values from request message mapping to fault message mapping using parameterized mapping?
you wnat to to be loosly coupled from your request message and so there is no reason doing what you are asking for.
As this is a synch. process the orginal message data allready resides in the requires applciation and so there is no need to return it as well.
the error response should be mapped to a Proxy \RFC response message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
Parameterized mapping is used when you have value in configuration (integration directory) and you want to use them in the design (operation mapping and message mapping), this values cant be fed from design to configuration.
The best way is the Mark Dihiansan pointed below using dynamic configuration. In Adarsh Dhingra's blog you have a step to step to do it
There is another way using static variables and UDF libraries like Carlos Ivan Prieto Rubio explains in his blog
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vicky,
Sorry I did not understand the question correctly, I think you meant to use exporting parameters. If yes, it can only be read via bpm or a monitoring process
Parameterized Mapping Programs - Enterprise Services Repository - SAP Library
Regards,
Mark
I meant...the dynamic configuration to read the contents from one mapping and use them in the other is only applicable as long as bith the source and target mapping programs are part of one operation mapping..right?
If that is the case i should be able to read the contents of request message and pass them to fault mapping as they are part of same operation mapping.
Hello Vicky,
That is not possible, parameters will only be usable on that mapping. You should use dynamic configuration instead.
Here is a sample code that we are using (target system uses SOAP Adapter)
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey Source1=DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","input");
conf.put(Source1,input);
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.