Scenario on IDOC

Hi,
New to Idoc scenaro.
Request for help on few questions in my mind regarding the Idoc scenarios.
If we are taking an IDoc ( Say from MATMAS) as sender .. and  a file structure at Receiver.
1. As we have number of segments in Idoc, how to identify which segments to use and which are not.
2. How to identify the fields from IDoc/Segments that are Manadatory.
3. What fields to be consider from Idoc.
Regards,
Venkat Ramana K

Hi Venkat,
Following is a good scenario to start with....
Introduction to IDoc-XI-File scenario and complete walk through for starters.
BR,
Sushil.

Similar Messages

  • End - to - End scenario of IDoC

    Hi,
    I am going to make a end - to - end scenario of IDoC.
    for Purchase Orders(ORDERS).
    ECC(RD1) - XI(XD1) - DB.
    what are the initial set up required on Sender System ( MY CASE - ECC)
    and on Receiver System( XI).
    Like I know this , we need to create following things :-
    ON ECC SIDE :-
    1. RFC Destination to XI(SM59)
    2. PORT FOR ABOVE RFC DESTINATION(WE21)
    3. LOGICAL SYSTEM(BD54).
    NQuestion 1: what all logical systems required on ECC Side.
    I mean do i have to maintain logical system for Both sender(RD1) and Receiver(XD1) ?
    4. PARTNER PROFILE(WE20).
    Question 2: If both logical system is maintained,
    then in Partner Profile , where will i add IDOCS - Outbound in SENDER LOGICAL SYSTEM(RD1) or ON RECEIVER LOGICAL SYSTEM(XD1).
    ON XI SIDE :-
    1. RFC Destination to XI(SM59)
    2. PORT FOR ABOVE RFC DESTINATION(IDX1)
    3. META DATA IMPORT (IDX5).
    Question 3: IS there any logical system required on XI Side also?
    is there any thing else left. please specify?
    Regards
    Dragon.

    thank You Srinivas,
    That second link( http://www.saptechnical .com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm ) was very usefull.
    regards
    Dragon.
    Edited by: KOMODO DRAGON on Jun 12, 2010 10:38 AM

  • 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.

  • Idoc to idoc scenario with idoc tunneling

    IN idoc to idoc scenario with idoc tunneling  the XML_CONVERSION parameter to value 2  is set whish means An IDoc is converted to IDoc-XML if requested by the service
    I want to know where we specify this and how we specify?

    1. /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
    2. /people/alessandro.guarneri/blog/2006/03/05/managing-bulky-flat-messages-with-sap-xi-tunneling-once-again--updated
    ref these weblogs.
    It is given under;
    <i>TCODE - SXMB_ADM
    - Integration Engine configuration
    - set the XML_CONVERSION parameter to value 2</i>

  • Trouble shooting File to Idoc scenario: wrong Idoc structure in target

    Hi All,
                 I am working in an file to idoc scenario. Now the scenario is running but the idoc I am sending from SAP XI is not matching with one received in SAP R/3 system. This is not a new scenario. The  scenario was already existing. I have done structural changes in Idoc structure and re-imported it in SAP XI. When the iodoc reaches SAP R/3 system I check its structure and data content. 4 of its fields are missing all 4 were newly added fields. Data from some fields are getting merged into one field within Idoc. data from one field is moving onto other fields in target. I have refreshed the metadata using IDX2 transcation within SAP XI but still getting same result.

    Hi All,
    I am able to see the changed idoc structure in IR. I have also tried cache refresh. I am trying to explain my problem once again with example.
    Source Idoc in XI
          fieldname                            data
           f1                                       d1
           f2                                       d2
           f3                                       d33
           f4                                       d4
           f5                                       d5
    Idoc structure received in SAP R/3 system. I am seeing through we02 transcation, inbound idoc
          fieldname                            data
           f1                                       d1
           f2                                       d2
           f4                                       d33d4
    I have tried cache refresh, IDx2 metadata refresh, but no improvement of the situation.

  • Idoc to file scenario - collect idocs

    Hi experts,
    I need help regarding collecting the idocs as per the reciver id available in idoc.
    After collecting these idocs at XI, the data of all idocs should be transferred in one text file.
    How I can do this ?
    Give me complete solution with example scenario ?
    Please do not give any example in standards scenarios as given in SAP BASIS Patterns.
    Regards,
    Study SAP

    Hi,
    Plz do refer the following links:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b
    Also this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Regards,
    Vinod.
    Edited by: Vinod Reddy on Jun 26, 2008 9:23 AM

  • Doubt on scenario involving idocs

    Hi,
         Thankz for ur replies for my questions,i had some doubt in file to idoc scenario
    plz give replies as briefly as possible best answers will be rewarded.
    1.Once XI receives the File, the BAD records needs to put aside in a different file and only the good records needs to be sent to the Adapter.
    Whether Module Processing is the Best Solution?
    What would be Technical approach for the above scenario?
                                                                                    Regards,
                                                                                    Smitha.

    If there is an error in the mapping if a sender sends wrong format, the complete processing will be stopped.
    <i>Once XI receives the File, the BAD records needs to put aside in a different file and only the good records needs to be sent to the Adapter.</i>
    U can go for enhanced interface and receiver determination. BCoz based on input data, u have to choose Idoc receiver or File Receiver
    <i>Whether Module Processing is the Best Solution?</i>
    Not the <b>Best</b> option. but could be used
    Regards,
    Prateek

  • Scenario-- One Idoc-- Two files has to generate.

    Hi All,
    I got the scenario where i need to generate two files ( 1 with header data and 1 with item data) for single idoc FIDCC1.
    Is it possible to acheive this?
    Please suggest me how to appraoch this scenario?
    Thanks.
    Regards
    Seema.

    Thanks Rajesh,Ramesh and Preteek.
    Im following the below steps.
    File type : 2 DATA TYPES (Header, Item)
    Msg Type: 2 Message Type (Header Msg, Item Msg)
    Msg Interface: 2 Messgae interfaces (Category Inbound, Mode assynchronous).
    Message Mapping:
    You can do a multi mapping (1:N).
    Else
    Perform 2 message mapping
    a) with IDOC TO Header Msg
    b) Between IDOC to Item Msg.
    Perform 2 Interface Mapping
    IDOC-> HEADER INTERFACE
    'IDOC -> ITEM INTERFACE.
    ID:
    Import Both the Business Systems
    1) Define 2 Communication channel for File Business Systems. (one for Header, other one for Item).
    2) Define 1 Receiver Determination
    3) Define 2 Interface Determination
    4) Define 2 receiver Agreements as we have 2 communication channel.
    Hope it will works..
    <b>
    Rewarded the points.</b>
    If i get get any doubts while developing .. i will disturb u guys again.
    Thank You.
    -Seema.

  • SOAP- PI- IDoc scenario - getting IDoc acknowledgment

    Hi guys,
    is there any way how to propagate acknowledgment of an received IDoc in ECC back to the SOAP caller?
    If I'm not wrong, sending IDoc to ECC is an asynchronous step. Is there any way how to let the caller know that the IDoc was received successfully?
    Thanks, Peter

    Hi Peter,
    If your scenario is async, then you can receive by standard the acknowledgment. You can as well configure the acknowledgment in PI as seperate message (e.g. for mapping) with report idx_alerequest.
    If your scenario is synchr you need to setup a Business Process with a sync - async bridge: The BP receives the SOAP msg, sends an IDoc requesting an ackn (or receives it as separate msg) and finally send the response back to the SOAP sender.
    Regards,
    Udo

  • In DOM (or EOM) scenario, no IDOC is generated for XIF_IDOC site type

    Hi friends,
    I have a problem with an XIF_IDOC site in the Distributed Order Management (DOM).
    We are using DOM scenario to separate and distribute CRM sales order
    items to different sites. Under the tcode SMOEAC, I defined a new site
    called "EKSIRLANDA" whose type is external interface for IDOC
    (XIF_IDOC). I made a subscription of "DOM items" (DOM Order Split
    (MESG) ) for the EKSIRLANDA site. After that, (under the tcode WE20) i
    defined EKSIRLANDA logical system partner profile with the outbound
    message type "CRMXIF_ORDER_SAVE_M". I saved a new order under the tcode
    CRMD_BUS2000115, but no IDOC generated. After checking all the related
    customizing and the CRM_DOM_ITEM_DISPATCH method implementation of
    CRM_DATAEXCHG_BADI everything seemed all right. By the way, we are
    using CRM_DATAEXCHG_BADI badi to separate the related items to the
    related sites. Anyway, i added another subscription called "All
    Business Transactions (MESG)" to the EKSIRLANDA site and saw that 2
    IDOCs are generated. I investigated those 2 IDOCs. One of them is what
    i want. In other words, it contains only the related order items that
    are separated from the others in the CRM_DATAEXCHG_BADI
    (CRM_DOM_ITEM_DISPATCH method). The other IDOC contains all the order
    items. I do not want this second IDOC. If i remove "All Business
    Transactions (MESG)" subscription and leave the "(DOM Order Split
    (MESG)" subscription alone, no IDOC is generated. This is the problem.
    Why does not "DOM Items" subscription alone generate any IDOCs? IDOC
    settings are not wrong because when i add "All Business Transactions
    (MESG)" subscription to the EKSIRLANDA (XIF_IDOC) site, the IDOC is
    generated, but this time an extra IDOC containing all the items is also
    generated. What is the problem?
    Thanks in advance for your help.
    Mehmet Karasu

    nobody has no idea for this question ???

  • My scenario is IDOC to FILE

    I have 3 clients(700,800 & 900) in R/3.
    Idoc(orders05) is comming from any one of the client.
    I am sending this idoc to non-sap system as it is.
    Please tell me the scenario, How to configure my Busyness Systems and flow?

    Hi Vijaya Laxmi,
    For this you need to create 3 Business systems for each client in SLD.Import Idoc structure from R3 sytem,Create target data type,Message type,Message Interface.Perform your MM & IM in Integration repository.After doing this successfully switch to ID.
    In ID:
    Create a configuration scenario,
    perform 3 Receiver Determinations,3 Interface Determinations,3 receiver aggremnets.No need to perform Sender agreements when the Idoc adapter direction is choosen as a Sender.However you have to do ALE settings from R3 system to XI and XI to R3 system.
    Make sure you should perform these ALE settings for 700,800,900 clients to XI(SM59,WE20,WE21) and XI to 700,800,900 clients(SM59,IDX1,IDX2).Here IDX2 is not mandatory.Check this for idoc metadata is having correctly or not
    Hope this will give the clarity for this requirement.Let me know if you need any queries.
    Cheers
    Tiger Woods

  • Sample scenario for IDOC-soap-IDOC

    Hello,
    Please provide me a sample scenario for
    1.IDOC-Soap-IDOC using webservice (Is it possible without BPM?)
    thanks and regards,
    Nikhil.

    Hi,
    For SOAP adapter configuration you need to first generate the WSDL from the ID and import that WSDl into the external definition.
    Use that WSDL as a strucutre.
    How to use webservices in XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    SOAP configuration will be:
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    Yes please look at following weblogs
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    Thnx
    Chirag

  • How to get structure of IDOC into xi in the scenario is IDOC - XI - File

    hi XI Guys,
          When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI, As we will define Data types in File -> XI -> File. Please send Step by Step process as i am new to Netweaver(XI)
    ThankYou,
    B.Pushparaju.

    When i want to Integrate SAP sys(IDOC) with File how to get structure of IDOC into XI
    >>>>
    import the IDoc under the imported object in your SCV. Note that import should be allowed for the SCV.
    As we will define Data types in File -> XI -> File.
    >>>>
    Ref. these blogs to help you out ..
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

  • B2B scenario with IDocs, sender system not in SLD

    Hello all
    When sending a purchase order IDoc (ORDERS05) out of SAP ECC 6.0 I get the following error in SM58:
    No service for system SAPPEE, client 200 in Integr ation Directory
    Message no. SR053
    Until now I did not register the SAP ECC 6.0 system in the SLD. Is this absolutely mandatory?
    The RFC-Destinations work like a charm, the user (type C) and authorizations (for now SAP_ALL) should be ok (same settings in XI and SAP ECC system).
    In the integration directory I defined a partner "IDOC_SENDER" with the following identifiers:
    Agency = http://sap.com/xi/XI
    Scheme = XIParty
    Name = IDOC_SENDER
    Agency = PEE_200 (SID with client from customers system)
    Scheme = ALE#LI#LF
    Name = 0000601140 (this is the vendor id from customers point of view)
    Agency = AEE_200 (SID with client from vendors system)
    Scheme = ALE#KU
    Name = 0000001011 (this is the customer id from vendors point of view)
    Within this partner "IDOC_SENDER" I defined a business service "Order" and assigned ORDERS.ORDERS05 as allowed outbound-interfaces.
    Within this business service "Order" I defined a sender communication channel "Order_send_IDOC" with adapter type IDoc.
    Based on this I created a receiver determination, interface determination, etc.
    I also configured things in IDX1, IDX2. The metadata (structure info of idoc type ORDERS05) was successfully loaded.
    Did I miss something? What to do to eliminate this error:
    No service for system SAPPEE, client 200 in Integr ation Directory
    Message no. SR053
    Any help would be greatly appreciated!
    Thanks in advance
    Renaud

    I think there are some mis-configurations:
    defined a business service "Order" and assigned ORDERS.ORDERS05 as allowed outbound-interfaces.
    You do not define a business service when IDOC/ RFC/ PROXY is sender/ receiver
    It should be Business System and it has to be defined in SLD and then imported in ID. (search on SDN for How to create Business System )
    defined a sender communication channel "Order_send_IDOC" with adapter type IDoc.
    You do not create Sender channel when IDOC/ PROXY is sender.
    I would suggest that you follow steps mentioned in this wiki: http://wiki.sdn.sap.com/wiki/display/XI/SAPR3%28Idocs%29ToXI--Steps+Summarized
    Regards,
    Abhishek.

  • Howto Scenario: Inbound IDOC - 2 rows into JDBC adapter ?

    Hi,
    How can I achieve the following:
    Inbound IDOC into XI, has to be transformed, and 2 rows have to be inserted into a database table.
    I am able to insert 1 row through the XMB2DB_XML mode in JDBC adapter. 
    A solution could be to create an identical XML structure ("access" elements) through mapping, but I am unable to get 2 XML structures from 1 inbound IDOC document.
    Any ideas are most welcome.
    thanks,
    Manish

    Hi Manish,
    On the target side, right-click on the "access" element and select "Duplicate Subtree".  Now, you should have 2 "access" structures to map from the IDoc.
    Regards,
    Bill

Maybe you are looking for