cancel
Showing results for 
Search instead for 
Did you mean: 

Selection dynamic Mapping Runtime Constant with a qualifier

Former Member
0 Kudos
68

Hello all,

i want to access a Mapping Runtime Constant out of a message mapping specified with a qualifier.

In the Integration Directory i specified in the identifier tab the following Value Pairs:

Agency Scheme Name

-


http://Sap.com/xi/XI XIParty ABC

R3D_310 Partner 111

R3T_310 Partner 222

R3P_310 Partner 333

In the message mapping i want to have the Name for the agency "R3T_310".

I know i can access the Name with:

constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);

But i getting everytime the name "ABC", which i don't want.

At this point i need your help, to find out how i can dynamically get the correct one??

many thanks for your help

ilka

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Hi Ilka,

I don't think that you can access the header identifier fields at mapping runtime.

Maybe you can store the values redundantly in the value mapping table.

Regards

Stefan

Former Member
0 Kudos

Ilka,

You can also access other Mapping Runtime constants. For example, SENDER_PARTY_AGENCY.

If needed, you can also access SENDER_PARTY_SCHEME and SENDER_SERVICE.

The SAP Help link for all the Mapping Runtime constants accessible with StreamTransformationConstants is:

http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm

Hope this helps,

Bhanu