Several Idocs as single msg sent to XI

Hello,
I have a scenario where I want to receive a colection of orders05 as a single msg. in XI. That means I want to have a msg. like:
<orders05>
<idoc>...order 1 </idoc>
<idoc>...order 2 </idoc>
<idoc>...order 3 </idoc>
</orders05>
Normaly this can be done by using idoc aggregation in R3. But when we tried this we receive a couple of single Idoc. I know it can be done with a BPM collect but is this also possible without BPM.
Regards Bernd

HI Jami,
I think, Collection of Idocs is not possible without BPM. But there is a IDOC Package concept.
Just look into this-/people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
Even Idoc split is also not possible without BPM., Current SP supports Multimapping in XI, only for J2EE based Adapter Engines.
Regards,
Moorthy

Similar Messages

  • Message with Multiple IDoc's to be sent to Two FTP locations

    HI All,
    I need your valuable suggestions for the best approach....
    Scenario is IDOC > PI>FILE
    All the Orders's(Orders05) created in SAP for every hour, IDOC's are collected and then a scheduled program sends all these idoc's every hour ... In PI i am using IDOC packaging so all the idocs comes as  one message like the below...
    <?xml version="1.0" encoding="UTF-8"?>
    <ORDERS05>
       +<IDOC>
       +<IDOC>
       +<IDOC>
    </ORDERS05>
    Now in PI based on the plant condition in each idoc, the idoc data should be sent in one file for two FTP servers...
    out of 50 idocs 30 belongs to FTP1 and 20 belongs to FTP2...
    This is going as required... in SXM_MONITOR .. Two messages created (one for FTP1 and one For FTP2)
    But if 50 belongs to FTP1 , then also in SXI_MONITOR two messages being created...
    this is bcz of two mappings and 2 IM's..
    I cannot use the condition in Receiver/Interace determination, as the source has Multipe IDOC's...
    So please suggest if there is any other way where if i can restict the second message in being processed if no data comes from SAP for that FTP...
    Please suggest ....
    Regards,
    sridhar
    Edited by: sridhar reddy kondam on Aug 6, 2009 11:30 PM

    Hello Sridhar,
                 You can achive this using extended receiver determination. In UDF using count direct first 30 to 1st BusinessSystem(ftp) and remaining 20 to 2nd Business System(FTP2).
    You can take help from the following blog:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    Regards,
    Prasanna

  • Several idocs got generated for the PO transmission

    Hi,
    We have got a problem regarding the transmission of PO via email or idocs. While PO generates only one output type with NEU. there are several idocs and email (depending on the condition record for the vendor and purchasing organization) getting generated and are dispatched to the vendor.  There should be only one idoc or email generated for the PO dispatching to vendor.
    Did anyone of us get this problem in the past? Please share your experience with me and if you have any solution for the same.
    Best regards,
    Subhash

    Hi BK,
    Thanks for your answer but there is just one condition record for this vendor. The problem is that, there is only one successfully processed message type 'NEU" in the purchase order but multiple idocs or emails are generated within a timespan of few seconds/minutes. These multiple records can be seen is SOST list (in case of email) and WE02 (in case of idocs).
    Thanks n BR,
    Subhash

  • Mass idoc mail has been sent to many users

    Dears,
      recently many user got lots of mail with title 'EDI: Incorrect status for inbound IDoc' in their inbox .
      i have checked these standard inbound idocs , and the process code has been linked to one task, such as TS00008068.
    Via we19 i have created one error idoc and i have got one mail in inbox with title
    'EDI: Partner profile not available '.
      But such mail with title 'EDI: Incorrect status for inbound IDoc' has been to sent many users and i can not find what error triggered such workitem....
      should i set one agent in the agent assignment of standard task ?

    i just found that all these message with title 'EDI: Incorrect status for inbound IDoc' has been triggered with task TS30000020.
      any advice ?

  • Single email sent but activity window reports multiple messages

    When I send a single email sent the activity window reports sending of multiple messages e.g. 9.  Does this indicate a virus or malware is working in the background and if so what should I do about it?

    This is not malware, it's simply a long-standing bug in Mail. The count doesn't reset properly until you quit Mail, so when sending the 9th e-mail since starting Mail, the number of messages being sent will be shown as 9.

  • How to comment several lines in single go in LSMW?

    Hi,
    How to comment several lines in single go in LSMW? in SE38 we can select the code and CTRL+< . But in LSMW this will not work out. So how to comment several lines in single go?
    Regards
    Sreekanth

    Sreekanth,
    I've worked with LSMW for awhile but never found an easier way.  The editor is old so you won't even see multiple comment command.  I figure that you can select a block and cut it and put on se38 and do the comment from there then paste it back into lsmw.
    Good luck.
    Tai

  • IDOC IDX_NOALE do not sent aleaud for all Busisness sytems/components

    Hello,
    Does anyone knows if it is standard possible to switch off the ALEAUD acknowledgment for a Business system/component
    We have several idocs which are going to 2 business systems, we only want 1 ALEAUD back.
    is this possible.
    regards Meinhart

    hi.
    NOALE :
    ReliableMessaging SystemAckRequested="false" SystemErrorAckRequested="true" ApplicationAckRequested="true" ApplicationErrorAckRequested="true" SOAP:mustUnderstand="1"
    Standerd SAP ALEAUD triggering, logical systems in the 2 business systems.
    regards

  • Mounting multiple directories with same name on different severs to a single mount point on another server

    We have a requirement where in we have multiple solaris servers and each solaris server has a directory with the same name.
    The files in these directories will be different.
    These same name directories on multiple severs has to be mounted to a single directory on another sever.
    We are planning to use NFS, but it seems we can not mount multiple directories with same name on different severs to a single mount point using NFS, and we need to create multiple mount points.
    Is there any way we can achieve this so that all the directories can be mounted to a single mount point?

    You can try to mount all these mount points via NFS in one additional server and then export this new tree again via NFS to all your servers.
    No sure if this works. If this works, then you will have in this case just an additional level in the tree.

  • Xtrmly urgent : In Case of PO change, the whole IDoc needs to be sent

    Hi All,
       I'm sending PO change IDoc using Message Control ( Process code ME11, function-module IDOC_OUTPUT_ORDCHG, message type ORDCHG).
      In case of mutiple line items PO, if i'm changing a few line items ( but not all ), PO Change IDoc is sent with only those items which are changed.
      But I need to send IDoc with the whole PO with all line items, even if there is change in a single line item.
    Pls suggest me. It's xtrmly urgent. Thnkx in advance,
    Rudresh
    Mumbai

    No..I'm not using change pointers concept. I did modification in partner profile and now I'm not using ME11 for sending PO change IDoc. Instead , I'm using ME10 only with 'Change Des' checkbox ticked.
      This has solved my problem to a great extent. But if I delete, a line item in case of Multiple line item PO, IDoc is not being created. In case of ME11, it was being created in case of deletion of a line item also.
    Please suggest me...
    Thanks,
    Rudresh
    Mumbai

  • How to extract data from custom made Idoc that is not sent

    Hi experts,
    Could you please advise if there is a way how to extract data from custom made idoc (it collects a lot of data from different SAP tables)? Please note that this idoc is not sent as target system is not fully maintained.
    As by now, we would like to verify - what data is extracted now.
    Any help, would be appreciated!

    Hi,
    The fields that are given for each segment have their length given in EDSAPPL table. How you have to map is explained in below example.
    Suppose for segment1, EDSAPPL has 3 fields so below are entries
    SEGMENT          FIELDNAME           LENGTH
    SEGMENT1         FIELD1                   4
    SEGMENT1         FIELD2                   2
    SEGMENT1         FIELD3                   2
    Data in EDID4 would be as follows
    IDOC           SEGMENT                          APPLICATION DATA
    12345         SEGMENT1                        XYZ R Y
    When you are extracting data from these tables into your internal table, mapping has to be as follows:
    FIELD1 = APPLICATIONDATA+0(4)        to read first 4 characters of this field, because the first 4 characters in this field would belong to FIELD1
    Similarly,
    FIELD2 = APPLICATIONDATA+4(2).
    FIELD3 = APPLICATIONDATA+6(2).  
    FIELD1 would have XYZ, FIELD2 = R, FIELD3 = Y
    This would remain true in all cases. So all you need to do is identify which fields you want to extract, and simply code as above to extract the data from this table.
    Hope this was helpful in explaining how to derive the data.

  • Multiple IDocs-XI-Single File Scenario

    Hi All,
       We need to send multiple IDocs from R/3 to XI and then to a single file using File Adapter. Please help us with your suggestions on how to proceed using a simple solution.
    Regards,
    Peter

    I made a program that solved the issue of collecting the IDOC in to one file.
    1.  The partent profile should be setup for collect idocs
    2.  Make a report that will select and dispatch the idocs
    seudo code:
    select tables with select criteria:
    edidc (idoc control)
    edid4 (idoc data)
    one yo have made you selection into internal tables
    it_final_edidc
    it_final_edid4
    *you can apply rules and data tranformations, eg. PEXR2002 batch per payment type.
    CALL FUNCTION 'EDI_OUTPUT_NEW'
               EXPORTING
                    onl_option  = 'B'
                ERROR_FLAG  = ' '
                NAST_RECORD =
               TABLES
                    i_edidc     = it_final_edidc
                    i_edidd     = it_final_edid4
               EXCEPTIONS
                    OTHERS      = 1.
      " EDI mesages dispatched
      IF sy-subrc EQ 0.
        COMMIT WORK.
        CALL FUNCTION 'DEQUEUE_ALL'
           EXPORTING
                _SYNCHRON = ' '
             EXCEPTIONS
                  OTHERS    = 1.
    That work like a charm when writting the IDOC to a single file.
    But when I send the IDOCS to XI like XML-IDOC I still receive one transaction per IDOC.
    if anyone know how to solve that, let me know.
    juan

  • Help on - Multiple IDOC to single flatfile (without BPM)

    I got a business need, that the ORDERS05 IDOC's should be collected on hourly basis and single flatfile should be generated for each and every hour. This scenario can be easily handled through BPM but I need the problem to be solved without BPM.
    Please help me to overcome this.

    hi uv,
    in addition u can have a look ..
    Introduction to IDOC-XI-File scenario
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    ALE configuration for pushing IDOC from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC Status
    http://www.erpgenie.com/sap/sapedi/idoc_statuses.htm
    Configuration steps required for posting IDocs
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    any case u need with BPM...
    IDOC (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    regards
    biplab

  • Idoc - File, file name sent in IDOC

    Hi All,
    Scenario is : IDOC to File
    Name of the file to be created at receiver is sent in an IDOC that is, a field in IDOC contains file name. And the requirement is , this file name should be copied in the message mapping to the corresponding adapter specific message attribute.
    I have a field ' filename ' in IDOC but <b>target structure does not contain any such field/element to map with.</b>
    So without having a field ' filename' in target structure is there any way to achieve the requirement.
    Your suggestions, clues are welcome.
    Thanks.

    Hi Mughda,
    yes this is possible......just create a UDF in which you use dynamicconfiguration to set filename property......in UDF take input your idoc -> filename field.....in UDF, assign the filename property this input argument.......in mapping, take source filename field.....send it to UDF......take output of UDF to the topmost node of your target struc..........in ID, check the apdapter specific attributes and then check the filename attribute.......then your filename will be generated according to the filename field of your source idoc.
    Thanks,
    Rajeev Gupta

  • Merging 2 Idocs into single Idoc

    Hi,
    I have 2 Idocs created for different message types (INFREC, COND_A).We have requirement to merge the data from these 2 Idocs and create a single Idoc.
    I have identified 2 options.
    1. Create a new Idoc type and message type.The new Idoc type will have segments with fields from both INFREC and COND_A. Develop a custom program to read required data from database and populate the new Idoc type. Use standard API to create and distribute new Idoc.
    2. Create a new Idoc type and message type.The new Idoc type will have segments with fields from both INFREC and COND_A. Create Idocs for INFREC and COND_A. Develop a custom program to read required data from these Idocs and populate the new Idoc type. Use standard API to create and distribute new Idoc. Archive the Idocs created for INFREC and COND_A.
    Which would be feasible?
    Any other options?
    Thanks
    Kamal

    1. Create a custom message and IDoc.
    2. Activate the new message type for change pointer processing.
    3. Copy function MASTERIDOC_CREATE_SMD_INFREC and change to read change pointer table for your custom message type.
    4. Go to BD60 and copy the entry for INFREC, replacing the message type and function module with your custom objects.
    5. Go to BD52 for INFREC and COND_A respectively.  Make note of entries for both message types and add same entries to your custom message.
    6. Configure partner profile, distribution model per usual.

  • Batch IDOCs to single message in XI

    Hi Experts,
    I have situation wherein I am getting a batch IDOCs of same type and needs to fed in XI as a single message. I would like to know
    a) How a batch IDOCs can be made to single message?
    b) How XI can check the number of IDOCs in a batch?
    c) What should be done if target system requires this batch IDOCs in split manner.
    Please give me some tips. Your help will be well appreciated.
    Thanks & Regards,
    Praveen.

    Hi Parveen,
    I will give you one of the best Idea to implemet it.
    Create an  XML port  in R/3.  Write all your Idocs as a XML file, on server or any folder on server..
    Mention packet size in Partner Profle to decide that how many Idocs you want to write in one XML file.
    Use FTP channel to pick the XML Idoc in file from that folder. The scenario will look like
    R/3>XMLFILE->FTP channel>Mapping-->Output.
    It will come as a single message in XI.
    Thanks
    Kulwinder

Maybe you are looking for

  • I have i phone 4 from verizon and the power button is not working

    I have i phone 4 from verizon and the power button isn't working anymore, I bought my i phone  8 months ago. What options do I have and what should I do ?

  • Sent items option missing in settings

    Hi, I'm trying to help out a friend who has been having problems with their BT Yahoo email account that was compromise a few months back. They have gone through the suggested steps (http://bt.custhelp.com/app/answers/detail/a_id/394​11/) to ensure th

  • One step Playlist creation on import

    I am a classical music person. I recently bought the 155 CD collection of Bach's collected works. I am in the process of loading the 155 CD's into iTunes. Is there a way to create an "instant playlist" of each CD. The CD's are organised into differen

  • Help: Menu 'tips' ? How to remove?

    Hi, somehow I changed some setting, and on menus now I see the name of the button in small white letters, superimposed over the text of the menu. It's really distracting. Oddly, I must have changed some setting back, because on a new menu I just crea

  • IPod Touch 3G won't do anything?

    So my iPod Touch 3G got white screen of death a couple of weeks ago. It was a hardware problem and well past warranty so I opened it up and fixed the LCD myself (it was just a loose wire, a simple shim did the trick), and it worked, but in the proces