Import RFC

Hi all,
   How do I import a RFC in XI. Also tell me how to import a IDoc just for reference purposes.

Hey
method to import RFC and IDOC are same,in IR,goto imported objects and select either RFC or IDOC,a window will pop up,over there u need to give IP address,user id and pwd of the R/3 server and it will display lost of all RFC/IDOC,simple select the one whcih u need and hit import
thanx
ahmad
Message was edited by:
        Ahmad

Similar Messages

  • Problem in mapping xml data with imported RFC parameters

    I am currently working on a senario in which a flat file is generated by an RFID server and placed in FTP server.
    The flat file is picked up from the FTP server using XI and the contents are mapped to the corresponding imported RFC parameters.
    The content of the file which is in text format is successfully converted in XML at the XI side.
    File contains records of 2 fields Functional location and RFID equipment number . In the R/3 side these fields
    are used as Functional location and equipment number of PM module .
    The structure of the FTP message is as follows
    <ns:RFID_MSG_TYPE xmlns:ns="urn://sisl:rfiddemo">
    <RecordSet>
      <Row>
       <FL1>"f1</FL1>
       <FL2>01</FL2>
       <FL3>01</FL3>
       <RFID_NUM>I001"</RFID_NUM>
      </Row>
    </RecordSet>
    </ns:RFID_MSG_TYPE>
    After the mapping program which maps the above structure to the imported RFC is executed the following payload document is generated
    <ns:ZRFID_EQUIP xmlns:ns="urn:sap-com:document:sap:rfc:functions">
    <RECORDS>
      <item>
       <FLOC>f1-01-01</FLOC>
       <RFID_NO>I001</RFID_NO>
      </item>
    </RECORDS>
    </ns:ZRFID_EQUIP>
    The size of FLOC is 30 of type string and RFID_NO is also a string with size 18.
    When the data is brought in R/3 both the fields FLOC and RFID_NO gets mapped in FLOC which is of type char30.

    Hi Naveen,
    In sxmb_moni the content transmitted to the adapter(RFC)is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns:ZRFID_EQUIP xmlns:ns="urn:sap-com:document:sap:rfc:functions">
    - <RECORDS>
    - <item>
      <FLOC>f1-01-01</FLOC>
      <RFID_NO>I006</RFID_NO>
      </item>
    - <item>
      <FLOC>f1-01-02</FLOC>
      <RFID_NO>I002</RFID_NO>
      </item>
    - <item>
      <FLOC>f1-01-03</FLOC>
      <RFID_NO>I003</RFID_NO>
      </item>
    - <item>
      <FLOC>f1-01-04</FLOC>
      <RFID_NO>I004</RFID_NO>
      </item>
    - <item>
      <FLOC>f1-01-05</FLOC>
      <RFID_NO>I005</RFID_NO>
      </item>
    - <item>
      <FLOC>f1-01-06</FLOC>
      <RFID_NO>I001</RFID_NO>
      </item>
      </RECORDS>
      </ns:ZRFID_EQUIP>
    At r/3 side the field floc and rfid_no gets mapped to floc which is of char30
    eg floc=f1-01-01I006
       rfid_no=

  • Importing RFC from R/3 3.1i PI 7.0

    Hi,
    The scenario is picking a file from third party FTP sever and posting an Idoc into SAP R/3 3.1i using PI 7.0. In between we call an RFC from R/3 3.1i from PI 7.0 for converting values. The problem here is, where we tried to import RFC from R/3 3.1i into PI 7.0, its is not allowing to import.It says unauthorized access, even though i had permissions to do that.
    1:) Is this a compatible issue?
    2:) Can we import RFC from 3.1i into Pi 7.0? Then why i am not able to?
    3:) Is there any other way to use that function module in mapping?

    Hello
    1:) Is this a compatible issue?
    - yes
    2:) Can we import RFC from 3.1i into Pi 7.0? Then why i am not able to?
    - No, this is not supported. The import of RFCs and IDocs is supported from SAP Release 4.0 and higher.
    3:) Is there any other way to use that function module in mapping?
    - If the RFC is not too complex, just created the objects in the ESR. Or import from a system which is > 4.0.
    Check the KBA #1535964 How to import an IDoc/RFC into the ESR, for further details.
    Regards
    Mark

  • Imported RFC with problem in converting to XML

    Hello,
    another nice issue:
    I have an aRFC with this import parameter from ABAP:
    data: p_data type tab512 occurs 0.
    Call function.......
    Tables
    DATA = p_data
    This is the XML source from the mapping test in Int.Rep.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:Z_BI_SEND_DATA_512 xmlns:ns="urn:sap-com:document:sap:rfc:functions">
      <SYSID_HOME>AAA</SYSID_HOME>
      <TARGETSYS>BBB</TARGETSYS>
      <DATA>
        <item>test1</item>
        <item>test2</item>
        <item>test3</item>
      </DATA>
    </ns:Z_BI_SEND_DATA_512>
    This is the payload from SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_BI_SEND_DATA_512 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <SYSID_HOME>AAA</SYSID_HOME>
      <TARGETSYS>BBB</TARGETSYS>
    - <DATA>
    - <item>
      <WA>test1</WA>
      </item>
    - <item>
      <WA>test2</WA>
      </item>
    - <item>
      <WA>test3</WA>
      </item>
      </DATA>
      </rfc:Z_BI_SEND_DATA_512>
    Looks like there is a difference (imported RFC in mapping does not show the work area WA)(so: mapping requires
    <DATA>
        <item>test1</item>
    but RFC generates
    - <DATA>
    - <item>
      <WA>test1</WA>
    which hinders the mapping from moving the item lines into the destination file because in mapping the WA area cannot be linked as it is not recognized in mapping.
    Any ideas are welcome!
    Regards
    Dirk

    Hi everyone
    My problem is related to Dirk's one in that I am using an RFC to send XML data from CRM to XI.
    I am trying to send the following string:
    <TEST>GREG</TEST>
    However on XI the payload looks like this:
    <xml version="1.0" encoding="UTF-8"?>
    <rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    <IV_CATALOG>&#60;TEST&#62;GREG&#60;/TEST&#62;</IV_CATALOG></rfc:_-MARS_-CPE_IMPORT_CRM_CATALOG>
    As you can see < is converted into &#60;
    Where and how do I specify that the content of the parameter must not be interpreted?
    Thanks
    Greg

  • Problem importing RFC/IDOC

    Hi All,
    While importing RFC/IDOC, there are 3 steps
    1. Logon
    2. Choose Objects
    3. Execute imports
    After giving the reqd info in logon, I can go to the next step, but here when I click on RFC or IDOC, I am not able to see the RFCs or IDOCS, IR is not responding, the screen goes blank and I have to close the application(IR).
    Any help is appreciated.
    Thanks,
    Jai Shankar

    >>wasn't it 3 that felt like 15 ?
    No i guess it is a 15 actually.
    >>do you have many Zidoc - ZRFC ?
    Yes. This is a IDES system I am connectin to. So lot of them.
    Thanks,
    Jai Shankar

  • Problem in Importing RFC from ECQ to XIQ

    Hi.....
    I have a problem in importing the RFC from ECC Quality Server to PI Quality Server.......
    When I fill the fields like
    Application Server......
    System Number.....
    UserName
    Password.....
    I am getting a screen Problem.....in which error information is given....
    One of the error is UserName(XXXX) cannot have access to aii.sap......
    Please help me.....
    Thanks,
    Sudheer

    Hi Sudheer,
    Kindly check the user having all authorizations which you are try to importing the RFC's from ECQ to XIQ, check with your basis team and try to provide the required authorizations for that particular user.
    Then you can able to import RFC's and do the design by activating the objects.
    Regards
    Venkat Rao .G

  • Import RFC in java

    Hi,
    how to import RFC in java?

    HI
    Friend
    Please find out the flowing link..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10c2c440-7f8c-2b10-7db0-dce34360f118
    I thing it is very helpful to you..
    used for Netweaver 7.0.09 java...and higher versions
    Adaptive RFC model
    Tanks
    Rafi Shaik

  • Hangs When Import RFC

    Hi,
    Recently I want to use BAPI in SAP PI 7.1 with EHP 1. when I want import RFC on Imported Object, I got Hang in RFC node.
    I just follow SAP Notes [1420787|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1420787], however no com.sap.aii.ib.client.delayload property in my exchange profile.
    Any input please for resolution.
    Regards,
    Glenn

    Hi,
    It seems to like basis issue. So, Please contact basis guys to solve your issue. Basis peoples will help you regarding mentioned problem.
      Please see the below link, it might  be useful to you.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    Regards,
    Rajesh

  • ** Not able to Import RFC - RFC to RFC scenario

    Hi Friends,
    I have created one technical system in SLD which is already configured with XI system. I have created one business system for this technical system.
    I have created one SWCV and one namespace. Now, I have tried to import one RFC under 'Imported Objects' in this SWCV by giving proper logon details in the SWCV and Import Objects dialog box. But, the system throws the following error.
    Unable to establish connection to R/3 system computer8 (system=00, client=800) Troubleshooting tips:
    Is the target system online?
    Check the connection data (note that server names and groups are case-sensitive)
    Tips for administrators (see the configuration guide for more details):
    Does the user have the required authorizations in the target system?
    Is the target system configured correctly in "etc/services"?
    I have checked the login password, host name, etc. everything is correct.
    What could be the problem?
    Friends, Kindly help me to solve this issue.
    Thanking you.
    Kind Regards,
    Jegatheeswaran P.

    Hi jega,
      go to R/3 system and check your Function module weather it is activate or not.
    save and activate it.
    Also check the connection between XI and R/3.
    Re: How to Check the RFC Connection Between R/3 And XI
    lost Connection between R3 to XI
    Try to import RFC now....
    Regards
    Biplab
    <i>***Reward points if it helps u.</i>

  • NWDS import RFC interface for the structure issue??

    Hi Gurus,
    I'm working on the SAP NetWeaver BPM with NWDS 7.3 SP12 rite now and got confused about the RFC interface structure stuff.
    I have a mapping activity defined in the process and the receiver interface needs a RFC. So I go to "Process Modeling" -> "Services Interfaces", right click and choose "Import RFC",type the correct RFC/BAPI name connecting with the SAP ECC system. The issue is that when I finished importing the RFC, went to the "Data Types", the RFC interface namespace shows out but the structure shows seperately with individual segment, so the whole nested RFC interface structure messed up in parallel which is incorrect for the data object and output mapping for later process activities.
    Anyone has ran into such kind of issue or experience the same, any solution or suggestion?
    Thanks in advance,
    Rajesh

    William,
    Another two questions relates to NWDS BPM development:
    1. Sometimes after I import the service interface into NWDS, the structure displays differently from it defines in ESR, I mean the fields sequence. I dont know why
    2. Refer to your screenshot,
    Assume the occurence of node HEADER and item is (0..1), when I want to map a blank constant to them to generate the target structure, the editor not allows and display error which is very different with ESR mapping tool, could you please help to advise? Tons of thanks!
    Thanks a lot in advance,
    Rajesh

  • Import RFC from SAP System to XI

    Hi
    It is taking more time ( 5 to 10 mins) to list the RFC from SAPsystem ,When i try to Import RFC from SAP System to XI.
    Please let me know your ideas on the same
    Regards
    Madhan D

    Hi,
    Could you pls check the following sap notes..
    SAP Notes  718320,767091 and 212011 for a better idea on difference in performance while extracting data from R/3 backend.
    Regards,
    Madhu

  • Importing RFC from 4.5B problem

    Every one,
    I am trying import RFC from 4.5B, I have given all the correct details.
    It is giving an error "Problems to reach R/3 System" and connection to XI server is lost and I have to log-in again.
    Reg,
    -Naveen.
    Message was edited by: naveen chitluri
    Message was edited by: naveen chitluri

    Hello,
    Can any one please help me on this?
    -Naveen.

  • Error importing RFC / idoc despite following note 769356

    We have been experiencing a number of problems where we cannot import RFC / idocs in the integration repository.  The BASIS team have followed note 769356 and originally this solved the problem but meant that we reverted back to old screens in the Integration Builder and some German texts in the Integration Repository.
    Current patch version is Support Stack 4
    To get to this point the following steps were followed:
    Undeployed com.sap.xi.repository
    Deployed the install version of com.sap.xi.repository.
    In order to correct the problems with the incorrect screens etc.. The following steps were carried out:
    Undeployed com.sap.xi.repository
    Deployed the Support Stack 4 version of XITOOLS (includes com.sap.xi.repository)
    Applied Support Stack 5 for the Abap kernel
    Applied SAPXIAFC04P_1-20000272 and SAPXITOOL04P_1-20000274 via SDM
    This fixed all of the problems with German texts etc.. but now we cannot import RFC / idocs again.  In the Java Web Start Log (attached) we still get the error message
    mentioned in note 769356.  We have deleted the Web Start Cache on the client hosts (several restarts of the machine and deletions of the cache).  The BASIS guys are going to undeploy and redeploy the repository again but failing that we are running out of ideas.
    Does anyone have any suggestions?
    Here is the entry in the log file:
    java.lang.AbstractMethodError: com.sap.aii.ibrep.sbeans.upload.UploadServiceRemote_Stub.openSAPSource(Lcom/sap/aii/utilxi/misc/r3Connect/SAPConnectionData;Lcom/sap/aii/utilxi/misc/r3Connect/SAPLoginData;Lcom/sap/aii/ib/bom/gen/VersionContext;)Lcom/sap/aii/ibrep/sbeans/upload/SourceID;at com.sap.aii.ibrep.clsif.upload.RemoteUploadClient$ConnectionImpl.connectBean(RemoteUploadClient.java:107)at com.sap.aii.ibrep.clsif.upload.RemoteUploadClient$ConnectionImpl.<init>(RemoteUploadClient.java:91)at com.sap.aii.ibrep.clsif.upload.RemoteUploadClient.getSAPUploadConnection(RemoteUploadClient.java:66)at com.sap.aii.ibrep.gui.tools.r3import.wizard.SAPLogonPage.connect(SAPLogonPage.java:94)at com.sap.aii.ibrep.gui.tools.r3import.wizard.R3ImportWizard$LoginTask.run(R3ImportWizard.java:456)at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:321)

    Dan,
    you are almost there!
    If you religiously follow note 769356, you should not have this problem.
    Just do the following as the note suggests:
    - From SDM, undeploy only the com.sap.xi.repository
    - Unzip SAPXITOOL04P_1-20000274.SCA.zip 
    - The file ExchangeRepository.sda will be one of the extracted files
    - Only import the ExchangeRepository.sda.  Do not import the entire ZIP package.
    - Restart the J2EE engine.
    - Delete Webstart Cache
    - From the XI admin page:
    http://XIhost:50000/rep/support/admin/status.html
    Re-Initialize the Jars for resigning.
    - Wait for 5 minutes for the jar signing to finish. Sometimes, the jar signing gets interrupted, you have to let it finish.
    The above steps worked for me.
    thanks,
    Manish

  • Import RFC Model

    All,
      I'm using Sneak preview full java version. When I try to call SAP Function module from webdynpro Java via RFC Model, it's asking me to specify the SAP Server detail logon information.
    Can anyone help me what information i should give becos im using Sneak preview Java version...
    Thanks..
    BM

    Hi Bharathi
    If u want to import Adaptive RFC Models from ABAP backend u have two ways for importing the model
    1) single server : where u need to specify ABAP system creditials such as Application server name,client,system number for ABAP system available in ur Local Area Network
    2) Load Balancing : Here DropDown List is automatically populated with list of ABAP servers which are defined in ur SAP LOGON PAD . Actually NWDS picks up names of these servers from <b>saplogon.ini</b> file which stores all ABAP servers defined in ur SAP LOGON PAD
    so if u have entry for the required ABAP backend in ur SAP LOGON PAD then u can go for Load Balancing method in which most of the entries will be automatically populated from saplogon.ini file
    If u donot have SAP LOGON PAD or saplogon.ini file doesnot have entry for the ABAP server then u should go for single server mode for Importing RFC models
    Hope u Got the difference between the two methods now
    Regards
    Asif

  • Import RFC/IDOC error

    Hi all,
    I am following "How to...push data in to BW from XI."
    In the 5th step in the document it is given
    Choose "Import RFC/IDOC" in the context menu of "Imported Objects" and enter your user data to logon to the BW system.
    Select the function module /BIO/Q16ASENDXMLDATATOBW_RFC
    Press "continue"
    Press "Start"
    But when I do this I am getting a java nullpointer exception error com.sap.aii.ibrep.sbeans.upload.remoteuploadexception:jsva.lang.nullpointerexception
    I am using jre1.4.2_10 and java web start version 1.4.2
    Please help me in resolving this issue.
    Regards,
    Aanand

    Hi Anand,
            Can you pls make sure that no other users have this same RFC imported into your XI integration builder and is waiting to get their change list activated. In that case also we get the error in importing...
    check these links also.
    Error importing RFC / idoc despite following note 769356
    Cheers
    JK

  • Problem while importing RFC function module in XI. Please Help!

    Hi Experts,
               When I try to import RFC function module in XI I get the following error:
                 **Ready for import**
    Import started...
    YCOP_VALIDATE_GR:
      + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: connection closed without message (CM_NO_DATA_RECEIVED)
    Import failed with 1 error
    Any idea why is this error? How to resolve this?
    Thanks
    Gopal

    Hi
       The problem still persists.
       This is what I have done:
        1. My FM is RFC enabled. In the "Attribute" tab of the FM I have selected "Remote-enabled module" and "Start immed".
    2.Activated and tested the FM.
    3.Released the FM. In se37, Function Module -> Release ->Release. 
    4.Tried to import this FM in XI under "RFC". Get the same error.
    I have some questions:
    1. After releasing the FM do I have to activate it?
    2. In release there is "Internal Release" Do I have to use that?
    3.Do I have to do "Internal Release" first then "Release"?
    4.The FM i am trying to import makes a call to another FM. Both the FMs are in the same system. Both are remote enabled. The second FM updates data in custom table. the first FM which I am importing validates the data and then calls the second FM for update. Do I have to import both FMs?
    Please help me!
    Thanks
    Gopal

Maybe you are looking for

  • Problem in one of the field in xk02

    Dear MM guruz, i have a problem. The problem is : i am trying to change a vendor details in xk02. now while maintaining the edit /change in xk02 system ask for general, purc org data and company code data. I selected purchasing data from purc org dat

  • Importing MPEG-2 problems

    I am trying transfer a VHS tape onto a DVD. I have a clip from my WinXP PVR in MPEG-2 format that I am able to open with Quicktime (after buying the separate codec grrr) but it will not import into iMovie. iMovie briefly flashes the "Importing" scree

  • Getting error message when attempting to download the beatles box set itunes lp

    I am getting an error message when downloading the beatles box set/iTunes lp.  States the file isn't there.  please advise.    

  • Error applying SPS9 on J2EE Engine 7.0

    Hello, we are trying to apply SP9 on the Java Stack of Netweaver 2004s, but now we can not start the J2EE engine, that returns the following error: <b>[SAPEngine_System_Thread[impl:5]_62] Fatal: User Management Engine (com.sap.security.core.persisten

  • Possible debugger issue.

    I am trying to debug a third party package which fails in the debugger but runs OK. There are two issues. 1 It includes the following code in the package body (ie as package initialisation).     gv_audit_dir := TRIM(pk_dbgen.GET_SYSTEM_PARAMETER(pmi_