SWX_GET_MANAGER and Vacant position

Hi All,
I am working on a approval workflow for Budget Distribution Request. When a person requests for a budge, it has to go to the Manager and his superiors of that department who will either approve or reject it. (I have employee SAP USER ID).
I am using the Rule 00000168 but when the superior is on vacation or the position is vacant the FM attached to this rule will not fetch me the details there by stopping my approval process.
So how to proceed in this scenario.
Any inputs in this regard are welcome.
Thank you,
Lakshmi Narayana.S

Hi Lakshmi Narayana.S,
another option to use the function RH_ACT_LEADING_POSITION or SWX_GET_MANAGER as implemented in rule 157 or in 168.
But:
- in the previous node you call this function to evaluate the manager
- if there is no manager/result you can throw an exception which is implemented in your method - then in the workflow as a new outcome
- react to your exception as you wish in the outcome
Regards
Tibor

Similar Messages

  • Using Rule 168, SWX_GET_MANAGER and Chief Position

    We have enabled standard SAP Travel Workflow WS20000040 - Approve Trip.   We are not currently using OM relationships A002 (Reports Line to) or B002 (Is Line Supervisor of).   We currently identify the Line Manager of the employee using the Chief Position designation A 012 and would like to use this for Trip approvals in lieu of building all of these additional relationships.
    Rule 168 is bound to the workflow.  According to the documentation associated with the rule, it seems that the rule should work with either the A002 or A012 relationship.  However, we only seem to be getting a superior identified when relationship A002/B002 exists.  
    Are there additional configuration or parameter settings that we might need to consider to make the manager (agent) determined properly exclusively with the Chief Position assignment?
    Thanks for  any guidance you can provide.
    Regards,
    Edited by: Bruce Hull on Jul 24, 2008 5:37 PM
    Edited by: Bruce Hull on Jul 24, 2008 5:37 PM
    Edited by: Bruce Hull on Jul 24, 2008 7:29 PM

    What I found through trial and error is that rule 168 does indeed evaluate the A012 relationship by default with no change in the standard evaluation path.  In our testing system, the "Chief" postion was not properly assigned.  Once this was resolved, the workflow works properly.
    As a side note, I also learned that you must have the parameter WFLOW VAPOS set for the rule to properly look up the organizational structure when a position (and chief) are vacant.

  • Org Info (Vacant Positions and Position details)

    Hi there,
    I would like to find some info regarding the following -
    1. Table or FM which would give the list of all org units in a company.
    I know that we could probably get them from hrp10001, but I would want to know if there is a table which holds all the org units created in a company along with their texts
    2. Given the org unit, can we find all the vacant positions in that org unit. If so how?Also what is the table to get the position text.
    3. Is there a table or FM to get the location/state/city of the position. I mean if the company has positions all over the country, can we find the locations of the corresponding positions.
    Any kind of suggestions or input is highly appreciated.
    Thanks
    M
    Edited by: M on Dec 22, 2008 7:27 AM
    Edited by: M on Dec 22, 2008 6:48 PM

    If maintained, the location details of the position could be found in HRP1028.
    Also, some companies use a relationship to link the location to the position. If such a relation exits, then you can pick it up from hrp1001
    - Mahi
    Edited by: Mahi on Jan 15, 2009 5:14 AM

  • BW HR Reporting Issue- Vacant Position & Filled Position

    Hi All,
    I am using the standard extractor 0hr_pa_os_1, it brings up two records for a position one with no pernr & with pernr. Loaded in the same way to cube.
    In my report I am  trying to display number of filled position and number of vacant positions. When I run the query it displays two entries for a position one with employee ID and the other with '#' sign. I tried to exclude the '#' employee from the report but it also removes the position which is vacant.
    Example,
    Position | Employee | Filled | Vacant |
    1002 | 7009 | 1 | 0 |
    1002 | # | 1 | 0 |
    1003 | # | 0 | 1 |
    Total shows as filled = 2 & vacant = 1. which is incorrect filled should show only 1, as the records in the query displayed twice I am getting the total as 2.
    when I exclude '#' from employee, it removes the position 1003 from the report and I am not able report on vacant position.
    Pls let me know is there a way to solve this.
    Regards,
    Anand

    Hi,
    looking at the data example, there could be couple of options.
    1) Exceptional aggregation on Position
    Create a formulae KF on the top of base KF with exceptional aggregation with reference to position to show unique count of position.
    2) Restricted KF
    Create 2 separate restricted KFs one each for filled and vacant. For filled, set a fillter condition of pernr ne '#' and for vacant the condition would be pernr eq '#'.
    Hope this helps?
    Thanks.

  • Approver in Vacant Position

    Hi,
    This is related to Shopping Cart Approvals.
    I am not able to find Vacant Position of Approvers.
    Regards,
    Maruti

    Hi Maruti,
    Could you please clarify your question? I have no idea what you are trying to do and what the problem is. Where do you try to find the vacant position?
    Regards,
    Martin

  • OM - Report S_AHR_61016509 Vacant Positions doesn't pull the Org Unit data

    Hello,
    When I run the report - S_AHR_61016509 Vacant Positions, it pulls all the vacant positions. But it does not pull the information on which Org Unit the vacant position belongs to.
    The end user would like to know which org unit the vacant position belongs to in the org structure, so if there is a new hire in that org unit, we can reuse the same position.
    Please guide.
    Thanks in advance.
    Madhu

    Hi,
    On the output, click on print preview button (ShiftF6). On the next screen, click on change layout button (CtrlF8). Select the 4 hidden fields and transfer them to the left pane and click on copy.
    You can then transport the output as excel too.
    Iu2019d recommend you to save the layout by going to Settings>Layout>Saving. You would then get an option on the report selection screen to specify the layout and you could save your variant accordingly.
    Hope this helps.
    Donnie

  • Inactive cost center is able to be assigned to a vacant position or Org uni

    Hi,
    Is there a config that can be turned on which prevent inactive cost centre, ie cost centre which has been blocked to be assigned to a vacant position or a Org Unit?
    Thanks
    Regards,
    HR team

    sounds straightforward...
    just supply a simple report screen with cost centre parameter and employee select options.
    Loop through all the employees in the selection option ITAB
    apply the cost centre parameter to each
    remember this info in a suitable internal table you have declared
    process that itab
    update the infotype 0001 as suggested by Kumar by HR Maintain BAPI, or BDC  to PA30-IT0001 or HR INFOTYPE Operation function - whatever is preferable your end.
    2 hours coding - (optional - pass the results in a simple SALV for completeness)
    Your over thinking it - you just want a simple utility to manipulate the cost centre in the employee infotype

  • Vacant Position Problems

    Hey Guys,
    We are using the STVN 2.1 Live version of OrgChart and OrgModeler. I have attached both modules to the same org unit, where all positions are filled and HRP1007 infotypes are maintained.
    In both Modules all positions are showing up with the vacant position Icon in the chart, except for the scenario mode of the OrgModeler.  When in position statistics view on org units, all positions are falling under Occupied Positions.
    (example)
    http://i54.tinypic.com/15cm6c6.gif

    Problem Solved!!! It was a problem in the Templates_SAP/sappositionchartxsl.xsl file.
    We are using the STVN 2.1 JAVA version.
    Code changes
    <xsl:when test="string-length(/cds/data/record[1]/field[@name='Vacan']) != 0">
    now
    <xsl:when test="string-length(/cds/data/record[1]/field[@name='Vacan']) != 0 or
                    string-length(/cds/data/record[1]/field[@name='VACAN']) != 0">
    <xsl:when test="/cds/data/record[1]/field[@name='STATUS'] = 2">
    now
    <xsl:when test="/cds/data/record[1]/field[@name='Status'] = 2 or
                    /cds/data/record[1]/field[@name='STATUS'] = 2">
    SAP standard uses VACAN = X STATUS = 0 for open/vacant positions and VACAN = X STATUS = 2 for filled positions.
    The Problem stemmed from using "STAUTS" instead of" Status", I also added the same logic to the rest of the fields in the XSL file. I believe there are several more files that need to be fixed because the icons seem to change per view/Style.

  • Vacant Position Report

    Fellows
    I've got an Org. Structure containing Org. Units, Positions and Holders of Positions.
    Some Position are currently vacant, some are occupied and were vacant before.
    So now I'm creating a report of Vacant Positions. When I put the Reporting Key date as current date, the report brings the correct output of currently unoccupied Positions.
    When I put a date that is old and contains periods where some Positions were unoccupied, those Positions appear on the report as unoccupied and the vacant from/to column show the date that the Position was created.
    Assistance please.

    Yes I'm using the SAP Standard Report : S_AHR_61015516.
    I don't want to maintain Infotype 1007. I want it to be done automatically by the system in background.
    And depending on the Key date that I put in, when running this report I want to see specific period
    that the Position was vacant.
    Example:  I hire a Person on 01.09.2009 and Terminate/Fire the Person on 05.09.2009, then
                    Rehire him on 01.10.2009.
                    When I put the Key Date as 04.09.2009, I want the Vacant from/to column to show me that
                    this Person was Vacant on 06.09.2009 - 30.09.2009. 
                   And Staffing Status column show Occupied since 01.10.2009

  • Personnel Cost Plannling for Vacant Position, ECC 6

    I am implementing Personnel cost planning and simulation ECC 6, based on Payroll results and Projected pay for vacant position only, no issue in payroll results but i am not clear about the projected pay, vacant position based on wage element from IT 1015.
    for testing purpose i have created one position and made it vacant through vacancy infotype, then i have created 1015 record for that specific position and not on job. for 1015 i have created one sample wage element and assigned in 1015. I am not using the planned compensation infotype (1005) although if i do then i am able to collect, any way without 1005 i am planning to collect data PHCPDCOO. based on object type position, first issue, i am not sure which collection method should be used, expecting that "Data for Vacant Positions" method should work, that method is not working in my case and wage elements are not comming.
    kindly advice
    one more concern is while creating wage element through comp management, i could not see any place to assign wage element to cost items or symbolic account but assigned the cost elements while creating, is this enough ?

    Hi Muhammad,
    Did you get through? I am in the process of researching Personnel Cost Planning.
    How did you set up wage elements and assign them to the infotype 1015?
    And what would be the next process after that?

  • Cost Planning for vacant positions-

    Dear Experts:
    Can anyone tell me the best data collection method for Cost Planning for Vacant Positions.
    regards,
    Srikanth Reddy

    Yeah we do:
    Scenario is like this:
    Assume Business Planning is done at the begining of the Fiscal year.
    And Manpower Planning is also done at the same time for the fiscal year.
    Now, based on the MPP user would create Vacant Positions in OM.
    Periodicity of Cost Planning could be Yearly/ Quarterly/ Monthly.
    Whenever i create Vacant Position for Future Periods the system should calculate the Personnel Costs for the Vacant Positions for the same period.
    I just wanted to know, which method would be the best if anyone has done this before.
    regards,
    Srikanth Reddy

  • Users can see Vacant Positions

    Hi Colleagues,
    In the the application Nakisa OrgChart , version 4.0 SP1, Live.
    We need that users can not see vacant positions in Organization structure, it´s this funcionality supported by standard, it´s necessary add the HRP1007 table fields to the output table?
    regards,
    albano

    Hi Stephen,
    Not yet, I have checked the log, and it seems to be ok. There are not errors.
    When I try to active the new language in admin console (section 6 the activation steps).
    I only see the english languages, this is not a expected behavior?
    I appreciate your help.
    regards

  • Vacant Positions Deletion/Delimit

    Experts,
    We have not maintained Vacancy Infotype for any of the positions maintained in the organization. But we can wee there are more than 10000 vacancies are pending in our organization which needs to be deleted or delimited.
    Kindly provide me solution on the same at the earliest.
    Regards,
    Devendra.

    Something along the same lines of delimiting, but a pre-cursor to the process.  Identifying vacant positions - Running report S_AHR_61016509, and get an error message stating that I need to specify an object ID?  I want to be able to run the report open to ensure all vacant positions are identified?  Has anyone ever had that issue?  I am wondering if there was some type of setup that was missed when implemented?
    Please advise.
    Thanks.

  • Postback and Alert position

    Hello,
    I'm new to JSF so this is probably a silly question. I'm developing a web-app in Netbeans using the Woodstock library,
    and I'm having difficulty using the Alert component. To be exact, I want to implement a 'basket' functionality where the user selects rows from a table (by clicking on the last column which is filled with a button) which are then added to the basket showed on the page where the button's action navigates to. But when the user tries to add a row which is already in the basket I want an Alert component to show up and display that error. So I've added an Alert component to the page but with setVisible(false) and when the duplication occurs (which is detected inside the action method of the button of each row) I use setVisible(true) and return null to re-display the same page. The problem is that the table is not re-positioned a little bit lower than the Alert component, thus ..cutting the Alert component in half..
    Any ideas?
    Thanks in advance,
    Antony

    I am not aware of a way to do that. There is no property for position for alerts. You can of course write your own alert functionlaity using a window and set the x and y positions of the window with the set_window_property built-in.

  • How do I convert the single x and y coordinates returned by a CWGraph Click event to the Cursor X and Y Positions?

    I am trying a work around for another problem.
    cwCSnapNearestPoint does not give me a CursorDown event (TrackMode = cwGTrackDragCursor). I need to know when the user has clicked on a Cursor. I need to figure out when the user has clicked on a cursor.
    The click event gives you coordinates as "Single" which are an OLE_XPOS_PIXELS. How do I convert to the Cursor coordinates (or vis a vis)?
    Or better yet is there another way to figure that a cursor has been clicked on (while using cwCSnapNearestPoint and TrackMode = cwGTrackDragCursor )

    Here are a couple potential fixes for the problem. If you are dealing with cursors on the graph, I would look into CursorChangeEvent, CursorMouseDown, CursorMouseUp, and CursorMouseMove. The ChangeEvent is triggered upon repositioning of the cursor. MouseDown triggers on the depression of a mouse button on a cursor, while MouseUp triggers on the button's release. MouseMove is triggered when the mouse is moved over a cursor. These each give X and Y positions in the arguments. If you used these and then made a Sanp to nearest point, you should have the coordinates before you sanpped to the point.

Maybe you are looking for

  • Firefox Settings for users in a Windows Server 2008/Win 7 Environment

    I am currently building images of Windows 7 with Firefox 4 for use on our machines. We use Windows Server 2008 to apply user settings. I am looking for a way that I can provide bookmarks, change some of the default settings, and remove the start-up s

  • Firefox sometimes hangs for about a minute. Fedora 12, firefox 6.0.2

    I am using ff 6.0.2 with Fedora 12, and have a problem of the browser hanging sometimes. I have started firefox in safe mode, but it still happens. It usually happens when I am trying to open a bookmark inside a folder inside the Bookmarks toolbar. W

  • Start the SMC GUI with special configuration/look and feel

    Hello, I forwarding alarm to another management system. Now I might again back. I woulkd like to launch the SMC console and the Alarm tab should be shown directly. It would be even better if directly the information of an special alarm is shown. Does

  • How to record using OpenScript 9.0.1 in a browser which is already open?

    I am actually trying to record in a browser which is already open. I suppose OpenScript opens a new browser when we try to record. I have unchecked the option "Always launch a new browser when recording a different script". But still i can see that n

  • Db is sudden down....

    hii What will be ur initial step u take when a database is suddenly down in 24/7 ? i was asked this question in my interview....pls pals help me to get rid of such cunning questions thanks in advance...