Assign roles to task based on condition

Hi,
How to assign portal role to task based on condition. If city = abc assign roleA, or else city = zyx assing roleB ie..
Appreciate your valuable suggestions.
cheers
-Ian

Hi Abhilash & John,
I have created context attributes 'City' & 'Role'  in WD, hence in BPM, ruleset was created with Context -'http://sap.com/wd_dc/RoleChekComponent' as Return Type & Parameters. While creating decission table, "City" as condition, and "Role" as action selected.
In decission table, feed the values like for city to role like  "NewYork", "role1" ; "Chicago", "role2" and so on. Hence Rule was created. while I am trying to pass City name to Ruleset function in Task level to fetch corresponding Role name, getting below error. This is because of I have seleted context as Return Type & Parametes while creating Rule.
Function 'roleChecking' has incompatible parameter #1. Expected 'Context', but found 'xsd:string'
If I pass context to function getting below error -
Function 'CheckRole_Ruleset' has incompatible parameter #1. Expected 'Context', but found 'Context'
How to fix the problem.. Highly appreciated your suggestions and inputs..
regares,
-Ian

Similar Messages

  • Executing OIM Process task based on Condition

    Hi Experts ,
    I have the following requirement :
    when a OIM user field - X is updated with a value A i have to call task T1, generate a random number on this task and have to trigger CREATE user Task within in the same process definition of an IT resource
    when the same OIM user field - X is updated with a value B i have to call task T1 again, generate a random number on this task and have to trigger DISABLE user Task.
    Im taking the approach of OIM lookup triggers which will kickoff the task T1 when user field X is updated
    My question is how can i add the conditional logic to a task(T1) to trigger the only one dependent task, either create user or disable user when a condition satisfies.
    currently i have added create user task and disable task as the dependent tasks of the task T1.
    If i am triggering create user task how can i get all the attribute mapping values of createuserAdp. since few are referring the process form, userdata and IT resource
    Im confused and not sure as how to implement such Work flow based on conditions. hope some one can help me!!
    Thanks in advance
    Edited by: user8942439 on Aug 24, 2012 11:58 PM

    Use the responses returned by task T1. Lets say for create user, Task T1 returns a response "CREATE". So in the responses tab add this response, select it and in the tasks to generate section add "Create user" task to this response. In the same way task T1 returns response "DISABLE", so on DISABLE response select task to generate Disable user.
    regards,
    GP

  • Error in assigning role to multiple task

    Hi,
    We are using BAPI BAPI_BUS2175_ROLE_ASSIGN_ADD to assign role to task. It is working fine if we are assigning different role to different tasks. But if we assign the same role to different tasks in a project, it is giving dump while saving the data.
    We are using following sequence in the code:
    1. BAPI_BUS2172_LOAD to load the project
    2. BAPI_BUS2175_ROLE_ASSIGN_ADD to assign role to task
    3. BAPI_CPROJECTS_COMMIT_WORK to save the changes.
    So when BAPI_CPROJECTS_COMMIT_WORK is executing, it is giving dump as follows.
      The exception 'CX_DPR_FATAL_ERROR' was raised, but it was not caught anywhere
      along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
      'CL_DPR_AUTHORIZATION_SERVICES=CP' has to be
    terminated.
    Could you please let me know what may be the reason for getting dump.
    Regards,
    Anil Salekar

    I can tell you the table where the the role assignments get stored . It is
    DPR_ENTITY_LINK.

  • How to Assign Roles for maintaining possible agents?

    Hi all,
    I was trying to assign Roles to maintain agent assignment and I was not able to assign role to Task -> Additional data -> Agent Assignment -> Maintain -> Create agent assignment -> selected role but it's not displaying the roles available in the client.
    There is no org. structure in our client.
    So, What all settings do i need to make the roles display and select?  please let me know in detail if possible.
    Regards,
    Sateesh

    Hi,
    I haven't created any org structure or any role and there are no org structures in our client.
    To get roles displayed on search do we need to create an org structure. I don't think so.
    Is any authorization required for a user or any settings need to be made to get roles displayed when searched for roles for assigning role in maintaining agent assignment for a task.
    i even checked with basis person with his id but it is the same problem.
    As far as i know these roles are basis roles only and there are number of roles in our client but its strange it doesn't display any roles( not even a single role when i searched with  ' * ').
    please help me..
    Regards,
    sateesh

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Role Assignment to Workflow Tasks

    Hi Experts,
    Any hints on below requirement please :
    Details:
    1. For a role in transaction PFCG, I don't see the Workflow tab
    2. For the same role in transaction SUIM, I can see the Workflow tab and the tasks assigned.
    3. Now, I have a list of workflow tasks and I need to assign Role X, Role Y to all of them
    What is the correct and best way out to do this
    - Role-Task Assignment ::: Is it enough if I add all the workflow tasks in SUIM transaction(workflow tab) for both roles X,Y
    or
    - Task-Role Assignment ::: Can I assign both Roles X,Y in pftc transaction for each of the workflow tasks
    or
    - Both need to be done
    Thanks in advance ...
    ~Ali~

    Hi Ali,
    Answers for your questions:
    1. Transfer Missing Elements: YES
         With this step, new elements will create in the task container based on the method container elements and creates the binding b/w them. It is better to choose YES and after that, if you dont require the binding, you can delete it for respective elements.
    2. YES, we need to follow the same procedure.
    3. Basically production system is having the mandatory configurations like RFC destinations and Classify tasks are general, probably no other activities are required.
    4. For this, I am also waiting for other folks reply.
    Regards,
    Murali Krishna.

  • Assign role, group to Human Task when initiated

    Hi all,
    Currently, when user login to BPM and create new task instance, i can get roles and groups of that user by programming. I want to assign roles of user to that task instance dynamically when user click SUBMIT button (Because i want to restrict users belong role are able to do this task, each user belong to a role and group can do it).
    Somebody help?
    Thanks.

    Hi Ming
    1. If you want to intercept any Actions from a Task like Save, Submit, Approve, Reject etc, you can create your own class like MyAppTaskValidationCallback that implements oracle.bpel.services.workflow.task.ITaskValidationCallback and in this overwrite one method named validateTaskOperation(bunch of parameters). See APIs for this.
    In this method, you can get the action performed on the task. Also you can get the complete Payload of the Task including your custom payload and the standard Task Payload stuff like History, Attachments, Comments etc. You can write some simple XML Parser utility methods to get and set attributes in the Payload xsd schema. So in your case, in this method, get Roles, Groups of the logged in user. Check the action performed. If he is not allowed to do that operation, throw the error from this method. Else continue with your logic. To begin with create java class like above, add this code snippet and just explore the data.
    Now, just curious. If your requirement is really to control the actions based on User Role/Groups, did you try to use the out of box functionality and avoid this custom logic. Say for BPM Applications, we have Swimlanes / Roles. Only users belonging to that Role, can work on that Tasks. Try to use out of box stuff as much as possible, unless you really need custom assignment logic.
    Thanks
    Ravi Jegga
    Just giving the code snippet to get an idea. But do refer the online APIs for more information.
    public void validateTaskOperation(ITaskValidationCallback.TaskAction taskAction, IWorkflowContext iWorkflowContext, Task task, Map<String, Object> parameters, Locale locale, List<String> errors) {
    try {
      Element taskPayload = task.getPayloadAsElement();
      String taskTitle;
      String taskOutcome;
      SystemAttributesType taskSystemAttributes = task.getSystemAttributes();         
      taskTitle = task.getTitle();
      System.out.println("MyAppTaskValidationCallback::validateTaskOperation() Begin For TaskTitle: " + taskTitle + " -> TaskAction: " + taskAction + " -> Parameters:\n" + parameters);
      if(taskAction == TaskAction.ACQUIRE) {
          System.out.println("Inside ACQUIRE");
          //parameters.put("AcquiredBy", iWorkflowContext.getUser());
      } else if(taskAction == TaskAction.OUTCOME_UPDATE) {
        System.out.println("Inside OUTCOME_UPDATE");
    } catch (Exception anException) {
      anException.printStackTrace();
    }

  • CProject, task based costing, strat. 10, plan price for the role in ctr acc

    Hello all.
    According to the costing logic described in R/3 library the following strategies are available for costs when using task based controlling. 
    Costs for task
    4.      Different costs which you entered for the task
    5.      Costs per activity unit for the task in Customizing
    Costs for roles
    8.      Different costs which you entered for the project role
    9.      Costs per activity unit for the role in Customizing
    10.      Plan price for the role in cost center accounting
    Do anyone have experience with using strategy 10?  If so, please elaborate. 
    Thanks for your help / Anders

    Hi Sejo,
    Thanks for your reply, Standalone cProjects works, but obviuosly it has to be integrated with ECC and configuration related to accounting in ERP has to be done.
    Scenario is that I have created a Project and before transferring it to ECC(creation of internal order) I should be able to calculate the cost from cProjects, as these are just rough cost based on cost/revenue rate.Later when I calculate cost using internal order from ECC it should overwite.
    Additionally as per the link I have already done the required configuration.
    1.     Activate Integration
    2.     Define Object Links for Accounting Integration
            Default entry: 0FIN_INT_SOC_R3
             defined RFC destination . Is webserver to be defined - required ?
    3.     Make General Settings
    4.     Define Cost/Revenue Rates
            Cost revenue rates are defined here.
            I havent maintained Organisation unit as it takes default 'zero'.
    5.     Replicate Cost/Revenue Rates
            To replicate cost revenue rates from Cprojects to ERP.
    6.     Replicate Accounting-Relevant Characteristics
    7.     Make Settings in ERP System
            Make settings in ERP system related to controlling
            Create and Change Controlling Scenario
            Define Controlling Scenario
            Settings for Easy Cost Planning
    Assign Cost Elements and Activity Types > Activity type must be open for period and must have proper cost element. (can be maintained in tcode: KP26).
    Then also for Task based costing is not calculating and for role based it is showing Negative.
    Please guide me where it is going wrong.Is it related to Organisational Mapping?
    Regards,
    Nitin Ghadge

  • So Can I determine the business partners linked to user based on the assigned role and org. structure?

    Hello, I am working on a SAP CRM 7 Sales implementation and we are implementing leads and opportunity scenarios. The current business organization model is that there multiple vertical and horizontal departments. This is typical matrix structure. This organization has done the segregation of its clients based on the verticals so every clients belongs to at least one or more Vertical department but Horizontal departments can contact all the clients. In the same way sales executives are also either belonging to one or more Verticals or Horizontal departments? Horizontal sales executive can create leads for any clients available in the system but a Vertical sales executive can only create lead only for the client belongs to his vertical and assigned to him. This can be achieved by creating organization structure and business partner relationship.
    Now the problem statement is that few sales executives need work for both some Verticals and Horizontals at the same time. But requirement is that they should be able to do the both roles with single user id but multiple roles. So when sales executive is creating leads his vertical department, he should only be able to select clients assigned to his Vertical only but when he is creating lead for Horizontal department, he should be able to select any clients.
    So Can I determine the business partners linked to user based on the assigned role and org. structure?
    Please let me know if this is not clear also  note we are only using CRM WebUI no SAP ePortal.
    Thanks a lot your help in advance.
    Regards
    Sudesh Sharma

    Thanks, Tahir
    my problem has solved
    Kind Regards,
    Faisal

  • Role - Resource - Task Assignment

    All,
    We have a requirement where a cProjects task may spread along for, say, 6 months. Resource needs to work on this task for only 2 days per month, every month (say) (Work - 12 days).
    When the role is staffed for 6 months, this resource will not be available for the other projects. And therefore, we want the resource assignment to the task to drive his availability.
    Is there a way out? Or do we have to staff the role 6 times (with the right dates)? The second option works, I know, but is not an elegant way to do it.
    Thoughts/opinions.
    Regards.

    Thanks Niranjan for your attempt.
    The business isn't quite liking the idea of doing so much when a resource is supposed to be working on the task 2days/month. For every time that the resource is to work, the cProjects user would have to staff to the role (or create a role, as you suggested). Everytime, the dates have to be mnaully entered for staffing, Project Role, Resource to task assignment and so on.
    They want this to be done at one place and would like this data to reflect elsewhere. For e.g. when the resource is assigned to the task, this data should drive availability of the resource - is what they want.
    Let me know if I am missing on any of the obvious functionalities of cProjects resource management that I may try to resolve this issue.
    Thanks again.

  • Dynamically assigning variables based on condition in pl/sql

    I have a script which takes 6 input parameters but based on input 1 parameters 2 to 6 will be assigned to different variables. but the condition is not being checked during variable assignment phase. even if table_update is 'P' para,mater 2 is getting assigned to tariff_group instead of offer_id. Is there any way to solve this problem so that variables get assigned based on condition.
    table_update := '&1';
    if(table_update = 'T')
    THEN
         tariff_group := '&2';
         gf_version := &3;
         tariff_table_name := '&4';
         flag := '&5';
         if(no_rows_tariff(tariff_table_name, gf_version, tariff_group))
         THEN
              if(flag = 'I')
              THEN
                   tariff_column_name := column_tariff(tariff_table_name);
              ELSIF(flag = 'R')
              THEN
                   max_gf_tariff(tariff_table_name, gf_version, tariff_group);
              ELSE
                   DBMS_OUTPUT.PUT_LINE('Please enter correct option for update I- Insert R-Rollback');
              END IF;
         END IF;
    ELSIF(table_update = 'P')
    THEN
         offer_id := &2;
         gf_version := &3;
         promotion_table_name := '&4';
         flag := '&5';

    Although you do not say what your problem is, I suspect that it si something like this:
    SQL> !cat t.sql
    DECLARE
       table_update         VARCHAR2(1);
       tariff_group         VARCHAR2(3);
       gf_version           NUMBER;
       tariff_table_name    VARCHAR2(5);
       offer_id             NUMBER;
       promotion_table_name VARCHAR2(5);
       flag                 VARCHAR2(1);
    BEGIN
       table_update := '&1';
       IF table_update = 'T' THEN
          tariff_group := '&2';
          gf_version := &3;
          tariff_table_name := '&4';
          flag := '&5';
       ELSIF table_update = 'P' THEN
          offer_id := &2;
          gf_version := &3;
          promotion_table_name := '&4';
          flag := '&5';
       END IF;
       DBMS_OUTPUT.Put_Line ('TableUpdate: '||table_update);
       DBMS_OUTPUT.Put_Line ('TariffGroup: '||tariff_group);
       DBMS_OUTPUT.Put_Line ('GfVersion: '||gf_version);
       DBMS_OUTPUT.Put_Line ('Tarifftable: '||tariff_table_name);
       DBMS_OUTPUT.Put_Line ('OfferID: '||offer_id);
       DBMS_OUTPUT.Put_Line ('PromoTable: '||promotion_table_name);
    END;
    SQL> @t T TG1 1 TTN1 F
    old  10:    table_update := '&1';
    new  10:    table_update := 'T';
    old  12:       tariff_group := '&2';
    new  12:       tariff_group := 'TG1';
    old  13:       gf_version := &3;
    new  13:       gf_version := 1;
    old  14:       tariff_table_name := '&4';
    new  14:       tariff_table_name := 'TTN1';
    old  15:       flag := '&5';
    new  15:       flag := 'F';
    old  17:       offer_id := &2;
    new  17:       offer_id := TG1;
    old  18:       gf_version := &3;
    new  18:       gf_version := 1;
    old  19:       promotion_table_name := '&4';
    new  19:       promotion_table_name := 'TTN1';
    old  20:       flag := '&5';
    new  20:       flag := 'F';
          offer_id := TG1;
    ERROR at line 17:
    ORA-06550: line 17, column 19:
    PLS-00201: identifier 'TG1' must be declared
    ORA-06550: line 17, column 7:
    PL/SQL: Statement ignoredAs you can see, the initial assignments for compilation purposes are done prior to actually running the code, and the assignment to offer_id is failing.
    If I change offer_id to a varchar and quote the &2, then the compilation assignemnt works, and the actual logic of the script works:
    SQL> !cat t.sql
    DECLARE
       table_update         VARCHAR2(1);
       tariff_group         VARCHAR2(3);
       gf_version           NUMBER;
       tariff_table_name    VARCHAR2(5);
    offer_id VARCHAR2(3);
       promotion_table_name VARCHAR2(5);
       flag                 VARCHAR2(1);
    BEGIN
       table_update := '&1';
       IF table_update = 'T' THEN
          tariff_group := '&2';
          gf_version := &3;
          tariff_table_name := '&4';
          flag := '&5';
       ELSIF table_update = 'P' THEN
    offer_id := '&2';
          gf_version := &3;
          promotion_table_name := '&4';
          flag := '&5';
       END IF;
       DBMS_OUTPUT.Put_Line ('TableUpdate: '||table_update);
       DBMS_OUTPUT.Put_Line ('TariffGroup: '||tariff_group);
       DBMS_OUTPUT.Put_Line ('GfVersion: '||gf_version);
       DBMS_OUTPUT.Put_Line ('Tarifftable: '||tariff_table_name);
       DBMS_OUTPUT.Put_Line ('OfferID: '||offer_id);
       DBMS_OUTPUT.Put_Line ('PromoTable: '||promotion_table_name);
    END;
    SQL> @t T TG1 1 TTN1 F
    30  /
    old  10:    table_update := '&1';
    new  10:    table_update := 'T';
    old  12:       tariff_group := '&2';
    new  12:       tariff_group := 'TG1';
    old  13:       gf_version := &3;
    new  13:       gf_version := 1;
    old  14:       tariff_table_name := '&4';
    new  14:       tariff_table_name := 'TTN1';
    old  15:       flag := '&5';
    new  15:       flag := 'F';
    old  17:       offer_id := '&2';
    new  17:       offer_id := 'TG1';
    old  18:       gf_version := &3;
    new  18:       gf_version := 1;
    old  19:       promotion_table_name := '&4';
    new  19:       promotion_table_name := 'TTN1';
    old  20:       flag := '&5';
    new  20:       flag := 'F';
    TableUpdate: T
    TariffGroup: TG1
    GfVersion: 1
    Tarifftable: TTN1
    OfferID:
    PromoTable:John

  • Assigning a task based on an approval workflow

    Hello,
    Is there a way to create a workflow that includes the following steps without coding:
    1. A user submits an IT service request.
    2. The request is approved by a Supervisor.
    3. The IT Manager assigns the request to a technician.
    4. The technician completes the request and attaches the appropriate documentation to the request.
    5. The IT Manager sends the completed work to the user.
    Thanks in advance.

    Hi Amatullah,
    The following extention for the Workflow Activities available in SharePoint Designer will allow you to create one or more workfows that satisfy your requirements:
    http://spdactivities.codeplex.com/
    The worklfow would be configured to start when a new item is added to the list / library, which would assign an approval task (or collect approval status) from the approver (Supervisor). 
    After the manager assigns the request to a technician and the technician completes the request, the manager may want to confirm/close the request.  this would allow the worklfow to continue and/or respond by sending the completed work to the user.
    You can either "Collect data from a user" to obtain the "User" to assign the request, have the workflow "Wait for a field change" to obtain the assign to user, as well as other alternatives to get the Assign To details for each
    step of the process.  A separate field for each would probably be more suitable than re-assigning the task using the same "Assigned To" field each time, as the details each participant will be captured (not an issue if using the "Collect
    data from a user" action, as the Assigned To information will be available in the task item created by the workflow).
    The custom activities above allow you to do the following, which may assist with your solution:
    Specify the sender of an email
    Attach list items as email attachments
    Without the custom activities, you could develop a similar solution, but you won't be able to attach list items (include links instead), or specify the sender.  The approval and request delegation process can be achieved using OOB Workflow Activities
    available in SharePoint Designer.
    Learn SharePoint 2010
    SharePoint Development
    SharePoint Tutorials (Blog)

  • Implementing roles and rules based authorisation with Azure AD

    Hi all,
    I would greatly appreciate some input on feasibility and patterns I should look at for a complex technical requirement that I am currently tasked with designing.
    We have a system that comprises a web and mobile app. In the past we have implemented session based authentication through ADAM and authorisation through custom business rules contained within the applications. The authentication mechanism is in the process
    of being migrated to Azure AD and authorisation is planned to be moved to Azure AD for our next release.
    Existing authorisation within our web application is already complex. We have users that belong to different groups with a range of permissions such as read, write or admin. Additionally each user is granted access to N customers and also N locations within
    each customer. We have a requirement that any number of combinations of customers and locations be supported. Users also need to have different permissions for each entity, i.e. read access to customer 1 location 2, write access to customer 4 and administer
    customer 7. Currently these privileges are maintained within a relational database and enforced as part of each PageLoad(). Essentially this is a combination of roles and rules based authorisation.
    We are struggling to represent this complex matrix structure within Azure AD and efficiently implement the authorisation decision in Azure AD. The driver for this technical requirement is to provide re-usability of the authorisation component to other (as
    yet unidentified) applications.
    Currently the best option we have come up with is implementing custom attributes for each class of permissions and storing within this 2048 bit field a bitmask that represents whether this permission is granted for a given location (which has a many to one
    relationship with customer).
    Any help or comment would be gratefully received,
    Phil

    Hi
    When "Advance routing" is used for Task assignment; the task service asserts the folllowing fact types : Task, PreviousOutcome and TaskAction to the rules engine. These facts gives all the reqd info about the task (like outcome of the participant, task stage .. etc)
    Now in the defined ruleset; we can have rules as per our requirement that can extract info from the asserted fact types and assign task to the required/next participant.
    Also note that we write the advance rules for exception cases only.
    For example; let's say all participants have 2 possible Outcomes [COMPLETE, RECHECK]. We have defined the ideal task routing flow as :
    Participant A -> Participant B -> Participant C. This is the flow when all participant selects "COMPLETE"
    Now suppose B selects outcome as "RECHECK" then the task shld move back to A. So for this case only we need to write a advance rule.
    Pls refer to the code sample at : http://download.oracle.com/technology/sample_code/hwf/workflow-106-IterativeDesign.zip
    Also dev guide : refer to section 28.3.7.2 http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm#BABBFEJJ
    Thanks
    Edited by: Kania on May 19, 2010 2:41 AM

  • How to give color to the display of keyfigure based on condition using exception.

    Dear Friends.
       I am trying to color "BAD3" in exception based on condition but my problem is in exception I can have only formula variable to compare the value, How to assign a value to formula variable in BEx Query designer.
    What I am trying to do is :
       in Query designer :
       I have PO Quantity and Delivered Quantity. 
      if PO Qnantity > Delivered Quantity
        then Delivered Quantity field should be colored as "BAD3" in exception.
    but here proble is in exception
      I have alert level , operator, and  value fields for Delivered Quantity keyfigure ( Under definition tab - Exception is defined on = Delivered Quantity ).
    but for value field I dont have PO Quantity for that I have to supply one formula variable,
    When I created a forumula  and did this way
    FV_PO_QUANTITY = PO_QUANTITY formula editor throws errors. I dont understand How to assign a value of key figure to formula variable and use it in EXceptions.
    Please help me How I can solve my problem
    I will greatly appreciate your any help.
    Thanking you
    Regards
    Naim

    Thank you so much for your replies,
      I did following way and it helped me to solve my issues.
      I created one formula and under formula I use boolean < funtion to compare the values.
    like following way.
    ( 'PO Quantity' > 'Delivered Quantity' ) * ( FV_PO_QNT + PO_QUANTITY')
    here fv_po_qnt is formula variable I supply that variable to exception and since I have the value in it.. it compares with Delievered Quantity value and colored the perticular cell.
    Thanks again for your replies
    Regards
    Naim

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

Maybe you are looking for

  • I can't print on all printer in my network, no programme does print!

    I have problems to print on my other Power Mac G4 with Panther 10.3.9 on all programms. In every programme comes the failure "Failed to print". But if a make a Postscript file with de PPD of the printer i can drag it on de printer utility and then on

  • New iMac, old "dead" XP laptop with backup of iTunes library on Iomega eGo

    Here is the scoop - We have a brand new iMac and would like to make it where we control iTunes. My wife's iPod has the bulk of our iTunes library on it but not all of it. We have an external Iomega eGo that has a fairly recent backup of our iTunes li

  • Purchase order with ref to central contract

    we have created centrallly agreed contract with one vendor , but client wants to create purchase order using  that contract but with different vendor.(vendor field only ) (not through partner roles and vendor sub range)pl suggest if there is way.

  • Pricing imported material

    Hi, In a businees imported some items by foreign currency & by adding some value to this according to Indian currency then sold to customer.Please give me the solution how to customize in the system for pricing. Thanks, Siku.

  • With OSX 10.8.5 cannot open PDF files with 11.0.04?

    using OSX 10.8.5 cannot open PDF files from Xerox Docushare with recently downloaded PDF 11.0.04