Need help on RFC look up in PI 7.0

Dear experts ,
I am working on Jdbc to Abap Proxy  scenario where i need to perform a RFC Look up . I have searched in SCN  and found some help ful blogs, but still need more information in below points.
My requirement is need to fetch Cost Center (KOSTL) by taking Personal number(PERNR)  as Input parameter.
1) Do we have to create and import the RFC into PI ?
2) Do we need to create a UDF ? If yes, Kindly provide some useful links.
Thanks in Advance,
Mohammed

Hi indrajit,
  i had written :  java.util.Map map;" in the import secion of UDF. but still i am getting the following errors
Source code has syntax error:  /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:3: cannot resolve symbol symbol : class map location: interface java.util.Map import com.sap.aii.mappingtool.tf3.*;import com.sap.aii.mappingtool.tf3.rt.*;import java.util.*;import java.io.*; import java.lang.reflect.*;import java.util.Map.map; ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:257: cannot resolve symbol symbol : class RfcAccessor location: class com.sap.xi.tf._MM_RMF_TO_SAP_ RfcAccessor accessor = null; ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:262: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Channel channel = LookupService.getChannel(BS_SAP_R3,CC_RFC_LOOK_UP_CRMNEXT); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:262: cannot resolve symbol symbol : variable BS_SAP_R3 location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Channel channel = LookupService.getChannel(BS_SAP_R3,CC_RFC_LOOK_UP_CRMNEXT); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:262: cannot resolve symbol symbol : variable CC_RFC_LOOK_UP_CRMNEXT location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Channel channel = LookupService.getChannel(BS_SAP_R3,CC_RFC_LOOK_UP_CRMNEXT); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:262: cannot resolve symbol symbol : variable LookupService location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Channel channel = LookupService.getChannel(BS_SAP_R3,CC_RFC_LOOK_UP_CRMNEXT); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:264: cannot resolve symbol symbol : variable LookupService location: class com.sap.xi.tf._MM_RMF_TO_SAP_ accessor = LookupService.getRfcAccessor(channel); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:268: cannot resolve symbol symbol : class XmlPayload location: class com.sap.xi.tf._MM_RMF_TO_SAP_ XmlPayload payload = LookupService.getXmlPayload(inputStream); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:268: cannot resolve symbol symbol : variable LookupService location: class com.sap.xi.tf._MM_RMF_TO_SAP_ XmlPayload payload = LookupService.getXmlPayload(inputStream); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:270: cannot resolve symbol symbol : class Payload location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Payload result = null; ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:275: cannot resolve symbol symbol : class DocumentBuilderFactory location: class com.sap.xi.tf._MM_RMF_TO_SAP_ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:275: cannot resolve symbol symbol : variable DocumentBuilderFactory location: class com.sap.xi.tf._MM_RMF_TO_SAP_ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:276: cannot resolve symbol symbol : class DocumentBuilder location: class com.sap.xi.tf._MM_RMF_TO_SAP_ DocumentBuilder builder = factory.newDocumentBuilder(); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:277: cannot resolve symbol symbol : class Document location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Document document = builder.parse(in); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:278: cannot resolve symbol symbol : class NodeList location: class com.sap.xi.tf._MM_RMF_TO_SAP_ NodeList list = document.getElementsByTagName("I_KOSTL"); // The lookupValue is available as WA tag in the response ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:279: cannot resolve symbol symbol : class Node location: class com.sap.xi.tf._MM_RMF_TO_SAP_ Node node = list.item(0); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:283: cannot resolve symbol symbol : variable returnValue location: class com.sap.xi.tf._MM_RMF_TO_SAP_ returnValue = node.getNodeValue(); ^ /usr/sap/XD1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map2d519647b0c211e39616000000844522/source/com/sap/xi/tf/_MM_RMF_TO_SAP_.java:290: cannot resolve symbol symbol : class LookupException location: class com.sap.xi.tf._MM_RMF_TO_SAP_ } catch (LookupException e) { ^ 18 errors
so can you please explain, how can i import those files.

Similar Messages

  • Need Help w/ a "Look to" Class

    I'm at the beginning stages of building an application. Can anyone help me with a class that will look to file "Example.java.txt" and begin searching it's contents for Strings, Statements, etc, etc... I'm paricularly interested in what statement will tell my program to "look" for "XYZ" file.

    Well, you could start by opening the file for reading, like this:
    File theFile = new File("path/to/someJavaFile.java");
    BufferedReader fileReader = new BufferedReader(new FileReader(theFile));Then loop through the file, examining each string as you go, like this:
    String line = null;
    while ( (line = fileReader.readLine()) != null)
      // "line" now contains the next line of the file, so
      // do whatever parsing you need to do in here
    fileReader.close();Is that enough to get you started? Check out the API docs for the String class, that should help you figure out how to parse the data (i.e. check out the "indexOf" method for starters).

  • Help on RFC Look up

    Hi Folks,
    We are using PI 7.1 in our project and we have a requiremnt for RFC lookup on a table which is on PI ABAP stack.
    I know that with 7.1, SAP has provided the option of RFC lookup and JDBC lookup as a pre-defined function in message mapping. But my req is to call RFC lookup for a set of records (array of records) and get the output for all records and then work on it rather than calling the lookup for each record seperately as it will be performance intensive. Is there any way to do this?
    Thanks,
    Enivass
    Edited by: enivas on Mar 22, 2011 11:25 AM

    Hello,
    But my req is to call RFC lookup for a set of records (array of records) and get the output for all records and then work on it rather than calling the lookup for each record seperately as it will be performance intensive. Is there any way to do this?
    Yes, you can use the RFCAccessor using UDF or Java Mapping. Below is a blog regarding its use:
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Hope this helps,
    Mark

  • Need help making this look professional/readable

    What can I do to make this look more professional and obviously more readable.
    I'm new to photoshop and am really trying to make this look so much better so I can put it on my companies website Any help?.

    For readability, select text layer and use layer->layer style->drop shadow
    and put a white border around the letters. Try different size and spread
    e.g.
    distance = 0
    size = 7 px
    spread 100%

  • Novice in CS4 need help resetting template look

    I downloaded a dreamweaver template and had edited the look
    and functionality of the site. While I had it open I opened some
    drupal template files that opened in cs4 and I think changed the
    code. My template is now plain looking and everything has moved to
    the left. Is there a way to refresh the code to bring it back to
    normal?

    We have no idea what might have happened from your
    description, or even
    whether the two incidents are even remotely related. Please
    show us the
    template page as a start. The best way to do this would be to
    upload it
    somewhere and post a link to it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lacour1" <[email protected]> wrote in
    message
    news:ghvm03$1qa$[email protected]..
    >I downloaded a dreamweaver template and had edited the
    look and
    >functionality
    > of the site. While I had it open I opened some drupal
    template files that
    > opened in cs4 and I think changed the code. My template
    is now plain
    > looking
    > and everything has moved to the left. Is there a way to
    refresh the code
    > to
    > bring it back to normal?
    >

  • Hobby website needs help on menu look

    Hello,
    I created a joomla website for my girlfriend as amateur. I'm quite happy with the result besides some minor css mistakes and some ' if I knew that before I would haves'.
    But the most annoying part is I’m trying to think of something to replace the plain text menu with.
    So i was wondering if you guys could point me into some inspirational road!
    The site is dutch though. It's an information page for dogs. Where you can eat, go on vacation or just health questions about your dog.
    dogtails.nl
    Best regards,
    Pim

    Where you can eat...
    You eat dogs? 
    I think your menu is fine but dark purple on black is very hard to see.  Another brighter color for the rollover might be a better choice.   Kuler Colors is a good place to find color pallets.
    https://kuler.adobe.com/
    Since this is a Joomla! site, you should stick with Joomla! Extensions.  Especially since your menu is most likely driven with PHP.
    http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems
    Looks like a fun site. Good luck with your project!
    Nancy O.

  • Getting the following error in Oracle 10g B2B reports, need help where to look into for resolution!

    Hi All,
    I am new to B2B. I am getting following error in B2B Console please suggest what could be the reason and possible steps to resolve:
    Machine Info: (fcgemapptest05)
    Description: General Error
    StackTrace:
    Error -:  AIP-50014:  General Error
      at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1194)
      at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:836)
      at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:402)
      at java.lang.Thread.run(Thread.java:534)
    Regards,
    Sujan

    Can you tell me what's the status of components (value of "In sync" column) when you run "dcmctl getState" command?
    Thanks
    Shail

  • Need help in printing text in footer

    Hi Friends,
    I need help from all you guys. I am working on SmartForms, and need help. Please look into the below situation, and appreciate if you can help me out.
    The Literal “**DATA CONTINUED ON NEXT PAGE**” is to be displayed at the bottom of the
      page in the Footer only if the data rolls onto second page.
    Thanks,
    Nikhil

    Hi,
    define the two variables in the global definition as
    g_cnt type sy-tabix.
    g_flg type c .
    ->in the initialization tab pass the internal table that is the main window.
    g_cnt = lines( the table name which you are using in the main
    window before the footer).
    Now you have the total no of lines in the g_cnt.
    in the loop which is in main window create the program line pass the output parameter as g_flg.
    in the condions tab give the condition as g_cnt = sy-tabix.
    in the source code of that program lines
    g_flg = 'X'.
    now for the footer where you are displaing the text coutinued on next page for in codition tab give the condition as g_flg = space.
    Thanks,
    NN.

  • I am un able to send mail as it gets stuck in my outbox. I am sure the solution is simple but need help?

    I am un able to send mail as it gets stuck in my outbox. This is a recent phenomena. I am sure the solution is simple but need help?

    I looked everywhere for a solution - and I finally figured it out! Deleting my accounts didn't work, but here is what worked. This worked when my Gmail accounts were not sending properly. I'm not sure if it works for other e-mail services.
    1. While in Mac Mail, click "Mail" in the top left corner of the screen
    2. Click "Preferences"
    3. Click "Accounts"
    4. Select your account that isn't sending properly
    5. In "Outgoing Mail Server (SMTP)" there will be two options - Gmail & Gmail (offline)
    Make sure that "Gmail" is selected and NOT "Gmail (offline)"
    If you navigate to another section in Preferences, it will ask you to SAVE - make sure you save your changes!
    It worked for me, hope it works for you!

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • I still need help. i am technically challanged.  i up graded my phonr to a 5 s.  i backed up my phone on icloud.  i cAn not get my notes or photos.   it looks like the icloud email address is wrong. how can i change it or get my missing items

    I need help. I am not good with technology. I upgraded phone today to 5 s I am missing notes and photos  it looks like the cloud address is not correct. Any suggestions

    Have you forgotten your password? - if so, you have a problem if the email address has gone dead.
    If you know your password, go to the iTunes Store, click on Account. log in and you can change the associated email address.
    If you don't know your password, and have no email address, you are going to have problems because it's difficult to see how Apple are going to identify you as the authorised owner of the account. Contact iTunes Support: go to http://www.apple.com/support/itunes/ - click on 'Other iTunes Store Features' in the list and then on 'Podcasts'. You will see a link to either 'Express Lane', which will guide you eventually to some contact options, or you may see a link to email them.

  • Hello, I need help with my macbook pro. It looks like I cannot install anything anymore. Everytime I try to install a new software, use the migration assistant or click the lock to make changes, it simply does not react.

    Hello, I need help with my macbook pro.
    It looks like I cannot install anything anymore. Everytime I try to install a new software, I simply get stuck during the installation type process. I put in my password, it does accept it, but it does not go any further.
    I tried to reset the password, put no password, repair the permissions, the disk but nothing will do. I nearly got stuck with the log in screen but finally succeeded in disabling it.
    So I thought I might try to create a new account but I cannot click the lock to make changes. It simply refuses to react.
    I am now thinking about using the migration assistant to save all my settings, data and so fourth, but again I get stuck when I have to type in my password. It accepts it but nothing happens...
    I guess it has something to do with the authorization process, but can't find anything on the internet about it... Can you help me out?
    I am running Lion 10.7.3.
    Regards,
    Nicolas.
    (I apologize if any grammatical/structural mistakes were to be found, english is not my mother-tongue. )

    You probably won't like this suggestion, but I suggest you reinstall Lion.
    First, backup your system. Next, reboot your system, press/hold the COMMAND-R keys to boot into the Recovery HD. Select 'Reinstall Mac OS X'. If you purchased Lion as an upgrade to Snow Leopard, the reinstall process will install Lion 10.7.3. If your system came preinstalled with Lion, you might still get Lion 10.7.2. Both installs are a total install of the OS. None of your apps or data will be impacted. Just the OS.

  • Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Thanks

    Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Here's the example:
    WING
    GAMES
    MAJORITY
    Thanks

    If the third link you posted (the link containing the word "majority") does not look like the following then you inadvertently installed adware.
    That particular page should resemble the following:
    The word "majority" in the third paragraph should not be a link and should not have the green icon associated with it.
    To learn how this may have occurred, and how to prevent it from occurring in the future, read How to install adware
    Most so-called "news" websites are nothing more than entertainment outlets that cater to prurient interests, and contain advertisements that leave the user about three clicks away from installing junk. If you decide to frequent those websites, Safari's "Reader" feature helps minimize that exposure.
    Try it:

  • Flat file to RFC need help

    Hello , i have a flat file scenario : XML to RFC and response back to xml , in which case i have a more complex scenario.
    Instead of calling RFC multiple times i need to call RFC multiple times through a BPM loop through one xml with duplicated strcutures how is it possible please help me
    Krishna

    Hi ,
    Just More info-
    Actually if you do the occurence as 0-n then you will be having structure like this-
    <Messages>
         <Message1>
              <Source>
                   <Header> </Header> (1..1)
                   <Line> </Line> (1..1)
              </Source>
              <Source>
                   <Header> </Header> (1..1)
                   <Line> </Line> (1..1)
              </Source>
         </Message1>
         <Message1>
                   <Source>
                        <Header> </Header> (1..1)
                        <Line> </Line> (1..1)
                   </Source>
                   <Source>
                        <Header> </Header> (1..1)
                        <Line> </Line> (1..1)
                   </Source>
         </Message1>
    </Messages>     
    In this case you have multiple Message1 under Messages node. So now it is N number of messages under one tag.
    For your scenario, you can try like this-
    1) No need of changing any occurence anywhere.
    2) Use BPM -mentioned in my earlier reply
    I think it will work without 1:N or N:1 mapping Because in your case there is no multiple messages, but you have multiple occurences of each set. So I think you can easily handle with parForEach loop.
    For eg. on ParForEach -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    Also check in BPM Patterns for ParForEach.
    Regards,
    Moorthy
    Just check it

  • HT204088 I need help with past purchases, looks like I was billed a number of times for same product???????

    I need help looks like I was billed repeatedly for the same purchase, who can help with this matter, it amounts to about $200.00

    Try http://www.apple.com/support/itunes/account/
    Allan

Maybe you are looking for

  • URGENT!! Error While Running Tutorial Test Page.

    Hi, We have been facing an issue while setting up the JDeveloper and running the test page. ERROR IS: Error Page Exception Details. oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (C

  • Sharing videos in shared photo stream?

    I just wondered if anybody had any luck with sharing videos to a shared photo stream? At first I thought that the Apple servers couldn't keep up with the demand, but it seems to have been quite a long time now and still no signs of working! I even ca

  • Songs on album are out of order on iPod

    Hi, I recently upgraded my 4th generation iPod to a 30GB video iPod. With some albums, the songs will be out of order on the iPod (i.e. songs 1, 6, and 8 will come before the rest). The only thing I've been able to figure out thats different is the f

  • Layout and Pagination... Limiting my data to top 500 records

    Hi, My report is based on SQL, it's displaying only top 500 records... May I know how to fix it...? I've tried different options under Report attibutes -> Layout and Pagination but no success yet Thanks

  • How can I magic move within a mask

    Hvave masked a long mobile image in keynote over a phone graphic and want to magic move the visual down within the mask but does not seem to work and just fades in and out rather than move?