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
Ganesh

Hi,
  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

Similar Messages

  • 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?
    Regards

    Hi 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

  • System Error During Message Mapping

    I've set up a simple mapping scenario that sends a DEBMAS06 IDoc from our R/3 system to XI mapping to DEBMAS06 and writing out to a file.  I am getting the following system error during message mapping:
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>Server repository could not create function template for 'SMPP_CALL_JAVA_RUNTIME</SAP:P1>
    I have gone back to the Design Builder and tested out the message mapping and the interface mapping and both work successfully.  I have also taken the payload of the message and submitted it via the RWB and it generates the same error as when sent from R/3.  Any other places I can look?

    Hi Mike,
    You have got the connectivity issue problem between ABAP and J2EE stack. When do the test in the Message Mapping, thats the J2EE and it works. But during the runtime it has to go to the Integratin Server, which is the ABAP stack. Fix the connectivity issue, check the smicm,trace and debug log etc.
    Hope this helps.
    Cheers,
    Ranjan

  • 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,
    Jochen

    Dear 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
    Brazil

    Hi 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.

  • Logical System Name Not appearing in the Business System

    Hi,
    Initially we had created a Technical system with Client 700 without a "Logical System Name" in SLD. hence the 'logical system name' in 'business system' was also Blank.
    Now, since we are implementing the IDOC to file scenario; we need to maintain the "Logical System Name" in the client and which in turn should reflect in our Business System in SLD.
    Though we maintained the Logical System Name in the Technical System --> Client --> Logical System Name; we are unable to see the same(Logical System Name) in Business System ('Integration' tab)
    Please also note that Business System is of the ROLE: Integration server.
    When we go to business system in SLD ---Integrtaion tab ---Logical System Name -- is still blank.
    Can anyone please help us to update the 'Logical system name' in Business System in SLD?
    Regards,
    Rehan

    Hi Sunil,
    I followed your link till
    Bussiness System -> select your bussiness System -> in Below pane u will find Details of your bussiness system ->amongs the various tabs available select Integration Tab->U will See option for technical system beside that u will see option for change ->click this ->u will be taken to Logical system ->there u define u r logical syatem name and then save the entries.
    When I clicked the option chnage ---> "Change Associated Technical System" appeared, It didn't take me to Logical system.
    But in turn I clicked hyperlink corresponding to Technical systems, it took me to technical system --> clients tab --I have entered the Logical system name.
    When I go back to Business system again its not showing the Logical system name in Integration tab.
    regards,
    rehan

  • 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

  • The Business-System  from SLD canu00B4t read

    Hello,
    during export from an configuration object folloging exception occure:
    "The Business-System  from SLD can´t read"
    It seams all OK ...
    Thanks in advance,
    Frank

    Did you change the name of the Business System in the past? Then you need to keep the old Business System name in the SLD, as during exporting and importing of configuration objects the history of the objects is checked as well.
    Regards
    Stefan

  • Logical system not updated in the business system adapter specific data par

    Hello Guys,
    I changed a logical system name in the sld for a business system and that that is not reflected in the Integration directory adapter specific data tab.
    I did a cache refresh using :
    1) sxi_cache --- Full cache refresh, delta cache refresh
    2) Hard cache refresh
    3) In ID "Cleared SLD data cahe "
    4) Refreshed the exchange profile
    But no use
    Can you please tell how i can get the logical system name for the business system updated in the Integration Directory.

    When you change it in SLD and if not getting replected in the ID...make sure you run the cache again, perofmr the comeplete cache....
    there is an option under the adapter specific mesage attributes compare with SLD you can click that, is nthing happening after clicking it?
    Run the cache in the ID are there any errors there?
    check the RWB cache monitoring is everything green there?

  • Is it possible to change the Logical System name in ID

    Hi,
    I am doing a file to Idoc scenario. My requirement is to overwrite the logical system name, which is set in SLD for sender (system). Is it possible to overwrite it in ID or in mapping somewhere.
    Thanks,
    Dehra

    Hi Dehra,
           Go through the below help file of SLD. It will give you information regarding logical name as well:
    <a href="http://xiserver:50100/sld/doc/sld.pdf">http://xiserver:50100/sld/doc/sld.pdf</a>
    Regards,
    Subhasha

  • Error when reading the ID of the business system from the SLD

    Hi,
    I am working on a scenario JDBC - XI - BW (ABAP Proxies). I configured all the steps required to connect XI & BW systems. The SLDCHECK transaction is all green. I was able to connect to SLD from BW using SXMB_IFR tcode too. I was able to look at all the XI Repository interfaces from SPROXY tcode in BW. Created a new ABAP proxy (class interface and method) for the message interface in XI from BW (SPROXY Tcode). Created all required config in XI Directory. Got the message from JDBC adapter, mapping done successfully, and the message failed in the CALL Adapter Step.
    The error is "Error when reading the ID of the business system from the SLD for system BWS and client 100."
    What could have gone wrong. Thanks in advance.
    Srini

    Hi,
    :::::::One Should Have the Following Roles AS A XI Developer With Out Admin Rights ::::::
    1) SAP_XI_Developer_ABAP +
    2) SAP_XI_Developer_J2EE  +
    3) SAP_XI_MONITOR_ABAP   +
    4) SAP_XI_MONITOR_J2EE    +
    5) SAP_SLD_ADMINISTRATOR +
    6) SAP_XI_BPE_MONITOR_ABAP +
    7) SAP_XI_DEMOAPP
    8) SAP_XI_DISPLAY_USER_ABAP +
    9) SAP_XI_DISPLAY_USER_J2EE +
    Regards
    Sesh

  • General XI Connectivity  activities in the business system to connect to XI

    Hi,
    Is there any general/common XI connectivity activities/configuration to be done for a business systems (both SAP and Non-SAP) to preparfe it to able to talk to SAP XI ? Is there any mandatory tasks (sort of a checklist) to make a business system to be able to integrate it with SAP XI (apart from specific configuration).
    The SAP XI Master guide talks about XI Connectivity add-on client to be installed in the business system. I am not understanding as to what does that mean. For Example, if i want to integrate SAP SRM business system to SAP XI, what are the minimum XI connectivity related activites to be done on the SAP SRM system.
    I appreciate your input in this regard.
    Regards
    Ganesh

    Hello Nisar
    Thanks for the update,
    Let me say few points  about this particular problem:
    1>The interface "XX" from XI sends data to two systems( R3 -->RP1 & RY1), some thing like branched (same data is passed to both the reciever systems).
    And the second RY1 is copy of First system RP1 (Production sys) which is used for data loading purpose and every week there will be a refresh from First sys (RP1) to Second(RY1).
    2>Now the first sys(RP1) is recieving the data successfully from XI , and the second one (RY1) is getting failed .And this started after changing the Business system 871 to 100 .
    3>As mentioned by you , I have checked all the points mentioned
        i)In SM59 for XI (ABAP part) two rfc's are maintained (LCRSAPRFC & SAPSLDAPI) and the test connection is also fine...But I did not find these two connections in reciever systems(RP1 & RY1 too).
       ii)In reciever system RY1 ,when i went to RZ70 , i did not noticed any special settings and SLD Bridge :Gateway Information is not maitained over there .and the same thing in other reciever system(RP1) , with this can we confirm that there is nothing wrong in RZ70 settings.
       iii)In SLDAPICUST at recievers end for both systems nothing is mantained , where as in XI system all the details are maintained(Host name,port, user & password).
    I have translated the error log into english from the CC monitoring for this interface which is in portuguese language .
    It says that:
    RFC_ERROR_LOGON_FAILURE: 871 Mandante not in the system (select principal existing)
    Kindly advise me what to do ..for fixing this problem(this is pretty urgent and it is production env...)..
    If any information required , I can provide that.
    Best Regards
    Rakesh Reddy

  • How to fetch the Business area field value from MIRo into report

    Hi,
    I want to create a report for MIRO with payment details.
    How to fetch the business area field value in to report.
    What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
    After that, how to find the accounting document for payment and check details.
    What are the table names and field names. What we can get from PAYR table.
    With regards
    Lakki

    Dear,
    For Bussiness area
    RKPF-GSBER

  • Table that stores the business role and user id mapping

    Hi,
    i want to know the table that stores the Business role and the business role and user id mapping in CRM system.
    Thanks in Advance.
    Regards,
    Pricy

    Hi Mary,
    There is no direct table but there is a way to find it.
    HRP1263 is the table where business roles are stored when maintained at org level. These are stored against the Position.
    For getting user ID and position linkage refer table HRP1001.
    In HRP1001 table use below criteria to get the User and Position.
    OTYPE = CP
    SCLAS = US
    SOBID = User ID
    ENDDA = 31.12.9999
    Get the OBJID
    Query the HRP1001 table again with following
    OTYPE = CP
    OBJID = OBJID from above Query
    ENDDA = 31.12.9999
    SCLAS = S
    SOBID = Thats Position.
    Pass the position to HRP1263 as below.
    OTYPE = S
    OBJID = POSITION
    PROFILE - Thats business role assigned for the given position and user.
    Hope this is helpful.
    Regards,
    Naresh

Maybe you are looking for

  • Routing issue: SVI vs Firewall interface

    Greetings I have several switches interconnected in my network and multiple VLANs configured with SVI assigned to each. InterVLAN routing works just fine. The switchport connected to corporate firewall is the first port on the main switch (interface

  • Can I Merge Tracks with Garageband?

    Hello there, Mostly I like to use Reason when it comes to recording and mixing tracks but since buying the new Aluminum Macbook, which incorporates a music software package of its own, I thought I'd try a different approach. My problem, however, is t

  • 60% clips on ext drive.  Unable to export video to any format.

    I will get 45% built but then get the error message "iMovie quit unexpectedly". I do have 60% of my clips on an external drive. Not enough room on my small 120Gb internal. I think the ext is the problem, but I can't stored these HD clips anywhere els

  • Generic Repository class to download BSP into Ms-excel

    Hi, we have developed the download utility for BSP-MVC application, we have many BSP-MVC applications so i have to  develop a generic Repository class to download BSP into ms-excel, which is usable for all, the data selection will be done from model

  • I am facing call drop problem (incoming

    I am facing call drop problem in my I phone 5 since morning today, Outgoing & incoming both. However i switched off the handset & also pull out SIM from the Handset, again insert & reset the functions but it's stilll not working. Please help.