IDoc - File simple scenario using XI

Good day everyone,
As I remember when using IDocs on ABAP system it is possible to create a txt\xml file from the outbound Idoc in a specific library in the FS using just the ABAP system\IE.
My question is:  when using XI how can I achieve the same result?
Does configuring the inbound comm. channel as a <b>file without conversion</b> and setting the needed file encoding is enough to create the target file?
Is this possible the other way around?
A file without convertion,without mapping ,using interafce mapping with the same IDoc interface as a source and target?
that is -  without message mapping at all?just interface mapping from the IDoc structure to itself?
thanks.

Hi,
Have you had a look at this blog by Stefan, It describes how to use Files to colllect multiple IDOCs and then get them processed in XI,
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
if you want the target to be a XML file just as the IDOC itself, then no mapping and content conversion.
If the output file is in different format, then you might need mapping and content conversion.
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal

Similar Messages

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • IDOC to EDI Scenario using Seeburger....

    Hi Experts,
    On the Scenario IDOC to EDI when will I use As2 adapters or SFTP adapters of seeburger or just a simple FIle adapter?
    and any idea what are the modules I need to import on my comm channel using file adapter?
    Thanks.

    Hello
    Check this blog: /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    Regards
    Mark

  • IDOC- XI- Mail Scenario

    Hi All,
    I am configuring IDOC-XI-Mail scenario using following web-log:
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    I follow following steps:-
    1) In IR-create Name Space -"http://sap.com/xi/XI/Mail/30 "
    2) In IR-Upload XSD file from SAP note: 748024
    3) In IR-Do message mapping with Imported IDOC
    4) In ID-Add Business System's for SAP & XI
    5) In ID-Create mail receiver communication channel
       (URL/User ID/Password/User Mail Package only)
    When I test trigger IDOC from SAP, I get Error in SXMB_MONI
    (Error category:RCVR_DETERMINATION, Error ID:NO_RECEIVER_CASE_ASYNC)
    Is i need to do more configuration's in IR & ID that is not explained in Web-log?
    Is there is any other configuration need to be done on server to send mails?
    Please guide me in completing Idoc->Mail scenario.
    Thanks & Regards

    Hi Rohan,
    "4) In ID-Add Business System's for SAP & XI"
    You donot have to create a business system for XI.
    First of all you can either create a business system which needs to be created in SLD such that it is pointing to your target system (which here is the mail server) or you can use a business service. Choose any one of them.
    "When I test trigger IDOC from SAP, I get Error in SXMB_MONI
    (Error category:RCVR_DETERMINATION, Error ID:NO_RECEIVER_CASE_ASYNC)"
    Check if you have defined your message interfaces correctly. Since you are not expecting any response from the mail adapter, the inbound and outbound interfaces should be asynchronous.
    Also check if you have defined your receiver determination correctly. Here you should give the source and target systems and interfaces correctly. The problem sems to lie here. Check these configurations once again.
    Regards,
    Sushumna

  • File -- IDOC scenario using XI 3.0

    Hi
       I tried out a simple flat file to IDOC scenario using XI as the middleware and tried to post documents of type CREMAS03 on the backend R/3 system.
    Now, I see that there is an IDOC number generated in the XI layer by the IDOC adapter. This IDOC number is seen under <SAP:DOCNUM>XXXXXXXXXX</SAP:DOCNUM>in the
    Response-->IDOCOUTBOUND section of the pipeline in SXMB_MONI
    According to SAP documentation :
    <b>To enable you to select IDocs in the target system later on, the system transfers the message GUID and the IDoc number in the ARCKEY field of the IDoc control record.</b>
    Now, I do find the XI msgid given as arckey in the control record of the Inbound in the target R/3 backend system. But I cannot find the XI IDOC number being cross referenced in the control record of the IDOC in the R/3 backend.
    1.Is there a way to cross reference the IDOC number in XI with the IDOC number in the R/3 backend ( we have two different IDOC numbers, right ) i.e a IDOC number to IDOC number cross referencing in this File-->IDOC inbound into the R/3 system scenario involving XI
    2. In the XI box, do we get as a part of async.reponse from the R3 system, the IDOC number that is created within the R3 system ? This would serve directly as a cross reference. Or do we have to indirectly query EDIDC table in the R/3 backend with the arckey value = msgid in XI - to retrieve the IDOC number created in the R3 backend ?
    Thank you in advance for your time.

    Hi,
    Pls look into following link about Acknowledgement.
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Pls note that , you can't get/receive the Acknowledgement for Sender File Adapter. Because File System acts as an Async system. But you can get the Idoc response and you can write it into another file. For this you need to use BPM.
    Hope this helps..
    Regards,
    Moorthy

  • File to IDOC scenario using FTP server

    Dear Experts,
    I'm getting IDOCs in the form of .TXT file from sender side and at reciever end we have IDOC. We are using FTP connection at sender.
    I want to know:
    1. Is FCC the only solution to integrate with PI or do we have any other option also?
    2. What all the things I need to care in designing and configuration?
    Thanks a lot.

    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.

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • Issue in IDOC-File Scenario

    Hallo Everybody,
    In one of the requirements,for the interface design which involves IDOC-FILE scenario we have a req as:-
    Multiple IDOCs would be sent from SAP R/3 to SAP XI. Each IDOC can have 0-4 segments and for each segment a file needs to created.
    The files needs to be FTPed to a location, only if all the IDOCs have been processed successfully.
    Requirement:
    1) Even if a single IDOC fails,the files should not be FTPed. --> How do we handle this in XI.
    2) We need to send a notification from XI, in case any IDOC processing fails.
    3) How do we check in XI, if all the IDOCs have been processed successfully.
    Please suggest me with some good stategies to resolve this issue.
    Appreciations and Rewards in line.
    Regards,
    Younus

    Hi
    Are you planning to use BPM as it suits your requirement.
    To collect the idocs in small bunches refer
    Collecting IDocs without using BPM
    1) Even if a single IDOC fails,the files should not be FTPed. --> How do we handle this in XI.
    BPM will allow you to wait for the time all IDOC are processed
    2) We need to send a notification from XI, in case any IDOC processing fails.
    BPM exception handling will allow this functionality even to the exact field you want to send  notification
    3) How do we check in XI, if all the IDOCs have been processed successfully.
    Set Acknowledgment for IDOC's
    refer
    Posting multiple IDocs with Acknowledgement
    Thanks
    Gaurav

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • Acknowledgement - IDoc-File & File-IDoc scenario

    Hi All,
       Acknowledgement is possible in case of asynchronous IDoc-XI-File scenario? If yes, how to setup?
       Same as above question for File-XI-IDoc scenario.
       In case of synchronous scenario, how to setup email with acknowledgement?
    Thanks a lot in advance.
    Sree

    Hi Rama,
    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:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    File -> IDOC ->
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    (It concentrates on XSLT mapping but also gives an idea about the configuration part. Do go thru that, it might help you.)
    I hope I have answered your query.
    Regards,
    Abhy
    PS: AWARD POINTS FOR HELPFUL ANSWERS.

  • 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

  • IDoc - File Scenario

    Dear SDN,
    We have to develop something like this:
    An IDoc is generated from an ABAP Business System. Using content based routing conditions the IDoc must be sent to different FTP servers. The problem is that the IDoc must be written in its "native plain" format, not in XML format.
    Any ideas?

    hi Gustavo,
    2 ways
    1. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    2. send the idoc from R3 in native IDOC (file port) and just tranport it via XI
    both ways will produce native IDOC:)
    for file ports you can check out my book
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Segment filtering in IDoc -File scenario

    Hello
    I am currently working on IDoc to File scenario where I am distributing changes in materials to legacy systems. For the same I am using MATMAS IDoc and planning to use change pointers to track the changes of the same.
    The scenario is working fine but from fine-tuning perspective can i filter some of the segments from IDoc because I am hardly using few data from MATMAS IDoc.I checked the distribution model in R3 but i guess it allows us to define data filters.
    Thanks in advance.
    Regards
    Rajeev

    hi,
    thanks for the reply but i found one transaction in SAP BD56 where I guess we can specify segments to be filtered.
    Regards
    Rajeev

  • Problem in SOAP to IDOC & File scenario

    Hi,
    My scenario is SOAP ->IDOC and FILE,when I run the scenario IDOc was processed and File was not created at the target system.I maintained LS name for sender SOAP and IDOC business service.Nothing was maintained in adapter spec identifiers for Recer business service(i.e For target File CC).This was working fine in Dev.After Importing another scenario which uses same business service,this didnt stp working?
    what could be the reason?
    Thanks,
    RP
    Edited by: RP@261 on Oct 21, 2008 10:59 PM

    > my imported scenario and existing scenario in QA using same sender business service.After importing the other scenario,existing scenario is failed to create files at target system even though it shows successful in MONI.
    >
    Check the target dir permission once again from your BASIS team. Reconfirm the the target dir name in receiver CC also.
    > Should we maintain Logical system in adapter specific identifiers for Recr File CC also??? I create a file in BI application server from recr File CC.
    >
    No, for creating a file you don't require this. This is required only in case of IDOC.
    > my scenario is
    > (SOAP sender) -->  TO IDOC & FILE  ..i maintained LS name in sender BS where SOAP CC is created and also at Recr BS where IDoc CC is created. The other Recr BS for File where I didn't.IS it required ?
    >
    For File recever BS, No need.

  • Configuring a multiple IDOC-File using BPM

    HI,
    My scenario involves 2different idocs which are to be mapped to a file structure,the steps that i have followed in IR is ,
    1.Create target MesageType
    message Interfaces.
    2.Create 2 Abs interfaces based on IDOC
    3.Create 1 Abs for o/p of BPM.
    4.Create 1 Inb for target.
    Message mapping.
    5.Two dummy mappings for outbound idocs to abstract idocs.
    6.One multimapping(two idocs-->File)
    7.One Dummy mapping for Abstract Intf(output of BPM) to target Filestructure(inbound).
    Interface Mapping.
    8.Two Mesage intf for changing Outbound idocs to Abstract using the dummy mapping programs)
    9.One Message Intf using 2 abs Idocs to One Abs File(using the multimapping pgm)
    10.one msg Intf for BPM Out --> Inb File (using the dummy mapping pgm)
    Integration Process.
    I have used a fork step under which there are 2 recieve steps to recieve the IDOCS and then a Transformation step that would multi-map the idocs to the file,then a send step.
    Please let me know if the approach is right.
    Also Could anybody please let me know what steps do i need to take in the Configuration part and should i use the wizard or should i do it manually.
    the problem using the wizard is it doesnt let me choose 2 Message interfaces for the sender ie; IDOCS,
    Please help me on this.Thank you waiting for a reply....)

    John,
    <i>5.Two dummy mappings for outbound idocs to abstract idocs.
    7.One Dummy mapping for Abstract Intf(output of BPM) to target Filestructure(inbound).</i>
    These dummy mappings are needed. As both the Abstract Message Interfaces and the Idoc / Inbound interface will use the same message type, no dummy mapping needed. In the interface determination for these, no interface mapping needs to be mnetioned.
    ID.
    Receiver Determaintions
    1. Sender Service -- IDOC1  and Reciver Service is -- BPM. Sender Interface will be IDOC1 and Receiver Interafce will be The IDOC abs interface . No Interface mapping.
    2. Sender Service --- IDOC2 and Receiver Service is -- BPM. Sender Interface will be IDOC2 and Receiver Interafce will be The IDOC abs interface . No Interface mapping.
    3. Sender Service is BPM , and receiver servcice is File. Sender Interface is File Abs interface and reciver interface is the Inbound File interface.
    1 Reciver Agreement for the File adapter.
    Regards,
    Bhavesh

Maybe you are looking for

  • 3711 - no signal

    Yes, I know it is a lost cause, so I am asking this out of curiosity. I dropped my Nokia 3711 off a pier into the ocean. I immediately wrote it off. Two days later a snorkeler was in the area and found it. I removed the battery and SIM card and put t

  • Retain video dimensions?

    Hello all, I am trying to make a DVD compilation of some very short, and very small movies. They are in the public domain (early films from the turn of the century) and have been "ripped" from celluloid by the Library of Congress at a very low defini

  • HT1849 I Purchased an album delete by mistake and right now i want to redeem it. How do i do that.

    Purchased an album delete by mistake and right now i want to redeem it. How do i do that

  • JDeveloper Build Error with JDK1.3beta

    Dear JDev Team, I have a project that uses SQLJ and has been compiling fine with both JDK1.2.2 and 1.3beta. This morning it stopped working. There have been no great code changes. Once it fails using 1.3beta it will also fail using 1.2.2. There error

  • Trouble opening CD-ROM: 'application quits unexpectedly'

    Hi there, I've been trying to open and use a language learning CD-ROM (Talk Now! Hungarian) on my MacBook Air using the external CD/DVD superdrive. I'm able to open it for about 20 seconds, but every time it closes and I get the error message, 'Talk