Graphical RFC lookup in PI 7.1 is not working

Hi Gurus,
i am trying to use a graphical RFC lookup to call function module SXMB_GET_MESSAGE_STATUS. Function Module live on the ABAP side of my PI server.
The situation is the following: i created a small ABAP program to call the function in PI server from my ECC server. It works as expected.
When i try to call the function module from the RFC lookup, i just move a constant to the input (of the lookup), but the output is not the expected one. Instead of get corresponding record, i get back an empty table. I should get the entry as when run the ABAP program.
Hint: Function module receive a parameter of type RAW16, as i mentioned before in the message mapping i move to the parameter just a CONSTANT, could be that the problem? if so, how could i solve it?
Do you have any other idea about how to solve my issue?.
Regards.

Hi,
well, the returned value is taken from an export parameter. This export parameter is of type of a TABLE TYPE. Any idea about how to solve this issue?
I think the problem is how to fill the import parameter of type RAW 16. i am not sure if i am filling in the correct way.
Regards.

Similar Messages

  • RFC conn between SAP ERP and TREX not working

    Hi experts,
    we run a TREX instance on a Windows 2003 server and use it for our HCM portal.
    The solution is in operation since 2 years but actually we face the problem that objects which have been created within the last month will not be covered by the index.
    Without knowing about any changes in the setup I see the following error message when I perform the RFC connecten test in our ERP system:
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program Trex_UKP_20071025104543 not registered
    Error Details     LOCATION: SAP-Gateway on host janos / sapgw00
    Error Details     DETAIL: TP Trex_UKP_20071025104543 not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 12906
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1778
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Mon Jul 27 10:34:48 2009
    Error Details     VERSION: 2
    In the TREX admin tool on the Windows server I see the following log message:
    Source->Destination: Not set in TREX but TREX reachable -> ini file section missing?.
    After reading lots of notes I guess that I have to register the server program that's used in the RFC on the gateway.
    Unfortunately I have no idea how to do that.
    Has anybody experiences with such a problem case or can tell me how to continue?
    Is the problematic RFC realy the reason of my problem or just another side effect?
    Many thanks for your really appreciated help in advance and best regards
    Günter

    Hi again,
    the saprfc.ini on the TREX server look like follows:
    DEST=UKT
    TYPE=A
    ASHOST=medos
    SYSNR=00
    DEST=UKP
    TYPE=A
    ASHOST=janos
    SYSNR=00
    UKT is our test system which is connected to the same TREX server and everything is fine there.
    On the test system I can also see the registered server program in SMGW.
    UKP is our productive system where the configuration should be the same.
    Of course I do not see the registered server program in SMGW there.
    Is the way described in above link (RFCACCEPT) the only correct way to register my server program?
    I ask because I found information that the server program has to be developed according to this rfcaccept command and I have absolutely no idea wheather this is so.
    Thanks again for your help!
    Günter

  • Lookups with java:comp/... not working

    Hi,
    when I bind an object to the jndi tree, e.g. "/mysubcontext/myobject", I
    can't perform a lookup on "java:comp/mysubcontext/myobject". If I try to
    lookup "/mysubcontext/myobject" it works fine. Isn't the lookup with the
    java:comp prefix supposed to do the same?
    Thanks,
    Daniel

    thanx this is the solution. With this construct
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
         <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
         <xsl:template match="/">
         <xsl:variable name="counter" select="java:java.util.Vector.new()"/>
         <xsl:variable name="temp1" select="java:add($counter,'1')"/>
         <xsl:variable name="temp2" select="java:add($counter,'2')"/>
         <xsl:variable name="temp3" select="java:add($counter,'3')"/>
         <xsl:variable name="temp4" select="$temp3"/>
         <xsl:value-of select="java:size($counter)"/>
         <xsl:value-of select="java:toString($counter)"/>
         </xsl:template>
    </xsl:stylesheet>
    at least the '3' is added to the vector.

  • Secure LDAP lookup with 2005Q4 Outlook Connector 7 not working

    Hello all,
    I have Sun Java(TM) System Directory Server/5.2_Patch_4 B2005.230.0041 (64-bit) installed and the latest 2005Q4 Calendar, Messaging and UWC Server. When testing the Outlook Connector, I can get the 2005Q1 version 7 connector to work just fine with all features. I uninstalled the 2005Q1 connector and installed the 2005Q4 connector into a new profile and everyting works expect if I try to make the LDAP lookups secure for the global address list. Changing the port to 636 for ldap causes Outlook to timeout on the lookup. I checked the directory server logs and noticed that the secure connection is being made without errors, but after a minute an ABANDON operation takes place on the secure connection and Outlook gives up. When using port 389 for lookups, the Connector has no issues.

    Jay,
    I think I found the fix. I upgraded the 2005Q1 -> 2005Q4 Sun Java Connectory Deployment Tool. After I uninstalled the deployment tool and then reinstalled the 2005Q4 I was able to create and .exe and create an Outlook profile that did not have any LDAP over SSL problems.

  • Cannot update graphics card BIOS, MSI Live upate 6 will not work.

    Live update 6 does not support "MSI Radeon R9 280x Gaming 6G" graphics card.
    Live update 6 does not run.
    Even tried mass loading Live update 6 to the point it had 800+ "Live Update.exe 32*" processors running in task manager and they soon disappeared 20 seconds later.
    No UI.
    No Error message.
    If the program is not running it is clear it does not support any of the hardware in my system including "MSI Radeon R9 280x Gaming 6G".
    As a result I cannot update to latest BIOS for my graphics card.
    Operating system: Windows 7 64bit (last update 05/09/2014 6 days ago)
    CPU: AMD A8-6600k APU @ 4.60GHz
    RAM: 8GB Dual channel Crucial Ballistix Tactical Tracer DDR3 1866MHz CL9
    Motherboard: Asrock FM2A88M Extreme4+
    GPU: MSI Radeon R9 280x Gaming 6G
    GPU details:
    Am I required to have an MSI motherboard to be eligible for a graphics card BIOS update?
    The reason why I seek this is because the entire line of R9 200 series graphics cards are plagued with screen flickering due to ULPS. BIOS updates for other vendors of the card; "Gigabyte", "Asus" etc have been reported to fix the monitor flicking ULPS causes however since I have an MSI GFX card I cannot use Gigabyte and Asus BIOS updates.
    I no longer have the flickering issue due disabling ULPS and overclocking the graphics card however it's causing the card to operate at a constant 48 degrees and chew power.
    With the overclock values and stress testing it with Unigine Heaven Benchmark 4.0 (extreme preset) the card reaches a max of 74 degrees over the course of stress testing for 4 hours.
    But I would like to be able to have my card at factory clock settings with ULPS without the flickering and I'm wanting to see if the staff at MSI are fully aware of the bug in their product line and if the latest BIOS version for the graphics card would fix the issue.

    No but live update is flakey at best and i wouldn't trust it.... (seen far to many problems with it)
    if you want a Updated VBIOS if one is available please supply these 2 things and then one of the other mods will be able to get you what is needed!
    1: Serial number of your card (leave off the last 3 digits and then there is no unique information about your card as the rest is all just manufacture data to all the cards from that batch)
    2: click the little icon to the side of your BIOS version number and save a copy of the VBIOS to a file and uplaod it to somewhere and give us a link to the file... (use somewhere like Dropbox)
    once we have those 2 pieces of information someone here will be able to get one if Available for your card

  • Lookup for elements in ScrollPane does not work

    Tried to select my flowpane, result is null. With removing the scrollpane it works as expected.
    Quote description of lookup method:
    "Finds this Node, or the first sub-node, based on the given CSS selector. If this node is a Parent, then this function will traverse down into the branch until it finds a match. If more than one sub-node matches the specified selector, this function returns the first of them. "
    VBox vbox = (VBox )FXMLLoader.load(TestClass.class.getResource(fxml));
    vBox.lookup("#elementsPane");
    <VBox xmlns:fx="http://javafx.com/fxml">
        <ScrollPane fitToHeight="true" fitToWidth="true" VBox.vgrow="ALWAYS">
            <FlowPane fx:id="elementsPane" VBox.vgrow="ALWAYS" vgap="4" hgap="4" alignment="BASELINE_CENTER">
                <styleClass>
                    <String fx:value="elementsPane" />
                </styleClass>
            </FlowPane>
        </ScrollPane>
    </VBox>

    Seems like a bug. Scrollpane childs list is empty, my flowpane is at scrollpanes content.

  • Exception in RFC Lookup

    Hi Experts,
    I have a query in Graphical RFC Lookup function.
    I am working on Pi 7.1 and scenario is File to Idoc.
    In the file, material number is coming, and I have to find out the corresponding Customer number from ECC table using RFC Lookup.
    I know how to use RFC lookup.
    But here issue is, if Customer Number is not maintained in the ECC table for the incoming material number, then exception should be thrown and processing should be stopped at that moment.
    Please tell me how to throw this exception and hence fail the mapping.
    -Supriya.

    Hi ,
    I guess you want to fail the message transformation at Message mapping level with Red Error in Monitoring , If LOOKUP return Nothing ...
    What You can Do Is , Instead of RFC LOOKUP Function , Use UDF Based RFC LOOKUP , and Inside UDF you can easily raise exception.
    Or
    In Grapphical Message mapping pass the result from RFCLOOKUP To a 1..1 Target , if during transfermation if 1..1 node will not get any value , so mapping will get failed automatoicaly ..
    hope the idea Helps
    regards
    PS

  • How to increase RFC lookup calls

    Hi gurus,
    we are using RFC Lookup functionality in graphical mapping. We tried to send 60.000 messages every hour. But it takes ca. 30 minutes in SAP PI mapping environment. I checked the communication monitoring  see that every seconds send RFC receiver communication channel 20 RFC calls to SAP.
    In RFC Receiver channel i have been set the maximum connection to '30'. Shold i increase this parameter or is there another functionality?
    My question is, it is possible to increase RFC lookup calls?
    Kind Regards,
    PM

    have you seen below link:
    http://sapxitutorials.blogspot.com/2011/04/graphical-rfc-lookup-and-how-you-can.html

  • Http-RFC Lookup-Integration Server -  Synchronous

    Hello Experts,
    I am creating a scenario in which data comes from http and RFC call is made in the R/3 system and then repsonse plus some  values from source side are sent back to http.
    For this scenario i had thought of RFC lookup...but i am not very clear with configuration....
    Here i have created one Sender as Business Service and other reciever as Intergration server.
    Can you provide inputs on this.
    Thanks,
    Vishal

    Hi Vishal,
                       For HTTP to RFC Synch Scenario, check out the following link...
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit  -- HTTP to RFC Starter kit...
    for RFC lookup, if it needs to connect to an SAP System, u need to configure a receiver RFC Adapter in a separate communication channel through which you will connect to the SAP System. You will access the SAP System using the communication channel through an API..you need to create an UDF and import the following api...
    java.io.*
    com.sap.aii.mapping.lookup.*
    and for further info, kindly check out the following links..
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439 -- Mapping Lookups function calls API by Michal Krawczyk,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14 -- Easy RFC Lookup From XSLT Mappings Using a Java Helper Class by Thorsten Nordholm Søbirk
    Thanks,
    N.Jayanth Kumar

  • CRM_ORDER_MAINTAIN not working as RFC

    Hi ,
    we need to change the msg partner for a support desk msg from webdynpro application.for that we are creating a custom RFC function module, Contains the below coding  ,
    CRM_ORDER_MAINTAIN
    CRM_ORDER_SAVE
    BAPI_TRANSACTION_COMMIT
    It is successfully changing the business partner ( msg processor ) in the support desk msg . But if we call this function module from webdynpro it is not creating as such.
    what could be the reason .
    ____________ we checked the following
    1. we called the RFC from other SAP system . it is not working .
    2. we debugged that RFC from R/3 , we found the difference. For the below functional module is not returning any events from R/3 . whereas if we run the FM from solution manager it is exporting events .
    CRM_EVENT_PASS_INFO_EXE_OW

    Hi,
    Did you solve this issue?? if you do? how you do it?
    thanks in advanced.

  • Use RFC Lookup in Graphical Mapping for Database Update

    Hello,
    I am wondering whether the RFC Lookup function in graphical mapping provides the same functionality as a general RFC function call.
    In detail I would like to update a database table using a RFC which just takes some input parameters but does not use any output parameters. Would this work too as the name "lookup" implies that it might just be possible to read something?

    HI,
    Refer these links:
    RFC Lookup by michal
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    Regards,
    Nithiyanandam

  • PI 7.1: RFC Lookup Graphically in BPM

    Hi,
    I want to do a RFC lookup to XI abap stack in my graphical mapping.
    The problem is my mapping is defined in a transformation step inside my BPM, and I'm not able to link my RFC CC to the Import parameter. Has anyone experience with this sort of flow yet, is this even possible because I don't have a receiver agreement because it's BPM?
    I only can link following Container Element types: Simple Type / Abstract Interface / Receiver
    SAP Library don't even talk about BPM's for the lookups:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
    Any help would be appreciated,
    Wouter.

    hi,
    check this links
    The specified item was not found.
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    RFC lookups https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf
    This blog and article deals with calling your RFC from your JAVA MAPPING / User Defined Function.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/801376c6-0501-0010-af8c-cb69aa29941c
    Use this crazy piece for any RFC Mapping Lookups!
    regards
    srinivas

  • Handling PI 7.1 RFC Lookup Exception in Graphical Mapping

    Dear Experts,
              I would like to know the better way of handling PI 7.1 - RFC Lookup Exception in Graphical Mapping without using  BPM. Say I perform a RFC Lookup from PI 7.1 Graphical Mapping and it fails due to RFC server down. In this case I suppose the RFC exception would be returned as response to the mapping? But, am really not sure how this response (RFC Exception) could be effectively used. Please clarify.
    Thanks,
    Hussain.
    Edited by: HussainShaik on Oct 26, 2009 8:24 AM

    Hi Hussain,
    I am not sure if I understood you query completely.
    IF the RFC look up raised some exception then how this is going to impact your interface will depend your mapping (which you did in ESR)
    (the following is adopted from help.sap,com)
    If you handled exceptions  by selecting Use Exceptions checkbox in the function properties of the standard function, the mapping editor adds an additional parameter in red (the bottommost return parameter) to the standard function in the data-flow editor. If you do not assign a target field to this return parameter, ignore the RFC exceptions (the message mapping is not terminated at runtime). Otherwise the mapping runtime transfers the exception as an XML structure and it can then be evaluated in a user-defined function, for example. If there is no exception, the mapping runtime transfers an empty context.
    If you have not selected the Use Exceptions checkbox, the mapping runtime terminates the message mapping if an exception occurs during the RFC lookup.
    Is this you are looking here?
    Also check this thread and help.sap site
    Re: SAP-PI - RFC call to SAP backend system
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/content.htm
    Regards
    Suraj

  • Graphical message mapping examples for JDBC and RFC lookup

    hi, can any body provide me graphical message mapping examples for the "JDBC Lookup" function and "RFC Lookup" function?
    I'm now studying the graphical message mapping and want to try those 2 functions. thank you.
    I expect the examples to be simple enoung, not need to set up much.

    >
    Madhu_1980 wrote:
    > can u check this link:
    >
    > PI 7.0 & 7.1 Mapping - Blogs,Articles,Wiki,Code Samples and Videos Collections https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79955426  
    >
    > it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    May be I'm too foolish to follow those links, I got issues of each links.
    What I really want is an example from step0
    Swarup:
    Refer the Lookup document - Easy Lookup in Process Integration 7.1
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457
    The first step is "Create an RFC Enabled Function Module for look up", but where can I create the function module? Should I use ESB, IB? or use transaction 'SE11' ?
    Kulkarni:
    Very good links for RFC lookup with 7.0/3.0
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231&overridelayout=true
    At page6 "PI Development/Configuration", it saies "You are on the design maintenance screen in the Integration Builder.Expand the subnodes for the software component version for which you want to import interfaces".
    What is "design maintenance screen" ? My IB version is: Service Pack:08 Release:NW07_08_REL.
    When I open IB, it display a screen titled with "Configuration: Intergation Builder", I did not find "software component version" node on the left tree.
    Madhu_1980 :
    it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    The Prerequisites state:
    The JDBC channel to be used for the lookup must be configured and activated in the Integration Directory.
    The definition of the table used for the lookup must already be imported into the ES Repository as an external definition
    But I don't know how to create a JDBC channel and define the table.

  • Is is possibel to do an RFC Lookup from The Graphical Mapping?

    Greetings,
    While doing a message mapping I need to get the value from R3 system using an RFC, is it is possible ?

    Hi
    we can do by using rfc look ups
    Lookup in mapping is the feature provided by SAP to lookup the data in the target R/3 or DB systems with the API provided.
    You need to write UDF in order to implement the API's provided by SAP.Consider the below example
    VendorNumber-UDF--CURR
    The scenario is legacy to SAP. The legacy system doesn't provide the currency details. But the target field need's to be populated with currency value.
    "The business rules says there are values maintained in SAP Table where if you pass VendorNumber it will return thr currency to you"
    So what you can do? You can write UDF implementing SAP Provided API's and do a lookup in the SAP System and get back the currency value and populate them in CURR field.
    I hope it clears a bit.
    Please find the below blogs
    DB Lookup: /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    RFC Lookup:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    There are three types of look ups u can do
    RFC look up
    SOAP look up
    JDBC look up
    What is Lookup and why we need:
    Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
    In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
    Some use cases:
    • Look up material number from table MARA.
    • Look up cost center budget.
    • Look up employee information.
    • Look up unit-of-measure (UOM) information from table t006a.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    This is a form of value transformation.
    The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Lookup method from GUI mapping can be called using any of the following ways.
    • RFC lookup using JCO (without communication channel)
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    • RFC lookup with communication channel.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    • Lookup using JDBC adapter.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    • CSV file lookup.
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    You can refer to these links.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer Absolute stealer.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    For Java APIs and also here you can map that how many types of lookups are possible in XI.
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/lookup/package-summary.html

Maybe you are looking for