cancel
Showing results for 
Search instead for 
Did you mean: 

EDIDC in IDOC at receiver needs to update automatically when moved to Q & P

Former Member
0 Kudos

Hi,

I 've done the scenario for File to IDOC where at receiver side RCVPOR i 've mapped the constant for XID.

Sameway when i move this objects to Quality there RCVPOR should be XIQ and in production RCVPOR should be XIP.

How can i maintain this at runtime automatically.

Kind Regards,

Y.Raj.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for your replies...

But, i came to know that we can manage it from UDF.

for eg.,

if(servicename.equals("XID"))

servicename = "SAPXID";

else if(servicename.equals("XIQ"))

servicename = "SAPXIQ";

else if(servicename.equals("XIP"))

servicename = "SAPXIP";

Here Servicename is the SAP SYSTEM NAME.

Could you please share this type of UDF if you have..

Kind Regards,

Y.Raj.

Former Member
0 Kudos

Hi Kumar,

Please see sekhars reply in this thread:

Once you get the user you can use two if elses and send the values accordingly.

Regards,

---Satish

Former Member
0 Kudos

For this go for Value Mapping which will be easirt to change the RCVPOR based on the System

you need to change the table values only when moved to QA or PROD

HTH

Rajesh

former_member181962
Active Contributor
0 Kudos

Hi Raj,

If you have te IDOC as the receiver, then why would RCVPOR be an XI system?

Your Receiver Port should be your R/3 system and not XI system.

Anyway, you can chose to UNCHECK the option, chose the Control record from payload in the IDOC adapter configuration, so that the Control Record information is determined based on the IDX1 settings instead of the values that you map in IR.

Regards,

Ravi

prasannakrishna_mynam
Contributor
0 Kudos

Hi,

In order to make the control records of IDOC runtime, you need to check the Apply Control Record Values From Payload in Adapter specific parameters of Receiver CC.

Regards,

Prasanna