Binding Problem in workflow

Hi,
I have created my own workflow for SO change. The kind of requirement i am handling is that whenever there is a change
in SO a mail should get triggered to workflow inititor along with changed SO number.
Now i stucked up at one place. See i have executed VA02 tcode and captured corresponding business object
After that i have  created workflow with 2 step types one is user decision and another is send mail and at the start of workflow
i have attached corresponding business object event to workflow  Now the problem is i am not able to pass data from VA02 tcode to correspodng created container
Please guide me  and at the same time i would like to send that mail to my gmail id for which i have already done
configuration in SCOT and SWU3.
Thanks
Parag

Hi,
I think you haven't done the binding between event_object & BO that acts as workflow container.
I mean, in your workflow, see if a workflow container of type BUS2032 exists with Import/export parameter set.
If no create one and do the necessary binding between event container Event_object & your workflow container (say BUS2032).
Hope it helps.
Regards,
Raj

Similar Messages

  • RE: Workflow binding problem in Production system(urgent)

    Hi Experts,
    Currently we transported our workflows to production server. When one of the user tested our workflow it failed. On Analysis I could find that the data are not passed from method to task container  but method is working fine separately. Even I tried executing t-code 'SWU_OBUF' , but still not working.
    Pls let me know of the solution .
    Thanks,
    Bharath

    Check for linkages. Is the binding activated betwwen workflow to task container.
    Check whether values appear in task container or not.
    Then check for binding between task & method container. Is there any event linked with the task. Is the event linkage is activated.
    The problem might be resolved if all the linkages are correct.

  • Problems in workflow builder

    Hi,
    I am facing problems in workflow builder and tasks while i am creating a custom workflow template.
    1) binding between task and workflow does not work. One of the container element value is getting passed from the task to the workflow while others are not getting passed. All these are part of the same binding.
    2) the workflow container elements are not available in the steps of the workflow. eg, in a condition step i am comparing two container elements, it is failing, its taking balnk values. also in send mail step i have included a continer elements in description. i see nothing there. means the container elements are blank for the send mail step.
    3) the binding betw the task and the method simple dissappears (thrd Binding betw task and method dissappears !! )
    kindly provide and advice or suggestions
    thank you very much
    -r

    Hi,
    I have sent a mail to the email address mentioned in your profile. I will try to find a place in sdn where i cud upload the screen shots.
    Yes it look as though the data is not available at the time of the condition step. But how could that be as it is the business object attribute and that has to be available at any point in the workflow  for all the workflow steps. I have used it several times in other workflow templates.
    I have done the following
    created new workflow template and put bus2091-created as start event
    extended business object and added several new attributes and defined each attribute. some of them are virtual and some are database attribute. And while coding the definition of the virtual attribute, which is pretty complex logic, i have used the database attributes of the same business object.
    the first step in the workflow was activity step . in which i called BO method to get soem data. eg frist name, last name of the creator. i did not export anything to the method, only imported the first name, last name because inside the method i use object-_essr-ernam to get the creator user id and then i find the names of this user id
    the second step is the condtion step where i check the attribute of the business object. the attribute which are database attributes are available. but those which are virtual attributes are totally blank.
    when i trigger the workflow, the condition result always fails as there are no values available. and in swi1 i can see that those values are very much there in the business object instance.
    is it so that these attributes are populated later than the time when condition step is called ? if yes, then why does the workflow processing reach the condition step ? it should first process all the initial steps, ie completely instantiate the business object and then it should start the steps of workflow. am i right ?
    is it because i have used the database attributes of the BO in order to build logic in the definition of the virtual attributes ? for eg. instead of using object-_essr-createdby, should i use only object-key-entrysheet. then write select statement on essr table for whatever entrysheet data i want and then carry on with my coding for the virtual attribute ??
    thank you
    r

  • Problem in Workflow matching step

    Hi,
    I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
    Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
    Match Record Scope: Records vs Records, Strategy: MDM_NAME.
    This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
    MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
    Now my problem is even after matching and merging a large number of records it is not going to
    the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
    the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
    When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
    You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
    When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
    So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
    So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
    When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
    So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
    You can follow the below link to understand the process better:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Experiencing problems with workflow- validate step

    I am experiencing problems with workflow->validate step in Hyperion FDM.
    I am not able to export unmapped dimension members to Excel.
    Earlier everything worked fine.
    But now all of a sudden it has become a serious problem.
    when I click Export to Excel,processing starts and it's never coming to an end.
    Every thing is getting stuck up.
    Could any one suggest solution to this as it is delaying my deliverable.

    Try opening excel first, then doing the export from FDM.

  • Workflow Binding Problem

    Hi All,
         I have to customize standard Leave Application workflow WS12300111. for that  i have copied  this workflow into  new Z-workflow. Actually i have to fetch some data from custom infotype before  sending this  leave to approver.
        Now this WS12300111 is  based on Class(CL_PT_REQ_WF_ATTRIBS) not on BO and  to fetch custom Infotype data I have created custom BO and written method inside this BO.
      The problem i am facing is i need to export a parameter from workflow container to my BO's method container and data type of that element is of Table Type (PTREQ_ITEMS_WF_TAB_FLAT) and in method it is not allowing me to create elements  with reference to this Table type (there is no Option to create element using ABAP Dictionary type As it is in Workflow container). If i define my method element using Line type if this PTREQ_ITEMS_WF_TAB_FLAT then it allows  me to create that  element (B'coz line types  are basically structures) But it gives me Datatype mismatch error in Binding from Task to Method...
       So is there any way to achieve this?? or  should I create a Z-Class as  subtype of standard Class CL_PT_REQ_WF_ATTRIBS and then write a new Method in this subtype Z-class to read  custom infotype. Is this the way to achieve the delegation functionality of BO in Class.

    Hi michell ongota 
        What your are trying to achieve with custom infotype. As far as i concern you can use employeet business object to get all the details. customize this busniess object and write your logic here or you can customize the class which you have mentioned. There is nothing like delegation for class. But i dont know in which method u will write the code. Since the leave request going to apply from portal dont do any customization of this class. Try to use the business object EMPLOYEET. I have done leave request workflows i never done any thing in this class.
    Regards
    vijay

  • Problem in workflow

    Hello,
    There is an urgent issue regarding workflow. The workflow gets triggered by SWE_EVENT_CREATE from a z-function module. The parameters passed while triggering are Approver1, Approver2, first_approver and payment method. The problem is, In some cases, the workflow fails at the start and workitem doesn't go the 1st approver inbox for a particular user. After 6-7 errors, the triggering event got deactivated automatically.
    The data passed to the workflow even in case of error is correct and the binding is also correct.
    The scenario is in the production server and cant be simulated in quality server since the same data is working fine in the quality server.
    The error log for the document in error shows the folowing error:
    Diagnosis
    When the work item no. 1160113 sent a response message, an inconsistency was found in the related workflow definition: Node no. 1 has a line but no node definition or step definition.
    The respective workflow task (definition no. , version ) may have been changed during the workflow execution in a way which is not allowed.
    System Response
    The workflow is forced into the error status and stopped.
    Procedure
    Check and correct the workflow definition. You can display the structure (nodes and lines) of the workflow definition in the workflow builder via the menu function 'Extras' -> 'Techn. information' -> 'Definition structure' and -> 'Runtime structure'.
    Extras -> Technical information -> Definition structure or
    Extras -> Technical information -> Runtime structure
    It may be possible to correct the error by activating the workflow or by using the special function Extras -> Special functions -> Block correction.
    The same workflow is working for other users properly.
    Can anybody please help me with this. Its really urgent.
    Thanks in advance.
    Radhika
    Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:42 PM

    Hi Radhika,
    You can activate the event trace by SWE4 transaction.
    After you switch it on, execute your workflow once and check the event trace in SWEL.
    Once you open the Event trace, check the following to diagnose the problem:
    1. See if the workflow actually got triggered.
    2. If yes, go into the details of the WF, and check the technical settings. In this you can actually check at which step the WF failed.
    3. Once you determine the erronous step, check the container.
    4. Check both the workflow container as well as the task container.
    5. check the Bindings between the various containers.
    Post the scenario once you have pinpointed the exact or the probable cause.
    Hope this helps.
    Regards,
    Sonal

  • Releasing problem in workflow

    Hi All,
    I am facing the problem in the releasing of the document in the workflow..
    First step i am using the parked document and save as complete, which is working fine.
    But problem is next step i am using the RELEASE method of the FIPP BO..
    but i am able to get the workitem with RELEASE whover i am assigning.
    if they release, it is showing released, but when i check document is not released, but document getting lock..
    Please let me know this is problem with wf or customizing?
    I have binded Business Object corrctly for the RELEASE method
    Regards,
    Udupi

    Hi,
    Please refer below mentioned thread. I hope it will be helpful for you.
    http://www.saptechies.org/sap-pdf-books-download/FI_Document_Parking_workflow_tutorial292711300832628.pdf
    Regards,
    Sudeesh Soni

  • OWB embeded process flow - parameter binding problem

    I've installed and Oracle 10g Database, after the database installation I added the Oracle Workflow server software. To complete the installation I ran the wfca.
    Later I get to define a process flow in OWB (cheesy) and the process flow seems to be working well (I've done all the registrations necesary also ), but when I am trying to do the parameter binding is not working. I do get the window prompt for the parameter and I enter the date parameter ( I tried different formats like 'YYYY/MM/DD' 'dd-mon-yyyy'), but after I check the runtime in the web browser the parameter is not pass to next process. I tried many things for the last week but I cannot get it to pass the parameter from one process to another.
    Any ideas,
    HELP !!!!!

    did u manage to resolve this issue? we are facing the same problem.

  • Problem in Workflow for Cat2 time approval

    Hi All,
    I am new to workflow, We need to trigger a workflow when employee fills time in Tcode CAT2. Standard workflow  WS40001001 is working fine.
    Here in workitem text it is displaying Approval for 00000000 instead it should display (Approval for Personal no and Name) which is assigned in standard task.Kindly let me have some idea on this
    Thanks in advance
    Arun Kumaran.
    Edited by: Arun Kumaran on May 28, 2010 11:37 AM
    Edited by: Arun Kumaran on May 31, 2010 6:29 AM

    Hi linganna,
    This is standard task and it is binding when we assign the task.
    And i am using org unit and made it as general task. Would i need to assign org unit yo task,
    how to bind wokflow container element to Business object CATS?
    Work item text  I CHANGED : Approval for &TS_PERNR& &TS_ENAME& and standard task is TS20000460.
    I DEBUGED AND FOUND THAT IN FM CATS_WF_APPROVAL VALUES ARE NOT POPULATING FOR PERNR AND ENAME
    WHAT WOULD BE THE PROBLEM HERE?
      SWC_GET_ELEMENT CONT_IMP 'TS_PERNR' PERNR_WF.
      SWC_GET_ELEMENT CONT_IMP 'TS_ENAME' ENAME.
      SWC_GET_ELEMENT CONT_IMP 'TS_DATE'  DATE.
      SWC_GET_ELEMENT CONT_IMP 'TS_TIME'  TIME.
      SWC_GET_ELEMENT CONT_IMP 'TS_UNAME' UNAME.
    Regards,
    Arun.
    Edited by: Arun Kumaran on May 31, 2010 1:14 PM
    Edited by: Arun Kumaran on May 31, 2010 1:36 PM

  • Problem in Workflow on Budget Release

    Hi Experts,
    I have created Workflow on Budget Release . in which as soon as Budget is Released for Respective WBS Element Workflow Will Trigger . My Problem is that if Budget Gets more than 1 crore then in Mail it only shows first Digit , it is not showing whole value . So what Changes should i do so that it can display full Value if it is more than 1 crore .
    Please Help me on this issue .

    Hi- Are you able to see exact value (1 crore +) in WF log. If yes, then check the content of the email body where exactly you are using this container and try to align for test purpose. Also check the binding from WF to task (in mail step) and check for the data types in both the container
    If WF log shows only first digit, then check where this value is getting populated and check for data types
    Are you using Send mail step or FM or class approach for sending mail?
    Vinoth

  • Problem in workflow trigger

    Hi,
    I was trying to create a pretty simple workflow for "Sales Order Change". Whenever a sales order is changed, my workflow should get triggered and I should receive a workitem in my sap inbox displaying the salesorder number getting modified.
    Object Type used : BUS2032
    Start Event used : Changed
    Task Method used : Display
    But even after changing a sales order I'm not getting any workitem in my SAP Inbox. I've also checked the tcode "SWUD".
    If I'm executing "Determine Instances for Task", it has no records inside.
    If I'm executing "Work Item queue (TRFC Log)", it shows the records, each time I've changed the sales order. And
    each record shows an error as "Syntax error in program CL_SWF_RUN_WIM_LOCAL".
    I believe the workflow is fine.
    Could you please help me out in solving this problem. If you want any other detail please let me know.
    Thanks and Regards,
    Pritam Mohanty.

    Hi Pritam,
    Your Query seems still un-answered after a Long-Interval also.
    This could probably provide a Solution for you:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    This is the PO Scenario similar to your Sales Order Scenario.
    /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
    You can also Debug the WF to know where it has Stuck:-
    Use the following transaction:-
    1> SWE4/SWELS -> EVENT TRACE ON/OFF (Switch On the Event Trace)
    2> SWEL -> DISPLAY EVENT TRACE
    3> SWUD -> WF DIAGNOSTICS
    4> SWPR -> WORKFLOW RESTART AFTER ERROR
    Enter the WF Number and Click on the LOG Icon.
    There you can see the Graphical Log of the WF to know where the WF is stuck.
    And You can also check the Technical Details of the WF there, to find which WF Container has what value.
    Check on the following points as well:-
    1> WF is activated or not.
    2> what are the start conditions and event for the WF.
    3> Binding between the WF container and Event Containers - should be Active.
    4> Agent Assigned to the Workitem that should not be a background process.
    5> Event Linkage in Start Conditions of the WF are active or not.
    6> check the WF log, to determine where the WF is stuck
    Kindly check the RFC Settings in SWU3. All should be green ticks. If you face any problem with this, contact your BASIS Team..!!
    Let me know if you are still stuck anywhere..!!
    Regards,
    Kanika

  • Problem in workflow container

    Dear Experters,
    I got this problem, when I am doing my first workflow exercise,I tried to create a workflow from a standard Template(ws00000038(for Purchase requistion)).I followed the following steps
    In pftc event is activated
    Workflow stratergies n etc are released.
    Agent assignment is done along with event linkage
    In workflow builder when I came to step u201CRelease requisitionu201D and checked binding I got the following error   u201CThe object types '[BO.BUS0007]' (source) and '[BO.BUS2009]' (target) are not compatibleu201D
    Please kindly give advice.

    Hi, did you relate the release code with the agents in SPRO? I mean you have to set the workflow in SPRO to link the release codes with the agents you assigned in your workflow definition.
    If you have done this, how about running the TCode SWU_OBUF to refresh the buffers, just in case the changes  didn't take place yet.
    Don't worry, it's ok, it's the learning curve we all have to go through. I faced a lot of problems too when I first started working on workflow. I am still new in this field as well, but I just hope I could contribute a little just like how the others have helped me been through all this.
    Hope this helps...
    Regards,
    YL

  • Problem with WorkFlow of Purchase Orders related to non active employees

    Dear all,
    We are running into issues with the WorkFlow when people are linked to a PO who are not anymore an active employee. That will give problems in the workflow as those people are logically not going to goods receipt/invoice reciept/approve those invoices.
    How should we deal with this problem?
    We are thinking about a solution like creating an overview of ALL purchase orders (without Goods Receipt) in which the creator, project manager or project sponsor of that specific PO is not anymore an active employee.
    Could someone please advise the right solution?
    Thanks in advance.

    Experts? Anyone?

  • Read only inputText binding problem

    Hi all
    I have a h:inputText like below
    <h:inputText readonly="true" id="txtStudentId" value="#{student.id}"/>then using a Java script I change the value of this textbox.
    But when retrieve the value from backbean It's not changed. The problem is associated with read only attribute.
    When it's not read only it works.
    Can some one explain this?

    Thank You BALUSC, Your solution worked!
    Nice idea
    JSP
    <script>
                            function changeTest()
                                document.getElementById("form1:textField1").value = "text Changed";
                                document.getElementById("form1:hidden1").value = "text Changed";
                                return false;
    </script>
    <webuijsf:form id="form1">
                            <h:inputText id="textField1" readonly="true" />
                            <h:inputHidden binding="#{ReadOnly_inputField.hiddenField}" id="hidden1" />
                            <h:commandButton id="button1" value="Channge Value" onclick="return changeTest();"/>
                            <h:commandButton action="#{ReadOnly_inputField.button2_action}" id="button2"value="Check Value"/>
                        </webuijsf:form>ReadOnly_inputField.java
    private HtmlInputHidden hiddenField;
        public HtmlInputHidden getHiddenField()
            return hiddenField;
        public void setHiddenField(HtmlInputHidden hiddenField)
            this.hiddenField = hiddenField;
        public String button2_action()
            System.out.println("This is the value : "+ hiddenField.getValue());
            return null;
        }And your Blog. It's really really helpful.

Maybe you are looking for

  • Editing or Deleting a Post

    I sure could be mistaken (because I belong to several User Forums; not just this one), but I could've sworn there was a way for a registered user to edit or delete their own posting(s) after they'd been posted. But I can't seem to find anywhere - eve

  • MS SQL Server Statement could not be prepared. (WIS 10901)

    Here is my situation. We are running Edge 3.0 using SQL Server 2005. I have a Webi report that I created with an existing Universe and the report is able to run fine. I didn't create the Universe, but I had to add new tables to the Universe. For some

  • To Moderators: I am not able to look all the replies in the forums.

    Hello Moderators, Well i don't know what happen to my browser or it is happening in all browsers. But i want to tell you that i am facing some problem in SDN formus. Its regarding showing 'REPLIES' of the questions. Please look into my points: 1. Som

  • Why use System Reflection Assembly

    I am just starting to learn forms in Powershell and noticed that in almost every example the follow code is put at the top of the example: [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") [void] [System.Reflection.Assembly]:

  • I have like this green and purple line on my back camera and it's a bit irritating please help

    We'll I just noticed I have this green and purple line in my camera and whenever I zoom in it gets bigger please help barely had this phone for about 3weeks