Line Manager

Hi,
I have a little problem, I have a small approval process, which is started by a requestor and then the next step is, that the direct line manager of the requestor has to approve or reject the request. So I find out who is the line manager (by an external service call, so that's not the problem) and make a participant.next assignment. So far, it works without a problem.
But now the problem is, the approval-activity is in a role Line Manager, which has to contain all line managers of the organization. And if I do so, the line manager can do an unassign and the request goes back to the role, what, of course, should not happen, since only the particular line manager (or his deputy) is allowed to approve or reject the request. Similar issue is, if the line manager is disabled, because in this case all process instances are unassigned.
So, the question is, how can I manage a direct assignment, so that there is no possibility for the assigned person to unassign it and there is no way from outside (e.g. disabling a participant) that an unassignment is done?
Thanks for your help.
Kind regards
Matthias

Hi Matthias,
One OOTB thing you can do is as you assign participants to the "Line Manager" role on Enterprise, do not check the "Reassign", "Delegate", "Escalate" and "Peer Assignment" check boxes. This will keep your end users from assigning the work item to someone else. They'll still be able to unassign the work item instances, but at least they will not be able to assign them to someone else.
I'm sure someone has a better way to do this, but here's a shot at it. You'd put the logic shown below inside a Global Automatic activity inside the same process. Set the Global Automatic's property to "Poll by Interval" every few minutes. In this logic, my Interactive activity's Id is "Interactive". Change this to be the Id (not the name) of your Interactive activity.
It first checks to see if someone has unassigned it ("if partName = null or partName = "" then.."). If it's assigned to someone, then it checks to see if that person is still enabled ("if !part.enabled then...").
I wasn't sure what you wanted to do at that point so I just assigned the instance to a "supervisor" if the instance was either unassigned or assigned to a participant who was disabled.
bp as BusinessProcess
do
    instF as InstanceFilter = InstanceFilter()
    instances as Fuego.Papi.Instance[]
    instanceDescription as String
    connectTo bp
        using url = Fuego.Server.directoryURL,
              user = "AUTOCLIENT",
              password = "P",
              process = "/" + processName
    create(instF, processService : bp.processService)
    instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL,
          statusScope : StatusScope.ONLY_INPROCESS)
    // change this to be the id (not the name)
    //      of your Interactive activity
    addAttributeTo instF
       using variable = VarDefinition.ACTIVITY_ID,
          comparator = Comparison.IS,
          value = "Interactive"       
    instances = getInstancesByFilter(bp, filter : instF)
    for each inst in instances do
       logMessage "Found it: " + inst.id
       do
           partName as String
           partName = String(getVar(inst, var : "PREDEFINE_PARTICIPANT"))
           part as Participant
           // Has someone unassigned it?
           if partName = null or partName = "" then
                  reasign inst
                      using participant = "supervisor"
           // If it is assigned to someone, is that person still enabled?
           else
                  part = part.find(name : partName)
                  if !part.enabled then
                       reasign inst
                          using participant = "supervisor"
                  end
           end
       on e as Exception
          logMessage "Exception: ->" + e.message
       end  
    end
on exit
    disconnectFrom bp
endHope this helps,
Dan

Similar Messages

  • Service Desk Escaltions First Response Escalate to line manager

    Hi Experts
    We have successfully implemented Service Desk in Solution Manger. We just have a few problems with regards to escalations.
    1.     Sap Standard only allows you to escalate to one partner function, we would like to first response and completion deadline missed to escalate to the line manager
    as well the message processor, can you please assist on how we can achieve this?
    2.     With regards to the first response time, when an incident is created is created the message processor has 2 hours to respond before his call escalates, if the initial message processor
    sat with the incident for an hour in new status and reassigns to the incident to someone else the second person only has an hour respond the clock does not start again for him and the
    call escalates after an hour this is causing a lot of problems for all calls that are been reassigned people no longer have sufficient time to respond to calls,
    Has anyone else had similar experience and what was your fix for this problem?
    Thanks and Kind Regards.
    Zak Kader

    Thanks PP for some insights.
    Maybe you can help in one more area,
    Say we create a Service Order, the header and do not create the line item entry yet.
    However, we need the dates (first response date) to feed to an outside system where we are
    tracking our SLA's.
    Do you know where the date logic is done to get the Frist response date. Any FM's being used
    We would like this information as dates that we need are not created until the line item is entered.
    We want to not have to create the line item but still get the dates and send them to another tracking system.
    Any help on  where SAP CRM puts this logic would be helpful
    Thanks,
    LA

  • Why no table for Line manager in SAP HCM

    Hi ,
    I am a ABAP technical consultant , I am aware about the program and Function modules required for fetching an employees line manager . My question is why SAP has not made a table for line manager info . As every time I need that info I put in redundant coding efforts to fetch that details . I would like to get your views on this one .
    Thanks
    Gaurav Deep

    Hi Gaurav Deep,
    I think it would be too easy if there would be direct table for finding line manager Seriously speaking I think SAP HR is clever compared to other modules using the object-oriented concept. When relationship between position and person is updated standard function modules find the new line manager without going to specific table. Maybe if other modules would have as clever built we wouldn't have that many tables in SAP? My favourite function module in HR is RH_STRUC_GET. If you can't find fitting evaluation path to return what you want to get then it is easy to create one in tcode OOAW.
    cheers, s

  • How to find HR Line manager of a PERNR present in PA0000

    Dear All,
    I am new to HR module. Can anyone tell me how to find the line manager of any user Id fetched from PA01005 against the pernr from PA0000 table

    This example find line manager for non-manager.
    REPORT ZDYN_SELECTIONS.
    DATA: user_pernr type pa0105-pernr,
           user_orgid type pa0001-orgeh,
           user_manager type pa0105-pernr,
           managers type table of OBJEC WITH HEADER LINE.
      PARAMETERS: usrid type pa0105-usrid.
      end-of-SELECTION.
      SELECT SINGLE pernr INTO user_pernr from PA0105
        WHERE usrid = usrid
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
      SELECT SINGLE orgeh INTO user_orgid FROM pa0001
        WHERE pernr = user_pernr
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
        CALL FUNCTION 'HRCM_ORGUNIT_MANAGER_GET'
          EXPORTING
            PLVAR                    = '01'
            OTYPE                    = 'O'
            OBJID                    = user_orgid
            BEGDA                    = sy-datum
            ENDDA                    = sy-datum
    *      PATH_ID                  = ' '
         TABLES
           MANAGER_INFO_TABLE       = managers
    *    EXCEPTIONS
    *      PATH_ERROR               = 1
    *      ROOT_ERROR               = 2
    *      NOTHING_FOUND            = 3
    *      OTHERS                   = 4
        IF SY-SUBRC <> 0.
    * Implement suitable error handling here
        ENDIF.
    LOOP AT managers.
      write managers-objid.
    ENDLOOP.

  • Assigning a line manager to a Business partner

    Hi,
            I have two business partners. I want one of the business partners to be a line manager to other. I used the relationship icon and created a relationship "Has the employee responsible for". Am I doing the setting correctly or is there any other way to create a line manager for the business partner?
    thanks
    anantharam

    Hi,
    You can use transaction BP
    Regards,
    Nitin

  • Populating Line Manager (T750X, RESPO)

    Hello,
    I'm trying to determine why the Vacancies report (S_AHR_61015516) does not always include the Line Manager.  In a few cases it’s because the Superior position over the vacant position is also vacant.  However, in most cases, the Chief over the vacancy is in place in the OM structure but the Line Manager (Chief) still does not appear on the report.  After looking at it, it appears that when the Line Manager is populated for a vacancy, that position has been filled (had an A008 holder) at least once since Go Live (12/7/07).  All the vacant positions where there is not a Line Manager listed (and there are a lot) have been vacant since Go Live (never had an A008 holder).  If I hire/fire someone in a position then the Line Manager is populated the next time I run the vacancy report…so it appears there is some ‘automatic’ link somewhere.
    Can anyone tell me if there is a way to do a mass population of Line Manager for all vacancies ‘automatically’ based on the existing data in the OM org structure?
    Thank you,
    - Lora

    Develop a customer conversion progam to identify Vacancy Positions and assign the LineManager .
    Use the standard FM or modify HRWPC_CB_MANAGER_NAME for fetching managers from current OrgStructure

  • Which menu does the "Line Manager" responsibility point to?

    Hi,
    I unwittingly applied BIS PF.H back in August and it changed some of the Daily Business Intelligence responsibilities to point to the Oracle Fusion Business Intelligence product. Since I can't roll back to an August backup, I'm trying to find the menu name that the "Line Manager" responsibility points to before 11i BIS PF.H. If you're on PF.G or earlier, could someone please go in as sysadmin and query the Line Manager responsibility and tell me the name of the menu it's attached to?
    Thanks so much!
    Mark

    Thanks! Just in case you're looking, in PF.H Oracle changed the Line Manager responsibility to point to the OBIEE functionality. If you want the DBI functionality you need to use the HR Line Manager responsibility instead. It doesn't use the OBIEE functionality.
    Thanks for the menu's!

  • Some Managers have dual role (Line Manager and Business Partner).

    As a Line Manager, he/she should be able to view and maintain records of his subordinate employees according to organisation structure.
    As a HRBP, he/she should be able to view and maintain records of employees based on Pers Admin field in Infotype 1(Organizational Assignment).
    Managers with dual role have to see all employees in their org structure and also all employees who have Pers Admin assigned to them(For ex. HY3 Lorraine Brent to see all employees who have HY3 in IT0001)
    Pls let me know how do we capture the above requirement.
    Thanks
    Manoj

    Hi,
    Manoj,
    This you can do via structural authorizations,
    Regards,
    Kapil Kaushal

  • ESS Error e - Employee cannot see the line manager

    Hello,
    I am new to ESS/MSS. I just have been forwarded the query where an employee can not see his line manager. The manager can see him in his employee list.
    Your assistance would be greatly appreciated.
    Many Thanks

    Hi,
    Please check whether the employee is able to see his manager in ECC  using standard FM ASR_GET_LEADER.
    Thanks
    Mustafa

  • E Recruiting _does the line manager able to view updated Requisition

    Hi
    I donu2019t have MSS- e Recruiting service at present. Please can you clarify the following? Thanks in advance.
    A Line manager submits the requisition on electronic form. The data submitted by the manager updates the Requisition. Then Recruiter added the some more information on the Requisition.
    The question is that does the Line Manager able to see the additional information provided by the Recruiter on the Requisition.

    Robin,
    This is how it works. In MSS the manager creates the requisiton request and fills certain details. Then it is forwarded to the recruiter. The recruiter then completes and publishes the requisition.
    After this point the manager can view applications/candidates assigned to the requisition but not requisitions.
    The requisition request is an HCM Processes and Forms frame work and it can be found in the UWL of the manager.
    hope this helps.
    Regards,
    Bharat

  • Custom Line Manager Data Role is limiting the Line Manager Actions

    Hi
    I have Created Custom Data Role on Seeded Line manager role and it is limiting the Line Manager actions (I see only Promotion and Manage Directs actions)
    since i cant create a New data Role on Line Manager Abstract role. I followed these steps to do the same:
    1. I have Created the 'SPS Plant Rep New' job role which inheritance the seeded 'Line Manager (HCM)'
    2. i have Create the 'SPS Tulsa Plant Rep' data role with custom person Criteria (Include some locations and Exclude some Department)
    3. i have assigned the 'SPS Tulsa Plant Rep' data role with person
    4. ran the Retrieve process
    5. Login as person who has the 'SPS Tulsa Plant Rep' data role and pick employee who meets the criteria and click on Actions, we are seeing only Promote and Manage Directs actions
    but seed line Manager will have all actions like transfer, terminate, Change location, change manager.. ets but i am not seeing any of them.
    my Custom Data role Suppose to restrict only people search not actions.
    please refer the doc for all screenshots.
    Thanks
    Kranthi

    Is this "On Site" or on Cloud ? The actions that you mention are they secured by function security  (that is with OPSS permissions) or data security restricting access on the actions on specific data ? If this is data security and you have access to the database you potentially use the Data Security PLSQL APIs to triage what the issue is.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to assign a line manager to a employee

    Hi,
    I want to assign a line manager to a employee. Kindly help me.
    Thanks,
    Saroj

    Hi Saroj,
    You can to use the transaction code PPOCE/PPOME to create/change the Organization Unit and assign the manager to a employee.  Verifiy the transaction code "PO13".
    Following the link below:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/05/dfba3692dc635ce10000009b38f839/frameset.htm
    Regards,
    Alexandre Tomazini.

  • Review Activity - Line manager has not been added as a reviewer

    I have System Center 2012 R2 Service Manager deployed on 3 servers (Management, Datawherhouse and Portal) with Windows Server 2012 R2.
    I notice that review field is empty and line manager account not added as reviewer, when I select check box in review activity for Line manager to approve.
    Abduljalil Abolzahab

    I've noticed some who've run into a similar issue who have the Active Directory relationship established but the users (emphasis on plural) who are being synced via the AD connector inside of SCSM exist in two separate OU's - I only draw this to your attention
    in the event your single AD connector isn't syncing everything
    into SCSM. Because again, while the relationship is correctly defined in AD it's effectively missing inside of SCSM.
    Assuming the above statement is fine, the next thing I'd investigate is the History of that particular RA - presumably from your post I'm led to believe that you may have and the History tab of the RA shows up blank?
    Also, in relation to my first questioncould you check the specific user inside of your Configuration Items inside of SCSM and verify the manager is in fact defined there?
    Adam Dzak

  • Difference in Line manager and Devlopment manager

    Hi Folks,
    Can somebody please tell me that what is the difference between, Line manager and
    Devlopment Manager?
    Where do we find them?As i searched in IMG under transaction PPOME that is for
    organisation and staffing,but there were positions like pool manager,staffing manager ,resources but couldn't find Line Manager and Devlopment manager.
    I am using PTT(system,client 002).
    Please answer.
    Thanks and Regards
    Anshu Jha

    Hi rajiv,
    Thanks for telling that PPOMA_CRM transaction.But there is also one transaction called RPM_EMPDATA ,which can be usedin PTT system, client 002,026. That displays resources and users.Once you fill the user name as(remote_catt) for example , and activate it(F8),it will show overview of employee data.There we can find line manager.But, i don't understand who is the person whose name should be put there ?
    Thanks for your ans wer and find out more if you can help me in that.
    Thanks
    Anshu

  • What is the difference between Personnel Administrator and Line Manager?

    I understand that Personnel Administrator is responsible for all the master data in Personnel Administration. Who is Line Manager in Recruitment? While administering the vacancies, what is the difference between both of them in Recruitment.
    Points assured.

    Hi Nivedita,
    A line manager may be a chief position in OM Structure.
    A person who holds a managerial position in a company or department and who makes decisions in an area of responsibility.
    Line managers can act as the first person responsible for applicant correspondence.
    In the Recruitment workflow, tasks requiring a decision are sent to line managers.
    Regards,
    Kapil

Maybe you are looking for

  • What is the difference between creating index on cube and infopkg in PC

    Hi All I have process chain in which after executing infopkg(load data infopkg),creating index on cube i.e Object type is Cube ,for which execution time is 1 hour,then after (subsequent step ) again create index  at this time object type is "infopkg"

  • Make to Order Proccessing

    Hi All, Can anybody explain what are the different steps in Make to Order Process ( Sale order creation to Sale Order settlement) with accounting entries. Thanks & regards, Ganesh

  • Value mapping replication Interface.

    I'm trying to make value maping replication, til now my understanding is for one guid we need to pass two items in which key and value pair both under one guid. and other fields needs to be mapped. The Structure of the Interface of ValueMappingReplic

  • Problem with exported ant build scripts of a  WebService Project

    Hi All, My current task is a migration of working application (from Weblogic 8.1 to Weblogic 10.2). We have several independent projects and an EAR type of project in the workshop. When running ant from the command line, I am getting the following bu

  • [SOLVED] Can't find LVM root device after pacman -Syu

    Hey, can anyone give me a hand here? I haven't updated in about a month, but the last time I did was definitely after the changes-to-lvm post in the news (I know that because it's what got me on the last update ) I noted just before the update that c