Skip to Content
avatar image
Former Member

Help in IDoc to File scenario

Hi experts,

I just created a scenario to export IDoc to File on a FTP server through XI server. I think I configured all the necessary things, such as in SLD, in sender(ECC) and receiver (XI server), and in IR, ID. But although it sends IDoc to Port OK in sender system, in the receiver system, I cannot see anything. Pls help to find out something I missed.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jul 31, 2008 at 11:17 AM

    Hi

    Check

    SXMB_MONI and IDX5 (in PI)

    Check transaction : WE02 / sm58 (in Sender System)

    u can find some clue

    rgds

    srini

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2008 at 11:18 AM

    HI,

    SAP XI

    1) RFC Destination (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.

    2) Create Port (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 (IDX2)

    a) Create new

    b) IDOC Message Type

    c) Enter port created in IDX1.

    SAP R/3

    1) RFC Destination (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.

    2) Create Port (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)

    c) Enter the destination client.

    d) Enter the RFC Destination created in SAP R/3 towards other system.

    e) Save

    3) Create Partner Profile (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.

    e) Click on the + button to select the message type.

    f) Select Partner no. and LS which ever create above.

    g) Select Message type

    h) Select Process code related to the Message type.

    I) save.

    In SLD – System Landscape Directory

    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

    Ts for Third Party (Logical system):-

    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

    BS for Third Party (Logical system):-Enter the XI logical system name.

    In Transaction SALE

    Define and Assign the logical system name.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539

    Troubleshooting File-to-IDOC Scenario in XI.

    Troubleshooting File-to-IDOC Scenario in XI.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098

    Thanks,

    Madhu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2008 at 11:26 AM

    Hi,

    check following

    1. Mapping is through in integration engine using sxi_monitor

    2. any errors are showing in FTP adapter

    3. are you able to do the FTP and write a file from XI Server to FTP Server

    regards,

    Ravi Siddam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2008 at 11:39 AM

    Hi,

    I think this is the easy way of doing ALE configuration. It will be helpful to do all the IDoc involved scenarios.

    Maintain the R/3 system.

    Use transaction SALE to create two logical systems:

    1. First one IDES logical system(Sender LS).

    2. Second one Netweaver logical system(Receiver LS).

    Assign Client to the Sender Logical System

    Create RFC destination of type u20183u2019 for SAP XI system using transaction SM59.

    Receiver LS name and RFC destination name shd be same

    Create a Distribution Model through u2018SALEu2019 transaction:

    Create a Distribution Model by selecting u2018Create Model Viewu2019.

    Add massage type to the Distribution Model.

    Save your Model view before proceeding further.

    Generate the partner profiles by selecting the navigation path from the main menu, Environment Generate Partner profile.

    Upon selecting the generate partner profiles option, then execute it with the default parameters displayed on the selection screen.

    From the main screen navigate through the menu option, EDIT --> MODEL VIEW --> DISTRIBUTE.

    Maintain PI system.

    Use transaction SM59 to create RFC destination connected to the SAP R3

    Use transaction IDX1 to maintain the port u201CSAPXXXu201D.

    Select u201CCreateu201D and enter Port, Client and RFC Destination.

    Use transaction IDX2 to load the IDOC metadata.

    Select Create New and enter Idoc type and source port.

    Regards,

    Venu V

    Add comment
    10|10000 characters needed characters exceeded