How to get HR Director and HR specialist in workflow?

Hi,
I need to send the work item to HR director for approval and then I need send work item to HR specialist for data entry in PA40.
My problem is I dont know the way to identify the HR director and HR specialist.  Is the HR director the chief of the HR org unit? While is the HR specialist the lowest level in the org unit?
I m not familiar how HR org unit works. How should I approach this requirement?
Appreciate advice. Thanks.

Hi,
Is the HR director the chief of the HR org unit?
This depends how your HR people maintaining the Org. Structure in your Company.
Using the rule you can get the Chief of the Org. Unit
Check the std. Rule. 00000157 --- Superior (chief position)
If this not matches your Requirement, you have to Create your own custom rule.
to identify the HR director and HR specialist.
Using the Employee Subgroup you can find the difference.
In the Table PA0001 field PERS (Employee Subgroup) will have, get the Employee Subgroup no. for the HR director and HR specialist from your HR Consultant.
Then you can use it in your code.
Regards,
Surjith

Similar Messages

  • How to get current month and last month dynamically??

    how to get current month and last month dynamically
    like
    month = getCurrentMonth();
    lastmonth = getcurrentMonth() -1;
    please help
    thanks

    hi :-)
    /* depracated but can be still useful */
    java.util.Date dtCurrent = new java.util.Date();
    int month = dtCurrent.getMonth();
    int lastmonth = dtCurrent.getMonth() - 1;
    System.out.println("* " + month);
    System.out.println("* " + lastmonth);
    /* better to use this one */
    Calendar cal = new GregorianCalendar();     
    int imonth = cal.get(Calendar.MONTH);
    int ilastmonth = cal.get(Calendar.MONTH) - 1;
    System.out.println("*** " + imonth);
    System.out.println("*** " + ilastmonth);
    regards,

  • How to get automatic plant and shipping point and storage location

    hi,
    sap gurus,
    how to get automatic plant and shipping point and storage location automatically into the sales order
    i have done all the config settings for that
    but its not appearing automatically.
    regards,
    balaji.t

    Hi
    Balaji...
    U can get the plant in sales order,  by doing the default the same in customer master or in  material master. In customer master -- sales are data--shipping tab delivering plant there u can assign and get the same in order for that customer. it is better to do in customer master rather than in material master.
    Shipping point is getting determine in sales order and u can not make it default like plant. Shipping point is determine in the basis of Shipping condition of customer ( ship to party)+ loading group of material + Deliverying plant there u have to assing the shipping point and it will flow in the sales order. Tcode OVL2
    For S loc u have to enter manually in the sales order u can not get it automatically.
    Hope this will help you.
    Thx.

  • How to get count,index and compare to arraylists

    hi
    how to get count,index and comparing of 2 arraylist.... plz suggest me asap...

    How is your question related to JDBC? And what have you done so far with your code?

  • How to get system status and user status ?

    how to get system status and user status for the given production order?
    In which PP table we can
    find these?
    Thanks&Regards
    Satish

    Hi Ram,
    Use the FM "STATUS_READ" to read both the system and user statuses for an Order.
    Alternatively, the following tables store the user and system status info:
    JSTO- Status object information
    JEST- Individual Object Status
    Hope this helps.
    Let me know if u need further information.
    Regards,
    Sonal

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • How to get total numbers and total price in query reports

    Hi,
    how to get total numbers and total price in query reports.for example:
    particular item is issued 3 times a week...I need total quantity of item issued
    my query...
    SELECT T0.[DocNum], T1.[ItemCode], T1.[Quantity], T1.[Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'

    Hi,
    Try this:
    SELECT T1.[ItemCode], SUM (T1.[Quantity]) as [Total Quantity], SUM (T1.[Quantity] * T1.[Price]) as [Total Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'
    Group By T1.[ItemCode]
    Beni.

  • How to get current time and date??

    How to get current time and date from my PC time and date to the java application??
    i use java.util.* package but got error, that is:
    - java.util.* and java.sql.* class are match
    - abstract class cannot be instantiated
    so what can i do, pls guide...thanks...

    There is a method in the System class that will return the current system time. You could also instantiate a Date, Time, Timestamp, or Calendar object, all of which get created with the system time by default.
    Don't import *. Import the specific classes you need.
    Next time, post the actual text of the exceptions/compile errors. If you make people guess, most just won't bother.

  • How to get system date and time?

    Can someone show me a code on how to get system date and time.
    Thanks!

    there is one really easy way to get system time, the api gives a great example of code on this. use gregorian calendar, which you'll find in the api under GregorianCalendar. You only need to create one instance of GC, ie Calendar time = new GregorianCalendar();
    you save seconds, minute and hours into int values, so you don't have to access the system time every second, you can create a thread which adds one to the int second value, if oyu see what i mean, for example, i have saved the hours, minutes and seconds as int values;
    int hour, minute, second;
    i can then create a thread (Thread thread = new Thread(this) and run it like:
    Calendar time;
    int hour, minute, second;
    Thread thread = null;
    public MyTime() {
    hour= time.get(Calendar.HOUR_OF_DAY);
    minute = time.get(Calendar.MINUTE);
    second = time.get(Calendar.SECOND);
    if(thread == null) {
    thread = new Thread(this);
    thread.start();
    public void run() {
    Thread t = Thread.currentThread();
    while(thread == t) {
    thread.sleep(1000);
    second++;
    if(second > 59)
    minute++;
    if(minute>59)
    hour++;
    formatTime();
    public void formatTime() {
    second = (second > 59? 0 : second);
    minute = (minute > 59? 0 : minute);
    hour = (hour > 23? 0 : hour);
    System.out.println(hour+":"+minute+":"+second);
    public static void main(String[] args) {
    new MyTime();
    I know this looks like gibberish but it should work. If not, try to fix the problem, i have written from memory really but i guarantee you, this gets the time then every second, simply adds one to the second and then formats time. You can also access the day, month and year then format them using the above code. I don't like giving code since you should really do these things yourself but it is 2:04am, i have nothing better to do and i am not tired so i did you a favour - i have become what i always did not want to, someone ho stays upall night writing code.

  • Can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my cumputer

    can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my computer

    Make sure there's enough free space on the startup disk.
    Right or control click the MacintoshHD icon on your Desktop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.
    If there's sufficient disk space, the startup disk may need repairing.
    Launch Disk Utility located in /Applications/Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click Verify Disk  (not Verify Disk Permissions)
    You will need your install disc if the startup disk needs repairing.
    Using Disk Utility to verify or repair disks

  • I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy to a DVD.

    I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy photos and videos to a DVD.

    Connect your iPhone to your computer. Tp your pc should recognize your iPhone as a camera. Use what ever application you have on the pc to transfer files from a camera to your computer.

  • How to get the values and attributes of Longlived processes by using ProcessID.

    Hi Experts,
    For  every process we creates, LC ES2 creates processID.
    we know that if you creates  a long lived process, all  the  values which are in proces will be stored some where  in DB.
    Here my requirement is by using  processID I need to get all/some values/variables stored in database.
    I am not able to get values using processID. Here I don't have clue on  how to get the values.
    Please tell me  how to get the same by using  Process Management. Link/guide would be helpful
    Thanks
    Praveen.

    Searchable means you can put a filter criteria on it (e.g. where amount > 50000)
    Visible means you can add have this column returned as an output (and therefore you can add it as column in listview and see it in Task Details).
    These two attributes were provided so that queries could be done against the process variables, but the exact contents of the variables are not allowed to be seen.

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • How to get week number and day in my result?

    hi experts, i have given the data is ID and DATE(yyyymmdd),i want to get output like ID,DATE,WEEKNO,YEAR,MONTH,DAY. how to get this output.
    thanks & regards
    vijay

    In a routine transformation you can call function
    DATE_GET_WEEK
    to get the week number from the date.
    To determ the others, use the substring
    YEAR = DATE(4)
    MONTH = DATE+4(2)
    DAY = DATE+6(2)

  • W520: How to get full speed and turbo on battery power

    Here is how you get around the on battery max frequency limitation (of 1.2 GHz, at least for my i7-2620M) and no turbo (well, almost, read on):
    0. Assuming you have max performance enabled everywhere possible (BIOS/PowerManager/Windows Power Scheme)
    1. Load ThrottleStop.
    2. Set the multiplier manually to your maximum multiplier (e.g., 27x for i7-2620M, 23x for i7-2820QM, etc...) or Turbo (which is the setting after your max multiplier).
    3a. Enable ThrottleStop
    3b. (optional) Check in CPU-Z and make sure that your highest multiplier is being used when the CPU is utilized. If you selected Turbo, you should have turbo enabled at this point.
    4. Disable ThrottleStop
    5. Exit ThrottleStop, so that it doesn't waste any battery power, since it is no longer needed
    This will change the max frequency (and max multiplier) available from whatever Lenovo decided to arbitrarily fix it at (e.g., 1.2GHz) to the correct max frequency (which in my case is 2.7 GHz / 3.2 GHz for turbo). Now your laptop will be able to correctly go from 800MHz to whatever is the max frequency of your CPU, using both EIST and C1E. Turbo will also kick in, if you enabled it in ThrottleStop and the Lenovo PowerManager app will even show it as enabled.
    Thanks Unclewebb for letting us get around this stupid max CPU frequency limitation that Lenovo has imposed on us.
    Disclaimer:
    Do this at your own risk, since Lenovo does not officially support it.
    Turn on active cooling, if you do CPU intensive stuff for any prolonged period of time. This will take away some on battery time, but if battery time is of ultimate concern to you, then this change is probably not for you to begin with.
    If you go through prolonged periods of CPU intensive activity, you will lower your battery life and produce a lot of battery heat, because you will have a relatively high discharge rate. A high discharge rate reduces both the number of charge cycles and the maximum charge capacity of a Li-Ion battery. I don't know how safe all of this is, so do this at your own risk and probably monitor temperatures along the way. Other laptops can do Turbo and full speed on battery power (e.g., the slim 3 lb Sony Z, with the i7-2620M), but then other laptops have different designs and cooling systems, so who knows how the Lenovo W520 hardware will react to this.

    Hi,
    I have the opposite problem - my i7-2720QM is fixed at 2.2GHz no matter how hard I spank 1, 2 or all cores, and no matter what System Performance settings I apply.  It even runs at this speed, and gives the same bench marks when on battery  with the "system performance" set to Low.    
    No one even knows what the various System Performance settings actuall mean. E.g. Neither Lenvo support nor these forums could tell me what the difference between "Maximum Turbo","Turbo" or even "Low" under "System Performance" in the Lenovo power manager Advanced settings.
    I have been trying go get turbo boost to work for 2 months. I have wasted so much time with this machine, I could have bought 2 Macbook pros for the cost of the time lost.
    I dont know why Lenovo have disabled the turbo boost (and the opposite, turbo drop?)  feature for this CPU - is it deliberate, or incompetence?  Its certainly false marketing and extremely annoying that I have to use my ancient PC to do single threaded type work which I know the Laptop can manage if it were not crippled.
    So people whos clock speed drops when on battery are the lucky ones.  Mone doesnt even if I want it to.

Maybe you are looking for