Parameter setting for RFC Lookup in Integrated Configuration

hi Experts,
I am using AAE feature of PI 7.1 to create a file to file scenario with mapping.
I have to perform RFC_LOOKUP in mapping.
I have Created a parameters in Message Mapping and Operation Mapping and performed required binding between them.
Details of parameter are:
   Name:         RFC_Lookup
   Category:    Adapter
   Type:          RFC
   Parameter:  Import
I am using Integrated Configuration in ID.
Please tell me where do I assign values to parameter in ID when using Integrated Configuration.
Thanks.
Girish

Hi guys,
I have the same issue.
I want to use an parameterzied mapping during an integrated configuration.
But I don´t find any place to specify the value for the parameter.
Are parameterized mappings not possible with integrated configuration?
If I create an normal configuration using interface determination, I could specify the parameter value
Kind regards
Jochen

Similar Messages

  • Issue with Jar files in UDF for RFC LookUp

    Hi,
    I am writing a UDF for RFC LookUp.
    In the import statement of UDF, I used the JAR File : com.sap.aii.mapping.lookup.*;
    The code inside the UDF uses LookupService.getChannel.
    When I test the UDF, It shows an error ( ^ ) at LookupService.getChannel.
    Could you please help me in understanding why Am I getting this error at all?
    Thanks In Advance.
    Rohan

    Hi,
    I have used 'com.sap.aii.mapping.lookup.LookupService', and I got the following message error:
    G:/usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1c5a7dc23dcf11dda79f001e4f342f87/source/com/sap/xi/tf/_MM_MT_PlannedOrder_to_ZLOIPLO_.java:3: package aii_map_api does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import aii_map_api.jar;import com.sap.aii.mapping.lookup.LookupService;*
    ^
    Also in the above message there are 3 packages that I have not used at all and still I see them in the message.
    Any reason?
    Rohan.

  • RFC lookup in Integration Scenario

    Hi,
    I have a scenario where I need to do RFC lookup first and based on the values ( typically the lookup will give file path and file name), I need to send these values as variable substitution to file adapter to read the file. The above is in loop until all entries from lookup are used up. If all entries in lookup are used up then the scenario should run again every 5 minutes automatically.
    Is there anyway possible to achieve the above in XI/PI. We are on SP14.
    Thanks in advance for your help

    Hi,
      you will use RFCLook up at Message mapping.
      the out put values of RFC look up mapped to two target fields 
    1. file name
    in the variale substitution give file name schema as %var%
    mention var = payload:Message type,1,item,filename
    warm regards
    mahesh.

  • Why does recievig partnerrequire outbound parameter setting for the message

    Hi,
        I was configuring the partner profiles for outbound billing and sales order cycles.Interestingly for outbound scenario, we had to maintain the settings for outbound parameters in receiving partner.
    For example, if i sending ORDERS  message type from sender to receiver, then after maintaining the details in partner profile(outbound parameters for sender in we20) for sender, then not only i need to put the orders details in inbound parameters for reciever, but also the outbound parameters for receiver(both inbound and out bound parameters to be filled for the message type for reciver partner).
    I checked other systems and founf this is how it is being maintained in outbound cycle.But could anyone provide any insight of why this is required.I did not find anything from bd64 or others about this.
    why would the outbound parameters needs to be filled for particular message type in reciver sytem, when it is only required to fill the inbound parameters only for receiver system?

    I got help for this issue over at CreativeCow's FCP pages -- it turns out, all I had to do was open a new project using an easy setting and project setting for vanilla PAL 25 fps SD stuff. All of the audio was correctly brought in -- then I disconnected all of the clips, made them dual mono, reconnected them, and copied them over to my old gristly project folder.
    Now I can marry these dual mono 25fps files to the video files without having FCP incorrectly compensate for "30fps" by speeding these clips up slightly, so things stay in sync.

  • Parameter Setting for Windows 64-Bit Windows (Zero Administration)

    Hi All,
              I would like to know the advantages behind setting up parameters based on SNOTE 88416 & 1518419.
              I will explain our current environment to make understand first. Kindly help us to provide the solution for each parameter to set in Default or Instance Profile accordingly.
              We are using Windows 2008 R2 64-Bit with MS SQL Server 2008 in Cluster Mode.
              We having 1 CI , 1 DB node, & 2 Dialog Nodes. In this dialog node we have created additionally 1 more dialog node also.
              1. Central Instances        -1 Server          128 GB RAM      Kernel 7.21_EXT_REL 401 Version
              2. Database Instance      -1 Server          128 GB RAM      Kernel 7.21_EXT_REL 401 Version
              3. Dialog Instances          -1 Server          128 GB RAM      Kernel 7.21_EXT_REL 401 Version
              4. 2 Dialog Instances.      -1 Server          128 GB RAM      Kernel 7.21_EXT_REL 401 Version
    Concerns:
        1. Whether we need to do fine tuning for parameters in 2 dialog node server, where we included additionally one more dialog node in that server recently.
              ( For Eg : em/initial_size_MB has been set 131008 value in 1 dialog node & 2 dialog node its has been set 61440 value )
              Kindly suggest us whether we need to divide all parameters values for these 2 dialog nodes ?
        2.  As per SNOTE 88416 - Phys_Memsize scenario, kindly explain the same how to set in  default profile or instance profile. I have attached my calculation, please suggest the same.
              It would be great if someone help us.
    Regards,
    Gopinath M.L

    Hi Sriram,
              Thanks for your reply.
    1. Each DI physical server level you have to define the memory parameters.
    Yes, we have copied the entire parameters values as same as DI 1 & kept in DI 2.
    My question is here, whether we need to share/divide all the parameters set accordingly in instance profile or not ??? If you require i can attach all parameters which has been set in DI 1 & DI 2.
    2. You have to define in the instance profile parameters and as per the SAP Note 88416 base reference of the initial memory and buffer parameters, in a month you have to review the memory parameters,
    Please check the below link Memory parameters for SAP on 64 Bit Windows screenshot, which describes to add phys_memsize, need to understand how to add that parameter & calculation whether it should be in Default or Instance profile, where other parameters values will be calculated automatically.
    http://wiki.scn.sap.com/wiki/display/Basis/Memory+parameters+for+SAP+on++64+bit+Windows
    Regards,
    Gopinath M.L

  • Dynamic Userid setting for RFC to SAP

    I would like to setup as Web Service through XI and then call a BAPI or RFC in my R/3.  However I need to use the userid from the person calling the Web Service in my RFC call both from a security standpoint and for an Audit trail.  Since could be different person each time, is there any way to dynamically set this when I make the RFC call.

    Now, 2 years later, it is finally supported. =D
    http://help.sap.com/saphelp_nw70/helpdata/en/45/6726db02041aa7e10000000a114a6b/frameset.htm
    Regards,
    Henrique.

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

  • 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

  • RFC Lookup Fails

    I have an integration scenario that features an RFC lookup.  This integration scenario works great in our development environment, but fails at runtime in our QA environment.  The mapping program executes correctly in the Integration Builder debugging tools - but not at runtime.
    The parameter mappings are correct in both the DEV & QA environments.
    I've refreshed the cache in both SXI_CACHE and performed a CPA Cache Refresh
    SXMB_MONI reports the following error
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">RUNTIME_EXCEPTION</SAP:Code>
      <SAP:P1>Thrown: java.lang.NullPointerException: at com.s</SAP:P1>
      <SAP:P2>ap.guid.GUID.parseHexGUID(GUID.java:1015) at com.</SAP:P2>
      <SAP:P3>sap.guid.GUIDGenerator.parseHexGUID(GUIDGenerator.</SAP:P3>
      <SAP:P4>java:111) at com.sap.aii.utilxi.misc.api.GUIDFac~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    I've done searches here on SDN and found similar scenarios that broke down into either cache problems or as overlooked parameter mapping.  Neither of those seems to be my problem.
    Is there anything I've overlooked?
    << Moderator message - Please do not promise points >>
    Edited by: Rob Burbank on Jan 13, 2011 4:20 PM

    Could you verify if the configuration in the Directory (interface determination etc) is complete?
    Yes, the deployment configuration is correct and the interface determination step correctly uses parameter mapping to pass a reference to the communication channel.
    Check your rfc communication channel works
    Yes, I can prove that the RFC communication channel works.  I can start the Enterprise Services Builder and test my mapping program.  In the parameters tab of the test page, I select the RFC communication channel.  All of those test work correctly.  My RFC executes and I'm getting the correct results.
    That's the frustrating part - it tests correctly in the QA Ent Serv builder, but fails when deployed.
    can you check in channel monitoring whether the channel used for RFC lookup is green and it has processed the Message which was sent at runtime.
    In runtime workbench, I can see that the RFC comm channel is green.  If I drill down into the comm channel, I can see the processing details for the message I just tested in Ent Serv Builder. 
    If I restart a failed message from SXMB_MONI - and then refresh the communication channel details, I do NOT see activity on the communication channel.  So that leads me to believe that failure occurs prior to making the RFC call - and isn' related to some sort of bad response from the communication channel.
    Edited by: Terry Riedel on Jan 14, 2011 12:02 PM

  • Mapping Exception Issue with RFC LookUp

    Hi,
    My scenario is Idoc To file, in my idoc user who created a purchase order filed is not there but in xml file i want the user who create that PO, for this i am using RFC LooUp. I want the user who created a purchase order.
    Graphical Mapping looks like below.
    Belnr-->User Defined Function--
    >UserName
    Please find the code bloew:
    String DBTABLE = "EKKO";
    String lookUpField = "ERNAM";
    String WHERE_CLAUSE = " EBELN "" = "" ' "a" ' " ;
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
                   "500",
                    "RFCUSER",
                   "abc1234",
                   "EN",
                   "cxylo06",
                   "05");
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "GenericRFCMappingLookup", mConnection );
    // create function template to select data from any table
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("RFC_READ_TABLE");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    // set import parameters table name and RFC
    input.setValue( DBTABLE, "QUERY_TABLE");
    input.setValue( "," , "DELIMITER");
    //Fill the where clause of the table
    JCO.ParameterList tabInput = function.getTableParameterList();
    JCO.Table inputTable = tabInput.getTable("OPTIONS");
    inputTable.appendRow();
    inputTable.setValue(WHERE_CLAUSE,"TEXT");
    mConnection.execute( function );
    //Find the position of the field that has to be lookedUp
    JCO.Table lookupFieldPos = function.getTableParameterList().getTable("FIELDS");
    int pos = -1;
    for (int i = 0; i < lookupFieldPos.getNumRows(); i++)
              lookupFieldPos.setRow(i);
              if (lookupFieldPos.getString("FIELDNAME").equals(lookUpField))
              pos = i;
    //Get the exact lookupvalue from the position obtained above
    JCO.Table valueSet = function.getTableParameterList().getTable("DATA");
    valueSet.setRow(0);
    String resultSet = valueSet.getString("WA");
    result.addValue(resultSet);
    mConnection.disconnect();
    I am not aware of java coding so kindly make necessary  modifications.
    Kindly suggest what changes i need to do to execute perfectly.
    Your help will be greatly apprecited.
    Regards,
    Venkat

    Hi Venkat,
         If you use the JCO connection to get the value from RFC, it would be a problem in futherly like when you move this interface DEV to Q, then you need to change the connection parameters to establish the JCO connection.Same in Production environment too.It is not advisable to do JCO lookup. Go for RFC lookup as the link given by Farooq.
    Create Reciever RFC communication channel and take the XML signature of u r RFC by importing that RFC under imported objects.Create an UDF, for this see the sample code which is exisitng in document to pass the Export parameter to RFC.
    In this way u r RFC channel establish the connection to R3 and your RFC will execute and return the value.U just need to change the Reciever RFC channel parameters respective of environment.
    Cheers
    Veera

  • About the RFC lookup

    Hi Gurus,
    Please tell me What is LOOKUP AND WHAT IS RFC LOOK UP  1)HOW IT WORKS WHY WE HAVE TO CONFIGURE THE RFC ADAPTER AND IN WHICH DIRECTION WE HAVE TO CONFIGURE .
    2)WHY WE NEED BAPI'S FOR RFC LOOK UP
    PLEASE TELL ME CLEARLY IN GENERAL ENGLISH .
    THANKS AND REGARDS,
    RAM.

    Mapping Lookups
       A mapping lookup enables a function in application system to be called while a mapping program is being executed. This therefore requires the Integration Server and the application system to communicate with each other. This is achieved by using an adapter, which can be accessed by using the mapping program. In this way, the channel for communication is visible in the Integration Directory.
    3 type's of lookups:
    RFC,JDBC,SOAP.
    coming to rfc lookup:
    Rfc lookup it  is one of the  standard function of the Conversion Function group and it was provided by sap and it supports in graphical mapping from pi 7.1 v .
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
    Prerequisites
    The RFC channel to be used for the lookup must be configured and activated in the Integration Directory.
    The definition of the RFC structure used for the lookup must already be imported into the ES Repository as an imported archive.
    before pi 7.1v, if we want use Lookups ,then need to write udf .
    step by step example:
    [RFClookup & Jdbc lookup|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661]
    [RFClookup & SOAP lookup|http://www.****************/Tutorials/XI/RFCLookup/Index.htm]
    Edited by: bhavanisankar.solasu on Feb 9, 2012 10:23 AM

  • RFC Lookup Table Parameters Reusability

    Dear All
    My Requirement is to Map fields in IDoc from the File data ,there are some fields in idoc for which i need to fetch data from SAP.
    For this i am using RFC Look up. i am retrieving values from table parameters for RFC.
    and this Table parameters are being used muliple times in Mapping.
    Right now i have to execute the same RFC for set of input data atleast 5 r 6 times.
    This is effective Performance of the Interface
    Is there any concept of Reusuability in RFC Lookup while Mapping in PI.?
    Can we use Java Initialization section in mapping for executing the RFC once and using the output data in table parameters while mapping various target fields.
    Hoping for a Positive Reply
    Regards
    Bhasker

    Hi,
    1) If it is PI 7.1 there are mapping enhancements, such as
       a) Variables for storing intermediate mapping value,
       b) for RFC lookup etc.
    you can find the 7.1 pdfs from SDN
    2) you can have a two stage mapping, putting them sequentially in Interface mapping object.
      First step : Source to Target (orignal target structure)
    here you can do all the mapping and also One time RFC lookup, but leaving the other fields where you need the lookup values again
      Second step : Target to Target
    here already mapped target becomes your input & you know the fields which have the value & the fields that you need to map again and all other fields are one to one mapping.
    Regards
    Vishnu

  • XML pay load for RFC call in java mapping

    Hi,
    I searched in many forums about the payload to be given for RFC Lookup from a functional module,but i think i am not able to get it correct.
    Can any one please give me the exact structure of XML Payload to be sent while invoking the function module via RFC LOOKUP
    Say i have 2 import parameters(input1,input2) and one output(output1)......
    Thanks in advance,
    H.L.Babu

    >
    hlbabu123 wrote:
    > Hi,
    > I searched in many forums about the payload to be given for RFC Lookup from a functional module,but i think i am not able to get it correct.
    >
    > Can any one please give me the exact structure of XML Payload to be sent while invoking the function module via RFC LOOKUP
    >
    > Say i have 2 import parameters(input1,input2) and one output(output1)......
    >
    > Thanks in advance,
    > H.L.Babu
    have a look at this document - https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439&overridelayout=true
    in case u still have issues do get back

  • SALERT_CREATE RFC in PI Mapping (RFC LookUps) to triggering Alerts:

    Hi
    I got a questions on using SALERT_CREATE RFC in PI Mapping (RFC LookUps) to triggering Alerts:
    1) Should I import RFC (SAP PI server) into SAP PI ESB?
    2) Should I maintain the details of SAP PI in the RFC receiver channel ?
    3) Can I use this RFC for RFC Lookups  like any other RFC (ECC)?
    I really appreciate for your help on this
    Thanks
    Vasu

    >>Should I import RFC (SAP PI server) into SAP PI ESB?
    No, this is not required, in your UDF, you just need to build the same structure as the RFC expects so to make it easier, you can import the RFC and see how its structure looks like but the real RFC is not used in RFC Lookup.
    >>Should I maintain the details of SAP PI in the RFC receiver channel ?
    In general,you need to maintain the details of the SAP system where the RFC is stored, it could be PI/ECC or any other system.
    Since you specify Alert information in this RFC lookup, the details will be of PI system.
    >>Can I use this RFC for RFC Lookups like any other RFC (ECC)?
    This RFC is used only to build the structure in UDF, it is not used in anything else.
    Note: Since you have mentioned writing UDF, i am assuming you are using PI 7.0. If you are on PI 7.1, you don't need to write UDF for it. There is  already a standard function for RFC Lookup.
    Thanks
    Aamir

  • Cannot resovle the Symbol error in UDF - Java mapping - RFC Lookup ?

    Hi Friends ,
    We are working on Java mapping  -  UDF for RFC Lookup . It is giving the Cannot resolve Symbol for all imported archive java class files even if we give again all imported files in import section of UDF we are still getting the same cannot resolve error  .
    We are using SP 12 of XI 3.0 . What could be the reason ?
    Thanks.,
    V.Rangarajan

    Hi,
    Can you try to open imported archive in IR and check if the path(folder structure like com.abc.xyz.etc) for classes is same as in import statement in UDF.Since we had experienced the same problem.
    Thanks.
    Regards,
    Shweta

Maybe you are looking for