File to Idoc Scenario and Idoc to File Scenario's

Hi Friends ,
This is Shalini Shah,
Please give me the details of how many busines sytems required in File to Idoc Scenario and Idoc to File sceanrio's.
In business system , what is the name of Integration server(this name is related to XI ot Third Party)
Please give me the full details of these two scenarios from Scratch.
Thanks in Advance.
Regards,
Shalini Shah.

Hi
These r few links which gives u complete scenarios...
for idoc to file:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
for file to idoc:
part1
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
part2
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
part 3
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
This link is also good:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
Troubleshooting File-to-IDOC Scenario in XI.
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
kindly rewards points if helpful.

Similar Messages

  • PI 7.1 scenario -- File to File , File to IDOC  and IDoc to File Scenario

    Hi All,
    *I have PI 7.0 . I have in that File to File , File to IDOC  and IDoc to File Scenarios*
    File to File -- This scenario is working fine.
    File to IDOC   --  Setting done in PI 7.0 like SM59,  IDXI, IDX2  and in R/3 like SALE (logical system)---  This scenario is working fine.
    IDoc to File  --  Seeting done in R/3 like SALE (Logical system, Distrubtion Model (Port, Partner Profile)) -- This scenario is working fine.
    Now I need to move to PI 7.1  -- for File to File , File to IDOC  and IDoc to File Scenarios.
    Please let me know do I require to make any changes in Design and Configuration and settings in PI 7.1 and R/3 for above scenarios or it will work fine as it is already working for PI 7.0
    If changes are required please let me know what changes to do for each scaenario and pls also send blogs for that.
    Regards

    >
    Rickkk wrote:
    > Hi,
    >
    > Idoc metadeta is updated through idx2?
    >
    > Regards
    If there is no metadata maintained for an idoc type, the metadata for that idoc type gets loaded when an idoc of that type is received by PI for the first time. If you are looking at loading metadata of all idoc types before the first run, its really not required. Just make sure that the port is configured properly. Although, there is no harm in preloading the metadata using IDX2.
    You need to use IDX2 mandatorily when the the metadata changes and the metadata in ECC and PI is different. In that case, you need to delete metadata for the changed IDoc type and then either you can update the metada through IDX2 or let the system take care of.

  • Why we dont need sender agreement and comm channel in IDOC to file scenario

    Hi,
    there are 2 queries:
    first query :
    Scenario is "Idoc to file transfer"
    why we dont need sender agreement and communication channel for IDOC to file ,while we do need
    both of these for "File to RFC "
    Answer : which i got is because IDOC sits at ABAP stack but same is valid for RFC also.
    Then why For "IDOC to file" we dont need that.
    Second query:
    Also when i did scenario for File1-RFC-File2 scenario using BPM i have created a interface
    between XI-RFC synchronous to send data which we got from file1 in XI to RFC importing parameter
    and getting data from RFC back to File2.
    Here in IDOC to file scenario why we dont need any interfface for IDOC-XI Asynchronous.
    Regards,
    Mayank
    Edited by: mayank verdia on Jan 13, 2009 11:49 AM
    Edited by: mayank verdia on Jan 13, 2009 11:50 AM

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

  • IDOC to File Scenario - Configuration steps need to be done in R3 and XI

    Hi Experts,
    I am working with IDoc to File scenario. Can someone please explain, what are the steps or configuration things need to be done in R3 and as well as in XI too.
    Thanks in advance.
    Regards,
    Sree

    Hi Sree,
    I thought i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    <a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
    File -> IDOC ref:
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Also have a look at these forum threads...
    IDOC TO FILE SCENARIO
    idoc to file scenario
    I hope this answers your query.
    Regards,
    Abhy Thomas

  • Idoc- File scenario: Read a data field in IDOC and name the file with it

    Hi All,
    I am configuring an IDOC to File scenario.
    I have a requirement where I need to read one of the IDOC data field and use that as the name of the File.
    E.g: If the IDOC data field-1 = '123456', then I need to name the output file as '123456'.
    Is it possible to do this. Appreciate your help on same.
    Thanks
    Shirin

    Try this code..
    desired field from IDoc will be input parameter to UDF
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,a);  // a is input parameter
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Also, check Adapter specific message attributes in file adapter, check  filename

  • Doubt on server proxy and file to idoc scenario

    Hi,
         I could able to solve most of my doubts from this forum, many regards to all who assisted me.Here are some simple doubts plz help me in solving them.
              1.In FILE to PROXY scenario is it necessary to create rfc destination on IS and receiver system? becoz in some blogs it is written to create RFC dest only in case of CLIENT PROXY,since we XI adapter to connect receiver syst in case of server proxy?
              2.In FILE to IDOC scen at receiver side is it necessary to formalities in SM59,WE21,WE20 or just configure in WE20 to maintain partner profile?
              3. In case of single SLD for DEV,CON,PROD while transferring from DEV TO CON using file system how do we move file in EXPORT DIRECTORY TO IMPORT DIRECTORY of cons system?
              4.for transporting IR objects we can use TRANSPORT LIST or CHANGE LIST which will be more preferable?
              Plz kindly answer to any of questions u know ?
              Points will be rewarded for valuable answers.
                                                                                    Regards,
                                                                                    Smitha.

    > 1.In FILE to PROXY scenario is it necessary
    > to create rfc destination on IS and receiver system?
    > becoz in some blogs it is written to create RFC dest
    > only in case of CLIENT PROXY,since we XI adapter to
    > connect receiver syst in case of server proxy?
    You need to maintain the setting on your R3 system to connect to XI for the Transaction SPROXY as shown in the blog "How to Activate ABAP Proxies".
    Apart from that as you are doing a file to proxy via XI, XI would need to send data to the R3 system . For this, you can either key in the Details of the R3 system in the XI adapter directly or you can maintain a HTTP destination on your XI in SM59 and use this in the XI adaper.
    > 2.In FILE to IDOC scen at receiver side is
    > it necessary to formalities in SM59,WE21,WE20 or
    >  just configure in WE20 to maintain partner profile?
    Just the partner porfile. SM 59 and We 21 are used for port and RFC destination and as it is XI that is posting the Idoc these steps are not needed on R3
    > 3. In case of single SLD for DEV,CON,PROD
    > while transferring from DEV TO CON using file system
    > how do we move file in EXPORT DIRECTORY TO IMPORT
    >  DIRECTORY of cons system?
    You have to go to the Folder Level / OS level of your XI server, copy the files from the Export DIrectory and move these manually to the import folder of the CONS server. This is for both IR and ID objects.
    > 4.for transporting IR objects we can use
    > TRANSPORT LIST or CHANGE LIST which will be more
    >  preferable?
    If you perfrom File Transport, the imported objects will be available under the Import Change List and you need to activate this Import Change List.
    Regards
    Bhavesh

  • Pass through scenario in SAP PI with no mapping for File to IDoc and Idoc to file scenarios

    Hi Experts,
    Can i have step by step process in SAP PI for pass through scenario with no mapping in case of file to Idoc and Idoc to file both cases please.
    What objects i can skip.
    My PI system is 7.3 dual stack.
    I have seen below blogs, still its confusing to me.
    When and how to create an scenario in SAP PI without mapping objects.
    Pass Through Scenario with no Mapping in PI 7.1
    Appreciate your help on this.
    Regards,
    Mohan.

    Hi Mohan
    In pass thru interface you don't need to create any ESR objects, only ID objects are required.
    Just Create a Receiver Determination and Receiver Agreement for your scenario (no need for Interface Det. and Sender Agreement).
    Specify the IDOC in the Sender Interface and namespace as urn:sap-com:document:sap:idoc:messages
    Or instead of creating objects manually, Run the wizard with Idoc name/namespace in sender/receiver interface
    Regards
    Osman

  • IDOC to EDI file scenario and EDI file to IDOC scenario without Seeburger

    Hi All,
    IDOC (Invoice) to EDI file scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    EDI file to IDOC (Orders) scenario without Seeburger
    Pls let me know if anybody have blogs for the same
    Regards

    Hi Rachit,
    >>Can anybody send me blogs to convert IDoc structure to EDI or EDI to IDoc structure using Conversion Agent or using JAVA Mappings.
    Using conversion Agent there is no coding, If you have a conversion agent insatlled in your landscape you will have better understanding..
    Also java code for IDoc to EDI have some problems:
    1. The EDI format differs based on requirement so there will always be a customized code for it.. Like we have IDco to EDIFACT and ANSX12...
    2. Because most of these codes are propriety materials I doubt whether anyone be sharing the complete code here in SDN. Better to have a java consultant at your end and put him with your requirement.. From the reply in above threads you should be clear that what you are looking for can be done from java coding..
    All the best
    Regards
    Suraj

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • File to IDOC scenario: Create customer master and then return customer no

    Hi all.
    I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no.  Any help would be appreciate. Thank you.
    Best Regards,
    Pavin

    >>u can use synch-Asynch bridge using BPM
    This can not be done via sync-async bridge.There are 2 reasons for this
    1.He has file adapter as sender and that doesn't support synchronous scenarios.
    2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
    Thanx
    Aamir

  • Steps for File to IDOC and IDOC to file Scenario

    Settings to be done at R/3 like SM59,WE21,WE20
    Setting to be done at XI
    Can pls somebody send good blog for it.
    Regards
    Raj

    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.
    Cheers..
    Vonkolu

  • My scenario is file to Idoc and we are using multiple receivers.

    Whenever we executes the scenario, getting the error u201CATTRIBUTE_IDOC_METADATA u201Cin sxmb_moni 
    Any suggestions on how to do solve this?

    Hi,
    >>>>Error: Copy Receiver from Payload: Receiver Is Missing in Payload
    Have you checked "Apply control records from payload " in IDOc receiver communication channel?? If so please make sure that you've mapped RCVPRN accordingly  in control record of IDOC.
    Refer below discussions
    Error in SXMB_MONI as"Copy Sender from Payload: Sender Is Missing in Payloa
    IDOC Error - Copy Sender from Payload: Sender Is Missing in Payload
    Regards,
    Priyanka

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

  • IDOC-XI-FILE Scenario: Error in ABAP Mapping

    Dear All,
    I am working on IDOC-XI-Flat FIle scenario in which I am using ABAP Mapping as per document "How To Convert an IDoc-XML
    structure to a flat file and vice versa in XI 3.0".
    I created one customized Idoc for this. The Idoc is reacing XI but its flat file is not getting created. Its giving me following error:
    <SAP:Stack>Error in mapping program Z_ABAP_MAPPING_PACKING_LIST (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    I have also gone thru threads posted for the same topic earlier but still I am not been to resolve this error.
    Please help me out in resolving this error.
    Regards,
    N.Jain

    HI,
       Log saying that, u have problem in the mapping program.
      i.e Z_ABAP_MAPPING_PACKING_LIST
       the problem is due declaration of data.
       i hope that, you have some methods.
       those are declared under intialization section in mapping program.
      please use start of selection before the method.
    other wise, it will come under intilization section.
    warm regards
    mahesh.

  • XI 3 File to IDoc scenario - Still referencing Old Logical system

    Hi
    Dont know if you can help. I have a file to idoc scenario  using XI 3 to R/3 4.6c system.
    I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
    Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
    I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
    Regards
    Daniel

    hi daniel...
    this thread wud answer ur query....
    Re: IDOC Payload
    regards..
    vishal

Maybe you are looking for

  • Using my widescreen tv as display

    using my widescreen as a display , works well but i can t get the top menu bar or the bottom dock options to fit into the screen. i m guessing this is a format problem with my tv but i can t seem to get anything to work with that either. any suggesti

  • 1st Generation iPod Updating to 2.2 (Speakers)

    One question before i upgrade. Will I get the speaker feature that the second generation has??

  • Creating a document in pages for Lulu eBooks

    I've been trying desperately to get a document ready for Lulu to publish in eBook format. Nothing I do seems to work. Why is a conundrum since they do not communicate with you except by email. Then they always only direct you to documents. They do no

  • Input stream

    Can datainputstream be used to read and write a file? I tried to save a file from a URL. But the file isn't read completely. What is my mistake?      HttpConnection c = (HttpConnection) Connector.open(url); //change here while run      DataInputStrea

  • No surround with XBMC

    When playing movies in XBMC I only get sound from my front (left & right) speakers but no sound from center or rear speakers. The HTPC (upgraded Dell Optiplex GX620) is connected to the TV through HDMI and to my Marantz SR8300 AV-Recei'ver with use o