Role based agent assignment in n step badi

Hi Guys
Please provide your inputs on determining agent based on a role in the N step approval badi.
Regards
Rajeev

Hello Rajeev,
what do you expect as input?
Develop such a BADI is possible. Do you want someone who develop this coding for you?
Best REgards,
SZD

Similar Messages

  • Dynamic roles in Agent Assignment

    Dear All
    I have a requirement of assigning dynamic roles which is stored in container element. When i select the role in the agent assignment of the task all the system roles come in the drop down. How to assign the role stored in the container element in agent assignment.
    Thanx in advance

    You can use a simple rule that returns the agents having that role FM PRGN_READ_USERS_FOR_ONE_AGR will do the trick.
    Or else I think you can just use a role as an expression (haven't done this myself). Just as you would pass in USUSERNAME, prefix it with AG. You may have an issue with data types though if the role name is longer than the standard HR object name, I haven't tried it for this very reason.

  • Show/Hide tabs in top level navigation of a role based on assigned services

    Hi,
    I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
    Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
    I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
    Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
    In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
    Regards,
    Sumeet

    Please refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
    What i meant was that you can do a custom TLN like this
    [http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
    Seems to me java/jsp is more appropriate than doing it via WDA.
    ANother way that you might look into this is Application integrator which again java programming effort needed.

  • N Step BADI Approval Workflow Error in SRM 7.0

    Hi,
    I have implemented SC  Workflow Approval based on line item(sequential approval). I implemented process controlled workflow for this using N step Badi. Necessasy configuration done for each level at schema. All steps are executed per line item and agents determined using N step Badi /SAPSRM/BD_WF_RESP_RESOLVER.
    Even in SC after the document is ordered, in approval overview tab i see the all level sequence with  approvers name for that  line item.
    But when approved by first approver, it doesnot move to the next level for approval and the SC is approved bypassing all approvers in the following levels.
    For example, if there four levels of approvals for one line item. as soon as the first approver approves the SC is approved and in SC Approval Overiew tab that contained four level of approval in it is now reset to one level with SC marked as appproved.
    Have anybody come across this error.
    Not able to figure out why it is happening so... need some expert advice.
    Thanks in Advance.

    Hi Masa .. thanks for your reply.
    Was on vacation so could not reply.
    I have below settings in SRM for SC
    Process Level definition should be like this.
    Level Eva.ID ; Resolver Task ID Decision Type
    100 L100 R100 40007953 Item-Based decision for Partial Doc.
    200 L200 R100 40007953 Item-Based decision for Partial Doc.
    300 L300 R100 40007953 Item-Based decision for Partial Doc.
    I have implemented /SAPSRM/BD_WF_RESP_RESOLVER for R100.
    for grouping we are using line item number ... so each line item is a group.
    Below are issues that i am facing now.
    For say 2 line item in a SC... with 3 level of approvals for each line item. I am not able to approve one line item in a sequence. For example: If for first line item, when I approve level one .. then the workitem doesnot move to 2nd approver's inbox for that line item. Now if second items (asssuming there are only 2 line items in SC) first approver has approved then i see all second level of approvers available for all line item.
    In short system waits for all one level approvers to approver for all line item and when all the line items are approved at one level then the workitems are available for seconds level of approval.
    Is this the standard behaviour?
    As per our requirement we wanted one line item shoudl follow the approveral sequence without being dependent on other items approval.

  • Roles based ' N 'step BADI

    Hi,
    Could any one tell, how to do the role based workflow using 'N'step BADI and also send sample code.
    Thanks.
    Prasad.

    Check with SRM forum I think this question was discussed there. It seems some parameters in BADI needs to be populated for this issue.
    Thanks
    Arghadip

  • Agent Assignment in Sent mail step

    Hi to all,
        I am having two doubts.I am new to workflow.Thai is my first development.
    1. In one activity i am using one method inside that FM that convert the report to PDF and sent it to  user for approval using FM SO_NEW_DOCUMENT_ATT_SEND_API1 .For every level i am using this activity to sent the file to user in that level,my doubt is how to assign the agent to RECEIVER_list in FM SO_NEW_DOCUMENT_ATT_SEND_API1 Dynamically for every level.
    Give me some idea ,.
    2.In sent mail step i want to sent a mail to 5 person ,i dont know how to sent.
    Urgent help me out .Give me some idea ,
    give me some related document  or line for agent assignment
    Points i will put for use full document.
    Thankx in Adv,
    Ram.

    Hi Raja Ram,
    I have faced the same problem in my previous project. Let me explain how i did.
    If a employee creates "SALARY ADVANCE" it has to go to 7(MAX) levels of approval based upon the amount that the employee is asking for and based upon the employee subgroup.
    I have created a FM in which i am checking this condition and i have created table (to hold the approvers). When i call this FM inside the method, it will create a multi-line container and the import parameter is the employees SAP user id and the Amount what he is asking for.
    Get the approvers from HRP1001 based upon the selection crietria.
    You can use this too.
    Regards
    Balaji E.

  • Agent assignment through BADI

    Hi All,
    I am implementing BADI BBP_WFL_ADMIN_APPROV for determining approvers in confirmation. I have written following code for testing
    method IF_EX_BBP_WFL_ADMIN_APPROV~ADMIN_APPROVER_GET.
    DATA: wa_agent TYPE swhactor.
    wa_agent-objid = '501696440'.
    wa_agent-otype = 'US'.
    append wa_agent to et_agent.
    endmethod.
    When I doing confirmation, it is stopping at this badi and populating et_agent but when I go to approval preview it shows " Agent assignment does not exists".... The workflow WS10400020 however gets started.
    Please guide me what to do for solving this problem.
    Regards
    Praveen Ghosh

    Hi,
    Please run the FM BBP_PDH_WFL_ADMIN_GET in test mode or test with debug mode.
    Please also double check the task is Genaral Task.
    Regards,
    Masa

  • Assign the roles based on organisation structure

    hi all,
    i am sukumar new to GP and CAF i have a problem with the user management .
    scenarios is HR process without the SAP HR module.
    we have to integrate the user roles with the each activities based on the
    login in runtime.
    Example: a org contains a different departments.
                   but GP process flow is same but the approver role is different for each department. i am not interested to create the each role for each department.
    please advice how to integrate the single process role with organisaton structure
    thanks in advance
    Sukumar

    we have the scenarioas below
    need to integrate the third party HR system ORG structure entity to the Role based travle management approval task.
    but the process and workflow structure for all the department are same.
    only the roles are different for each user.
    no need to disple the standard  approval role in Process initiation.
    Custom role should be populated based on the selection from the first action.
    example: if the user need cash and he should select the cash need option from
                  first action then the finace approver should appear in next action.
                  if not it should not appear.
    please advice which GP callable object is best for this process.
    i have the plan to use the webdynpros..
    regards
    Sukumar

  • Role Based FireFighter

    Greetings All,
    We are doing SAP GRC Access Control implementation in our company. We have Modulewise Master Roles working as firefighter Roles. In emergency we assign it to a user for 24 hours. Now when we are implementing FireFighter we want to keep existing Role Model but use the funcationality of FF. Have anyone gone through this scenario, do let me know the steps we need to configure the existing model with new FF Model and AE.
    Thanks in advance,
    Regards,
    Sabita Das

    Try Firefighter roles instead of Firefighter users.
    FF access via role assignments can be approved and provisioned in Access Enforcer (AE). Firefighter access can also be removed via Access Enforcer by submitting a request to remove the firefighter roles. FF access approvals are captured in the AE audit trail. The business reason for requesting/approving the access can also be captured in the comment section of AE.
    FF access could be granted only after appropriate approvals EVERY time a user needs FF access. Each time a request for the FF role through AE (the request could go through a separate workflow path) and the request will be approved before being provisioned to the user. The approver can change the validity dates on the role assignment so that it can be provisioned for one day, for a week, a month, etc... An audit trail in AE will provide the approver information for historical purposes. This meets the policy of approvals every time FF access is provided instead of the 24/7 master data set-up in the original Firefighter process.
    When running an SOD risk analysis on the user, the report will show the SODs the user has including their Firefighter access. (These SODs would then be mitigated per user even though they are a Firefighter.) There is a risk to the company when a firefighter can do one half of the risk on their own user ID and the second half of the risk on their Firefighter ID. Although this could still be caught, it would take some manual analysis. By using role-based Firefighter, all activities are performed and recorded under the user's normal user ID.
    The Firefighter does not need to "check-out" a Firefighter ID the access is on their normal user ID.
    The standard SAP audit trails have the user IDs instead of the firefighter IDs, so when researching the change, the firefighter logs don't need to be analyzed to see which user had used that Firefighter ID at that time.

  • Issue with N step BADi

    Hi,
    We are on SRM_SERVER 550.
    We have implemented n step badi for approval of SC.
    After SC is created, we see an error in the WF log in the step for task TS10008126. The error is shown in the step history and its "EVALUATE_AGENT_VIA_EXPRESSION      Result of agent resolution does not agree with agents of task"
    When I try to see in OOCU as to what are the agent assignments for the task, it shows me an empty list in OOCU.
    Is there some basis steps for WF missing?
    Regards,
    Srivatsan

    Hi Srivatsan,
    Check the agent assignment of the task. Go to transaction PFTC, select Standard task as task type and give in the number of the task (10008126). Then press change. In the next screen go to Additional data in the menu and select Agent assignment -> Maintain. Then select Approval of shopping cart and click on the attributes button. In the pop-up select General task. And that is it. Depending on the system settings you can transport this or you will need to do it at every system / client.
    Regards,
    Martin

  • Agent assignment to release code

    Hi All,
    please tell me where can i assign agent to release code so that the position of approver is maintained under processor.
    we use pr release strategy process.
    thanks

    Hi
    thanks for answering. ac tually the problem i am facing is related workflow error for agent assignment.
    error: agent determination for step "0000000004" failed
              workflow WS20000077 no. 0000057057045 activity 0000000004 role AC20000026. no agents found.
    please help.
    there are 5 release strategy levels for PR in clients system.
    5 release codes C1 c2 c3 c4 c5
    c1 c2 c3 c4 are assigned as 9
    c5 as 1
    please help
    thanks
    Tarun

  • To run OHS at port 80 using solaris role based access control

    Hi.
    I already know & have done setuid root to ohs/bin/.apachectl to allow ohs to listen to port 80. Now on a new OFM 11.1.1.4 install, I want to use Solaris Role Based Access Control (RBAC) instead. Is it possible? RBAC does work as I can run a home built apache2 httpd at port 80 withOUT suid root.
    On Solaris 10, I enabled oracle uid to run process below port 1024 using RBAC
    /etc/user_attr:
    oracle::::type=normal;defaultpriv=basic,net_privaddr
    Change OHS httpd.conf Listen from port 8888 to port 80.
    However, opmnctl startproc process-type=OHS
    failed as below with nothing showing in the diag logs:
    opmnctl startproc: starting opmn managed processes...
    ================================================================================
    opmn id=truffle:6701
    0 of 1 processes started.
    ias-instance id=asinst_1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    ohs1/OHS/OHS/
    Error
    --> Process (index=1,uid=187636255,pid=25563)
    failed to start a managed process after the maximum retry limit
    Thx,
    Ken

    Just to add my two cents here.
    The commando used on Solaris to assign the right privilege to bind TCP ports < 1024 is:
    # usermod -K defaultpriv=basic,*net_privaddr* <your_user_name>
    Restart the opmnctl daemond.
    After that OHS/Apache user can bind to lower TCP ports.
    Regards.
    Edited by: Tuelho on Oct 9, 2012 6:05 AM

  • Complexity of using N-step BADI in SRM 7using Process controlled Workflow.

    Hi,
    Just as a big thought,
    I have a Shopping Cart requirement, Here i am asked to develop a Custom workflow for SRM 7.0.
    And the client is looking for us to use Process Control Workflows i.e(BRF integrated one).
    I need to understand the complexity of using a N-step BADI.
    How would be the complexity level if I use a N step BADI( ie Multiple approval levels on Line Item Based).
    Kindly tell me the complexity of Using it and if any one has come across some requirement like this, then explain me that how did you face the situation.
    Expecting an Earliest Response.
    Thanks,
    Shanky

    Hi,
      Is your project SRM 7.0 implementation project then you have to go for Process Controlled Workflow and if your project is upgrade then you can still go with Application Controlled Workflow but down line this has to switch to Process Controlled Workflow.
    Best Regards,
    Saravanan

  • In a Real time project what would be the agent assignment attribute setting

    Dear Experts,
    I have never worked on a workflow project. I have been only practising workflow on a IDES system. I would like to know in a real live production system what settings do we use when we define the agent assignment at the task level? Do we set the attribute as GENERAL TASK always?
    To be more specific as in the task attributes we have many options like
    GENERAL TASK
    GENERAL FORWARDING ALLOWED,
    GENERAL FORWARDING NOT ALLOWED AND
    FORWARDING NOT ALLOWED.
    From the first three options which is most generally used in a real time projects?
    AND
    is it necessary to always set the attribute as GENERAL TASK before transporting the workflow definition to other systems from the development system?
    appreciate your help on the same.
    cheers
    chky

    Hello Learner,
    It depends on the requirement, but in most of the cases we assign the task as general task.
    To have some more information on the various attributes,
    ·        General task
    If you define a task as a general task, all users can execute the task. This is useful if the task is used in a workflow and you only want to define the recipients in the step definition. A recipient can forward associated work items to all users.
    Work items whose tasks are defined as general tasks and for which no responsible agents or default rules are defined are offered to all users of the SAP System for execution in their Business Workplaces.
    ·        General forwarding allowed
    A work item that represents a task with this property can be forwarded by one of its recipients to all users, even if they are not possible agents of the task.
    ·        General forwarding not allowed
    A work item that represents a task with this property can be forwarded by one of its recipients only to the possible agents of the task.
    ·        Forwarding not allowed
    A work item that represents a task with this property cannot be forwarded by one of its recipients.
    Hope this will help.
    Regards,
    Sam

  • Role Based FireFighter with GRC 10.0 (CEA)

    Does anyone know how the Role Based functionality of FireFighter exactly works besides putting the application type parameter to Role Based in SPRO?
    The manuals explain that the FF users log in to the remote system with their own users, but how are the FF roles or roles that are enabled for Firefighting assigned to these users and how will the log file know which activity to record?

    Good question, and the answer is not pretty.
    In Role-Based Firefighter Application, the firefighter ID on the target system contains the user's regular access plus his/her firefighter access.
    Reporting turns on when the user runs a transaction in the firefighter role.
    If the transaction is in both the user's regular access and the firefighter role, reporting will turn on because the firefighter role access is in use.
    The reports only track firefighter role usage.  So if a user runs a firefighter transaction but also uses access defined in the user's regular access, the only thing recorded is the transaction.
    If your company is not completely married to the idea of using Role-Based Firefighter Application, I suggest you consider the ID-Based Firefighter Application.  In this, there are separate firefighter IDs on the target system and a firefighter gains access to them by going into GRC and completing a form showing how the firefighter ID will be used, and then the GRC system will let the firefighter into the target system using that firefighter ID.

Maybe you are looking for

  • Install windows 8 64bit on 64bit architecture tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or dual boot

    Hi, I need to install windows 8 64bit on a 64bit architecture Tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or should make it as dual boot. For a project purpose. I tried booting the tablet from windows 8 64bit DVD for instal

  • Gantt chart in OBIEE11115

    Hi , We got a requirement to create a Gantt Chart in obiee11115 for project module, Can any provide me any document to create Gantt chart in obiee11115 I found this link http://oraclebizint.wordpress.com/2007/12/06/oracle-bi-ee-101332-marquee-images-

  • Audigy 4 - WinXP Drivers working on Vista, exept

    Hi, I've followed the discussions here since the release of Windows Vista, and I have tried a number of combinations to make my Audigy 4 work like on Windows XP. The best configuration I had for now is the follow:?Latest Audigy 4 Windows XP drivers f

  • CS 5.5 AE crash on launch, any ideas?

    When I launch AE on my Mac Pro (OS 10.5.8) I get the following error message. There are some other forum threads with a similar message, but seemingly no connection between them. For instance, I don't think the Mac even uses a "registry." Here is the

  • Extra blank line

    hi, i created one table in the main window. its displaying all the records. it is having 29 records. in the 1st page its showing 15 records and after that one blank line. in the next page its showing rest of the record. how can i remove that blank li