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

Similar Messages

  • Want to add multiple idoc type with single message type.

    Hi Gurus,
    I have a problem. I want to add multiple idoc type with single message type in WE20.
    How we can do this in WE20 or is there any other way to do that?
    Please help me.
    Thanks in advance.
    Srimanta.

    hi,
    basically in partner profile i.e. in we20 , we add details to the receiver / sender port that we have created using we21.
    so what exactly we do in that is that we first use the message type for those idocs that we have created.
    now based on those message type we create a process code. now this is the reason why you cannot apply several message types with the same name in we20... as process code is unque for each message type.
    so thats why you can only assign the same message name to several idocs in we82 and then in we20 define the process code for that message type.
    it will solve your problem.
    hope this will help you!!!
    Thanks & regards,
    punit raval.

  • Collect IDocs to Single Request message without BPM

    Hi Experts,
    My scenario is IDoc to SOAP.
    PI receives multiple IDoc with same message type. ECC pushed bundled IDOcs to PI via HTTP port.
    Ex: <CLFMAS>
               <IDOC1>
               <IDOC2>
               <IDOC3>
    The receiver is SOAP channel.
    I would like to achieve mentioned output structure without BPM.
    Input Structure:
    <CLFMAS>1..1
         <IDOC1> 1..999999
            <Employee>1..1
                   <EmpID1>1..1
                    <Location>0..999
                        <JAPAN>0..1
                    <Location>
                        <FRANCE>
                    <Location>
                        <BRAZIL>
         </IDOC1>
          <IDOC2>
            <Employee>
                   <EmpID2>
                    <Location>
                        <BRAZIL>
                    <Location>
                        <JAPAN>
                    <Location>
                        <USA>
            </IDOC2>
    </CLFMAS>
    Output structure:
    <RequestMessage>1..1
         <GroupListType>1..1
                 <GroupList>0..Unbounded
                      <JAPAN>1..1
                       <EmpID1>0..Unbounded
                       <EmpID2>   
                  <GroupList>
                      <BRAZIL>
                       <EmpID1>
                       <EmpID2>   
         </GroupListType>
    </RequestMessage>
    Pointers will be very helpful.
    Thanks
    Ray..
    Edited by: RayPIUS on Oct 16, 2011 6:21 AM

    HI,
      -> you  go with IDOC packaging concept.  we have three approaches collecting idocs,
           1. by using tRFC port
               we need create rfc destination(SM59) and port of tRFC(WE21) and ccreate partner profile(WE20), in partner profile we have to specify the packet size.
                then coming to PI in ID we need to create sender communication channel for IDOC there we have to provide packet size.
      2.by using XMLFILE PORT
        Please refer this blog it will help you
        Collecting IDocs without using BPM  
    3.by using XML HTTP PORT
      please go through this blog i hope this will help you
    ->  IN PI we have message packaging concept.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c?quicklink=index&overridelayout=true
    regards,
    ganesh.

  • Perform preliminary checks on inbound batch IDocs

    Hi All,
    I have a waiting inbound IDoc in status 64, which I customized (in the message type) to wait for program RBDAPP01 (i.e. this is a batch idoc).
    My ABAP program needs to run the IDoc <b>in test mode</b> so I can predict whether the real IDoc run is likely to become successful.
    Why having all this mess? We have a large group of IDocs that must be processed as a group with no failures in single IDocs.
    I read many forum messages, and I'm surprised that this functionality isn't required more often.
    Any ideas?
    Message was edited by: Ofer Even-Tsur

    Hi Nishanth
    Dont sure about the question actually.Can you elaborate.
    see the [thread|Re: User Exit or BADI   for ME21N or ME51N;
    it may help you
    Regards
    Sachin

  • Send a Single Message to a Client

    What is the best way to send a single message from the server to a client using flex/blazeds? The one caveat is that the message could take several minutes before it is sent. Think of a long calculation that is done on the server that the client waits for. I've thought of the following options:
    1) Just use a RemoteObject and call a method. Would there be any problems with the response taking several minutes to come back? I would also ideally like to have a single thread which sends all the responses to the clients in a batch, rather than the standard route of each client's remote method call spawning a thread which returns the result; anyone know where to get started here?
    2) Create a new destination and consume that destination on each client. The destination and consumer could be closed on each client after the first message is received.
    Which is the best option?
    Thanks,
    Gordon

    It looks like you need a mechanism where the client registers with the server, then server does some long calculation, and then when the result is available, server sends the result back to the client. Messaging (option #2) sounds like a good fit for this.
    Some thing to note:
    - You can use subtopics so each client is subscribed to the same destination but has its own subtopic to receive updates from.
    - You need to use a realtime channel (polling, long-polling, or streaming) so that the consumer can receive updates. I suggest long-polling with a really long wait time.

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

  • Send Single Message to Client

    What is the best way to send a single message from the server to a client using flex/blazeds? The one caveat is that the message could take several minutes before it is sent. Think of a long calculation that is done on the server that the client waits for. I've thought of the following options:
    1) Just use a RemoteObject and call a method. Would there be any problems with the response taking several minutes to come back? I would also ideally like to have a single thread which sends all the responses to the clients in a batch, rather than the standard route of each client's remote method call spawning a thread which returns the result; anyone know where to get started here?
    2) Create a new destination and consume that destination on each client. The destination and consumer could be closed on each client after the first message is received.
    Which is the best option?
    Thanks,
    Gordon

    Hi Gordon,
    I would suggest trying to use a messaging destination for this. Seems like
    an RPC that takes minutes isn't so great given all the things that could
    happen (network wise and even client application wise) in that time. And
    having the client poll for the result (using a polling HTTP channel) seems
    reasonable.
    Just an opinion. I would try both if you have the time (the RemoteObject
    should be pretty quick to prototype).
    Tom Jordahl

  • Diff between Idoc type and message type

    Hi Friends,
    I have a created a message type and IDoc type with similar name ZVOU_IN_LYNX .
    If I have the similar names for these two , is there any further future related issues.
    kindlly suggest on this issue ASAP.
    Regards
    Punjaala

    Hi ,
    idoc type is a comibination of Segments it is like a structure.
    Message type actually tells the meaning of idoc..
    Message type + iodc type + exension idoc type used in furthe  uses..
    here actually idoc type come to use..
    we30 Idoc type          "single Idoc type--with basic type..
    we30 idoc type         "multiple idoc with above copy called extension idoc..
    WE81 Message types: Create a new messagetype         "Single message type
    WE82 Idoc Type/Message: Create Entry to link the above defined message type with the IDOC + "extension....
    WE57 Message/Application object: Create entry for Functionmodule/IDOC type/Messagetype/Object
    Edited by: Prabhu Das on Apr 17, 2009 7:27 PM

  • How do I host multiple domains on a single Messaging Server?

    How do I host multiple domains on a single Messaging Server?
    <p>
    To host multiple domains on one Messaging Server, use the
    mailAlternateAddress attribute. If you want to host two domains
    (customer1.com and customer2.com) on your server mail1.domain.com,
    make sure that:
    The various domains (in DNS) point to the installed mail server
    (you must have the MX records that
    points mail for customer1.com to mail1.domain.com and
    customer2.com to mail1.domain.com)
    That each person receiving mail at customer1.com and
    customer2.com has an appropriate mailAlternateAddress
    attribute describing the appropriate email address. For
    instance, John Doe can have an email address (i.e. the value
    of the 'mail' attribute for the John Doe LDAP entry) of
    [email protected] and receive his mail on
    [email protected] (the value of the mailAlternateAddress
    attribute)
    With Messaging Server 3.5, mailAlternateAddress can take the
    form of @mail1.domain.com. If jdoe's mailAlternateAddress is
    set to @mail1.domain.com, mail sent to [email protected]
    will be delivered to [email protected]

    jaygatsby1123 wrote:
    So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
    Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
    if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
    Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

  • Multiples payloads in a single message

    Hi everybody,
    I have a scenario where I will receive multiples payloads in a single message (several email attachments) and I have to call a WebService for each different payload, or email attachment in this case.
    Scenario: Mail Sender (multiples attachments/payloads) -> XI -> SOAP Receiver
    These attachments in the email are XML files with the same structure (WSDL) that  must map it to the WebService.
    I'm thinking in receive these payloads using Java Mapping to merge all these XML files in a single fat XML structure and after that use a BPM to do a Loop in order to call the WebService for each part of this fat XML. But I'm not sure if it is the best option and I don't really know how to do this BPM.
    Anyone has a suggestion how should I do this?
    Regards,
    Rogério

    You need to write an adapter module for merging all the XML attachements in to one. Then you should use 1..n mapping in the BPM for splitting them in to multiple payloads.
    BPM - Receive -> Transform (1..N) ->Block -> for each (message) ->send ->close block
    VJ

  • Is it possible to use BAPI-ALE to send an idoc using the message control?

    Hi Guys
    Is it possible to use BAPi-ALE to send an IDOC using a message control?
    I have configured the system to send an IDOC when a outbound delivery is saved in the system.
    I have done the following.
    1). I am using the std BAPI-ALE interface provided by the object type LIKP.
    2). I am using the method SAVEREPLICA for which an interface already exists in BDBG transaction.
    3). I hace created a distribution model in BD64 and added the BAPI - LIKP and SAVEREPLICA
    4). Created a partner profile ( using the generate partner profile option in the BD64 transaction )
    QUESTION:
    1). How do i associate the custom OUTPUT type created for Delivery ?
    2). I tried to associate the custom output type in the Partner profile definition under the message control tab but i am not sure which Process code to be used? Since the partner profile was generated automatically from BD64 it has an entry for SHP_OBDLV_SAVE_REPLICA as a message type in the outbound parameters. and i am unable to find a process code for this Message type in WE41. So what process code should i use in the Message control tab against the custom output type?
    3). Do i need to leave the message control tab empty without making any entry? If yes then how would the system come to know that it needs to trigger this partner profile when the custom output type is proposed by the system?
    will award points for useful answers
    Edited by: Workflow  learner on May 29, 2008 8:49 PM

    "any way"
    Applications such as ScreenRecycler, http://www.screenrecycler.com/ScreenRecycler.html, can do it.

  • Can I get both time and date in every single message that I receive or send?

    I have been usine iPhone for a while now, and I was wondering if you can change the message-settings somehow, so that I can see both date and time in every single message, instead of every 30 minutes, is this possible?

    Sorry, no.
    Suggest such to Apple here:
    http://www.apple.com/feedback/iphone.html

  • How can I Dequeue a Single Message

    Is it possible to use BPEL to dequeue just a SINGLE message from an MQ - as an activity in a process flow?
    It seems that the "Receive" activity drains a queue, and is meant to be used at the beginning of a BPEL process (to kick off a new instance). I'm just trying to dequeue a single message from a specified queue, and access its payload.
    Please let me know if this is possible.
    Thanks very much.

    Consider a scenario where there exists an MQ that contains messages that represent a unit of work. This MQ is populated with messages from an external C++ process that generates these units of work.
    I would like to create a BPEL service that can be invoked by a user as a web service. As a part of that process, I would like to dequeue one message (one unit of work from this MQ), to assign to the user. Portions of this message would be mapped to XML elements in the service response.
    As a whole, the BPEL process is responsible for performing several other activities (logging work assignment in the database for future reporting, sending email confirmations to the requesting user, etc.). I really appreciate what BPEL offers in terms of the overall orchestration of this process - but I'm wondering if this inability to dequeue a single message is a limitation of the adapters that are offered, or a misunderstanding on my part.
    I'm sure I could achieve the same result by embedding some Java code in the process, that would connect to this MQ and dequeue a single message - but would prefer to use an adapter (if possible).
    Thanks for the help!

  • How to delete a single message using iOS 8

    how can I delete a single message in iOS 8

    Hey Geezer4765,
    I have an article for you that can explain how to accomplish this:
    Manage conversations - iPhone
    http://help.apple.com/iphone/8/#/iphf2d85437
    Delete a message. Touch and hold a message or attachment, tap More, select additional items if desired, then tap .
    Delete a conversation. In the Messages list, swipe the conversation to the left, then tap Delete.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Delete a single message in messaging server

    Is it possible on command line for an administrator to delete a single message in a mailbox?
    Without knowing their password (only mailbox name) and just using CLI.
    Kind Regards,
    Nicole

    if you can find the message:
    rm message.file
    reconstruct -r user/userid
    The Messaging Server has no built in mechanism to deal with individual messages other than expiring them, once they're in the store.

Maybe you are looking for

  • Itunes stop working on Windows 7 after update

    After latest update, Itunes stop working on my computer. My computer has Windows 7. What can I do to get my Itunes up and running?

  • How to add data in User Defined table

    Hello Experts, I have design form in screen painter , 3 text boxes and labels, 2 add buttons with uid 1 and 2 , and i have created tables and fields maually and registered new object i have also mentioned table name and alias in property box with fie

  • What do I do at firefox to get it to work with proxy Real-Hide-IP

    I tried to get an answer at Real-Hide-IP a VPN that changes IP with the click of a button. Each click toggles between your real IP and a fake IP. They were impossible to deal with. I hope you can help me. It seems to me I have to do set some conditio

  • LR 2.2 - Can't open catalog  (AgLibraryRootFolder error)

    I have a catalog that opens and works fine in LR 2.1. When I try to open it in LR 2.2, I get the dialog : Lightroom Database "D:\Children.lrcat": column absolutePath is not unique Statement: INSERT INTO AgLibraryRootFolder( id_local, id_global, absol

  • Can't get videos from my documents to Itunes! Please help!

    I've tried doing file import and it doesn't show up in Itunes. I've also tried dragging the file from my documents to itunes but that doesn't work either. The ipod I'm using is an 80g ipod video, thought I'd include that. Not sure what else I can try