Getting XI business system name Dynamically
Hi All,
I am using RFC lookup for one of our project requirment. we will be using one of our inputs as business system which hosts the RFC function module (RFC_READ_TABLE). in our dev it is our XI business system. But when we move these objects to quality or prod, this mapping fails because the name of the XI business system changes. Can anyone suggest me how we can get the xi system name dynamically.
Best Regards,
Deepika
Hi Deepika
You can use the function "Sender" or "Receiver" (depending upon whether your business system is sender or receiver) which is available under 'Constants' category in Standard funtions of Graphical mapping.
These functions give the current value of the businees system in the environment where the interface is running.
Let me knwo if you are still not able to pick it.
Thanks
Ram
Similar Messages
-
Fetching the business system name during graphical mapping
Hi,
After the receiver determination is done and in interface determination, while executing the interface mapping, i need the business system name for which the
mapping is under progress. This i need during mapping.
Also, i need the configuration scenario name during mapping.
Is there any XI internal variable/system variables which hold these values so that using user defined function they can be accessed and used in graphical mapping ?
In appreciate your input in this regard.
Regards
GaneshHi,
For the configuration name you can map it with a constant and for the sender,receiver services and interfaces you nee to use the UDF as one mentioned below.
Imports com.racs.gpt.*;
public String getMapValue(String a,String b,Container container)
//String a denotes incoming data string |data1|data2|data3|...|dataN.
//String b = lookupID.
//container contains runtime parameters.
AbstractTrace trace;
String headerField;
java.util.Map map;
String result;
trace = container.getTrace();
// get constant map
map = container.getTransformationParameters();
CrossReferenceAPI maprule1 = new CrossReferenceAPI();
result = maprule1.getData(a,b,map);
trace.addWarning("result = " + result);
if (result.equals("$NULL$"))
trace.addWarning("XREF Error. Mapped data for " + a + " not found");
ErrorHandler errHandler = new ErrorHandler();
int lookupID = Integer.parseInt(b);
errHandler.logSQLError(map, lookupID, a, "");
result = "?";
return result;
Regards
Madhu -
How do I get the Weblogic system name in WLS 6.1 sp2 without creating T3Client
Hi Folks,
In Weblogic Server 5.1, I get the weblogic.system.name using the following code:
T3ServicesDef t3services = T3Services.getT3Services();
String systemName t3services.config().getProperty("weblogic.system.name");
What is the counterpart for Weblogic Server 6.1?
Thanks in advance for your help.
BillThe class doesn't seem to be documented in the normal documentation, but
you can get an overview of the methods by executing
javap weblogic.management.Admin
with weblogic.jar in your classpath.
Hope that helps,
Nils
Bill Lam wrote:
>
Jim,
Can you tell me where I can find documentation for
weblogic.management.Admin?
Thank you.
Bill
"Bill Lam" <[email protected]> wrote:
Jim,
Thanks. I appreciate your help.
Bill
Jim Brown <[email protected]> wrote:
Bill:
The weblogic.server.name property in WLS 5.1 has been replaced by the
property weblogic.Name in WLS 6.X. Although it is possible to retrieve
this value by calling System.getProperty(), I would encourage you to
use
the new JMX services which have replaced our proprietary management
interfaces (T3ServicesDef, et. al.). For example, you could write aJMX
client to read the various properties of ServerMBean. To get started,
here is the link to our WebLogic JMX documentation:
Programming WebLogic JMX Services
<http://e-docs.bea.com/wls/docs61/jmx/index.html>
Please post any follow-up questions about JMX to the
weblogic.developer.interest.management.general_and_jmx newsgroup.
Besides writing a JMX client, you can also take advantage of the
following short-cut for retrieving the server name. The remaining code
for this example can be found in your WebLogic Server samples directory
under: ./wlserver6.1/samples/examples/cluster/rmi/HelloClusterImpl.java
private String getLocation(){
String toReturn = null;
try{
toReturn = weblogic.management.Admin.getServerName();
}catch(Exception e){
System.out.println("HelloClusterImpl failed getLocation");
e.printStackTrace();
if(toReturn==null){
return "";
}else{
return toReturn;
Regards,
Jim Brown
Bill Lam wrote:
Hi Folks,
In Weblogic Server 5.1, I get the weblogic.system.name using the followingcode:
T3ServicesDef t3services = T3Services.getT3Services();
String systemName t3services.config().getProperty("weblogic.system.name");
What is the counterpart for Weblogic Server 6.1?
Thanks in advance for your help.
Bill--
Jim Brown
Developer Relations Engineer
BEA Support
============================
[email protected] -
Client no in SAP Business System name.
Hello All,
I am currently working on naming for the SAP PI objects.
In my previous SAP PI implementations I used naming like SIDCLNTNO ( f.e. DPECLNT110 ) and SAP Recommends that as well. However we faced problem while pointing the different client to SAP PI sometimes in quality. For example my business system name is XXXCLNT110 in QA. But as they want to do some performance testing they wanted to point it to 900 client. At that time technically we can point it but logically it becomes wrong as scenario is still refering to 110 client (XXXCLNT110 ).
So in my new project I am thinking of keeping business system name client independent. i.e. SAPERP_DEV. Let me know your views regarding the same ?
Thanks & Regards,
Dijesh Tanna.Hi Dijesh ,
But as they want to do some performance testing they wanted to point it to 900 client. At that time technically we can point it but logically it becomes wrong as scenario is still refering to 110 client (XXXCLNT110 ).
---> for me "performance checking " is related to "technical settings" only !!!
It's the client No. which depicts the purpose of system like test ,Dev, Sandbox,....not other way !!! so logically also "SAPERP_DEV" is not correct ...In this fashion you will be tight coupling the business system name with the business context !!! and the solution will not be scalable !!
Consider a case where new ERP systems coming into the landscape
will you name it SAPERP_DEV1...SAPERP_DEV2.......
Hope my sincere views you would find useful !!
Regards , -
Business system name important for IDoc scenario message routing?
Hello all,
I have following problem.
I have to setup with our client an IDoc scenario which is a little difficult.
The client sends project IDocs from Client ERP system to his own XI system next to our XI sytem and at last Internal Order IDocs to our ERP system. We use for each environments (DEV, TEST, PROD) a separately SLD, the client a central SLD. In each environments we use the same business name for our XI system "BS_XI". Now the problem. The client aren't able to configure two times the same business name "BS_XI" for routing to our TEST respective Production environment. DEV will not used. I know the B2B scenario should be used in this case but i have no chance to think about this. Manager decision!
So what can be the workaround.
I think about to provide our client a different Business system name "BS_XI_PROD" with different technical system informations for our PROD environment. So for my understanding, the business system name is unimportant in this case, important here the technical informations which you are able to see in "Display Adapter-Specific Identifiers". Technical system, Port and RFC configuration.
The namings convention for Business system is unimportant in this case, yes?
Many thanks in advance!
Regards,
JochenDear Jochen,
Can you please clarify a bit? Is it a problem between customer's XI system and your XI system?
I think you can use Parties here. In the Party you can define some additional identifiers, with which you can differentiate the incoming IDocs.
(e.g.: in the identifiers tab, Agency=BS_XI, Scheme=ALE#KU (defined in the customer's partner profile), Name=a defined name in the IDoc control record)
So with this you will have a "Business System+Party" as an identifier, where you can use several parties with the same business system.
I hope it helps!
Regards,
Andras -
Business System name - SAP ERP
Hi everyone!
Quick question: my BASIS team created the Business System name for our SAP ERP, and they call it "DR1", which is the system ID.
Is this going to bother me in the transport situation? (All I imagine is changing all of my Configuration in PI (Sender agreement, and such) in a new environment, so I´m thinking about changing this ASAP.)
Any suggestions for the SAP ERP Business System name?
Regards!
Ricardo Sancio Lóra
BrazilHi Ricardo,
ll I imagine is changing all of my Configuration in PI (Sender agreement, and such) in a new environment,
You dont need to change the Sender agreement and other stuff in configuration while transporting to New system.
You can maintain transport targets in SLD of XI. Means you need to maintain corresponding target for DR1 into Quality system.
Ex: For DR1 transport Target QR1 in quality. This will automatically change Configuration object in Quality system. No need to maintain manually. -
Hello,
I am sure this question has already been asked but I can't find anything in the forums...
We have PI 7.0 SP13, and I would like to know if there is a way of renaming a business system without deleting/recreating it ?
Many thanks for your help,
Best regards,
GLGuislain,
Do you want to re-name the Logical System name or Business System name?
raj. -
Business System Names during integration
Hi
I have a number of ABAP Proxy integrations between ECC and PI. My question relates to the name of the sender service when it appears in PI.
I have a system that is defined in the SLD as XXX009 (where XXX is the SID and 009 is the client number). Now when making proxy calls to my legacy system (PI 7.11) it appears as XXX009 but when calling my current system (PI 7.31) the sender system appears as XXXCLNT009.
Can I ask why the business system names are different? Why is one XX009 and the other XXXCLNT009 when the source ECC system is the same? It doesn't make sense?
RegardsHi Robert,
A Business System can be a reflection of your SAP ECC system.
You register it in the SLD via transaction RZ70. This registration will create a technical system.
The name of the business system can be chosen freely. That is the reason why you see differences.
What I do is this: on the ECC system, go to transaction SCC4 and choose the relevant client.
Have a look at the business system name. Use that one in the SLD.
Generally, Business Systems reflecting an SAP ERP/ECC system are created like <sapsid>CLNT<client>
Hope this clarifies.
Kind regards,
Dimitri -
Getting Application root directory name dynamically
hi all,
For some reason I need to get Application root directory name dynamically
and use it somewhere.
Im using resin and default app dir is "doc" i've another directory "abc" and set
that as application root directory.
So from jsp i need to get the application root directory name.
thx in adv,
kiranhttp://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath
use the following in you jsp
<%=application.getRealPath("/")%>this will give you the application root directory. -
How to get RFC Destination and Logical System name dynamically
Hi all,
I have a RFC FM written in CRM. I need to call this FM in R/3. So, i use the syntax " Call function <func> destination <destination name>. My problem is that i need to fetch the destination name dynamically..
There is a way to do so in CRM which is as follows:
DATA: lt_siteselect TYPE TABLE OF siteselect INITIAL SIZE 0,
ls_siteselect TYPE siteselect.
CALL FUNCTION 'SMOF0_READ_SITESELECT'
TABLES
to_siteselect = lt_siteselect.
READ TABLE lt_siteselect INTO ls_siteselect
WITH KEY sitetypeid = cl_smw1_siteprovider=>c_sitetype_r3oltp.
The above piece of code returns the site and also takes care of the client you are currently working on. But the specified FM is present only in R/3..
I want to achieve the functionality fulfilled by the above code in R/3.
Kindly help.
Useful answers will be rewarded.
Thanks in advance,
Karan Merwana
I can not use FM LOG_SYSTEM_GET_RFC_DESTINATION as for that i need to provide the logical system name. And the logical system name would be different for different clients.
Message was edited by:
Karan MerwanaFor those referring this thread later, I could not find a solution to this and ultimately had to do away with hardcoding of system names based on the DEV, Q, and PROD system names.
If anyone does manage to get a workaround, please let me know. -
Import ID Configuration Scenarios and keep the same Business System names
Hi Guys,
Is it possible to transport ID Configuration Scenarios Objects between 2 XI systems and keep the same names for both sender and receiver Business Systems ? That is, to skip the SLD lookup for transport Source and Transport Targets systems ?
I tried to create the same Business Systems under the same name twice, but this was not possible. Any ideas ?
The reason is that I want to transport all the objects from one XI DEV server to another XI DEV server.
Thank you,
Best Regards,
Evaggelos GkatziosHi,
We have done same but with bit of manual work (without Transport).
Create SLD object in target system with same name as in Souce XI system SLD.
IR & ID was exported using TPZ files from Source system & were imported in Target system.
It used same object names in both XI systems.
Regards
Sushil -
To get the logical system names of all the child systems in a CUA envirnmnt
Hi Gurus ,
Is there any table where we can find the logical system names of all the child sytems in a CUA environment .
This is for a requirement that i need to develop an automated process where we can reset the password of all the child system in a CUA environemt when requested by the user at once .
I found some tables such as V_TBDLS , but they do not contain the exact information what i need .
Thanks in advance ,
Harshit RungtaHi,
You are in the right track. BD54 will show you the logical system name for all the existed systems in CUA.
Else you can also go to your CUA system and execute t-code SALE --> Basic Setting --->Logical Systems ---> Assign logical system to client -
> Display details
here you can see logical system names for all the clients assigned to CUA.
Thanks,
Deb -
Unable to Get Reflected Business Systems in ID
Hi Experts,
I am Doing File to File Scenario.
I Have Created PRD ,SWCV, TS, BS For Two Sender And Receiver Applications
I Completed the Creation of Interface Objects, Mapping Objects in IR.
While creating the ID Part,,,,, While Assigning the Business Systems----There is No List in the Business Systems .
Note::::I Did SXI_CACHE And SLD Data Cache
Please Let me Know
Regards
KhannaHI Khanna
Follow the steps given below.. it will works out...
Go to Objects in the ID
Select the Business system
alternate click
and select assign to Scenario
Cheers..
Vasu
<i>** Reward points if found useful **</i> -
Get the class attributes name dynamically?
Hi all,
I have to call a transformation and give it as result parameter an internal table with ABAP_TRANS_RESBIND_TAB type.
How can I get the name & the adresse of the current class parameters ?
Thanks.
Edited by: Noureddine MOUTAA on Oct 20, 2008 2:01 PMI have to call a transformation and give it as result parameter an internal table type ABAP_TRANS_RESBIND_TAB.
And to fill this internal table, I need the name and the reference of the attribute
I mean by REFERENCE the result of this instruction GET REFERENCE OF, as shown below:
DATA: attribute TYPE string.
DATA: the_reference TYPE REF TO data.
GET REFERENCE OF attribute INTO the_reference.
Thanks.
Edited by: Noureddine MOUTAA on Oct 20, 2008 4:37 PM -
Related Integration server for Business System in SLD
HI All,
IN SLD we have one Technical System for PI and one TS for R/3 System.
When I crating Business System for R/3 in R/3 TS, in Integration Tab what I have to select for Related Integration Server option.
It is having None and Business System of PI TS System.
Please help me in this.
Regards,
SreeHey
Looks like you are defining this Business system as a Integration server.
See here is what you need to do.
Step 1:First of all create a business system for XI system itself,this business system will have details of XI system and its role will be Integration server.You can have only 1 Integration server(hence you are getting the error).
Step 2:Now define a business system of type Web as ABAP for R/3 system,this system will have role as Application system but the related integration server will be the name of the business system of PI system(the one which you defined in Step 1).
As of now,are you getting any business system name in the drop down box for related integration server while creating business system for R/3 in SLD?
If yes,then simply select that
Thanx
Aamir
Maybe you are looking for
-
this old account is interferring with my new MacBook Air. Any suggestions? Tom
-
Hi, trying to get 7 updates onto MS Office 2010, getting a repeated 80070663 error. Running Win 8.1. Executed Robust Inventory Scan and got the following: Review Items ============ Error: OpenDatabase failed to open .msp file C:
-
Cant see signature in my email
i have it all lilsted in the prefs under signature left mid and right columns as it was in 10.5.2 if i have a message open the signature on the upper right just says none it doesnt have the signature i have in the prefs what to do
-
Exporting .mov file from CS5.5 Premier Pro for playing through QuickTime Player
Dear All, I would most appreciate any assistance on a problem that I am experiencing with a current project. I have a HD1080i50 project which I have completed editing. The work consists of two video tracks on top of a black video track that presents
-
Editing RAW (*ORF) in Photoshop10
Hi i have photoshop elements 10 and cant edit RAW files in the ORF format, although my camera (EPL5 Olympus) is in the list. I tried to download and install a recent RAW plugin, but this didn't help. Tips are very welcome!