Doubt  in Workflow - Rule

Hello Expert,
    I want to know how to figure out the entire process done by the rule. as in what are the tables , fields are included/attached with a particular rule.
  e.g. Rule : 00900010.
    Now, in this rule, how to determine the entire process? How does this end up returning a org unit/position?? What are the tables it goes through? How does it function??
Please Explain..
Thanks!!
Regards,
Sam

Hi,
Precisely to avoid coding to retrieve the characteristics of BOR object, we use attributes.
The master data which is associated with Object will be readily available if we have used the attributes, otherwise we will have to hit the database to retrieve it in the method. It may increase the database utilization and therby decrease the performance.
Hope it makes sense.
Regards,
Shashank

Similar Messages

  • Unable to evaluate workflow rule - Value too long for field

    Need help with a workflow error for a record update before the record is saved. There are 3 calculations that would be done in a particular order - all on number fields. Each time, I am overwriting existing values. The individual numbers could have up to 6 decimal spaces. When I try to update one or more fields that contain the calculation, I get an error message saying that the system is unable to evaluate the workflow rule - value too long for field (zNum6).
    This same calculation is fine when a new record is entered and the calculation is done as a default field value.
    Any ideas?

    I actually had to use a ToChar function at the beginning of the calculation and #### to indicate the number of digits to make this work. Oracle Help Desk provided the answer - quickly.

  • Some doubts in Workflow

    HI Gurus ,
    I have some  doubt in workflow basically I know how to use them but i don't know what is functionality ,
    could you plz explain me , else suggest me
    1. why we have to do delegation , what happens at run time if we don't do delegation
    2. What is the diff between task and workitem
    Thanks
    Prasad

    Hello,
    I would suggest searching for "sap workflow" on the internet, buying a SAP workflow book and/or taking a SAP workflow course.
    regards
    Rick Bakker
    Hanabi Technology

  • Doubt in Workflows using Programming Exits on OO ABAP

    I have a doubt on workflows:-
    Let me brief you about my requirement:
    I am trying to update some Master data using ABAP Methods through Programming Exits in a Workflow.
    I managed to find an OO method that can fetch the workflow container values directly into the structure.
    While testing the workflow:-
    The OO ABAP method executes and successfully updates the master tables.
    However, a calling method (that triggers this method indirectly), raises an exception called SWF_RUN_WIM_EXEC_INTERRUPTED.  
    The exception is caught within the caller method and the workflow errors saying that “the method ABC… cannot be executed.”
    The caller method is:-
    CL_SWF_RUN_WORKFLOW_START
    The exception is raised on execution of the following statement:-
    CALL METHOD me->start_workitem( lh_wi_handle ).
    One reason for this is that the workflow is still not completed and still in “READY” state.
    Alternative method
    Once the Master data is updated successfully,
    I tried to use the FM SAP_WAPI_WORKITEM_COMPLETE to end the work item or tried another FM to suspend the workflow.
    Now it gives an error saying that these FMs are restricted from use during run-time execution.
    Query
    Do you have an idea why the exception is raised and how to track/prevent the same?
    Can you suggest any other alternative?  Your valuable advice is urgently needed.
    Thanks a million in advance,
    Best Regards,
    Vinod

    Check the code
          CLASS zcl_event_handler IMPLEMENTATION
    CLASS zcl_event_handler IMPLEMENTATION.
    Top-of-page event
      METHOD top_of_page.
        PERFORM event_top_of_page
                USING z_dyndoc_id.
      ENDMETHOD.   "METHOD top_of_page
    Change Status Button
      METHOD handle_toolbar.
        IF NOT pa_prodr IS INITIAL.
          DATA: lz_toolbar  TYPE stb_button.
          CLEAR lz_toolbar.
          MOVE    'CHANGE_STATUS'  TO lz_toolbar-function.
          MOVE    text-001         TO lz_toolbar-text.
          APPEND  lz_toolbar       TO e_object->mt_toolbar.
        ENDIF.          "IF NOT pa_prodr IS INITIAL
      ENDMETHOD.   "METHOD handle_toolbar
    Handle User Command
      METHOD handle_user_command.
        CASE e_ucomm.
          WHEN 'CHANGE_STATUS'.
            LOOP AT    it_output
                 INTO  wa_output.
              IF wa_output-chk_box EQ kc_x.
                z_flag = 1.
                EXIT.
              ENDIF.          "IF wa_output-chk_box EQ kc_x
            ENDLOOP.      "LOOP AT it_output INTO  wa_output
            IF z_flag EQ 1.
              PERFORM display_selected_data.
            ELSE.
              MESSAGE i001(zzrefn01)
                      WITH text-023.
            ENDIF.       "IF z_flag EQ 1
        ENDCASE.      "CASE e_ucomm
      ENDMETHOD.   "METHOD handle_user_command
    ENDCLASS.   "zcl_event_handler IMPLEMENTATION

  • Create opportunity using workflow rule

    Hi,
    Is there a way to create an opportunity record using a workflow rule.
    We want to be able to create a service opportunity to be triggered automatically by the sales person by either updating a flag or check box which inturn triggers
    a workflow rule that can create an opportunity.
    I am aware of using a web link to copy an existing opportunity.
    Any ideas ?
    Thanks
    Swami

    At this time this is possible by using Integration Events and using web services. CRMOD does not support Workflows that will automatically create an opportunity using a workflow

  • Workflow rules doesn't work for existing record!!?!?!?

    Hi all,
    I've created one workflow rule to update value from one filed to another. Here is my expression:
    [<QuickSearch1>] <> [<plStatus_ITAG>]
    and my action is
    field name = "*Status" (QuickSearch1)
    Value = <plStatus_ITAG>
    and I tick on the Overwrite the existing value
    This is work for new record, but for the existing one the field value doesn't chnage. Any suggestion??
    Thanks
    Note

    The syntax should be: PRE('< QuickSearch1>') <> [<QuickSearch1>] for the condition.

  • Help writing a workflow rule

    Hello Experts!!!
    I need help writing a workflow rule condition to trigger the workflow. What I am aiming for is an email to be sent out when an opportunity is marked Closed/Won. But it can only be of a certain opportunity type (we use three options) and opportunity sub-type (we use two options) (these are custom fields we use)
    Below are the fields that need to be used:
    [<SalesStage>] = Closed/Won
    [<OpportunityType>] = Acute
    [<plOpportunity_SubType_ITAG>] = Tech
    Thanks Again!!

    Hi
    Try:
    [<SalesStage>] = Closed/Won AND [<OpportunityType>] = Acute AND [<plOpportunity_SubType_ITAG>] ='Tech'
    Note that in case of picklists it is recomended to use the lookup value and not static text like 'Tech', but both will work.
    Good luck
    Guy

  • How to write workflow rules/expressions/SQL

    Hi all.
    We are recent users of CRM onDemand, we would like to write some workflow rules but cannot seem to find any information on how to do this. The help section is limited in answers, and some of the questions here are also not specific to what we would like to do.
    Does anyone have any advice on books, web sites, etc. on where to find the knowledge we need on how to write the workflow rules and use SQL and expressions in CRM on Demand?
    Thanks in advance!!

    For your first case:
    1. You cannot create a workflow in r15 for activity but in R16 you can
    Create new to create a workflow
    Name: Auto email send
    record type: activity
    trigger: when new record saved
    rules: put your rules by clicking on the fx icon i.e this is where you are entering the rule saying the owner is different from the person who is creating the activity or the delegated field is filled (another way of looking at it)
    then save the workflow
    In the actions section
    choose the action "Create Email Notification"
    In the To: Section choose "Relative User on Record" and Choose "Activity Owner"
    Save it. Make sure both the workflow and activity are marked active.
    2. In your second scenario:
    How do you expect to create an account and automatically populate the Sales rep's name - not sure
    But you can create an opportunity and auto fill with the Account Owner's name by using this in the field validation (you do not need the workflow), you can use the FieldValueJoin function.
    Hope this helps - btb there is no book you can go thro the help and you will find some directions

  • Workflow Rule Condition : impact of the "LookupValue"

    Hello,
    I would like to know something about he "LookupValue" (eg.1) impact in the "workflow rule condition". What is exactly the role of the "LookupValue"? Does it have an impact if I decide to delete it and just write the value needed (eg. 2) ?
    eg.1 : ... =LookupValue("OCC_CUST_LOV_OPTY_4", "Value Needed")
    eg.2 : ... =("Value Needed")
    Could someone help me?
    Thanks and regards.
    Edited by: user5840933 on 5 mars 2009 03:44

    Hi !
    The lookupValue function is very useful. Imagine you created 10 workflows with a condition such as : PICKLIST="Value".
    Then imagine you have to modify the "Value" of this picklist in "Value2" for example. This means you will have to update your 10 workflows to put "Value2" instead of "Value".
    Using the LookupValue function, it will automatically get the picklist value based on the code corresponding to the value.
    LookupValue(PICKLIST, "A") will return the value corresponding to the code "A", no matter what the value is.
    In the expression builder, after chosing the field in the picklist, click on the link "Get acceptable values". Then click on a value and the LookupValue function will appear in your expression.
    Hope this will help, feel free to ask more !
    Max
    [See Mike L announcement|http://forums.oracle.com/forums/ann.jspa?annID=883]

  • Help with applescript/workflow/rule that would unflag mail when read (...)

    Here's my scenario:
    I have quite many mail.app rules that automatically filter and file incoming mails from newsletters, SNS, work, friends etc. and they all go in specific mailboxes (200+)
    I also have some rules that I trigger using MailActOn.
    Since with Lion theres now 6 different flags (and that you can rename them) I've included them in the rules actions and set them up to the following categories:
    - To Do
    - To Do Later
    - To File
    - News
    - Personal
    This actually allows me to have these smart mailboxes to appear only when they are flags active.
    Now for the first three I want to keep the flags permanently until I'm actully done with them.
    But for the "news" and "personal" ones I want to have them "unflag" once I read them.
    So to recap, is there a way to systematicall/periodically unflag messages when they are read from specific mailboxes or if they are flagged with a particular flag?
    I'd really appreciate if someone would help me out figure out an adequate solution to what I'd like to achieve.
    I'm not sure if a kind of a combination of either applescript/workflow/rule would actually make it work...

    Here's my scenario:
    I have quite many mail.app rules that automatically filter and file incoming mails from newsletters, SNS, work, friends etc. and they all go in specific mailboxes (200+)
    I also have some rules that I trigger using MailActOn.
    Since with Lion theres now 6 different flags (and that you can rename them) I've included them in the rules actions and set them up to the following categories:
    - To Do
    - To Do Later
    - To File
    - News
    - Personal
    This actually allows me to have these smart mailboxes to appear only when they are flags active.
    Now for the first three I want to keep the flags permanently until I'm actully done with them.
    But for the "news" and "personal" ones I want to have them "unflag" once I read them.
    So to recap, is there a way to systematicall/periodically unflag messages when they are read from specific mailboxes or if they are flagged with a particular flag?
    I'd really appreciate if someone would help me out figure out an adequate solution to what I'd like to achieve.
    I'm not sure if a kind of a combination of either applescript/workflow/rule would actually make it work...

  • Purchase order release workflow rule

    Hi ,
    I have made a zcopy of standard workflow(WS20000075) for PO release. My requirement is that there are three level of approvers who have to release the PO. MM consultant says he will assign the approvers for all three levels from SPRO. As per the std workflow there is only one level of approval as far as i have understood .every time if approver rejects the po the mail should go to outlook also , to initiator and the next approver . 
    standard rule 20000027 is taken care for all three levels of approvals ..what is the binding for rule to workflow?
    from workflow side what are the customize things should i follow..i am new to this MM workflow can u please guide me ..
    thanks,
    sandeep chennoju .

    Hi Sandeep
    The requirement changed!!!! :-)
    Okay...for the email on DEADLINE BREACH
    1) You Do not need the fork in the deadline branch
    2) Instead, call an Activity Step which calls a method -> Input:  WF Initiator (full US + Username), PO Number and the Current Release code
    3) In the method coding, call rule 20000027 using FM RH_GET_ACTORS, get the agents (with OTYPE) for the PO and Current Release code
    4) Now Fill an internal table (of type TSWHACTOR) with OTYPE and OBJID returned from the above Function Call
    5) Append WF Initiator to this table -> OTYPE = US and OBJID = username
    6) So you have a table with CURRENT Approvers and the Initiator
    7) Pass back this table to task and workflow
    8) Now use a mail step, Set Recipient Type as 'G' (org Object) and EXPRESSION = that TABLE passed from above call (type TSWHACTOR)
    9) Ensure that the settings are done for SO16 -> Tab Mail Sys Grp -> Send to users home address is selected (in each client – this is not transported, hence maintain in every system once)
    10) Ensure that the users have their email ID maintained in User Master (SU01) and the communication Method Set as INT (OR Email is maintained in HR Master Infotype 0105 - if your setup is using that)
    11) Ensure Job SWWDHEX is running periodically in the background
    12) Ensure Basis Settings and send job are in place to send outbound emails
    What will happen when the deadline gets over:
    1) SWWDHEX job will pick up the item and the control will come to deadline branch
    2) The new step/method will get the agents of Current release code using the FM Call; it will also add WF Initiator to the list
    3) The mail step will send to the ORGNIZATIONAL Objects (the Usernames, Positions passed to it in table of type TSWHACTOR)
    4) SO16 settings will ensure that the mail is sent to the email address
    5) Email address is picked up by the system automatically from User Master or HR Info type 0105 (order is really not known)
    6) Basis settings and send job will send the email out of the system
    I hope I was able to get your requirements right this time and these will not change :-)
    Regards,
    Modak

  • Error handling in Workflow rules to determine agents.

    Hi there,
    I have a rule, if it fails. I need to send a SAP mail. Or skip that particular user decision step... Please.let me know what ahould be done for this.
    Thanks,
    Sukumar.

    Basically you need to execute the rule already before the actual decision step. What kind of rule do you have? If it is based on a function module, you can copy the code from the function inside your own method, and then use this method in a separate background step before your decision step. And if the agent cannot be determined you can skip the step, or whatever you want. And if you are familiar with ABAP OO and how to use it in workflow, you can include the above-mentioned logic inside a functional method of a class, and then use a condition step (with the functional method) instead of  the separate background step.
    Also, if you are not using a rule that is based on a function module, you can always find a way how to programatically call the rule in your code. There are lots of examples in SDN (or WUG).
    Regards,
    Karri

  • Doubts in workflow steps

    Hai,
    I want to use a local workflow in exsisting scenario with minor modification.
    My doubt is In one step(change basic material data field in basic data2 in material master material) i send it one user(user1) with previous step results and he should change the data in specified field and it has deadline monitor.
    if the work item has reached deadline i again send it to new user(user2), at the same time i should get who missed deadline detail and should deativate the unexecuted workitem(user1's inbox)
    and send mail to the new user(user2) with details of previous step results.
    workflow like this:
                   previous step
                   send mail to responsible agent
                   send change material work item
                   the change is not finished again
                    start with sendmail to responisble user
                    step and execution continue        
    how to do this.
    please suggest me.
    thanks,
    Elamaran.

    Hi,
    For your scenario the workflow design should look something like this,
    Note:
    In the workflow container create a variable with length 1.
    Make sure that you pass this variable to all the activities in the workflow. That is from Workflow -->Task.
    Step 1: send mail to responsible agent
    Step 2: send change material work item
    Step 3: The change is not finished again and if changes are successfully done set the variable created in the workflow container as "X" otherwise "SPACE".
    Step 4: Here create a loop until operation step, this activity should check the value of variable created in the container. If it is X come out or send the mail again.
    Design:
    ======
    ACTIVITY LOOP OPERATION
       Step/Activity 1
       Step/Activity 2
       Step/Activity 3
    CHECK the variabl value set in step 3.
    Depending up on the variable teh control is transferred to Step/Activity 1.
    Mail me if you are not clear. Because some parts of Workflow cannot be explained without the screen shots.
    You give your mail ID will send a document on Workflow.
    Regs,
    Venkat Ramanan N

  • Workflow Rule

    Hi Every Body! Its a Urgent,
    Can Any one tell me, How to use ztable user's in the task in Work Flow CRM?
    The following steps I follwed for to get the user's...
    1.  I created a ztable for maintaining user's in CRM .
    2.  I created a zfunction module to get  user's list of ztable to follow rule conventions.
    3.  I created a rule to use the above FM .
    4.  I am assigning this rule to a task but i am not able to get that users in the task .
         Can any one tell me, How to find these user's in the task.
    Thank you and Regards,
    Vikram.C

    hi vikram
    can u tell me corrosponding to what values u maintained the users in Ztable,
    imean u r trying to retrieve the users but by giving what values ,a customer id or a business partner number,
    if u have done that then maintain the binding between rule container and workflow container with propoerties of the ru8le container should be import only not export.
    do let me know what you have done...
    regards
    ashish

  • Doubt on Workflow in ESS/MSS

    Hi
    How to achieve Workflow in MSS/ESS for Portal. Like Leave approval / Reject etc. Can I use GP in EP or Do I need to configure SAP Workflow. I am totally confused. Do any one has documentation where like how these things are related.
    Regards
    Sowmya

    Hi Sowmya,
    Please go through the below blog hope this helps to have an understanding.
    And other blogs of the author they are pretty informative.
    Workflow in SAP NetWeaver
    Creating your first SAP Business Workflow
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/45/a7863f445f4617e10000000a114084/frameset.htm
    Re: UWL
    Important Transaction Codes in Workflows:
    PFAC - Maintain/Display Standard Rule
    PFTC - Task Maintain/Display
    SWDD - Workflow Builder
    PPOSW - Display Orgainsational Plan
    SWIA
    ALL THE BEST.
    Cheers-
    Pramod

Maybe you are looking for

  • Can I limit the number of appointments made by everyone at a specific time and place?

    I want to limit the number of people who make an appointment at a specific time and place.  Can I do this?

  • What's a good program to record college lectures?

    This may not be the right board for this, but I feel like the people here can help me the most. I want to record the lectures in my college instead of typing. I've tried doing it with garageband, but after 3 hours the file becomes REALLY large. I nee

  • Edited video file name now cant open in other programs

    Opened a MPEG video file in HP MediaSmart video Main program and edited the file name. Now when I try to open the file it will not open in Windows Media player or my other video edit/programs.  I did not make a copy of the file or do I have a backup,

  • Macros for Pages??

    I'm new to Mac.  I need to create a "macro" for use in pages that will: go to the beginning of the line then count over 32 characters (and also go to the end of the line and count back 32 characters). I do this hundreds of times per document when cre

  • Any kind of gui/browser for javacards available?

    I've got the JavaCard documentation...but it's a tad verbose. Nothing to come up to speed quickly...if that's even possible. The iButton has a IB-IDE for browsing iButton javacards...any such gui (java or otherwise) for java smartcards? For now and t