on 12-03-2006 4:19 AM
Hi all,
Here's a newbie question. There is a scenario where an interface mapping has several stages of java mapping and message mapping
I would like to know how to set attributes in the java mapping so that it can be accessed in a message map (or vice versa). What I intend to do is pass some information from one mapping to the other so that action can be taken based on the values passed.
Thank you!
Another option is storing the values in the message header in the same way as the Adapter-Specific Message Attributes:
http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
Just use your own name/namespace combination, which is not used in any adapter.
If possible use the way that Sandro proposed and add the information which you need to additional tags in the payload.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you can.There is one more way as wll.Create a java class and have the attributes as static.compile it and load into xi as imported archives.You call Class.attributes from mesage mapping,java or XSLT it can access it.but make sure u add a import statement in user defined function or java where ever u want.
You imported a jar into SWCV and use it in any mapping inside SWCV.If you want it to use across,have it as a basis dependancy object to ur SWCV where ur using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why cannot you use the global variable section of message mapping.You can access them everywhere in the mappings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
you can use the more native and elegant way: in the first mapping generate XML elementes that contains the data you neen in the next phase of mapping. Then, after you used the data as zou need, if these information must not exist in the final payload, just drop it.
Regards,
Sandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.