Collecting Message from 'ForEachBlock'

Hi experts, i have a scenario of File-PI-RFC. My FILE is in XML format and consist of, for example, 10 POs (this is only example) with each of them has more than 1 items/details.
However my RFC will only receive 1 PO with its items each time. Therefore in my bpm, i use a "ForEach" block to separate my file and call the RFC 10 times (i successfully did this).
However my problem is to collect the response from RFC (each RFC). My BPM call RFC synchronously and I need to combine all the response from the RFC (which will be 10 response in this case). I have read some blogs about collecting messages into 1 message, however, all i can find is that using "Fork". But in my case, i dont think i can use FORK (CMIIW). So guys, anyone can enlighten me? Thank you very much...

Thank you for all the advice...So the only way is to make the sync send become 2 separate async (send and receive)?
Ok i've done and follow from the link that you guys gave me.
However, i got a problem on why i dont have anything to select on my receive node at the 'Use Correlation' field?? I already create a correlation but i can't select it for the 'Use Correlation' field. I can only select it for 'Activate Correlation' field...Any clue?
Thx...

Similar Messages

  • Splitting and Collecting Messages

    Hi,
    I have a scenario in which I get a message from SAP. In this message their are multiple item structures and 1 header structure. Now I have to sent these items to a WS seperately and collect the messages  from the WS response in one message with a header.
    Something like:
    Receive Message -> split message (message mapping) -> send all to WS / receive response for everyone -> collect messages from response in a new message -> send the new message to another WS
    How can I do this in BPM?

    Hi Chris,
    Your design should be like this:
    Start --> Receive --> Transform1 (Do the split and multimapping) -->  Send Step1 (Synchronous) --> Send 2 (Send Response from send1 to the output) --> Stop.
    Regards,
    ---Satish

  • Regarding error message from a transaction

    Hello all,
          I have a scenario where i need to collect all the error message from a trasaction and display it in a pop up.
          i am calling a function module and inturn calling transaction 'FB08' using bdc. i may get one or more error message. if there are more than one messages from my function module then i need to display this messages in a popup.
        Currently i am displaying one message using 'message ID' syntax at the bottom. what should i do to display error messages in a popup if there are more message
    Thanks,
    Raju N.

    use following fm.  
    CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
          EXPORTING
          TASK             = 'DISPLAY'
            titel            = 'Creation Log'
        IMPORTING
          FUNCTION         =
          TABLES
            text_table       = i_documents_log.

  • How can I prevent Messages from opening?

    Hello,
    I was a user of the Messages beta on Lion, and while it had its flaws, I was mostly happy with how it operated.  While it sometimes failed, it never bothered me unnecessarily.
    Since upgrading to Mountain Lion, though, I find that Messages will open every time I receive a new message from my wife.  I am not leaving the program open -- I quit after I send a message, and don't have an IM account set-up.  I only ever use it to send a message, then quit.
    This is annoying because Messages sometimes hangs when I open my laptop up, trying to catch-up and collect a conversation that occured on, say, my phone.
    I'd like to keep the app on my computer, but would like to keep it closed unless I prompt it to open.  I assumed there would be a preferences option for this, but if there is, I cannot find it.
    Any thoughts on what I can do to prevent this behavior in the future?
    Best,
    John

    Yes, I'm surprised too.  Makes me worry that this is either (a) really simple and we're overlooking it or (b) not yet possible to correct in new OS.
    Anyone out there want to put our minds at ease?

  • Log messages from multiple instances in single file.

    Hi!
    I have a requirement that i need to log messages from muliple instances of the same object in a file. The new file will be created every day. Likewise, multiple objects might have various instances each.
    One class
    ->multiple instances
    -> log message stored in single file.
    Note :
    I am using the Message driven bean. I need to log from the bean class. JDK 1.3
    If u could help me out that would be great.

    As long as they are all from the same OS program (a single Java VM), that's OK - you can use Log4j, and use a rotating file logger.
    If you point two different virtual machine processes at the same file, one may have it open when the other is trying to rotate it, and your rotation may fail (at best) and/or you may lose the old log (the worst case).
    If you need to collect log messages from multiple processes (or even multiple machines), use a syslog-based logger (Log4j has a SyslogAppender) or use Log4j's SocketAppender to write to a log4j-builtin log listener (SocketNode).

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

  • Reading message from two queues and sort according the time stamp

    Hi
    I have a requirement where i have to read the message from two queue .. and sort according the Time stamp ( Field in payload ) and send it ot the Webservice ..
    How i acheive using the BPM..
    in the BPM i have to collect the message for every 20 sec ... and then sort it tout ...
    S V

    Do you mean from two sender? What do you exactly mean by "reading from two queues"?
    Regards,
    Prateek

  • Bank Communication Management - Incoming messages from Banks

    Hi,
    We are using Bank communication management. When we send our ACH and Wire files to the bank, the bank sends two confirmations: 1. First confirmation says that the file is received. 2. Second confirmation sends the total number of items and total amount in the payment file.
    I have done the necessary configuration in BCM in the step shown below:
    Financial Supply Chain Management ® Bank Communication Management ® Payment Status Management ® Map External Status to Internal Status
    How do I update this in the payment monitor (T-CODE - BNK_MONI)?
    SAP says
    You must connect the XI system to the ERP system. The interface Collective Payment Order Notification must be set up. What is this interface 'Collective payment order notification' and where should I set it up?
    Any help in this regard is greatly appreciated.
    Kalyan

    Hi Ankish,
    As mentioned by Kalyan above (check suggestions from SAP in his comment), you should use the interface Collective Payment Order Notification given by SAP in ESR (Enterprise Service Repository) SAP APPL (SAP APPL 6.05). If your PI environment doesnot have it then you need to request yuor basis to download this from SAP.
    After you download the ESR , you can find the standard Service interface called "CollectivePaymentOrderNotification_In" under Namespace http://sap.com/xi/APPL/Global2 .
    Now once you have this interface downloaded,  create a new message mapping using the message Type "CollectivePaymentOrderNotification_async" as Target,  and your message  from BANK or SWIFT (uploaded into PI as external definition) as source. Map the required fields , mainly map the external status code from BANK to ExecutionStatusCode field. Also map the required header fields.
    Once you create the new mapping , create required Integration builder objects and you are all set.
    The CollectivePaymentOrderNotification interface is proxy in ECC which has required methods to update the BCM with the status.
    Also please check below links for more information.
    http://help.sap.com/esoa_erp2005_ehp2/helpdata/en/46/802b59e186429ee10000000a1553f7/content.htm
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/03/22/e-payment-a-customized-solution-other-than-sap-integration-package-swift-part-3-receive-from-bank-push-to-sap-bcm
    Regards,
    Suresh

  • Collecting messages in XI

    Hi,
    I would like to send a packet of iDocs from the R/3 to a legacy system using the XI. What should I do in order to perform this ?
    Can I see an example somewhere ?
      Thanks, Nir.

    Hi Nir,
    In Software Component "SAP Basis 640" there is an example to Collect Messages with BPM.
    Namespace: http://sap.com/xi/XI/System/Patterns
    Integration Process: BPMPatternCollectMessage
    Regards,
    Robin

  • Messages from POP account not showing up in IMAP account folders

    I've posted on this already, but I'm a little clearer about what the issue is, so I'm gonna try again.
    I'm using Mac Mail. Recently my ISP assigned me an IMAP account. [Customer service says "we only use POP," but I can't get a POP account.] Messages in my mailboxes show up fine. I'm having difficulty with the mailboxes directly associated with the account---Inbox, Sent, Draft, etc.
    I have only one Inbox. There are three Sent folders---the one that is always at the top of the sidebar, and two in an IMAP-specific set of folders. I coped the older messages from the POP account into what I thought were the corresponding folders of the IMAP account. Copied messages appear only in one of the IMAP Sent folders. However, when opened, they have no content. In some cases there is an indication that the content is "loading" but nothing ever appears.
    Is it possible to get the older messages from the POP to show up with content in the IMAP folders? I gather from reading related threads from the archive that copying messages between account types should not be a problem, but it is for me.
    Thanks,

    Well, I thought I found a solution in the archives here: Import the old messages from within Mail. Had no doubt that would work. Well, it didn't. Though all the old messages were Apple Mail messages, when I tried to import Mail said, "No valid Apple Mail files were found." Tried importing them as mbox files. Same result.
    IMAP has advantages for people who check mail from more than one device, or for multiple users of an account. Not having been forwarned by AT&T that I was going to be switched from POP to IMAP, it has been a big headache for me. And it clutters up the sidebar with a changing collection of folders, including many that seem redundant, and some whose purpose I can't, in my ignorance, imagine.
    Supposed to get a call today or tomorrow from a unit in AT&T that is "specially trained" to handle problems like mine. We'll see.
    I sure would like to get help from somewhere.

  • RICS0001:Internal Error,unable to process the collected data from the device.

    Hi all,
    I've got the following error in Inventory Collection: 'RICS0001:Internal Error,unable to process the collected data from the device.'
    System is CW LMS 2.6
    If I search the web I get the following Cisco document:
    http://www.cisco.com/en/US/products/sw/cscowork/ps2073/prod_troubleshooting_guide09186a008036dff2.html
    '...in the log directory look for IC_Server.log.'
    IC_Server.log:
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,173,Got Async Request, User Name :admin
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,179,Request ID is : 1289919235488
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,309,Started processing device ID: 3341
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,724,com.cisco.nm.rmeng.util.db.DatabaseConnectionPool,getConnection,59,Inside ICSDatabaseConnection, MAX_COUNT =20
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,387,Started processing device Name: 9.152.255.101
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,103,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, begins...
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,110,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device begins...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,147,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device successful...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,149,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population begins...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,216,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:Before method getSlotsConfiguredStatistics
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,225,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:After method getSlotsConfiguredStatistics
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,245,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population completed...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,105,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, ends...
    [ Di Nov 16  15:54:43 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,477,DP time is 15 seconds for 9.152.255.101
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,770,com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange,effect,33,Unexpected error :com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
        at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
        at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
        at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
        at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
        at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
        at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
        at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
        at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor,448,ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
    com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
        at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
        at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
        at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
        at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
        at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
        at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
        at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
        at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,861, Exception occured in process method while processing: 9.152.255.101 ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
    ICSException :: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:463)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    I don't know where the German error message comes from. The whole system is English. Translation is: "ASA error -192: primary key for table 'PhysicalElement' isn't distinct'
    Thanks for your help!
    Alex

    Well known issue in LMS 2.6. Most likely you are hitting CSCsm97530. As a temporary solution you could remove and re-add problematic device from CS. To get a permanent fix you need a patch (provided by TAC).

  • Need  to read messages from the log instead of displaying

    Hi,
    I need to read all the messages from the log with a particular log no..
    i was able to display it using FM  BAL_DSP_LOG_DISPLAY..But i want to collect the messages instead of displaying..To display according to my requirement..
    Thanks in advance

    Use this for reading :
    BAL_LOG_MSG_READ
    Regards
    Neha

  • Explorer failed to collect data from SE6920 array

    Hi,
    Any kind soul out there can provide advice how can I collect data from SE6920 using the explorer command ?
    The man page of explorer says that to collect data from SE6920 aray, an input file "se6920inout.txt" with login info
    must be exist under the /etc/opt/SUNWexplo directory of the server connected to th array.
    However, the data collection failed while trying to retrieved from the array. The error as follow :
    Gathering data for SE6920 machine at 10.12.22.39...
    Nov 18 09:24:12 sslab-79[25355] se6920: ERROR Data collection for 10.12.22.39 failed because the /tmp directory is either 100 percent full,
    patch 114591-22 or higher is not installed on the SP, or fix for BugID 6448763 has not yet been implemented.
    Thanks very much reading this message.

    If all of the files are in the same folder you can use List Folder to list all of the files based on a pattern. You can then use this to auto-index a for loop.

  • Collect messages merge to one n 1

    Hello
    I try to collect messages
    but after transformation only the data from the first message  is in the message.
    In the message mapping and message interface the source is 0..unbounded.
    When I start U see that messages are collected in a container and in the same process.

    I have a BPM scenario witch collects files for 10 minutes.
    After 10 minutes the collecting stops or when 10 files are received.
    Quite similar as the example Integration process BpmpatternCollectTime.
    Message was edited by:
            Gert-jan Meijer

  • CCMS issue: "Determining warning messages from CCMS"

    Hi!
    We have a performance problem by accessing of solution in tcode DSWP.
    We retrieve the warning: "Determining warning messages from CCMS"
    In order to solve or analyse this problem I have the following questions:
    1) How collects CEN the data from satelite systems?
    1a)  how? -->  RFC, etc.
    1b) mode? --> Push, Pull, etc.
    2) How the data will be transfered from CEN to tcode DSWP?
    Any helpful information will be appreciated.
    regards
    Thom

    Hi Thom,
    Have you already installed CCMS agents, the will speed up communication? That's definitely required in your situation with many systems connected to SolMan.
    See [http://service.sap.com/monitoring|http://service.sap.com/monitoring]
    You can also check CPU, Memory, as recommended by Afi, but I expect that this will not be the bottleneck.
    Response times depend on the number of connect systems, number of activated monitoring objects (MTE nodes), number of server, instances.
    If you are not satisfied with performance, I would recommend to open a customer message on component SV-SMG-OP or SV-SMG-MON-SYS.
    Best regards,
    Ruediger

Maybe you are looking for

  • Upgrade to Acrobat XI Standard from X Pro

    I'd like to upgrade to Acrobat XI.  I currently  have X Pro, when I attempt to purchase from Adobe site, it prompts me to enter my current version, but only lists 9 and X Standard.  Can I use the upgrade option to go from X Pro to XI Standard?

  • Special character in db

    Hi, I have small problem with retreiving datas from database. If I have in database some special character like "ř", if I retreive it to sbo and bind the table where is this character to matrix, I receive 'r'. The same is when I`m trying in sbo_sp_tr

  • Control Minimum No.of Records in an XML Publisher Report

    Hi I need to set the minimum no.of records in a XML Publisher Report. Please help me on this. Regards Nakul.V

  • Mini 311-1000 HSDPA modem

    Can anyone tell me what internal HSDPA modem is compatible with the HP Mini 311-1000? In particular, I'd like to use SIERRA MC8775 HS2300 but cannot identify if this is supported or not?

  • I tried to update my itunes but now i keep on getting an error message.

    I also uninstalled it and re installed it but I still get the same error message and I can't open my Itunes