Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Different values in different enviroment

Hi,

I am working on an interface, in mapping I have a EXECUTE procedure and have para1 value as BISFDEV for development system and in QA it is BISFQAS and in production it will be BISFPRO.

Can anyone suggest me how can I achive the same.

Please give me steps too....

Regards

Ria

Former Member
Former Member replied

Hi,

you can get the environment name in udf using System.get property.

-


String systemID = System.getProperty("SAPSYSTEMNAME");

if(systemID.equals("XQ1"){

para = "BISFDEV";

}else if(systemID.equals("XD1"){

para = "BISFQAS";

}else if(systemID.equals("XP1"){

para = "BISFPRO";

}

-


here XQ1,XD1 and XP1 are quality,devlopmet and production envirnment names. change this name as per yours.

Regards

Ritu Sinha

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question