Modelled deadline with  multiline container  subworkflow woes

Hi,
In a modelled deadline I am trying to put a subworkflow step with a mutliline container element
( ie when deadline reached, run the subworkflow once for everything in the container.
Workflow(s) compile and activate ok, however at runtime
I get the following error :
Inconsistent workflow definition: Join for fork node no. 158 not found       
(this is the subworkflow node)
Extras -> Special functions -> Block correction didn't find anything. Tried saving & activating, logging on and off, sacrificing chickens.. well maybe not the last one
yet !   Any ideas ?
PS Binding : &W_FC_MGR[&_WF_PARFOREACH_INDEX&]&  =>  
            &W_AGENT&

Hi Ian,
Always mention system/version when asking questions.
On older systems (4.6c I think) I've had some strange things happen when creating modelled deadlines manually. So I got into the habit of using the wizard to intially create all my modelled deadlines on pre-620 systems.
Failing that, most of the time I've seen those type messages I was right and the WF builder was the confused one. The time-saving route is often to simply delete and recreate the offending step.
Failing that, try creating it elsewhere in the WF and seeing if that checks out OK. If so, then cut-n-paste it to where you want in your deadline. If it complains after that (unlikely), log it with OSS.
Cheers,
Mike

Similar Messages

  • Using Multiline Container element in sending mail

    Hi,
         I am sending mail with Multiline Container element APTEXT.
    I put &APTEXT##&  Is this right ?
    But when I have 2 lines of data, its sending mail with only one line.
    Thanks

    It is my personal observation that if the line size is more than 132 charecters then it will display like that.
    So do like this
    1. First make the row size as 125.
    2. and when you are selecting the multiline container element in the mail content, then it will ask you 3 options selct the option Print line by line then check the mail.
    It worked in my case.

  • Not able to give multiline container variable in transformation step.

    Hello,
    I'm doing a simple collect pattern in BPM.
    I have three container variables, one- the source interface, second the multiline of source interface and third-the target interface.
    Now, i have block in which i have the exception and deadline steps and then a loop in which i have my receiver which collects the message and gives it to the container to keep it to the list. Outside the block i have my transformation step which takes the relevant interface mapping. When i try to give the multiline container variable the box turns red, but of give the normal source container variable it accepts it.
    If i do a check by F7, Expression must not return a multiline value.
    The scope of the container variables is maintained as Process.
    What could be wrong, please help.
    Thanks and regards,
    Akhil

    hi akhil,
    think in transformation it sees source messages and target messages.
    if u have n:1 scenario then n interfaces to one interface right
    thats is each interface will have one message type
    so if u are using interace mapping in transformation it is expecting n interface variables to one interface variable.
    it will display n source messages to one source message jsut check.
    so transformation step is expecting one n sub message types to be embedded in one message type
    <messages>
    <message 1>
    <meessage n>
    </messages>
    this one is mapped with one XML target messgae
    so if u have n different messages see that u compress them in to one message type like the above and give it in trasnformation step.
    if you have n different messages then u can alwasy go for n different interfaces to one single interface
    then u can see in tranformation step n diff source messages and one target message
    was just confused with reciever step which allows multiline receivers
    Thanks & Regards,
    Rama Krishna
    Edited by: rama krishna talluri on Mar 6, 2008 1:48 PM
    Edited by: rama krishna talluri on Mar 6, 2008 1:49 PM

  • Error in Workflow Multiline Container

    I'm facing with two error during implementing multiline container: "Agent determination for step '0000000002' failed" and "Result of agent resolution does not agree with agents of task".
    What I've done is:
    - "AGENTS" container created which refer to USR02-BNAME. In the properties tab, I checked the multiline check box. The contents of this container is coming from method in the main workflow. In the workflow log, I saw this container filled correctly. Its contain 2 line of user id.
    - I have subworkflow-2 that I set as multiline element in tab "other" and filled "AGENTS" container in that field. This subworkflow contain only one task that need to be executed by many user. The binding from previous subworkflow to this subworkflow-2 is: &AGENTS[&_WF_PARFOREACH_INDEX&]& --> &AGENTS1&
    "AGENTS1" is single container which refer to USR02-BNAME.
    - The binding from subworkflow-2 into task is: &AGENTS1& --> &AGENTS1&
    When I executing this workflow and checked in the workflow log "AGENTS1" container is filled with "000001" same value with container WfParForEach_Index.
    Hopefully out there can help me on this issue.

    Hello,
    I have the same problem. I've found this link http://mailman.mit.edu/pipermail/sap-wug/2008-March/028123.html where a possible solution is detailed.
    I have planned to  made test on it in next day.
    Regards,
    Corrado.

  • Passing values from multiline container

    Hello Gurus,
    I am new to workflow and I have a requirement wherein I have a multiline container element (DiscDocStatus of type EDISCDOC-STATUS) filled with the status values.
    If all the values in container DiscDocStatus are 10 or 11, then I need to execute certain steps (step A and step B) and if any other value than 10 or 11, then I have to wait for 10 days and then do step A and step B.
    Could you please how to do it?
    P.S. I know...I am asking tooo silly thing...but do not have any option but to ask...apologies....
    Thanks

    Hi..
    In that case you can try as below & i checked the same. it works for me..
    1. Create a block step in your workflow... In local container tab of block step create a single value container element which has
    data type as line type of your multiline container...
    Say for eg: your multiline container has datatype as (char10) with multiline checkbox enabled then create this container element in
    local container tab with datatype as (char10) without multiline checkbox (ideally you can compare multiline container as internal table
    and this single line container as workarea)..
    2. In control tab of block step do the binding from multiline container to single line container. Leave the Block type dropdown in control tab as standard.
    3. Put a condition step within block with condition as single line container NE 10 and NE 11. (So in case the multiline element has even a single value which is not 10 or 11 then workflow control will enter this condition). Place a container step in outcome True of condition step to set a flag variable as X (Note: Create this flag variable in workflow container)
    4. Now outside the block again put a condition step which checks whether this flag variable is set as 'X' (if it has value X then it means that multiline container has atleast 1 value other than 10 & 11. If not it means all values are either 10 or 11). So If flag is X you have to wait for 10 days and then do step A and step B. If not you can execute steps A & B. For waiting for 10 days you can go for requested start deadline which will send the workitem to the inbox of approver only if the mentioned time period/deadline (in your case - 10 days) expires.
    Let me know in case of any issues.
    Regards,
    Bharath

  • Receiver determination step in the BPM and multiline container

    i have made a file2file scenario where:
    there is a BPM,
    the BPM has a send step which contains a receive step,
    a transformation that mapps the incomin message to two messages(Split-messgae case),
    and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
    It didnt work......and i followed a blog->  /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure   ............... which suggested to have a
    "receiver-determination" step in the BPM before the SEND step.... it says that this
    "receiver-determination" step will put the message in a MULTILINE container..
    i m confused bout this step ........ can anybody explain.....
    please help

    HI,
    In receiver determination step selctthe multi line container element.in container editor create the one element with type as receiver and select the check box.
    A Receiver Determination step returns set of receivers configured for the output abs interfaces in the directory and puts it into receiver which is a multiline container receiver element
    Regards
    Chilla

  • "receiver-determination" step and multiline container

    i have made a file2file scenario where:
    there is a BPM,
    the BPM contains a receive step,
    a transformation that mapps the incomin message to two messages(Split-messgae case),
    and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
    It didnt work......and i followed a blog-> /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure ............... which suggested to have a
    "receiver-determination" step in the BPM before the SEND step.... it says that this
    "receiver-determination" step will put the message in a MULTILINE container..
    i m confused bout this step ........ can anybody explain.....
    please help

    Receiver Determination step will return all receivers that are configured in Integration Directory, for that particular message interface, having the BPM as the sender service.
    So, more than one receiver may return. Hence you need to define the receiver container as a multiline container.
    Here you go with explanations- for Receiver Determinations in BPM-
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm

  • Problem using multiline container in Alert Category

    Hello, experts!
    Could you please suggest me how to solve the following issue.
    I have userdefined multiline container MY_CONTAINER with two elements FIELD (stores name of field) and VALUE (stores value of field). This container is filled in runtime by means of BADI extension. So in transaction ALRTDISP filled container looks like:
      MY_CONTAINER
          MY_CONTAINER[1]
              FIELD    SystemCode
              VALUE    42
          MY_CONTAINER[2]
              FIELD    Key
              VALUE    0292383728232
          MY_CONTAINER[3]
              FIELD    State
              VALUE    1
          ...and so on. Number of filled elements of container is unknown.
    I need to add the contents of this container to Long text of Alert Category in form of:
          SystemCode: 42
          Key: 0292383728232
          State: 1
    ...and so on.
    I added MY_CONTAINER on the Containers tab of my alert category. And in Long text included the following expression:
          &MY_CONTAINER[].FIELD[]&: &MY_CONTAINER[].VALUE[]&.
    But in long text it looks like:
          SystemCode Key State ...: 42 0292383728232 1 ...
    If the expression is like
          &MY_CONTAINER[].FIELD& - &MY_CONTAINER[].VALUE&
    then long text contains only the first element:
          SystemCode: 42.
    Does anybody know how to solve this problem?
    I think I need to use expressions (something like FOR-loop) for filling Long Text in Alert Categories. Is it possible?
    BR,
    Vika

    Hi Experts,
    still trying to work out but couldn't understand the behaviour.
    <b>If the Long text :</b>
    Error: &SXMS_ERROR_CODE& <b>of category &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE&  <b>and  Interface &SXMS_FROM_INTERFACE&</b>
    to test I am running the program <b>RSALERTTEST</b>
    <b>Msg got thru E-mail is </b>
    Error:  and category:<b> &SXMS_ERROR_CAT&</b> was found in a message  from the service  and Interface
    <b>
    And when I change the Long text</b>
    Error: &SXMS_ERROR_CODE& <b>and &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& and Interface &SXMS_FROM_INTERFACE&
    After running the program <b>RSALERTTEST</b>
    <b>
    E-mail msg</b>
    Error:  and was found in a message  from the service  and Interface <b>&SXMS_FROM_INTERFACE&</b>
    coudn't able to understand why it is displaying the container variable as is in the mail.
    checked all the Alert Framework configuration, Everything looks good.
    Thank you,
    <b>MK</b>

  • Send multiline container into receiver (SP14)

    I need to validate each object in xml
    I created BPM, 1:N mapping,  1:1mapping for validation and value mapping.
    Then I need to insert data into DB (JDBC Receiver).
    I want to improve performance and to insert all validated data in one transaction as bath operation. For this purpose I think to add multiline container and container step ant collect all validated data.
    The question is: Is it possible to send  multiline data from BPM into receiver system? I heared that it is posible in SP14. Do I need additional configuration? Will this solution work?

    Hi Inigo,
    you need first a tranformation step where you have a source message with n lines and n target messages with one line (multi line container).
    Next you can define a loop block for all entries of that container.
    Regards,
    Udo

  • Urgent - How to pass value to Multiline container element in workflow

    Hi,
      I hav a requirement as below...
    1) In a Bus. Object, there is a method with a parameter which is Multiline.
    2) When I execute it directly from Bus. Object, I am able to populate any no. of lines to the multiline parameter & execute it. It is working correctly.
    3) Now I have created a task for the same Method & used it in my workflow.
    4) I want to pass multiline values to the parameter from workflow.
    5) I dont have any internal table being filled in the previous steps. I directly want to assign variables or constants to it.
    How can I do it????
    Thanks,
    Sivagami

    hi sivagami,
    Please help me. I am also facing same type of problem. i am new to workflow. i am using using FM sap_wapi_write_container. to write into the container. but here my problem is i don know wat is the element name to refer to the value. if i give any element naem its taking as separate element & not as the same multiline container. i hope u will be able to assist me since u have worked on the same type of problem.
    If u help i will be highly thankful to u.
    Thanks & Regards
    Nigesh

  • Output of multiline container element in email not working

    I'm trying to display a multiline container element in an e-mail from workflow. The element container contains 2 lines. I can see these have been populated in the log in SWIA. However, when using &ITAB##& to output these lines nothing is diplayed. I've also tried &ITAB[]& and &ITAB& all of which return no lines in the e-mail.
    Does anyone know if this is something I'm doing wrong or is there an error in R/3. I'm on release 4.6c.
    Thanks
    Karen

    This is getting annoying. This was sednging e-mails and printing the table in the e-mail fine. Then I had to add more fields to the table ITAB. After this the table wasn't showing again in the e-mail. I recreated the workflow, tasks and even the BOM, but still nothing.
    As before I can see the ITAB entries in the details of the e-mail task. But, they don't get written into the e-mail even though I'm selecting &ITAB##& from the Expressions section to put into the e-mail.
    Is there anything I haven't tried. Is there something I'm doing wrong? Is this a SAP problem that can be fixed with a note. I've had a look, but can't find anything about it.
    Thanks
    Karen

  • Multiline container mapping

    Hi,
    There are many invoices present in the incoming message.
    I have to make a single Bapi call for each invoice.
    For this purpose in the BPM I need to map the message to a multiline container, so that in the next block I can loop each line of this multiline container to the required Bapi.
    Now, I have this problem in the mapping of the received message into a multiline container. The transformation step in BPM is not giving any result in the output.
    For your reference, I am giving belwo the input and result of the mapping (into a multiline container below) I need
    1. Input:
          <ns1:MT_scan_invoice xmlns:ns1="urn:customers:invoice">
             <Invoice>
             </Invoice>
             <Invoice>
             </Invoice>
          </ns1:MT_scan_invoice>
    2. Result needed:
          <ns1:MT_scan_invoice xmlns:ns1="urn:customers:invoice">
             <Invoice>
             </Invoice>
          </ns1:MT_scan_invoice>
       <ns1:MT_scan_invoice xmlns:ns1="urn:customers:invoice">
             <Invoice>
             </Invoice>
          </ns1:MT_scan_invoice>
    I have done mapping where, I have mapped the "Invoice" node (which is unbounded) to the target node of "MT_scan_invoice ".
    In the 'Messages' tab of message mapping and in the 'Design' tab of interface mapping, I have changed the occurrence of the target message to '0..unbounded'. Also in the BPM the target container is multiline.
    The interface and message mapping in stand-alone mode is giving successful outputs. (as desired)
    Still the transformation step in Runtime is giving an empty output. Did I miss something in the mapping?
    Kindly help. For the last 2 weeks, I am stuck with this issue.
    Also kindly suggest alternate methods to generate a multiline container.
    Thanks,
    John

    Hi,
    In this case, you are splitting your single message based on some condition to multiple messages but with the same structure as that of source.
    Can you pls specify what is that condition?
    There is a possibility that mapping is wrong somewhere here.
    Also, befor this mapping there are two nodes at target side, 'Messages' and 'Message1'.
    Map these nodes with some constant even thought their occurence is 1..1.
    Regards,
    Supriya.

  • How to send message from multiline container to same webservice or bus. sys

    Hi All,
    I want to send message from multiline container to a syn web service sequentially.
    I am getting that multiline container after a transformations step (1: n mapping).
    where i dont known what will be the value for n (number of message in multiline container). This will vary; depend upon input message to BPM.
    Scenario is like this.
    1. Receive step
    2. Transfromation to 1: n
    3. Want to send message from multiline container to a web service (business service),default loop and block step doesn’t give desirable result.
    any help will be appreciable
    Regards,
    Adish

    Adish Jain wrote:>
    > where as, if I will use block, it will send the same message to multiple receivers which are present in multiline receiver container. So need to think in different manner.
    Not necessarily.
    When you use block step in ForEach mode, you can select the container variable from:
    - a receiver container;
    - an interface container;
    The line element can then be either a receiver or an interface.
    The problem is that for this to work, the interfaces need to be async (since they are to be used as containers) and hence you won't be able to make your scenario work.
    But again, explain why your scenario with loop step didn't work.
    The only gap here is how to determine the number of loops (defining the counter variable value). But that can be easily solved if you include a new message with occurrence 1 as a target message of your mapping and as a container in your bpm.
    This new message needs only 1 single field, that should be filled with the number of messages you've created in the mapping (you could use count standard function, f.ex.).
    In your bpm, make sure to pass this fields value into the counter container right after your transformation step.
    Regards,
    Henrique.

  • Mail not send to multiple users even Multiline container element has value

    Hi,
    I have collected the AGENTS to send mail notification in a multiline container element using a background step. The method collect the agent and return in to a container. I use this container in the following mail step using expression. The type id is 'G'. The mail step fails .The address string is filled also with agents.
    Please guide me if u have come across this situation early.
    Regards,
    Richard A

    I think if you are passing SAP User Id then the SAP User Id should be concatenated with US in the front.
    If this is maintained in the container element and if still send mail is failing then it might be that one of the USER Id does not exist in the system.
    Hope this helps.
    Thanks
    Arghadip

  • CcBPM multiline container Processing

    I have a BPM where I select several records from the database. I then need to process each record through a JAVA mapping module individually.  Based on the output of the JAVA mapping module I either send the record to the appropriate receiver or I end the process for that record.  
    first Attempt:
    1) receive data from database through SQL query
    2) Split the single message with many entries into many individual messages through a transformation step.  
        i.e.  Mapping A occurence 1 to Mapping B occurence 0,unbounded
    3) A ParForEach Block which contained the transformation step with the JAVA Mapping, A switch step for canceling or sending the document.  
    My problem:
    The multiline data was never sent to the transformation step but I noticed that if I have just had a send step it would process each line.
    Second Attempt:
    1)  Receive data from database through SQL query
    2) Split message as mentioned above
    3) Assign multiline to variable in container opperation
    4) Variable from container operation is input to JAVA Mapping
    My problem:
      I don't see any processing from within the loop.  I don't receive any output and my data doesn't appear to have processed through the JAVA module.
    Does anyone have any other suggestions on how to process these records since my JAVA module can't take the list of records but needs them individually as well as I need to send them out individually based on their independent response from the JAVA module.

    Hi Amar,
    We don't have any direct way to refer multiline container in send mail. You can achieve this indirectly. You create a big string in workflow container. Then create a custom object from SW01. Create a method in this object. This method should take the multiline element as the input and concatenates the lines and returns the big string. Now the object is created, create a new task before send mail stpe. This task will be calling the custom object method which takes the multiline element and returns the string. Then use this string in the mail. Hope this helps.
    Thanks
    hari

Maybe you are looking for

  • How to sync two iPads

    How can two iPads  be synced ?

  • Uploading data file with specific encoding and other metadata

    Hello everyone. I've been recently testing Microsoft Codename "Data Hub". When select the option to upload a CSV or XLSX file to populate my database, it basically has two problems, in my opinion: 1. It would be great if I could select the file's enc

  • Java Bean Model in WebDynpro

    Hi, I have build am Java Bean Class which I use in a WebDynpro Model. In this Java Bean Class i want to call a remote method via RMI.      public String calculate(int aFirst, int aSecond)           float theResult = 0;           try {                

  • Ratings suddenly disappeared...?

    I have been using Aperture 3 for a couple of weeks. I have done several imports and rated photos in about 7 new albums. Now suddenly today I import new photos and ratings are not showing up. The star ratings previously entered on Aperture 3 images (n

  • Why oracle function return 4000 characters ?

    Dear All When I write any function to get some return value in a query, its width is set to 4000. Moreover, when i write the same query to create any LOV, it gives an error that record group field cannot be greater than 2000. Where the actual width o