Accessing ECC tables from XSLT mapping

Hi All,
I have requirement where I need to access a SAP table from PI XSLT mapping.
Pls provide inputs on how to achieve it.
Thanks,
Navneeth K.

Hello,
You can refer to this document found in SAP Help
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
And a sample blog
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
In your case, the idea is to call a java class inside the xslt mapping. So to access the ECC table, you can use a Java Mapping Class so that it would be easier to implement an RFC lookup.
Hope this helps,
Mark

Similar Messages

  • How can i access value mapping table using xslt mapping

    Hi All,
    I have maintained value mapping table in integration directory.I want to access the data from the value mapping table in XSLT mapping using java function.PLease suggest me to do this.
    Thanks
    Pullarao.

    Value mapping that thread should solve your query !!!

  • Can we access PI tables from WebDynpro Java via PI 7.1?

    Hi Experts
    Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
    https://www.sdn.sap.com/irj/sdn/javadocs
    Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
    Thanks
    Neha

    Hi Neha,
    You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
    I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
    Hope this is useful.
    Regards,
    Seema Rane.

  • Accessing dictionary tables from dynpro?

    Hi all
    As far as i know, there are 4 approches to access dictionary tables from webdynpro.
    -entity bean
    -sqlj
    -jdbc
    what are the advantages and disadvantages for all above?
    and which one to go for?

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • Access SAP Tables from Java Program

    Hi All,
    We have a requirement to integrate attendance portal(which is done in java) with SAP.
    Our problem is how to access SAP tables from a Java program?
    Database is Sybase.
    Please suggest us a good solution.
    Thanks in advance...

    Did you go through Sap Help?
    Calling BAPIs from Java - BAPI User Guide CA-BFA) - SAP Library
    Regards,
    Philip.

  • Remove a Table from a mapping

    It is really monday,
    I can not seem to find how to remove a table from a mapping that was put there by accident.

    Never mind. Ware scared by the Delete but tried it.
    Just delete.
    it does not delete the object.
    An enhancement would be to call that remove from map.

  • Calling graphical mapping from XSLT mapping Prog

    hi guys;
    can anyone tell me that weather we can call graphical mapping  from XSLT mapping prog.If this is possible then can anyone guide me through the steps

    Mudit
    Can you go through the links which might be useful to you:
    Use of XSLT mapping?
    Re: Java Mapping  and Graphical Mapping
    ---Mohan

  • Error while connecting to ECC tables from Crystal

    Hello,
    I am trying to create a crystal report on the SAP ECC tables directly, when I try to create a new connection from u201CSAP Table, Cluster, or Functionu201D option in crystal reports 2008 I get this error" Logon Failed. Details: you don't have necessary rights to design reports against the SAP system. please contact your administrator"
    Now my question is where are my rights missing, is it on BO side or SAP side, I see that I have access to SAP tables when I try to logon through the SAP logon pad it works, I could see the tables.
    Please let me know your thoughts.
    Thanks

    Hi,
    part of the ABAP Transports from the SAP Integration Kit are also specific authorization objects. Take a look at the Installation guide for the SAP Integration Kit in the appendix.
    Ingo

  • Accessing V$tables from within OO4O

    When trying to access the V$ tables (ie. V$SQLTEXT)
    by using the OO4O interface I get the error
    ORA-03106 Fatal two task communication protocol error
    when accessing 'ordinary' tables (ie. EMPLOYEES) the
    error does not accor
    any ideas on this one?
    null

    Hi Anil,
    I can only answer 1. and 2. (and would be interested into 3. as well):
    1.
    Yes you can access tables from a different schema and also HANA views. In this case no 'using' is needed.
    Examples:
        RESULT = SELECT
        FROM
              "SAP_ECC"."T441V" AS t,
              "_SYS_BIC"."tmp.package/AFPO" AS a.
        WHERE ...
    2. In this case, if you need schema mapping: You could use HANA (projection) views which just forward to a different schema, also see example.
    Best regards,
    Christoph

  • Data Reflection in ECC table from CRM table

    Dear All,
    I have two Z tables. One in CRM and the other is in ECC with the same structure.
    I want the data to be transferred in ECC table whenever there is a new entry created in CRM table.
    For Eg : If I create an entry say XYZ in CRM table either through SM30 or through a upload program then same entry XYZ should be entered in ECC table the moment I save the entry in CRM table.
    Please let me know the possible ways to achiev this. Its a bit urgent for me.
    Thanks in Advance...
    Sachin

    Hi Sumit,
    Thanks for your valuable inputs.
    Actually we are accessing an Application Type CONTDURA in our IPC User Exit, we have overrided the
    overwriteScaleBase method of ScaleBaseFormulaAdapter class.
    in the mentioned method we are getting the value of CONTDURA application type like this.
    also as you mentioned we have already populated this attribute in BADI CRM_COND_COM_BADI.
    public BigDecimal overwriteScaleBase(IPricingItemUserExit prItem, IPricingConditionUserExit prCond, IGroupConditionUserExit groupCondition)
            String contractDuration = prItem.getAttributeValue("CONTDURA");
            if(contractDuration != null && !contractDuration.equals(""))
                return new BigDecimal(contractDuration.trim());
            else
                return null;
    While debugging we found out that instead of CONTACT DURATION, blank String is returned.
    Any idea whats going wrong here or what will be missing from coding as well as configuration side.
    Thanks,
    Siddharth
    Edited by: Siddharth Jain on Mar 20, 2009 12:12 PM

  • Accessing remote table from another R/3 system

    Hi,
    We are running our production on ECC 5.0 but we ABAP web dynpro environment on ECC7.0 portal box. We want use ABAP web dynpro for publishing some application through portal. I have read many document regarding accessing remote systems through RFC enabled function module but for the we need have function module in both system. Is it any way possible to access table from remote R/3 system programmatic without any call for function module. Please advice.
    Thanks in advance,
    Ravi Prakash

    hi,
    you should use a remote enabled function no matter what to read db table on other system
    grtz,
    Koen

  • Accessing ora:getpreference inside xslt map

    Hi
    I need to access preferences values of the BPEL Suitcase Descriptor using ora:getpreference inside xslt map. I tried but it dosent work in xslt. Could any one please advise as to what is the way to access preferences values from inside a xslt.
    Thanks
    Buddhadev

    is the bpws:getVariableData() function also not usable inside an XSL Mapper?
    JDeveloper allows it. There is no error at compile and deploy times. It seens to be odd that those functions are there, but we cannot use them. Could any one explain this behavior?
    I got the following error when trying to use ora:getPreference() or bpws:getVariableData():
    (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/
    I need to call these functions to build a request from a variety of sources: process input, deployment descriptor preferences, variables, etc.... The real use case is more than one-to-one mapping/transformation.
    If these functions are not usable inside an XSL Mapper, JDeveloper should not show them as available options.
    Edited by: user9520923 on Sep 16, 2008 1:36 PM
    Edited by: user9520923 on Sep 16, 2008 2:02 PM

  • Easy RFC lookup from XSLT mapping using a java class (getting Error)

    Hi All,
    I am trying to implement the sample scenario for calling RFC from xslt with the help of wrapper class. I am getting following error.
    com.sap.aii.mapping.lookup.LookupException: Internal lookup service is not registered. Invoking the lookup service is only supported in the Integration Builder test environment or in the Integration Server runtime environment. at com.sap.aii.mapping.lookup.LookupService.getService(LookupService.java:400) at com.sap.aii.mapping.lookup.LookupService.getChannel(LookupService.java:285) at com.sap.aii.mapping.lookup.LookupService.getChannel(LookupService.java:318) at dk.applican.xi.mapping.lookup.RfcLookup.execute(RfcLookup.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.execute(JLBFunction.java:145) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:110) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:54) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:41) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:49) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:125) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:228) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:256) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.callTemplate(XSLStylesheet.java:1310) at com.sap.engine.lib.xsl.xslt.XSLCallTemplate.process(XSLCallTemplate.java:102) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:228) at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:241) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:228) at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:241) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:228) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:256) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:445) at com.sap.engine.lib.xsl.xslt.XSLApplyTemplates.process(XSLApplyTemplates.java:158) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:228) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:256) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:445) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:381) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:392) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:234) at com.sap.aii.ibrun.server.mapping.MappingTransformer.transform(MappingTransformer.java:153) at com.sap.aii.ibrun.server.mapping.XSLTMapping.executeStep(XSLTMapping.java:67) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy22.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162
    I am SAP XI 3.0 SP-9

    Hello,
    I have the same issue as stated above.
    At runtime sometimes the mapping fails however when executing the mapping from ESR (test operation mapping) with the same payload it is executed succesfully (lookup is to system that is the senderservice of the scenario).
    Anybody a clue.
    Also clearing mapping cache etc. did not solve the problem.
    Thanks,
    Emile

  • Java RFC lookup from XSLT mapping

    I tried to implement a generic Java RFC Lookup class to be called as a Java extension from my XSLT mapping. I found the How-To-Guide "Easy RFC lookup from XSLT mappings using a Java helper class" ([Easy RFC lookup pdf site|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14?quicklink=index&overridelayout=true]) and tailored the source code to my XSLT program.  I am getting the error "Variable '$inputparam' has not been bound to a value".  Can anyone tell me what I am missing?  I am not familiar with java at all, and only moderately familiar with XSLT.

    > I am getting the error "Variable '$inputparam' has not been bound to a value". Can anyone tell me what I am missing?
    At runtime the variable does not get value.  You need to assign value to the variable inputparam. Just curious why dont use the RFC lookup graphical  which is very easy and no need to handle java programming. You need to configure just reciever RFC communication channel.

  • Call to ECC table from BI

    I have this routine in a BI transformation routine
    select single CONTACTNAME INTO RESULT FROM THREIC_CONTACT WHERE CONT_GUID =
         source-system-cont-guid.
    Error : THREIC_CONTACTNAME not recognised
    Any ideas how to call the table.

    BI and ECC are different systems. You can not just call the table from outside of the BI system that way.
    What you can do is simply:
    create one datasource in your ECC system using THREIC_CONTACTNAME table.
    Then load data to an ODS or some master data.
    Now, you can refer to the table ( active data table of the ODS, or P/Q/X/Y tables of the master data) and use select statement.
    Another possible way can be, if you are trying to write this routine for some data you extract from ECC, you can enhance your datasource to make this control in R3 side.
    May be Guru's have another idea.
    Hope this helps
    Derya

Maybe you are looking for