on 09-15-2009 12:23 PM
Is there any chance to assign an exported parameter from one message mapping to another mapping program within an operation mapping?
Maybe via UDF and Interface OutputAttachments?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think UDF will help. Since you are going to use two separate mappings so UDF will not be able to carry the data once the first mapping executed, because then UDF will become stateless. It is possible only when you use 1 mapping.
But if you like then you can try with UDF to make sure if it works or not.
Regads,
Sarvesh
Hi,
Try using dynamic configuration
1. Set value in message mapping and
2. Get value in java mapping
Refer this link http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Regards
Suraj
Hi,
In sender communication channel have you selected Adapter specific identifiers? This only activate the Dynamic Configuration.
which field have you used for passing the value ? Filename, filetype etc are the fields available. You can see in SXMB_MONI, under soap header there will be a category named dynamic configuration. This will be activated only when Adapter specific identifiers are selected?
Regards
suraj
> Is there any chance to assign an exported parameter from one message mapping to another mapping program within an operation mapping?
The ans is 'No'. But there could be a work around if you tell the exact requirement and your approach.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually the problem sounds easy:
Operation Mapping consists of one message mapping and some further java mappings (transformation, validation).
A value exported from the first message mapping should be used as parameter in the first java mapping. The input structure of the java mapping is external and cannot be modified to add another field for example to read the value from the payload.
Hi,
I think this can be achieved with the help of Global Containers. Write udf in one mapping to set a parameter and another udf to get parameter.
Refer this link : http://help.sap.com/saphelp_nwpi71/helpdata/EN/e0/7d8e40496f6f1de10000000a1550b0/content.htm
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We have done something like this for q sync scenario. We required a value from request mapping to be made available in response mapping and we passed like this. (Yes strange both the mappings were different but they worked)
So I would suggest you to try the same using Global Containers.
Regards
Suraj
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.