Collection of message

hi all
I am tring collect message in BPM for 15 min..so can any body guide me how to do the scenario( step by step process  )
regards
Manas

Hi manas
<b>Pls go through all the links</b>
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm -<b> Collection of IDoc to Single File</b>http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
<b>Many other examples can be found under the following link at help.sap.com</b>
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
<b>And some weblogs :)</b>
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
<b>Also have a look at these seminars,</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
<b>check this thread</b>
XI BPM Collect Meassages Scenario with one Message as an optional
Thanks
Abhishek Agrahari

Similar Messages

  • The Cube with ID = Rate doesn't exist in the collection Error Message

    When doing a Full Optimization in the Rate cube I get a "The Cube with ID = Rate doesn't exist in the collection" error message. What is causing this error and how do I fix it?

    I have seen this error when reporting services was not properly configured. can you connect to http://servername/reports ?
    If not try to fix reporting services first, this solved the problem for me in the past.
    But usually in this case all the aplications are giving this error when modifying. Is this also the case in your appset?
    Does Apshell work when you modify the application there?
    -Joost

  • Collection of messages in BPM

    Hi Experts,
    Collection of messages in BPM is not working,IP is executing for each Idoc.Actually i have done the sceanrio Idoc to File,Here I am getting multiple IDocs of same type from R3 when run a transaction and i would be generate a single file for all the IDocs.For this i have changed the occurence of Idoc from 1..1 to 1..unbounded and done the mapping betweeen these two. i have done bpm just like as standarad bpm pattern "BpmPatternCollectTime".I mentioned the time as 1 minute.in transformation step i had mentioned interface mapping for 1..1 Idoc to 1..unbounded Idoc and the real mapping conditions of this sceanrio is carried out after the bpm. The Idoc's are generating from R3 with the time diffrence of 3 secs.So it should generating a single file what ever the no.of idocs populating within a minute.
    In monitoring it showning for bpm, its trigerring for each incoming Idoc and procesing successfully.
    For Ex: Two idocs are coming from R3 then BPM triggers twice
    What could be the possible reasons for this or i have done any thing wrong.
    Any ideas.., Thanks in advance
    Cheers
    Tiger Woods.

    HI,
    Try to Use Idoc packaging. also see the below 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/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    Regards
    Chilla

  • ValidatorException throwing a collection of messages

    Hello,
    JDeveloper 11.1.2.2
    I am trying ot throw a collection of messages but it only displays the last one added.
    The JSF 2.0 spec says...
    Constructor Summary
    ValidatorException(Collection<FacesMessage> messages)
    My code is ....
        public void it1_validator(FacesContext facesContext, UIComponent uIComponent, Object object) {
            Collection<FacesMessage> myMessageCollection = new HashSet<FacesMessage>();
            FacesMessage message = new FacesMessage();
            message.setDetail("My first message");
            message.setSummary("First Error message");
            message.setSeverity(FacesMessage.SEVERITY_INFO);
            myMessageCollection.add(message);
            FacesMessage message2 = new FacesMessage();
            message2.setDetail("My second message");
            message2.setSummary("Second Error message");
            message2.setSeverity(FacesMessage.SEVERITY_INFO);
            myMessageCollection.add(message2);
            throw new ValidatorException(myMessageCollection);
        }and only "My second message" gets displayed
    in debug I can see that the collection does have both messages
    any ideas?
    Thanks

    Hi
    try followings
        public void it1_validator(FacesContext facesContext, UIComponent uIComponent, Object object) {
           // Collection<FacesMessage> myMessageCollection = new HashSet<FacesMessage>();
            FacesContext fc = FacesContext.getCurrentInstance();  
            FacesMessage message = new FacesMessage();
            message.setDetail("My first message");
            message.setSummary("First Error message");
            message.setSeverity(FacesMessage.SEVERITY_INFO);
            fc.addMessage(null, message);
           // myMessageCollection.add(message);
            FacesMessage message2 = new FacesMessage();
            message2.setDetail("My second message");
            message2.setSummary("Second Error message");
            message2.setSeverity(FacesMessage.SEVERITY_INFO);
            //myMessageCollection.add(message2);
            fc.addMessage(null, message2);
            //throw new ValidatorException(myMessageCollection);
        }

  • Collect different messages in a BPM

    Hello everyone,
    I am new to developing BMPs.
    I need to collect 3 diferent message (FTP-File) in a BPM. This is possible?
    How do I make the BPM wait until you reach the other message ?
    How do I make the second and third message is sent to the same instance BPM?
    Thank you in advance
    Regards

    yes , it possible to collect the diffarent messages  using BPM. In bpm we have one concept called  Merging two or more messages. using this merge concept we can collect the diffarent messages. for merging two or more messages here one rule u must remember i.e all the messages(three messages) must have one common column than only u can merge , three messages must have one common column. Integration process is like this
      1.Three receive step( for collecting three outbond messages).
    2. one transformation step( for merging messages)
    3. one send step.
    u must " correlate" based on context object.
    4. u need  three abstract interfaces (for outbond messages) and also need one abstract interface ( for inbond messages)
      total u need four abstract interfaces.
    try this using above information , u must get the output

  • Comment se supprimer d'un message collectif i message ?

    Bonjour,
    j'aimerais savoir comment il est possible de sortie d'une conversation collectif de i message
    Merci

    Avez-vous lu cet article lié à la page que lllaass vous a donné? http://support.apple.com/kb/TS1609?viewlocale=fr_FR

  • How to keep date time line in  collected alert message in linux platform

    Hi Friends,
    In linux server for 11g oracle. how do I keep date time line for each error message?
    example as
    cat alert_test.log | grep 'ORA'
    grep 'ORA' alert_test.log
    I like output as
    Mon Aug 20 01:54:29 2012
    ORA-01560 caused by SQL...........
    I know we can use diag... But I want to some linux command for my debug.
    Thanks
    newdba

    Another option is to make your alert log accessible as an external table.
    Demo here:
    http://www.morganslibrary.org/reference/externaltab.html
    Find "alert log" on the page. Add a numeric column to the table and create a sequence and you can put in a surrogate row number that will allow you to pull sections using LEAD and LAG as you please.

  • Collect Error Message from SAP program to BSP Page

    Hi Experts,
    I am displaying an error message in the form of pop-up Message  in a Screen based on a condition using BADI on R/3 screen , but when i am calling the screen from Portal (BSP PAge) I am unable to see the Error Message which is being displayed as a pop-up in r/3..
    How to catch the error and display in BSP Page.....
    I have searched the forum but didnt find any suitable replies....
    Plz help
    Regards,
    Srikar

    Hi Srikar,
    It depends.
    Generally though you display a message in SAPGUI it does not display automatically in BSP.
    Some times you have to manually write some code to populate and display a message in BSP.
    First you need to find the BSP page and write some code to display error messages in the same..
    Regards,
    Sreekanth

  • Encountered the symbol "COLLECT" error message, without a collection?

    Okay, once again I'm confused and lost.
    I'm working on a 'variation' of the Issue Tracker sample application at:
    http://apex.oracle.com/pls/otn/f?p=23133
    Once there, select "Projects", then on the "Projects" page, click the edit button.
    The error appears in the "Add or Edit Project Tasks" region.
    The region source is:
    select
    x.del,
    x.task_name,
    x.status,
    x.dependent_upon,
    x.task_scope,
    x.task_comments,
    x.task_lead,
    x.ck ck
    from (
    select
    apex_item.checkbox(1,task_id) del,
    apex_item.text(2,task_name,30,70) TASK_NAME,
    apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS,
    apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
    apex_item.textarea(5,task_scope,4,40) TASK_SCOPE,
    apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS,
    apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD,
    apex_item.hidden(8,project_id)||
    apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck
    from HT_TASKS_VIEW
    where project_id = :P3_PROJECT_ID
    union all
    select
    apex_item.checkbox(1,null) del,
    apex_item.text(2,null,30,70) TASK_NAME,
    apex_item.display_and_save(3,null) STATUS,
    apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
    apex_item.textarea(5,null,4,40) TASK_SCOPE,
    apex_item.textarea(6,null,4,40) TASK_COMMENTS,
    apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD,
    apex_item.hidden(8,to_number(:P3_PROJECT_ID))||
    apex_item.hidden(9,null) ck
    from dual) x
    Which appears to be working correctly. When I click the debug link, the following appears:
    0.04: add row query: select x.del, x.task_name, x.status, x.dependent_upon, x.task_scope, x.task_comments, x.task_lead, x.ck ck from ( select apex_item.checkbox(1,task_id) del, apex_item.text(2,task_name,30,70) TASK_NAME, apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS, apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,task_scope,4,40) TASK_SCOPE, apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD, apex_item.hidden(8,project_id)|| apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck from HT_TASKS_VIEW where project_id = :P3_PROJECT_ID union all select apex_item.checkbox(1,null) del, apex_item.text(2,null,30,70) TASK_NAME, apex_item.display_and_save(3,null) STATUS, apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,null,4,40) TASK_SCOPE, apex_item.textarea(6,null,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD, apex_item.hidden(8,to_number(:P3_PROJECT_ID))|| apex_item.hidden(9,null) ck from dual) x
    0.04: determine column headings
    0.04: parse query as: ARIA
    0.04: binding: ":P3_PROJECT_ID"="P3_PROJECT_ID" value="1"
    0.04: print column headings
    0.04: rows loop: 15 row(s)
    report error:
    ORA-06550: line 1, column 13:
    PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
    := . ( @ % ;
    So, it looks like the error is happening when it starts the loop to grab the rows. I'm not using a collection, so I'm assuming that for the pagination, Apex is using a collection internally, and somehow, somewhere, that's generating the error?
    I've deleted the region and everything associated with it, buttons, processes, etc. and the rebuilt the region without the other 'stuff', but I still get the error. I'm completely lost now, as I really don't what else to try, other than dropping the page an trying to recreate it. But if that doesn't work, any idea what would?
    Also, to log in and see the code, my workspace is wbfergus, and the id and pwd are both htmldb.
    Thanks.
    Bill Ferguson

    Bill - Try apex_item.select_list_from_query when a query (not a named lov) is the source:  apex_item.select_list_from_query(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,BTW, nothing do do with collections in this case. The parsing hit a 'bulk collect' probably.
    Scott

  • How to collect to different files into one message

    Hi,
    I have the following scenario:
    Two (5Mb) Files with different file structures each ->
    XI (transform and generate a single structure record) ->
    Insert a record in a DB for each new record generated
    Let suppose file1 has order headers - one order per line -and file2 has the corresponding order items - one item per line, e.g;
    File 1
    OrderNr  Description
    1        A
    2        B
    3        C
    File 2
    OrderNr   ItemNr   MaterialCode ....
    1         1        111
    1         2        222
    1         3        555
    2         1        888
    2         2        777
    3         1        111
    Imagine I want to insert a record in the database for
    each order/item like this
    OrderNr  ItemNr Description MaterialCode .....
    1        1      A           111
    1        2      A           222
    1        3      A           555
    My real scenario is a little more complicated but never mind for now.
    I need to collect the two different files with two different file structures into the same message. Although I have read about the subject I am not sure about how to do it using BPM because there isn't any field I could use to correlate file1 with file2 - I can only correlate a record of file1 with several records of file2. I simply know that the two files will be available in a specific directory once a day at 06:00AM.
    First question is:
    How can I collect the two messages originating each from a different file into only one message with two different subtypes one for each file structure?
    Because my background is ABAP I could do it with a workaround for temporarily storing the info from each file into database tables in XI and then correlate the info from the two files to generate a single message.
    Like this
    File1 -> XI -> INSERT DATA XI ZDB1 (via ABAP Proxy or RFC)
    File2 -> XI -> INSERT DATA XI ZDB2 (via ABAP Proxy or RFC)
    Them I could use an event to check when the two tables have all the data from both files. I could then combine the data from the two tables and start another integration process like this
    XI SERVER (ABAP Proxy) -> XI Integration Server -> Third-party (JDBC)
    But this way I would have to code the hole data conversion which is not a good idea from the perspective of XI (EAI/Broker).
    Maybe I sould use BPM. But how?
    Futhermore:
    Is BPM performant enough (we are talking about files with thousand of records)?
    Thanks in advance
    Diz

    Hi,
    for N:1 Multimapping you have to use BPM.
    After going through this weblog you will be quite familiar with how to collect 2 messages into one message.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Steps:
    1. Create a abstract/ inbound / outbound interfaces. (in your case 3 /1/2).
    2. Perform 2:1 Multimapping.
    You can specify more than one message in either side.
    Just go to message tab in MM.
    3. Now follow the blog and you will get a output in the form of abstract interface.
    4. Define JDBC reciever Channel as usual.
    Your database will be updated.
    Just try this out.
    Regards
    Piyush

  • BPm collect Message Check

    Hi,
    when i perform a check to standard BPM patterns BpmPatternCollectMessage. I get the following info am i wrong some where do any changes needed to be done.
    Container element stopmessage in step receive terminating message is initialized but not used
    Container element collectmessage in step *receive * message is initialized but not used...
    kindly help

    I did the above scenario as told.
    It is a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
    I more or less used the message dependent pattern given in SAP BASIS.
    The data types are as follows.
    Dt_In
         Name
         OverallID
    Dt_In
         Name
        OverallID
    1 to 1 mapping
    I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
    In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2.  The 2 message interfaces have the same Message type. Only values will be different.
    For the parallel fork step i have given end condition OverallID = 2.
    When i execute the scenario the messages are all comingin a queue. The status is wait for event.
    What could be the problem?
    Thanks
    Edited by: pratichi chauhan on Sep 24, 2008 2:46 PM

  • Collect Message without correlation

    Hi,
    I have a scenario. I have to collect 10 files which has like 100 bytes of information in each file and they should be collected into a single file every five minutes. I dont know whats inside the file. The data may vary...How  do I collect these messages without correlation in BPM? I can relate only file names....there is no relation between them in the payload...
    Also, without correlation, if the file adapter polls every 5 mins and grabs 10 files, how do I control them to process in the same BPM instance (should I use interface namespace in the correlation for single BPM instance) - how to use collect pattern? can I use file name and process them in BPM to be collected????
    Thanks for the suggestions.
    Thilothama

    Moorthy,
    Thanks for the reply. So lets say my incoming
    file 1 has  "This is file 1 content "
    file 2 has  "This is file 2 contennt"
    file 3 has  "This is file 3 content"
    On content conversion I make this to
    <Message>
    <File content>
       <ID>1
       <Data>"This is file 1 content "
    <File content>
    </Message>
    <Message>
    <File content>
       <ID>1
       <Data>"This is file 2 content "
    <File content>
    </Message>
    <Message>
    <File content>
       <ID>1
       <Data>"This is file 3 content "
    <File content>
    </Message>
    Hard code ID and use it in BPM collect pattern??
    Thanks
    Thilothama

  • Collect message into internal table

    Hi,
    does any one knows how BAPIs or CALL TRANSACTIONs collect messages into internal table.
    My problem is that some BI with CALL TRANSACTION doesn't collect right message into return table and I would like to collect this last message after CALL TRANSACTION and therefore be sure that everything went OK.....
    thx
    mario

    hi
    good
    check this
    Call Transaction p_trans using ZBDC_Table
                                   Mode p_mode
                                 Update p_update
                          Messages into p_messages.
         Move sy-subrc to w__subrc.
       Scan the messages in YDCRAISES to see if we need to
       change the message class.
         Loop at p_messages.
              Select single msgtyp
                into w__msgtp
                from zdcraise
               where tcode  = p_messages-tcode  and
                     msgid  = p_messages-msgid  and
                     msgnr  = p_messages-msgnr.
              If sy-subrc = 0.
                 Move w__msgtp to p_messages-msgtyp.
                 Modify p_messages.
              EndIf.
         EndLoop.
       Dump the message table ?
         If w__ydcset-dumpmsg = True.
    thanks
    mrutyun^

  • Collect message till particular point of Time in BPM

    Hi,
    I want to collect messages till particular point in time like till 6 oclock evening.
    In deadline branch i have to use Expression and should give date and time.
    What is the format of date and time if it is not coming in payload.
    What is the difference between: Creating the step and Creating the process property.
    Any help is apreciated.
    Thanks and regards,
    Satish

    The date and time format will be the standard XSD date and time format
    Date:
    YYYY-MM-DD  or YYYY-MM-DDZ
    Time:
    HH:MM:SS or HH:MM:SS.x
    But since your requirement is to collect the messages till 6pm everyday, I guess there is a problem with the mandatory date field.
    Maybe you can use a datatype which holds the current time in a field and use the field as the loop variable.
    - Kannan

  • Collecting Message based on Delivery Id

    Hi,
    We have an scenario to collect the messages based on delviery number, like customer sends the bulk order and SAP splits that order and create the delivery for each splitted orders .
    Eg.
    Sales Order     Batch Order
    PO#      1234
    This Batch order is split in to multiple orders as below
    Order_1     Order_2     Order_3
    1234_A_C     1234_B_C     1234_C_C
    Delivery_1     Delivery_2     Delivery_3
    1     2     3
    These deliveries are sent to PI as DESADV in differnet time frame.
    ->     DESADV# 1     DESADV# 2     DESADV# 3
    inbound time     10:30AM     11:00AM     11:20AM
    PO#     1234_A_C     1234_B_C     1234_C_C
    Outbound time     11:20AM     11:20AM     11:20AM
    Now we need to collect all the DESADV for a single batch order and send it to customer as a single DESADV .
    Can anyone help me how to handle this in PI.
    Is there any BPM process there to collect the messages based on PO number (1234_A_C,1234_B_C,1234_C_C) for particular partner.
    I know correleation id can be used but PO is not constant.
    Thanks
    Lakshmi S

    you can use the BPM Pattern to achieve this functionality.
    Also refer the following links:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/41/e3d13f7fb44c21e10000000a1550b0/frameset.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

Maybe you are looking for