cancel
Showing results for 
Search instead for 
Did you mean: 

Modify Control Record Values from Message Mapping

Former Member
0 Kudos

Dear All,

I have few Inbound Idoc Interfaces, I have mapped control record values in message mapping and selected check box "apply control record values from payload" at receiver Idoc Adapter.

Every thing is good, now the question is:

When i transport the Interface from DEV to QAS, I have to change the control record values w.r.t QAS ECC system.

where do i change these in message mapping w.r.t QAS details?

in DEV before export or in QAS after import??

Please suggest me

Regards

Edited by: Bhavana Ch on Mar 22, 2011 5:28 PM

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

one way would be to do the mapping based on the SID of the PI server

in a UDF;

System.getProperty("SAPSYSTEMNAME");

the above will return the SID of PI server i.e DEV, QA or PRD etc

based on that you can do your mapping if you already know what is the control records required in the next environments.

Former Member
0 Kudos

Thnx Shabarish

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In dev , Use the fuction " sender " in message mapping ..

Define in such a way that you wouldnt have to change while transporting.

For ex: if sender = PI_DEV then senderport = XXX

else if sender = PI_QA , senderport =YYY

so on and so forth for all the CR values.

Thanks,

Amith