Could XI/PI integrate R3 without RFC or IDoc?

Hi, Experts.
           i got a problem,  there is a requirement that my customer  wanna to reduce RFC in their R3 by PI, they call it as "RFC
migrates to SAP PI"
           i am wondering that could SAP XI/PI get R3 Data directly  without RFC or IDoc interface in R3?
           Please help me, thank you a lot?
Edited by: Ivan Lin on Jul 28, 2009 9:57 AM

>>i wonder whether pi could get the source system's tables,
I won't suggest to maintain ECC data in XI,why do you want to replicate same data in two different servers.
One option can be to use File instead of RFC,IDOC or Proxy.
This wont require any coding and will solve your purpose too.
You can take hints form the below blog and see how he is dumping IDOC's via a XML port( the blog is mainly to send IDOC in batch mode but you can use for individual IDOC too)
We are using the same approach to integrate CRM without any IDOC,RFC or proxy coming in XI.
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
Thanks
Aamir

Similar Messages

  • Processing without RFC autorizations

    Hi,
    I currently have no RFC autorizations set, so I can't read tables or anything remotly.  I'd like to create an external program to read the SAP's oracle tables, but I can't seem to find if it's possible without RFC (directly doa query maybe?).
    One of the other solutions that I wouldn't mind is that I could have SAP opened, but a kind of script that would process some datas within SAP (don't really know how to explain).
    Basically, all I would need is to be able to do some automatizations, but without having to do Remote Function Calls.
    PS: I also need to have data modified into the tables.
    Thanks!
    Edited by: Eric Beaudet on Feb 16, 2008 4:09 PM

    Thanks for the answer.  Basically, when I try executing a simple client program I made in java, I get the following error message:
    Error : (104) RFC_ERROR_SYSTEM_FAILURE: User **** has no RFC authorization for function group SDTX
    So I guess that's an indication that I can't do it.  Sample code:
    public void systemInfo()
            try {
                // Get a function template from the repository
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("RFC_READ_TABLE");
                // Create a function from the template
                JCO.Function function = new JCO.Function(ftemplate);
                // Get a client from the pool
                JCO.Client client = JCO.getClient(SID);
                // We can call 'RFC_SYSTEM_INFO' directly since it does not need any input parameters
                client.execute(function);
                // The export parameter 'RFCSI_EXPORT' contains a structure of type 'RFCSI'
                JCO.Structure s = function.getExportParameterList().getStructure("AFVGD");
                // Use enumeration to loop over all fields of the structure
                System.out.println("System info for " + SID + ":\n" +
                // Release the client into the pool
                JCO.releaseClient(client);
            catch (Exception ex) {
                System.out.println("Caught an exception: \n" + ex);
    When calling this method, I get an error.  I know that's not the coding forum, but I guess I did it all right and the RFC auto is the only prob.
    Any ways around RFC?  Or I'm pretty much doomed =/
    Thanks

  • I have a seagate external hard drive with files copied from windows pc. If I will download NTFS driver from seagate to my mac, could I install it safely without harming my files in the external hard drive? I am afraid I may erase all files in there.

    I have a seagate external hard drive with files transferred from my windows pc. If I will download NTFS Driver from seagate to my mac, could I install it safely without harming my files? I am afraid.. I might erase all my important files during the installation..

    Thanks a lot! I have already downloaded Paragon Driver and it works well with seagate external hard drive. I am copying as of now my important files from my mac to it. However, I have only the trial version which will expire in 10 days. I don't have credit card to buy for it.

  • How could I turn on genius without credit card information? I dont have any credit cards ...

    how could I turn on genius without credit card information? I dont have any credit cards ...

    Unless the instructions on this page are followed when creating an iTunes account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item from the store.
    If you are getting a prompt to review your account when trying to use it then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054#24303054
    If not then you will need to create a new account, and use the instructions on that HT2534 page when creating it. If you want to use the same email address then you will need to replace it on that account first e.g. by tapping on it in Settings > iTunes & App Store on your iPad, via the Store > View Account menu option on your computer's iTunes or via http://appleid.apple.com
    (For future info typing all in capitals is considered shouting and makes posts difficult to read, and may mean that people are less likely to reply.)

  • Extraction : No IDocs could be sent to BI using RFC.

    I am using BI 7.01   SP006 .  When extracting data, I got following error message :
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Please could you help
    Thanks in advance

    Hi,
    The problem seems to be with "SMQS". Please check whether you get WAITING and WAITCONN appearing,it appears if the maximum number of connections has been reached or if the scheduler is waiting for a connection to become available again.
    Have a look into the below links:
    http://webcache.googleusercontent.com/search?q=cache:NrEUCUI2lXMJ:help.sap.com/saphelp_nw04/helpdata/en/af/d4fa40ee14f26fe10000000a1550b0/content.htm+SMQS&cd=1&hl=en&ct=clnk&gl=in
    Regards,
    Lakshminarasimhan.N

  • No IDocs could be sent to BI using RFC.

    We are experiencing this error while loading data from R/3 to BI 7.0. The exact problem is that these Idocs eventually get transferred to BI but at a very very slow rate:
    For a job that takes 10secs to load, you can have it running for 4hours.
    How can we resolve fast pls?
    Note there have been steps taken by our basis team all to no avail.
    SM58 on BI doesnt throw up any hanging Idocs
    =============================================
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    ============================================
    regards,
    Nneka

    Hi
    I think that you should perform with your basis some checks in your R3 environment.
    First go to we20 / we21 and check if you have the RS* message configured in the LSR3SID system.
    Also ask to your technical team if they saw some RFC response time issue in the environment. Sometimes you have a large wait time and you can set a RFC groups in order to avoid that.
    Be sure that the user used in the RFC connections are correct and if the roles assigned are the necesary.
    If all of this points are correct you can try to reduce the amount of records and the size in every InfoPackage .
    hope this help you

  • Access SAP data from xMII 12.1 without RFC or JCO

    Hi All,
    Is it possible to access/get data from SAP in xMII without RFC/ JCO call?
    Let me know if there is other option available..
    Regards,
    Sachin

    Sachin,
    As far my knowledge goes the primarily used forms of achieving MII to ERP connectivity,
    1) MII -- ERP (via RFC, IDOC's, BAPI's)
    2) MII -- PI(XI) -- ERP
    3) MII -- ESR -- ERP (Web-services)
    But, I completely concur with Mike on this, you do not need to create any function modules unless you have no other choice.
    Check this link for List of Bapi's available and their description
    [BAPI List|http://www.sapbapi.com/bapi-list/]
    If none of the BAPI's really meets your requirement then you can go for "RFC_READ_TABLE" this RFC accepts the SAP table name and desired column names. (in a way you will be accessing the SAP DB you are looking for...)
    Yet, if none of the above options suffices your requirement only then you go for writing a custom Function module.
    [Writing Function Module|http://abaplovers.blogspot.com/2008/02/creating-function-module-in-sap-abap.html]
    Good Luck!!
    Regards,
    Adarsh

  • If i enter my credit card number to buy a game in my IPAD, does it stay on. so my kids could buy what they want without asking me ?

    if i enter my credit card number to buy a game in my IPAD, does it stay on. so my kids could buy what they want without asking me ?

    go on a computer and through itunes click on your account and sign in and then choose none as a option for payment

  • The screen could not rotate automatically while without lock it, how to solve this problem?

    The screen could not rotate automatically while without lock it, how to solve this problem?

    If there isn't a lock symbol at the top of the screen next to the battery indicator then try a soft-reset and see if it rotates after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Newbee-Question: Connection without RFC / SM59

    Hello!
    In classical R/3-Systems you have chosen a RFC-Destination to connect serveral R/3 systems together. What about Netweaver?
    I saw there is a Message Server, is that the point where R/3-Systems are connected together concerning netweaver technologie? Or are they even connected together via RFC? Or only Webservices?
    How can you create a distributed system with many Web AS-Servers?
    With best regards
    Björn K.

    Hi Björn,
    for connection between XI and  R/3 system are usually 3 methods used:
    ABAP proxy
    RFC adapter
    IDoc
    For all three communcication possibilities you need a destination in SM59.
    Regards,
    Udo

  • RFC to IDOC

    Hi,
    My scenario is RFC to IDOC
    When the IDOC is received it triggers the ‘Create/change sales document’ program.
    for Create i have 1 Custom IDOC and for Change/deletion        i have another IDOC.
    The inbound IDOC should be able to handle Creation/Change and deletion.
    already i have imported RFC and IDOC's
    So, could you please confirm me once again...the procedure in IR and ID
    Regards,
    Yeswanth

    Hi,
    This may helps you...
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    http://help.sap.com/saphelp_46c/helpdata/en/dc/6b803343d711d1893e0000e8323c4f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
    For IDOC Scenarios you need to do the ALE Configuration First.For the ALE Configuration you can look into this Blog:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    In this blog(/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step) Michal mentions about Gateway Service and Gateway Host/Server. How and where do I find this information. Can somebody clarify what it means. also in this blog /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters he talks about something about partner profile. What is this?
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • What is RFC and IDOC Adapters in XI  ?

    Hi,
    What is the RFC and IDOC Adapters in XI , in which scenarios we use this adapter , what is the advantages and disadvantages of RFC , IDOC ? can any help me out.
    Thanks & Regards
    Surendra M

    Surendra,
    <b>What is the RFC and IDOC Adapters in XI</b> :
    <b>IDOC:</b> Generaly standard IDOCs are used to update the data in R/3 or to extarct the data from R/3.
    <b>RFC:</b> Are generally used for synchronoue scenarios.
    <b>in which scenarios we use this adapter</b>
    For example you can use the IDOC <b>ORDERS05</b> to post the sales orders.
    Similarly you can use <b>BAPI_COMPANY_GETDETAILS</b> to fetch the company details.
    <b>what is the advantages and disadvantages of RFC , IDOC ?</b>
    <b>Advantages:</b> Both can be used for data retrival and posting. RFC can be used for synchronus purpose but IDOCs are always asynchronous.
    <b>Disadvangages:</b> If you are using custome made RFC/IDOC then you have to import the RFC/IDOC into XI every time when you make any small changes in the structure.
    Also go through this blog to choose the right adapter to integrate with SAP systems.
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Regards,
    Sarvesh

  • Regarding rfc and idoc sender

    hi
       can any one provide me with some scenarios having
    idoc and rfc as senders.

    Hi
    To Configure the RFC to FILE scenario ,Proceed as Follows
    a.       Create an RFC Destination to XI in transaction code  (SM59)
    b.       Create new destination of type T (TCP/IP)
    c.       Make sure you select Registered Server Program option before writing your program ID
    d.       Write you program ID (remember it's case-sensitive)
    e.       In the gateway host and gateway service write the values of your Application system - business system (not the XI server)
                 Step2:Repository
    1)       From the Integration Builder page, select “Integration Repository”. This will launch the Java Web Start Application. Log with the User id and password from the  Integration Server
    2)       Choose Tools->Transfer from System Landscape Directory->Import Software Component Versions
             From the list of Software Component Versions, Choose your own software component version .Click Import.
    3)       On the left hand side frame ,software components will appear .Select your own software component. Open your own software component. Double click on this  software component. A screen will appear .Switch to display mode. After doing this first add  a namespace under Namespaces.
             The namespace is ur:rfctofile
    4)       Then choose the Radio Button ->Import of RFC AND IDOC interfaces from SAP systems permitted
             After this specify the connection parameters to the R/3 system:
    4.1)     System IS  :sapfox
    4.2)     Client IS :800
             Then Save it. The new namespace will be visible under software component version node in the left frame.
             Under the namespace node,  you will find the section Imported Objects. Right click on it and choose Import of sap objects. A wizard will display. In the wizard provide the following details.
    4.3)     Application server:172.25.5.7
    4.4)     System number: 00
    4.5)     User name:developer
    4.6)     Password: Password of Sap R/3 system.
             Then click continue .You will find IDOC and RFC node. Click on this node and select the   Idoc or Rfc which is to be imported from R/3. Click Finish to start the Import. Close the wizard. After doing this the   Rfc and  Idoc will be available into XI as Message types. So no need to create any Rfc or Idoc Structure. We need to create a structure for file only.
    5).      Under your namespace in the left frame, expand the node “Interface objects”. You will find a node “DATA TYPES”
    6)        Create new data types.
    6.1)      Right click on “Data types” and select “New”.
               Your  Data Type is. dt_file
              In the data type Editor ,Create a structure having Elements of type String  ,  integer,  Boolean , Float etc as per the requirement.
              Save the object.
    6.2)      The Import function for XSD  files enables you to upload message definitions from external sources. The object type “External Definition” is a container to make external definitions available in the Integration Repository.. While Importing the XSD files from “External Definition
              no need to create Data types. They are imported directly as Message types.
    6.3)      To do so, In the left hand frame  Under  ” Interface objects” Create a new object of type “External Definition” and give name to it.
              Select the following.
    6.3.1)    Category: XSD.
    6.3.2)    Messages: From All Available Global Elements.
    6.3.3)    File:
              Once the XSD is imported, click on “Message” tab , You should be able to see 2 messages(Request and Response)
    7).      Create a new Message  Type.
    7.1)     In the left hand frame under “Interface objects”, right click on the “Message types” and select new.
    7.2)     Give a suitable name to the Message type.(MT_ messagetype).
    7.3)     For the section “Data type used” you can go to input help (F4) or Search help provided and choose your data type (DT_datatype) from there.
             Save it.
    8).     Create a Message interface
    8.1)    In the left hand frame under “Interface objects”, right click on the “Message Interface” and select new and name(MI_ messageinterface) it
    8.2).   The interface Should be  Inbound  and mode should be Asynchronous  .It should reference your Message type(Use F4 or Search help).
            Save it.
    9) .    Create a graphical mapping  between the target document and the sender .
    9.1)    In the left hand frame ,expand “Mapping objects”. Right click on “Message mapping” and name it.You are now in a graphical editor.The Source message is on left, the Target message is on right.
    9.2)    As Source message select  your own  Message type.You can choose “Search  for Integration Object”.As a reminder you can find your Idoc or Rfc under Software Component-  >     Namespace->Imported Objects.
    9.3)    As Target Message you can choose your  Rfc .Choose “Search  for Integration Object”.
    9.4)    Now that we have defined the  Source and Target message, we can start defining the Mapping rules.
    9.5)    Map the fields of  Source document  to the equivalent fields in  Target document .This can be achieved easily by locating the field in Target document and then Drag and Drop the   Source fields to the respective Target Fields.
            Save It.
    9.6)    You can also Test your Mapping by selecting the 'Test Tab'.
    9.7)    Fill in the values in the Idoc fields and click 'Start Transformation'. On the right hand side you will see Target Document populated with the appropriate Values.
    10).     Create an Interface Mapping.
    10.1)   In the left hand Frame  expand “Mapping objects”. Right Click on “Interface Mapping” and  Name it. You are in a Interface Mapping Editor .Assign the following References.
    10.2)   Source interface : Your Outbound Interface (The Source document(Rfc) interface).You can Choose” Search  for Integration Object”.
    10.3)   Target interface:    Your Inbound Interface( The Target document interface).
            Then Select  'Read Interface' and Assign your  'Mapping Program' .
            Mapping Program: Your Message mapping.
            Then Save it.
    11.)    Finally , in the left hand frame ,go to your change list and Activate it
               STEP 3: Directory
    1)      From the Integration Builder page, select “Integration Directory”. This will launch the Java Web Start Application. Log with the User id and password from the  Integration Server.
            Create a Scenario Object
    2).     The First Step is to create a Scenario Object
            This will serve as container for all your configuration work. Create and save a scenario object
    3)      In the left hand frame you can see the created scenario object. Under that Object Expand the node “Service without Party” and right –click on “Business System”->Assign Business System
    4)      In the wizard , leave the party name blank and then select  your own Business System. Uncheck the box ”Create Communication Channel Automatically”.This service (business system) represents the legacy system and Sap R/3 which will be exchanging the data.
    5) .    Create a Communication Channel.
    6).     Expand your service and right click on “Communication Channel”. Name your Communication Channel
            Here we need to configure the adapter.
        Since the Sender is 'RFC', Specify the following Parameters
             For the adapter type , use the F4 help  and select RFC.
             Specify “Sender” since the adapter will be  sending messages to XI
             Specify the following parameters.
             Transport Protocol: RFC
             Message Protocol:   RFC(RFC XML )
             Adapter Engine: Integration Server
             Adapter status: Active
             RFC Server Parameter:
             Application Server(Gateway):172.25.5.7
             Application Server Service(Gateway Service): sapgw00
             Program Id: Id of Registered server program ( it is case sensititve)
             And the adapter is configured. Save it
              Since the Receiver  is File , Specify the following Parameters
    6.1       For the adapter type , use the F4 help  and select FILE.
    6.2       Specify “Receiver” since the adapter will be  sending XML files from XI to the  FTP server.
    6.3       Specify the following parameters.
              Transport Protocol: File Transport Protocol.(FTP)
              Message Protocol: File Content Conversion(since the xml files produce by XI need to be converted to text files)
              Adapter Engine: Integration Server
              For the File system access Parameters, enter the following
              Source Directory:Test
              File Name: Input.txt
    6.4       For the FTP Connection Parameters, Specify the Following
              Server:172.25.5.240
              Port: 21(by default)
              Data Connection: Passive
              Connection security: None
              Connection Mode:  Permanently
              Transfer Mode: Binary
    6.5       For Processing Parameters, Specify the following
              File construction mode: Add Time Stamp
              File Type: Binary
    6.6       For Content Conversion Parameters, Specify the Following
              RecordSet Structure:
              Adapter Status: Active
              The receiver file adapter is now configured. Save your Communication Channel.
               Create an Receiver Determination.
    7).       From the left frame Create a new “Receiver Determination” object. This is the main part of routing process, where you assign a receiver for your message.
    7.1)      Select your sender service and interface.
              Sender:
              Party:  blank
              Service:  Sender service(Business system)
              Interface : Sender interface
    7.2)      In the “Configured Receivers” area ,  choose the Service for the Target System.. Save your Receiver Determination
                Create an Interface Determination.
    7.3)       Next create an “Interface Determination” object. Now that we have defined a receiver of message  ,we need to assign an Inbound interface and an Interface mapping
    7.3.1)     In the Receiver Determination   you just created, have a look at the area “Configuration Overview for Receiver Determination”   at bottom of your screen and press Refresh  for that the Business system you assigned is displayed  in that area as well.
    7.3.2)     In the column “Receiver(Partner/Service)” open the details by clicking the node .The Entry “Not defined” shows you that there is no interface determination present.
               Right click on the Entry “Not defined” and select “ New specific”,  in order to create a new interface determination object
    7.3.3)     You are now in  the screen “Edit Interface Determination”. In the section “Configured Inbound Interfaces” select the Inbound Interface using F4 help Provided. You might need to choose ALL button for the interface to be shown.
               After choosing the Inbound Interface,  It is shown in the Interface Determination
    7.3.4)     A mapping has to be specified .Use the F4 help next to Inbound Interface to select your Interface Mapping.
    7.3.5)     When you are done ,  Save the Interface determination object.
    8.)         Create a Sender Agreement.
               In the left hand frame , right click on “Sender Agreement” ->New
    8.1)       Specify the following:
               Party: blank
               Service: Select your own Business system
               Interface: Outbound Interface
    8.2)       In the screen “Edit Service Agreement” use F4 help for the Sender Communication channel field .Select your Communication channel .Save and close
    9.)         Create a Receiver Agreement.
               Finally you will create a  'Receiver Agreement' .This will allow you to assign a Receiver Communication Channel to the receiver service/Interface you have chosen.
    9.1)       Go back to the main screen for your receiver determination. In the area “Configuration Overview for Receiver Determination” at the bottom of your screen click Refresh.
    9.2)       In the Column “Receiver Agreement(Communication Channel) “ right click and select “New Specific”.
               Specify the following:
               Party: blank
               Service: Select your own Business system
               Interface: Inbound Interface
    9.3)       In the screen ”Edit Receiver Agreement” for the field Receiver Communication Channel use  the input help F4 and select your communication channel. Save and Close it
               Your Configuration is complete. Activate the objects.
    To Configure the IDOC TO FILE SCENARIO,PROCEED AS FOLLOWS
    STEP 1:ALE SETTINGS TO POST IDOC OUT OF SAP R/3
    We need to do the following settings in XI
    1)   Create an RFC Destination to the Sending System in transaction code (SM59)
    a)   Choose create
    b)   Specify the name of the RFC destination
    c)   Select connection type as 3 and save
    d)   In the technical settings tab enter the details SAP SID/URL and system number#
    e)   Enter the Gateway host as same details above SID/URL
    f)   Gateway service is 3300+system number#
    g)   In the Logon /Security tab, enter the client user & Password details of Destination system
    h) Test the connection and remote logon.Both should be succesful
    2) Create Port Using Transaction Code  IDX1
    a)   Select create new button
    b)   Enter the port name as SAP+SID (The starting char should be SAP)
    c)   Enter the destination client
    d)   Enter the RFC Destination created in SAP R/3 towards other system
    e)   Save
    3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
    a)  Create new
    b)  IDOC Message Type
    c)  Enter port created in IDX1
                        SETTINGS IN SAP R/3
         We need to do the following settings in R/3
         Logon to Sap R/3 System
    1)   Create an RFC Destination to XI in transaction code  (SM59)
    a)   Choose create
    b)   Specify the name of the RFC destination
    c)   Select connection type as 3 and save
    d)   In the technical settings tab enter the details SAP SID/URL and system number#
    e)   Enter the Gateway host as same details above SID/URL
    f)   Gateway service is 3300+system number#
    g)   In the Logon /Security tab, enter the client user & Password details of Destination system
    h)   Test the connection and remote logon.Both must be succesful
    2)   Create communication Port for Idoc processing Using Transaction(We21)
    a)   First Select Transactional RFC and then click create button
    b)   Enter the destination port name as SAP+SID (The starting char should be SAP)
    d)   Enter the RFC Destination created in SAP R/3 towards other system.
    e)   Save
    3)   Create Partner Profile with Outbound Parameters (WE20)
    a)   Create New
    b)   Create the Partner no. name as same the logical system name of the destination system
    c)   Select Partner type LS
    d)   Enter details for Type: US/USER, Agent, and Lang
         Then Save
    e)   Select Partner no. and LS which were create above
    f)   Now we have to give some Outbound Parameters.So click on ADD TO Create Outbound Parameter
    g)   Select Message type
    h)   Double click on Message Type and Then Enter the details  for Receiving port, Pack size=1 and Basic type
    I)   save
    4)   In Transaction SALE, Create Logical System
    a).  Go to Basic Settings-> First Define logical systems
         and then assign logical systems
    b)   Double click on Define the logical systems
    c)   Give data for your Logicaal System and Name
    d)   Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
    e)   Assign the logical system name to the client
    5)   Create Customer Distribution model in the transaction code BD64
    1)   Click on the Create modal View button and enter the short text, Technical name etc as shown below
    2)   Now select the created model view and click on Add message type button .A pop up box appears, enter Sending system, receiving system and message type
    3)   Save the Distribution model
        Generate Partner Profiles
    Click on Menu Item ‘Generate Partner Profiles’
        It leads to the next transaction where in the selection screen you have to provide Model view name, Partner System logical system and execute
        Then, you will be intimated about the partners, port creation, and outbound parameters creation
    4)   Distribute Customer Distribution Model
        In the menu item  GO to Edit->Modal View-> ‘Distribute’ to the destination client
        Popup window appears ,press Enter
    You will be intimated about the the Modal View Distributed
                 Step2:Repository
    1)       From the Integration Builder page, select “Integration Repository”. This will launch the Java Web Start Application. Log with the User id and password from the  Integration Server
    2)       Choose Tools->Transfer from System Landscape Directory->Import Software Component Versions
             From the list of Software Component Versions, Choose your own software component version .Click Import.
    3)       On the left hand side frame ,software components will appear .Select your own software component. Open your own software component. Double click on this  software component. A screen will appear .Switch to display mode. After doing this first add  a namespace under Namespaces.
             Your NameSpace is  urn:idoctofile
    4)       Then choose the Radio Button ->Import of RFC AND IDOC interfaces from SAP systems permitted
             After this specify the connection parameters to the R/3 system:
    4.1)     System  :sapfox
    4.2)     Client  :800
             Then Save it. The new namespace will be visible under software component version node in the left frame.
             Under the namespace node,  you will find the section Imported Objects. Right click on it and choose Import of sap objects. A wizard will display. In the wizard provide the following details.
    4.3)     Application server:172.25.5.7
    4.4)     System number:00
    4.5)     User name: developer
    4.6)     Password: Password of Sap R/3 system.
             Then click continue .You will find IDOC node. Click on this node and select the   Idoc  which is to be imported from R/3. Click Finish to start the Import. Close the wizard. After doing this the    Idoc will be available into XI as Message types. So no need to create any  Idoc Structure. We need to create a structure for file only.
    5).      Under your namespace in the left frame, expand the node “Interface objects”. You will find a node “DATA TYPES”
    6)        Create new data types.
    6.1)      Right click on “Data types” and select “New”.
               Your Data Type is :dt_file
              In the data type Editor ,Create a structure having Elements of type String  ,  integer,  Boolean , Float etc as per the requirement.
              Save the object.
    6.2)      The Import function for XSD  files enables you to upload message definitions from external sources. The object type “External Definition” is a container to make external definitions available in the Integration Repository.. While Importing the XSD files from “External Definition
              no need to create Data types. They are imported directly as Message types.
    6.3)      To do so, In the left hand frame  Under  ” Interface objects” Create a new object of type “External Definition” and give name to it.
              Select the following.
    6.3.1)    Category: XSD.
    6.3.2)    Messages: From All Available Global Elements.
    6.3.3)    File:
              Once the XSD is imported, click on “Message” tab , You should be able to see 2 messages(Request and Response)
    7).      Create a new Message  Type.
    7.1)     In the left hand frame under “Interface objects”, right click on the “Message types” and select new.
    7.2)     Give a suitable name to the Message type.(MT_ messagetype).
    7.3)     For the section “Data type used” you can go to input help (F4) or Search help provided and choose your data type (DT_datatype) from there.
             Save it.
    8).     Create a Message interface
    8.1)    In the left hand frame under “Interface objects”, right click on the “Message Interface” and select new and name(MI_ messageinterface) it
    8.2).   The interface Should be  Inbound  and mode should be Asynchronous  .It should reference your Message type(Use F4 or Search help).
            Save it.
    9) .    Create a graphical mapping  between the target document and the sender .
    9.1)    In the left hand frame ,expand “Mapping objects”. Right click on “Message mapping” and name it.You are now in a graphical editor.The Source message is on left, the Target message is on right.
    9.2)    As Source message select  your own Idoc .You can choose “Search  for Integration Object”.As a reminder you can find your Idoc or Rfc under Software Component-  >     Namespace->Imported Objects.
    9.3)    As Target Message you can choose your Message type  .Choose “Search  for Integration Object”.
    9.4)    Now that we have defined the  Source and Target message, we can start defining the Mapping rules.
    9.5)    Map the fields of  Source document  to the equivalent fields in  Target document .This can be achieved easily by locating the field in Target document and then Drag and Drop the   Source fields to the respective Target Fields.
            Save It.
    9.6)    You can also Test your Mapping by selecting the 'Test Tab'.
    9.7)    Fill in the values in the Idoc fields and click 'Start Transformation'. On the right hand side you will see Target Document populated with the appropriate Values.
    10).     Create an Interface Mapping.
    10.1)   In the left hand Frame  expand “Mapping objects”. Right Click on “Interface Mapping” and  Name it. You are in a Interface Mapping Editor .Assign the following References.
    10.2)   Source interface : Your Outbound Interface (The Source document(Idoc) interface).You can Choose” Search  for Integration Object”.
    10.3)   Target interface:    Your Inbound Interface( The Target document interface).
            Then Select  'Read Interface' and Assign your  'Mapping Program' .
            Mapping Program: Your Message mapping.
            Then Save it.
    11.)    Finally , in the left hand frame ,go to your change list and Activate it
               STEP 3: Directory
    1)      From the Integration Builder page, select “Integration Directory”. This will launch the Java Web Start Application. Log with the User id and password from the  Integration Server.
            Create a Scenario Object
    2).     The First Step is to create a Scenario Object
            This will serve as container for all your configuration work. Create and save a scenario object
    3)      In the left hand frame you can see the created scenario object. Under that Object Expand the node “Service without Party” and right –click on “Business System”->Assign Business System
    4)      In the wizard , leave the party name blank and then select  your own Business System. Uncheck the box ”Create Communication Channel Automatically”.This service (business system) represents the legacy system and Sap R/3 which will be exchanging the data.
    5) .    Create a Communication Channel.
    6).     Expand your service and right click on “Communication Channel”. Name your Communication Channel
            Here we need to configure the adapter.
         Since The Sender is IDOC , then there is no need of Sender communication channel and Sender Agreement.
              For the Receiver, Specify the following Parameters
    6.1       For the adapter type , use the F4 help  and select FILE.
    6.2       Specify “Receiver” since the adapter will be  sending XML files from XI to the  FTP server.
    6.3       Specify the following parameters.
              Transport Protocol: File Transport Protocol.(FTP)
              Message Protocol: File Content Conversion(since the xml file produce by XI need to be converted to text file)
              Adapter Engine: Integration Server
              For the File system access Parameters, enter the following
              Source Directory:Test
              File Name: Input.txt
    6.4       For the FTP Connection Parameters, Specify the Following
              Server: 172.25.5.240
              Port: 21(by default)
              Data Connection: Passive
              Connection security: None
              Connection Mode:  Permanently
              Transfer Mode: Binary
    6.5       For Processing Parameters, Specify the following
              File construction mode: Add Time Stamp
              File Type: Binary
    6.6       For Content Conversion Parameters, Specify the Following
              RecordSet Structure:
              Adapter Status: Active
              The receiver file adapter is now configured. Save your Communication Channel.
               Create an Receiver Determination.
    7).       From the left frame Create a new “Receiver Determination” object. This is the main part of routing process, where you assign a receiver for your message.
    7.1)      Select your sender service and interface.
              Sender:
              Party:  blank
              Service:  Sender service(Business system)
              Interface : Sender interface
    7.2)      In the “Configured Receivers” area ,  choose the Service for the Target System.. Save your Receiver Determination
                Create an Interface Determination.
    7.3)       Next create an “Interface Determination” object. Now that we have defined a receiver of message  ,we need to assign an Inbound interface and an Interface mapping
    7.3.1)     In the Receiver Determination   you just created, have a look at the area “Configuration Overview for Receiver Determination”   at bottom of your screen and press Refresh  for that the Business system you assigned is displayed  in that area as well.
    7.3.2)     In the column “Receiver(Partner/Service)” open the details by clicking the node .The Entry “Not defined” shows you that there is no interface determination present.
               Right click on the Entry “Not defined” and select “ New specific”,  in order to create a new interface determination object
    7.3.3)     You are now in  the screen “Edit Interface Determination”. In the section “Configured Inbound Interfaces” select the Inbound Interface using F4 help Provided. You might need to choose ALL button for the interface to be shown.
               After choosing the Inbound Interface,  It is shown in the Interface Determination
    7.3.4)     A mapping has to be specified .Use the F4 help next to Inbound Interface to select your Interface Mapping.
    7.3.5)     When you are done ,  Save the Interface determination object.
    8.)         Create a Sender Agreement.
               In the left hand frame , right click on “Sender Agreement” ->New
    8.1)       Specify the following:
               Party: blank
               Service: Select your own Business system
               Interface: Outbound Interface
    8.2)       In the screen “Edit Service Agreement” use F4 help for the Sender Communication channel field .Select your Communication channel .Save and close
    9.)         Create a Receiver Agreement.
               Finally you will create a  'Receiver Agreement' .This will allow you to assign a Receiver Communication Channel to the receiver service/Interface you have chosen.
    9.1)       Go back to the main screen for your receiver determination. In the area “Configuration Overview for Receiver Determination” at the bottom of your screen click Refresh.
    9.2)       In the Column “Receiver Agreement(Communication Channel) “ right click and select “New Specific”.
               Specify the following:
               Party: blank
               Service: Select your own Business system
               Interface: Inbound Interface
    9.3)       In the screen ”Edit Receiver Agreement” for the field Receiver Communication Channel use  the input help F4 and select your communication channel. Save and Close it
               Your Configuration is complete. Activate the objects.
    plz rewards points
    vikas

  • RFC or IDOC or ABAP Proxy

    Hi,
    What is the best way(R3 Side) for standardization?
    R3 <-> Legacy.
    I've read all related article on sdn, but i am not still clear on which best way RFC or ABAP Proxy or IDOC in real life.
    if you are, what is suggestion?
    thanks
    dennis

    Ogawa,
    There are advantages / disadvantages for RFC / Proxies / Idocs. So if I am in your position depending upon the requirement I will choose one. Some of the differences are:
    <i><b>RFC and Proxy:</b></i>
    RFC/BAPI has its own overhead of function call.
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    ABAP Proxies uses Webservice and Http Protocols.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    <i><b>Proxy and Idoc:</b></i>
    IDOC : After recieving the strucutred data It processes it using a Function Module associated with it.
    Proxy : Proxy is a structure where there is no processing function module associated. You need to explicitly write the Business Logic/Call the subroutines here
    This is my absolutely my view. Another guy has his own response. So first go through your requirements and then you can decide for what to go.
    Also go through this urls which may help you:
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    RFC VS PROXY
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Re: IDOC and RFC
    Re: Proxy Vs IDOC
    ---Satish

  • RFC to IDOCs

    Hi Experts,
    I have a scenario for RFC -- XI -- IDOC
    In my XI dev. system already i have imported RFC and IDOC's
    I have 2 Custom IDOC's
    First IDOC is for Create
    Second IDOC is for Change/Delete
    Based on the condition i should select either one of the above IDOCs.
    So, How many Message Mappings shall i need to create or
    If i import both IDOCs at Receiver side and can i do the Mapping.
    Awaiting for your response and Reward points for helpful answers...
    Thanks & Regards,
    Ramana Kumar. A

    Thanks Varun,
    based on the condition here,
    field1 map with E1EDK03 (field: IDDAT) and the description here is, Fixed value = 001  set up in connection with the next field.
    Here i map constant 001 to E1EDK03 node
    Is this correct?
    Next Field here is DATUM and the desc. here is If  = `1´ then map date from field1 else if `blank`
    field2 map with E1EDK03 (field: IDDAT) and the description here is, Fixed value = 002  set up in connection with the next field.
    Here i map constant 002 to E1EDK03 node
    Is this correct?
    Next Field here is DATUM and the desc. here is If  = `1´ then map date from field2 else if `blank`
    Regards,
    Ramana.

Maybe you are looking for

  • How do I get rid of the "other" data on my iPhone 4?

    The "other" data on my iPhone 4 is currently taking up 4.5 gb of my 6.4 gb phone. As you can see I'm not very happy about this. I am basically limited too about ten apps and I cannot download iOS 7 due to my lack of storage. I was wondering if there

  • HDMI port not working on HPG62

    Hi, i have a problem with my hdmi port. I  plug my PC on my TV TCL, I share my screen by clicking F4 but nothing happed. I have no picture no sound. my  graphic card Ati  dosen't work for almost one year, it remains for me the intel graphic card what

  • Action with LiveTrace?

    I need to LiveTrace 36 frames of a video, and thought an Action might be the best approach to that. I am aware of the 'insert menu option' thing, which I did, but my problem is that it only traces with the default settings. Now I'd like to use the gr

  • Error trying to call channel using accessor

    Hello All, Messages are failing while accessor is trying to call channel Please help me figure out a fix for the problem. Hope that the following trace information helps. <Trace level="1" type="T">Interface Mapping http://imprintlabs.com/I33A_Goods_R

  • TS4002 cant access icloud due to maximum number account has been registered

    hi there.to whom it may concern just baought iphone 4s.but cannot access icloud due to maximum number account been registered.really need help. thanks