How to show the employee's organizational unit in remuneration statement?

Hi experts,
I'm working on a payslip,and there are two questions to ask:
1.How to show the employee's organizational unit in remuneration statement? I didn't find a right table and right field to realize it.
2.I tried to show the notification in payslip by infotype 0128, but it didn't work. Is there any tips?
Any help will be appreciated.Thanks in advance!
Alex

Hi,
You can get orgunit from Orgassignment table (pa0001-orgeh).
Otherwise you can get it from hrp1001 table. querying like
*get position of pernr.
select single sobid into v_pos
from hrp1001
  where otype = 'P'
    and objid = pernr
    and plvar = '01'
   and rsign = 'B'
    and relat = '008.
    and istat = '1'
    and begda le sy-datum
    and endda ge sy-datum
    and sclas = 'S'.
*Get org unit
select single sobid into v_orgunit
from hrp1001
where otype = 'S'
    and objid = v_pos
    and plvar = '01'
    and rsign = 'A'
    and relat = '003'
    and istat = '1'
    and begda le sy-datum
    and endda ge sy-datum
    and sclas = 'O'.

Similar Messages

  • How to get the list of organization unit assigned to user

    hello All,
    i have to get the list of organization unit which is assigned to user. i mean if user ABC is assigned to 10 Org unit then how would i get those 10 sales Org? is there Any function module?
    Regards.

    hello Bruno,
    Thanks for reply...i got the Org unit with position...now i need to get territory Id / Areas related to those position's. can u help me in this regard?
    Regards

  • Urgent:::how to get the employee hierarchy

    hi all.
    let me know how to get the employee hierarchy in HR organizational management.
    like when we give emp id it shows developer name---superior( team lead name)-superior(project lead name)---
    points will be rewarded for valuable answer.

    Hi,
    1) You can use the relation '002' in the table HRP1001, between the position of developer (objid) and get the position of team lead (sobid field). With the position of the team lead got in SOBID field... with the relation '008' get the person name.
    2) You can use the transaction PPOM_OLD to view the reporting structure...
    Regards,
    Meera

  • How to view the employee image in Selfservice?

    Hi firends,
    I'm trying to view the employee image in Selfservice.
    The idea is the following:
    - When we enter in Preferences Menu --> Person Search Menu
    - Then Customize for HR User --> Level : Responsability
    (we choose a responsibility associed to Preferences) and then, inside the "advanced properties" for the columns we can associate an URL to the column we want...
    - The idea is to associate an image (photo) to the employee number.. so we could use an url link to the blob column stored in fnd_lobs if the employee image would be stored as an attached document for the employee... or... a link to show the image column (lon raw) in per_images table... (I think this would be more difficult)
    What I don't know ... how to do is how to show the image.. (how to build the url through the customization of the fnd_gfm.get procedure....
    Another doubt in relation with that is..
    When we show the image stored as an attachment in fndattch form, the internet explorer opens with the url
    http://my_domain:8000/pls/my_project/fndgfm/fnd_gfm.get/42387354799/423868/fnd_gfm.jpg
    the last number: 423868 is the file_id in fnd_lobs but... how about the other? how is it generated? Have this some relation with the problem to show with download_blob....?
    Any ideas
    Thanks,
    Jose.

    the "Employee Directory" shows you the photos by default. Should not be that hard to add an url via personalizations that points to that directory.
    good luck.

  • How to show the volume in a Meter?

    Hello,
    I m newbie in programming in java sound,
    And i would like to know how to show the volume from a recording in real time in a meter? I allready have the meter but now i don´t know how to pass the volume and show in the meter.
    Somebody can help me?
    Thanks

    844429 wrote:
    ..And i would like to know how to show the volume from a recording in real time.. It can never be truly 'real time' since the calculations require a 'chunk' of sound samples to produce a value. The shorter the chunk, the more arbitrary the value, but the more 'real time' it seems.
    ..in a meter? I allready have the meter.. (chuckle) That is the easy part.
    ..but now i don´t know how to pass the volume and show in the meter.In what units? dB, RMS, tuna? I did an RMS calculation for the left/right channels of a more complex audio trace. RMS is relatively easy to calculate. E.G.
    /** Computes the RMS volume of a group of signal sizes ranging from -1 to 1. */
    public double volumeRMS(double[] raw) {
        double sum = 0d;
        if (raw.length==0) {
            return sum;
        } else {
            for (int ii=0; ii<raw.length; ii++) {
                sum += raw[ii];
        double average = sum/raw.length;
        double[] meanSquare = new double[raw.length];
        double sumMeanSquare = 0d;
        for (int ii=0; ii<raw.length; ii++) {
            sumMeanSquare += Math.pow(raw[ii]-average,2d);
            meanSquare[ii] = sumMeanSquare;
        double averageMeanSquare = sumMeanSquare/raw.length;
        double rootMeanSquare = Math.pow(averageMeanSquare,0.5d);
        return rootMeanSquare;
    }Of course, you will need to get directly into the sound data streams then convert the signal to PCM, split the channels and scale the values to a range of -1 to 1 to use that exact method shown. ;)

  • How to show the quantity in decimal in MIGO

    Dear expert,
    How to show the quantity in decimal in MIGO?? for example in material BOM the quantity is 12.480 but the quantity in MIGO is 13. it's automatically rounded.
    what should I do to show the decimal point in MIGO?
    Thanks
    Pauline

    Hi,
        Please check in su3 -
    defaults (Tab) -
    Decimal Notation.
        Change the decimal notation and logoff and login to apply the changes.
        I think it may help you.
    Regards
    Sreedhar Reddy

  • How to show the checked-out symbol in list of files in a folder

    Hi,
    When the folder is selected it is showing all the files in that folder. But, the user would not know which file had been checked out. In general it should show the lock symbol (As similar to Documentum, webtop) when a file had been checked out by some other user.
    How to show the lock/key column in list of files. Any other way to find a file had been checked out or not instead of going into the content information.
    Also, how do we add additional columns like author etc... to the list of files screen in UCM?
    Please help

    You should double check, but I don't believe that the check-out info is in the resultset. Because that information isn't available, the state of each row in the search results table cannot be defined. So, the first hurdle would be to add that info to the dataset.
    The second hurdle would be to alter the UI to leverage that info (e.g., the key icon when checked out).
    If you're looking to alter the folder views, then look to the COLLECTION_DISPLAY service & related template. Other views (e.g., search results) have different templates and backing services.
    -ryan

  • How to show the login user Id in the upper right corner of each page?

    Hi,
    I was wondering how to show the login user Id in the upper right corner of each page?
    thanks so much!
    cchu

    Cchu,
    The easy question first: applying a style to the welcome message. If you look at the page source, you'll see that #WELCOME_USER# is expanded to <div class="app-user">Welcome: DEMO</div> So to change the style of the message, you need to tweak the style of the app-user div in your CSS, or override it in a style block in your HTML header.
    Now, the tougher question: why the text is wrapping for you. And, really, without seeing your entire page, I can't give a full answer. But I'd suggest that what's most likely happening is that the table column you're putting it in is too narrow, so it's wrapping; try replacing the td tag with <td nowrap="nowrap"> This will force the column to be wide enough to display the full message, but might result in weird formatting elsewhere on the page (depending on what all is in your table).
    -David

  • How can show the result of a measuring that is done in a sub-program in my main panel?

    How can show the result of a measuring that is done in a sub-program in my main panel?

    In your subvi, wire the result(s) you want to ouput to the main program to an output terminal on the connector pane.
    For a tutorial on subvi's, search the help for "connector panes" anc click on tutorial.
    ~Tim

  • HR-ABAP.How to Find the Employees assigned to the Appraisal Template

    Hi ,
    Please help me out.how to find the employees assigned to the Appraisal template.
    Ex. 7825232 is a appraisal template id and i want to know in the system how many employees assigned to it..
    Please let me know if the post is missing something.
    Suggestion also appreciated ...
    Thanks Inadvance!
    Law.

    check this fm HRHAP_DOCUMENT_GET_LIST_XXL
    Thanks
    Bala Duvvuri

  • How to show the message text for constraint violations

    Hi all,
    In a batch procedure a primary key is violated (ORA-00001). For the primary key, a message is recorded in the TAPI and the message table.
    How to show the enduser a proper message text instead of the ORA-00001.
    We are using Designer 6 with Headstart 2.1.2.
    Thanks in advance,
    Joep

    Joep,
    If you try to insert the record by calling the ins procedure of the Table API, you will see that it will result in an ORA-20998 message, which means that the error message details reside in the CG$ERRORS plsql message table. These messages can be extracted e.g. with the messages.sql script, shipped with headstart.
    If you do not want to rewrite your direct DML (insert into [table name] ...) in the complexer calls to the TAPI services, you might want to user VAPI's for it. In fact, this is one of the major advantages of using VAPI's.
    The CDM guidelines volume, chapter 6 states that:
    <I>The front end no longer needs to trap declarative constraint
    errors (Primary Key, Unique Key, Not Null and Check
    Constraint violations) and replace them with a user-friendly
    error. The View API issues DML statements through the TAPI
    and the TAPI traps all declarative constraint errors, and puts
    user-friendly message on the stack, in the preferred language of
    the user! Fore more information, see the section, Completeness
    of Rule Violations Reported in Front End, in this chapter.</I>
    So the only thing you need to do is generate VAPI's, and trap the ORA-20998 message (qms$errors.qms$exception) in an exception handler, where you retrieve the user friendly messages from the message stack!!
    Regards, Marc

  • How to show the elements of an array?

    How to show the elements of an array, when the array size changes every loop?
    It's possible to use node property?
    thanks
    Vicens
    Win XP/ LV7.1
    Attachments:
    show elements.PNG ‏184 KB

    Basically it is (at least in LV8.0). There is a property "Number of Rows" which sets the number of visible rows. If your 1D array is placed horizontally, use "Number of Columns".
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How to show the filter and sort capabilities in adf dynamic table

    hi
    how to show the filter and sort capabilities in adf dynamic table..
    Pls help me

    Hi
    Click on a colum in your table and go to the properties pallet
    make true the sortable property then you can sort the table according to that column
    Thanx
    Padma

  • How to show the drill path in the analysis

    Dear Experts:
    I encountered this problem when designing OBIEE dashboard:
    I'm using OBIEE 11g.
    I ceated a new analysis and made it to show in pie chart view.
    It works fine regarts to the drill function, when I click a part of it, it automatically change to the drilled down level figure.
    Whant I want to know is how to show the current level after serveral times of drilling down and drilling up.
    I know that I can judge the level base on the legend or move the curs over the chart.
    But to a new user, is it possible to create a variable or something above/below the chart to actively show the name of current level?
    Thank you very much.
    Edited by: 906129 on Jan 5, 2012 5:40 PM

    How could it not be 5A?. If you have A for each member and then you select 5 members you are going to get 5A. If you don't want 5A then what do you want the Avg of A across the 5 members?
    The tools are working the way they are designed to, your requirement is a little out of the ordinary. Unfortunately, Web Analysis does not have conditional logic.
    Try taking my previous suggestion and adding another member in Essbase called "Count", make it dynamic calc and the formula should be ' 1; '
    The purpose here is to get a value of one in the count member for each member you are going to select in your filter. So, if you select five members in the filter, Web Analysis will now return 5A and it will return the result of "Count" which will be 5. Create a calculated member that divides the 5A value by the count value 5. That will give you the average A for the 5 members, then you can divide by 12.

  • How to show the cover art in the sidebar?

    Hej!
    I just updated iTunes to the latest version and wanted to make it look like before and already managed to enable the side and status bar.
    Now to my problem: I just can't find out how to show the cover art of the selected/playing song in the sidebar...
    If they didn't remove this option, please let me know how to enable it.
    - Julia

    I was able to somehow pull the single tool column down and get it to show as a double column. I am not sure as to exactly how I did this, but I did get the double column tool box and so far it has remained. There is some gray column overlap at the bottom of the screen.

Maybe you are looking for