Using BPM (Blocks) when Incoming message has multilple rows

Hi All,
I am using BPM in my scenario.I have a message with multiple rows coming.I want to check for a condition for each row of the incoming message.I am trying to use a block(Mode: For Each) and using a switch step inside this block.But in a block if u want to check for each line, we need to define a multiline container element as Source Interface message.Since I am already having multilple rows, I cannot give multiline option.Can someone give me some example scenarios where this type of scenarios are handled.
Thanks in Advance.
Soumya

Hi,
Here I am picking a file with multiple rows
The Sender Message Type structure is
<ns:File_MT xmlns:ns="http://File/send">
  <recordset>
    <Slno />
    <Goods_Receipt_Date />
    <Material_Code />
    <Quantity />
    <Plant_Code />
    <Storage_loc />
    <Batch_Number />
    <PO_Number />
    <Item_Number />
    <Special_Stock_Indicator />
  </recordset>
</ns:File_MT>
Here the row recordset has multiple occurences.
For my BPM I have defined an Abstract Message Interface of similar structure.
1)I am using a receive step to receive the message.
2)I am using a transformation step for structure change.
3)Then I have to check a condition whether each of the fields, ie material number,plant code etc are null or not.
I am using a switch for that.In the switch I have 2 branches-for error records and correct records.
Now in the eror record branch, I want to append error records to a container using a container operation and finally send it to another system.
Since my Source message is already having multilple rows.ie 0...unbounded for recorset, I can't define a multiline for container operation.The container operation expects a multiline container element when using append statement.
How should I go about this?Should I define a Loop after the transformation step?
Can you give me any example scenarios where transformation steps are used to change a source message with mutilple rows are used?I referred the FlightBooking Example, http://sap.com/xi/XI/Demo/Agency-SplitMultiplebookingOrder but in that they are not using the MessageTypes which are already defined, in the mapping.
Can anyone help?
Thanks and Regards,
Soumya.

Similar Messages

  • Do you have an option for block all incoming message and request EXCEPTED messages from my contacts?

    Please help!!To whom it may concernDear Madam/Sir who works for Skype & Microsoft  Dear all who can really help,  Do you have an option for block all incoming message and request EXCEPTED messages from my contacts? or Do you have any solution to solve my problem from begin to now in present time?  Even though, I set the Privacy settings: - Allow calls from... "people in my Contact list only"- Automatically received video and share screens with "people in my Contact list only"- Allow IMs from "people in my Contact list only"  I still received unknow users sent me messages in every day, contact requests etc. And they're all clearly spammings and identity thefts.  I only wanna contact with my family and my freinds here with Skype via my Windows device and my mobile phone (w/Android OS).  And this is the only way to contact with them, because they could use Skype only in overseas.  BUT I don't need new friend from other unknow Skype member.   I keep blocked all unknow spammers in every day.  However in this morning, I feel so scared with Skype on my mobile, I looked at my mobile Skype, I saw it automatically showed me the list of all blocked members. BUT they were all unblocked (contact unblocked) by my mobile (Android version) Skype itself automatically, and listed them one by one on the screen, and about 30 seconds later, they all were disappeared suddenly.  I don't know what do to now, is it indicating my account was hacked?And how could I found out all those members again and block them again and delete all of them for ever?  I appreciate if you would improve the privacy protection. Thank you very very very much. 

    Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
    No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
    What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
    If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
    Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
    thxs!
    cheers
    rOot

  • Can I stop the flashbulb from flashing when incoming messages appear?

    Can I stop the flashbulb from flashing when incoming messages appear?

    Yes.  Just turn it off in settings.
    You should read the manual:
    iPhone User Guide (For iOS 5.1 Software)

  • Issue with Alerts using BPM : Trigerred for Successful messages also

    Hi Everybody,
    I am working on configuring Alerts using BPM.
    I have followed the below blog by Micheal.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
    I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
    This is a strange behaviour when we talk about Alerts.
    Can somebody help me out in this?
    Thanks & Regards,
    Zabiulla

    Hi Zabiulla,
    Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
    Regards,
    Udo

  • ABAP runtime error in sxmb_moni when SOAP message has header with some tags

    Hi!!!
    I have a problem with sxmb_moni transaction.
    If I double-click on a successfully processed
    message, then this monitor can't show me
    the message details but fails with the following error:
    <COPY_AND_PASTE_FROM_SCREEN>
    Runtime errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO                              
    Exception              CX_SY_REF_IS_INITIAL                                        
    Occurred on     02.03.2005 at 16:44:21  
    Access with 'ZERO' object reference not possible.                                                
    What happened?                                                            
    Error in ABAP application program.                                                 
    The current ABAP program "CL_XMS_PROP_STRING============CP " had to be             
    terminated because one of the                                                     
    statements could not be executed.                                                  
    This is probably due to an error in the ABAP program.
    </COPY_AND_PASTE_FROM_SCREEN>
    This situation takes place only when I want
    to look at a SOAP message which was sent to XI
    from .Net platform or was sent to
    .Net platform from XI (via SOAP adapter).
    In all other cases sxmb_moni works fine.
    I know that the problem is connected with some tags from Header record of SOAP message:
          <soap:Header>
             <wsa:Action>http://aaa.bbb.ccc/MessageResponse</wsa:Action>
             <wsa:MessageID>uuid:1838f870-1688-4cfe-8c4f-afe14d98c515</wsa:MessageID>
             <wsa:RelatesTo>uuid:308b950f-8cff-4b63-9861-93b041825f9d</wsa:RelatesTo>
             <wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
             <wsse:Security>
                <wsu:Timestamp wsu:Id="Timestamp-389847df-8760-4d57-9777-6ce159d85205">
                   <wsu:Created>2005-03-02T08:54:29Z</wsu:Created>
                   <wsu:Expires>2005-03-02T08:59:29Z</wsu:Expires>
                </wsu:Timestamp>
             </wsse:Security>
          </soap:Header>
    If I take a SOAP message I have problem with, and
    I remove all tags from this Header (or remove
    the whole Header) and send it from any XML editor
    that can send SOAP messages then sxmb_moni hasn't
    any problems with showing me details of a such message.
    Any hints how to force a .Net platform not to send
    a such header or how to force sxmb_moni transaction
    not to fail if a such header occurs?
    Regards,
    Andrzej Filusz

    Hi Santhosh
    1.Check your authorization settings in XI and R/3. Whether the user has sufficient rights to execute the Function Module etc. This is the most common reason for this error.
    2.If the XI system was brought online even before the R/3 system then re-activate the communication channels from the Integration directory.
    Cheers..
    Vasu
    <u><i><b>** Reward Points if found useful **</b></i></u>

  • Administrative document blocked when sending message

    Hi,
    For EMCS I am using excise duty in GTS. One of the messages which are used for this is an active message 'Send explanation of Delay'. No passive feedback message is expected in reaction to this message. Still, when executing this message, an idoc is created and subsequently the document is blocked. The system seems to automatically block the document after creating an idoc in method /SAPSLL/ECC_IDOC_CREATE.
    This is an issue because I'm not done processing the document and I should be able to change it. Since no feedback message will come from customs there is no trigger to unblock my document (apart from the admin transaction for unblocking) and it will remain blocked forever.
    This seems strange to me because SAP should have foreseen this as a standard message in the EMCS flow. Does anyone else have this issue or did I miss something in my customizing? The message type is set to 1 Completion.
    Thanks!
    Mireille

    Hi,
    FYI,
    I created an incident and got the following reply:
    thanks for contacting SAP Support in this matter.
    The observed behavior is
    caused by the Customs systems behavior. In
    case of a posive explanation there
    will be no reply from customs. But
    in case of negative explanation an error
    will be send.
    Therefore the automatic update of actrivity sequence is not
    possible
    here.
    There are two options to dissolve this situation:
    1)
    directly send IE818 if legally ok
    2) use TA /sapsll/cdoc_stares and /sapsll/cdoc_act_clo to get activity
       in correct state again.
    Hopefully the given information can help to solve the issue.
    So there are no plans by SAP of resolving this.

  • How to make a form using a wizard when the table has no primary key ?

    Hi,
    I want to make a form to update, delete a table. The table has no primary key. The problem is that the Wizard ask for a primary key.
    How to avoid using a primary key ? i mean I don't want to create a primary key if is is possible.
    I would like to use the wizard; is it possible ?
    Thank you for your kind answers.
    Christian

    I believe the key is choosing 'Interactive' as opposed to 'Classic' in the implementation and then you can choose 'Existing Trigger' for the primary key source and it should work to use an existing column as your proimary key.

  • BPM finishes when reaching exception in loop block

    Hi everybody,
    we got a loop block in BMP. In the loop block we catch mapping errors by using an exception branch.
    What we can see is that when an exception is thrown the process steps into the exception branch an than is leaving the loop block!! So the remaining single messages are not processed!
    Is there a workaround?
    Regards Mario

    Hi Mario,
    Have you used the local correlation for block step.
    Can you please give steps you used in BPM, also try to see the below threads
    What is the use of block step in BPM? Please help!
    BPM ParforEach Loop
    BPM loop
    also,
    BPM Block step
    Using BPM (Blocks) when Incoming message has multilple rows
    Doubt in BPM
    BPM: Block Processing: ParForEach
    Regards
    Chilla

  • Collect Messages using BPM

    Hi all,
            Am doing a collect message pattern using BPM. After collecting messages wen mapping is called its throwing exception. CAn you help me out in this. I ll explain.
    the input i give is :
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    i sent thid message 5 times to BPM (using collect pattern).
    the stop message is of the format
    <Stop>
       <ID> A</ID>
    </Stop>
    wen i send this the collect block is exited and the flow comes  to a transformation step which does a n:1 mapping
    ie. in my mapping i add the source message type and changed its occurence to unbounded in messages Similarly in IM also i changed the occurence of source MI to unbounded. wen i test the message mapping with this
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    as input it gives the exception. But if i gve like this ten its showing successful.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    </ns0:Message1>
    </ns0:Messages>
    But how can wedo that as transforamtion happens in BPM. PLease help me out in this

    Hi,
    Check these links
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm
    Regards,
    Kumar

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • How to remove Doc Type in incoming message

    Hi all,
    I have a scenario Websevice -> XI > RFC. The incoming message has document type declaration which needs to be removed. Somebody directed me to  note number 812966.
    I could understand that i need to capture the incoming message and remove the document type but i don't know how to do that.
    I amd new to this type where Java program needs to be invoked. Does i require UFD needs to be created? If yes, what should be the input. If XML message is the input, how to capture that, means which input parameter contains that and to which, it should be passed back.
    Can any body please suggest the steps.
    Any help will really appriciated.
    Thanks and best regards,
    Kulwant

    Hi Kulwant,
    Could you pls explain how you have done that in xslt? Have you used any tool for xslt mapping?
    I am using Altova mapforce for doing xslt mapping but when i load my xml file (source) in this tool, It gives me error that it could not load dtd file which is mentioned in doctype node.
    Any idea?
    Regards
    Sumit

  • Why use finally block

    why use finnaly block when we can close the resources after the try cath method has executed

    The real reason is that you don't usually catch all exceptions (and you shouldn't). The code shown doesn't catch Errors for example, yet you would always want the resources allocated in the method to be released regardless of any exceptions that are thrown, not just the ones you catch yourself.

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

  • Since i have updated to IOS 7.1 my phone no longer can make calls, connect using 3G or send text messages. can someone help please?

    since i have updated to IOS 7.1 my phone no longer can make calls, connect using 3G or send text messages. has anyone else had this trouble? i've tried resetting the phone, but had no luck. i can recieve calls and texts, but cannot make calls, text or use the 3G.
    please can anyone help?

    Yes! All the above. I have to buy a new phone. I contacted my phone company and there is nothing they can do 

  • Is there an app I can use to block nuisance callers

    Is there an app I can use to block nuisance callers

    No app has the ability to do so, contact your carrier to see if they offer such a service.

Maybe you are looking for

  • FAQ: How to uninstall & cancel Premium subscriptions for Adobe Revel

    How to cancel Revel Premium and return to the Free Revel version  iOS If you are an iOS user, please disable automatic subscription renewal for Revel under your iTunes Store account, in the main device Settings app.  For detailed instructions please

  • Cant get itunes on my pc

    it downloads then says it cant instiall because something about 32win  i was told to try downloading the 32 bit version instead of the 64 but i am unable to find it on the website  this is all an attempt to upgrade my iphone through itunes because it

  • Meet the Experts: How to use recording

    I appreciate the fact that a recording of the Meet the Experts session is available. Could someone please tell me what software is required to view or listen to the recording? The file type is .wrf, which is apparently some sort of WebEx file. But it

  • On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them?

    On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them? I think it's Ctrl+F4 on a PC. I would like to close just these tabs or windows instead of having to quit the whole firefox pro

  • Getting only 1 peak value per cycle

    Hi, I am studying hopping, and my subjects hop on a force plate at 2.2Hz for 30 seconds. I am attempting to output one peak ground reaction force for each hop in a bar chart, but my program is running so quickly that I get multiple peaks for each hop