Error in Block step in BPM.

Hi all,
I am getting the error in block step, my design follows like this i defined one transformation before block step, the transformation step will splits the input bunch of records into equal no of record packets and sent to block step.. while defining block step i used foreach mode, in block step we kept one sync send step which will send message and gets response ....
but my block step is getting error once message enters into the block...
Thanks in advance for your valuable  suggestions and solutions...
Srinivas

Hello...
>>the transformation step will splits the input bunch of records into equal no of record packets and sent to block step
The transformation splits the message into bunch.. Put  the output in a multiline container and use this in the block step...
>>but my block step is getting error once message enters into the block...
What error are you getting??
>>Thanks in advance for your valuable suggestions and solutions...
Great to know that you are happy with the responses from the community member in this forum.. So I wish to point one more thing here.. Some of the recent threads closed by you were having closing comment as solved.. it will be better if you point out the problem and the solution which you have adopted to solve the same, so that other community member having the same problem will get a speedy solution... This is just a suggetsion from my end...
Thanks
Suraj

Similar Messages

  • What is the use of block step in BPM? Please help!

    Hi Experts,
             I would like to know what is the use of block step in BPM? In what cases we can use it?
    Can somebody explain BLOCK by relating to any programming language ( java) control step?
    Please help!
    Thanks
    Gopal

    Hi,
    Block step is similar to what we use curly braces in most of the languages which defines the scope. For example if we are using loop step in bpm to loop through some variable then we can use block step to restrict the scope of loop step up to some point.
    Thanks and Regards,
    Sudheer.

  • ABAP proxy in Block step in BPM

    Hi Experts,
    Can ABAP server proxy be used in the block step of BPM?
    Proxy cannot be generated using Abstract interfaces right?
    Thanks
    Suma S

    Hi Suma,
    Check the below links :-
    As far as my knowledge, you cannot use ABAP proxies in the block step.However, you can cross check it.
    Yes, you are right . You cannot create proxies from abstract interfaces.
    Check the below links. These will help u in better understanding :-
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
    bpm send abap proxy problem
    Re: what is a block step where it is used
    What is the use of block step in BPM? Please help!
    Regards,
    Rohit

  • BPM error at BLock step name

    hello experts,
    i am working on BPM scenario,
    in that i have few block steps..... one of block step, the step name is displaying the error.
    saying that the step name is already exists.
    but i have changed, then also it displaying the same error.
    can any body help me in this regard??

    Delete the block and recreate it. It will automatically assign it a unique name.
    Regards,
    Prateek

  • ParforEach Mode in Block Step in BPM

    Hi All,
    We designed a BPM with a block step in Parforeach mode.
    For this block step, a multiline container is the Input.It has all the messages to be processed in parallel. But during runtime this block step is not processed in parallel mode.The messages are processed one after the other in sequential mode.Only different instances of the block step are generated but they are processed sequentially.
    Any suggestions!!!
    Regards,
    Srinivas.

    Hello,
    You could read here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm
    that:
    A ParForEach is not a means of improving performance. A ParForEach will not result in a split into threads.
    Could this be the reason?
    Regards
    Patrick

  • Block step in BPM

    Hi Experts,
      I am facing a problem in BPM,
    1) Receive the Message
    2) Split the Message
    3) Block starts
        a) Synchronous send to RFC
        b)Response from this is send to Send step
    In this scenario, the Message is going upto "BLOCK" step, and from there it is not geting executed correctly. To my surprise in SXMB_MONI, the message going to BPM succesfully and no other message found from BPM to any system(either synchronous send / send).
    Can you please help me in identifying the problem.
    Regards,
    Anudeep

    Hi,
      Problem is solved.
    Multi mapping is not giving target element. It is solved when we chnaged the input payload format, from,
    <ns1:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns1:Sender_SI>
    to
    <?xml version="1.0" encoding="UTF-8"?>  
    <ns0:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns0:Sender_SI>
    By this change the Mapping worked and scenario is running succesfully.

  • Error in Transformation step of BPM

    Hi all,
    In BPM, I have defined a transformation step. For this, I have specified the Interface mapping which is between 2 abstract asynchronous interfaces. The Message Mapping for this Interface mapping involves multi-mapping (1:n) of the messages used.
    Also, for naming convenience, I have kept the names of the abstract async interface and its message type same.
    I have created containers for the message types of the both interfaces. The container for target message is of type 'multi-line'.
    When I checked the integration process, errors (red boxes) appear for both - the source and target messages in the transformation step properties window. The error text says <b>"Expression must return the interface type < Name of abstract message interface >"</b>
    What could be the cause of this error ?
    Any help would be appreciated.
    Thanks in advance.
    -Shankar

    Hi Shankar,
    Are you splitting the messages i.e 1 message into N messages ? If so, do  you have multiple message types in the Message Mapping in the target side ?
    Anyway, just recheck the Abstract Interfaces are activated. And reassign the container variables with Source message Absract Interfaces and Target message Abstract Interfaces.
    The error tells that, there is somewhere occurence problem.. So that is mismatch with the Message Interfaces..because you have selected the Multiline in the COntainers right ? Check without that..if it is ok, to narrow down the debugging..
    Regards,
    moorthy
    Regards,
    Moorthy

  • Error in send step in BPM

    Hello,
    I ehanced an existing BPM where a send step sends data to a J2EE system. I inserted a switch and put the existing send step to one branche and a new send step to the otherweise-branche. The new send step interrupt with an error:
    <b>No exception defined for fault message hostname http://xml.apache.org/axis/</b>
    But there is an exception branche defined. An idea what's the problem?
    I didn't define a message called hostname, so where he got this name from?
    thx
    chris

    No, everything seems fine.
    Here is the payload of response :
    <i>
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    </i>

  • Error with fork step in BPM

    Hey guys
    i m trying to collect three different IDoc's in a BPM and using fork for that,when i try to enter 3 in the Necessary branches property of Fork,its giving me and error sayin that maximum value permitted is 2.
    any idea why i m getting this error?
    thanx
    ahmad

    Hi,
    Are You the correlation
    This might Help you
    Fork and BPM
    Fork is not working - BPM
    Regards
    Agasthuri Doss

  • Purpose of having a block in the BPM

    whats the purpose of having a block in the BPM, and what does its attributes
    BLOCK-Start and BLOCK-end with values "new  transaction"/"no new transaction" means

    Hi
    pls check
    What is the use of block step in BPM? Please help!
    Regards,
    Ram

  • How to handle error in Syncrounous Send step in BPM.

    Hi All,
    i am inserting the data into target database and getting the response from the target database in to XI(BPM) here i am sending the data as a bunch(packets), i mean i am splitting the recods into packets and inserting these packets into target database through Sync Send step... now my problem is how can i handle if any of the packet(one set of bunch recors) was fail, how can i handle this exception.
    Thanks in advances for your suggesions and solutions which came by your huge experiences.
    B'rgrds,
    Srinivas

    Since the requirement is to catch the Exception proceed as:
    Include a Block in your BPM --> Include the Send Step -> Right-click on the Block and choose insert Exception Branch> In the Exception Branch inlcude the logic that you want to implement in case of error.
    Possible Exception Handling logics:
    1) Send email to support personnel notifying him of the error and let the remaining process continue
    2) Send email to support personnel notifying him of the error and cancel the process
    3) Cancel the process.
    Make sure that you create a Exception Handler to be included in the Block and also in the System Error section of the Send Step.
    Regards,
    Abhishek.

  • Send Synchronous step in BPM - showing application error in sxmb_moni

    Hi
       We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
    Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
    My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
    But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
    How do we make the cc BPM not stop after getting the fault response and the application error ?

    Insert an Exception Branch by rightclicking on the block and choose insert.
    In the send step under Exceptions you can point to the created exception branch.
    In the exception branch you can now handle what to do when it fails.
    Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • BPM Collect Pattern: N:1 Mapping error in trnsformation step

    Dear All,
    I am using collect pattern Payload Dependant.
    I have one source data type and one target data type. Mapping is one to one.
    Data type contains 3 fields, Value Name and Surname.
    In Loop I have used condition when Counter is equal to value stop the loop.
    I have used Transformation step as I am using N:1 mapping.
    I have used abastrct to abastract message mapping.
    Source message is 0 to unbounded.
    In interface mapping target message occourance is 1. But in mapping program target message occourance is 0 to unbounded.
    When I am running my scenario, Third party to IP is working fine. But in IP i am getting error in transformation step.
    "com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Collect_Receiver_MT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start"
    Can anybody will help me to solve this problem?
    Warm Regards,
    Gouri

    Have a look
    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
    /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
    Also have a look at these seminars,
    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
    Thanks

  • BPM Scenario Block Step

    Hi All,
    In my scenario iam getting a message through RFC.Now i have to split the messsage into multiple messages and then send each message individually to a webservice and get the response.
    I want to send them in Parallel mode by using Block step - Parforeach mode.
    Following are the steps in my BPM.
    1.Receive step - Open Syn/Async Bridge
    2. Transformation step to split the message into multiple messages.
    3.Opened a block in parforeach mode
    4.Send step in synchronous mode
    6.Collect the response in container.
    7.Ouside the block close the ync/Async bridge.
    When i exceute the scenario, i only see one message in SXMB_MONI which is from R3 system and even that message does not indicate what the problem is.The message recahed the BP engine.
    Unable to figure out what the problem is.
    Regards,
    Srinivas.

    But to use the response of all the sync messages, u must use the correlation
    See this
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    Regards,
    Prateek

Maybe you are looking for

  • I lost all my events for my iCal - how do I recover?

    Last night I went to load an event and my calendar was gone.  All the other shared calendars are there just mine is gone.  It is also missing from my iPhone.  I tried a week old Time Machine back up - no luck.

  • How to install owb server-side software on UNIX Solaris (SPACR-64)?

    Hi there, How to install owb server-side software on UNIX Solaris (SPACR-64)? I've read the install guide and it mentions 3. Start the installer by entering the following at the prompt: cd mount_point ./runInstaller I don't have access to any graphic

  • 4.2.1 update done, now I cant transfer music!

    Hey All, I've just updated my iphone 3g to 4.2.1. All looks good, speed is better, but everytime I try to transfer music from iTunes to my phone, I'm just getting a message pop up saying that iTunes has stopped working, and then it closes when you cl

  • Original letter in search object

    i have a question that when i using PARAMETERS: SP_SUBB(20) MATCHCODE OBJECT ZZ03 .  for selection the list value should be e.g. G9 - Puppy , but when i debug the program ...i found that SP_SUBB become all capital letter that means SP_SUBB = G9 - PUP

  • Assigning Role while create a BP

    Hi , I am creating business partner using BAPI : BAPI_BUPA_CREATE_FROM_DATA I didnot find any parameter to assign role while creation. If this is not possible , can anyone please help me to assign role say 'CRM Consumer' to the BP Thanks in advance.