HR element for particular month

Hi. Could You give me a piece of code how to get the let's say '/T30' component for only 1 person (let's say pernr = X) for a period in the past, let's say 200701. Please give me a code if You can. Tutorials are hard for me and I still don't get the idea of HR SAP module. Greetings. P.

I try
REPORT ZWOP_C15_TEST3 .
DATA: rgdir LIKE PC261 OCCURS 0 WITH HEADER LINE.
DATA: v_seqnr LIKE rgdir-seqnr.
DATA: pernr LIKE zpersonal-pernr VALUE '20100002'.
CALL FUNCTION 'CU_READ_RGDIR'
  EXPORTING
    persnr = pernr
  TABLES
    in_rgdir = rgdir.
Get SEQNR for the period 200701
LOOP AT rgdir WHERE fpper = '200701'.
  v_seqnr = rgdir-seqnr.
ENDLOOP.
Now call the macro ..
rx-key-pernr = pernr.
rx-key-seqno = v_seqnr.
rp-imp-c2-ru.
This will populate structures as .. rt , crt , bt ...
We are interested in RT ...
Loop thru rt as ...
Loop at rt where lgart = '/T30' .
  v_betrg = v_betrg + rt-betrg.
endloop.
v_betrg has the amount for wage type '/T30'.
and receive 'Statement "RX-KEY-PERNR" is not defined. Please check your spelling.'

Similar Messages

  • Cost details not displaying in MCI3 for particular Month.

    Hi,
    In MCI3 report cost details are not displaying for particular month, for example Jan'09 to Jul'09 is appearing but Aug'09 is not appearing but Sep and Oct'09 is cost appearing in MCI3.
    Let me know if Costing variant configuration are changed in the month October (and revoked late october) means it will not appear? Or what is the root cause for not appearing in particular month.
    Regards
    Kishore

    Hello,
    could you clarify if planned costs or actual costs are not displayed for August 09 ?? Or both ??

  • Rename or Tag Element for particular Xml Element.

    hi,
    How to rename or Tag Element for particular Xml Element using Java Script.
    eg)label to labels
    Thanks in advance
    Smile

    Hi,
           Thanks a lot Jeff...
            I'm doing a huge program with lot of tasks. While doing that,my mind didn't strike to check if the tag is not already exist, then only to create new tag...  Thanks for all of the indesigner experts for their replies...
    I used the following codes with ur idea.
                        var renamewith = textbox1.text;
                        try
                            alert(app.activeDocument.xmlTags.item(renamewith).name);
                            if(app.activeDocument.xmlTags.item(renamewith).name)
                               var testTag = app.activeDocument.xmlTags.item(renamewith);
                        catch(e)
                            var testTag = app.activeDocument.xmlTags.add({name: renamewith});
    With Regards,
    Vel.

  • How should restrict data for particular month?

    Hi Experts,
    How should retrieve data for particular month without where condition.

    Hi,
    You must be having Month Object right in your Webi?
    User will be given opportunity to Select his/her required [Month]
    Create variable as =Userresponse("Enter value for Month")same text as you are giving in the Prompt text....Name it as [UMonth]
    Go to analysis tab..Filter..Add filter...[Month]=[UMonth]
    always this report will run for the month user require

  • Table for Material Quantity and Value for particular month and year

    Hi All
    My requirement is that for a particular month and year I want to know the stock quantity and stock value for a particular material for a given plant.From which SAP table can I get this data as I want to fetch data for my Y report?
    Regards
    Satish Kumar

    Hi,
    You can use MB5B table as suggested earlier.also you can use:
    MBEW-VMKUM --> stock for previous month period
    MBEW-VJKUM --> stock for previous year period
    PLease view these links which migh tbe helpful to you:
    http://help.sap.com/saphelp_47x200/helpdata/en/39/55fee3bc6111d4b3960050dadf0791/content.htm
    TableStock
    Thanks
    Nisha

  • Wip  for the wbs not found for particular month

    Hi
    What are the reason a wip not found for a wbs  for a particular month while doing rrb billing ,while it is again found in the next month

    hi
    please chec in that particular WBS whether WIP - is defined or not in status profile.
    in BS02.
    balajia

  • How to get actual Hours Posted for Particular Month?

    Hi,
    I am trying to write a report which should extract the hours posted for the selected  month by phase code
    What I did is  retrieved AUFPL from AFKO by giving Project number in PRONR
    Later went to AFVC took OBJNR and the went to COSS and by entering Value type :04 (Actual Costs)
    I got entries..I see entries in MEG001 ,MEG002....
    but i am confused becasue it is until MEG016 ...
    Our fiscal year starts in OCt 01.. so where do they post on Oct 01?
    will it be MEG001? or MEg013?
    Right now Septemeber values are posting in MEG012...
    Rgds
    Vara

    Use CN48 T code.
    If you watned to track cost which has been posted vai CATS  & watned to go for the development than better approach is to start from CATSDB and further tables....
    With Regards
    Nitin P.

  • Grouping of Procurement elements for requirements lying in various months

    Dear all,
    Is there any Lot sizing procedure wherein only one Procurement Element (PR/ Planned Order) to be generated after the MRP run for the requirements lying in different months.
    With lot sizing procedure "MB" it is possible to group the PR generated in the particular months. But if we want to group the PR/ Planned orders of different months, then how this can be achieved for make  to stock strategy.
    Please advice.
    Regards
    Brijesh

    Dear,
    If you use the Lot sizing procedure u201CMBu201D, it is possible to group the PR generated in the particular months (For ex: Oct, Nov) separately.
    Suppose there are 2 PIR in the month of Oct, then the system will generate a single PR for Oct after the MRP run. And if there are 3 PIR in Nov, then the system will generate a single PR for Nov after the MRP run.
    So I would like if we want to group the PRs of Oct and Nov and generate a single PR, what do we have in standard SAP and how do we do?
    Please advice.
    Regards
    Brijesh

  • I am a professional photographer of many years standing and at the moment I have a student for 12 months, who I am teaching how to use various Adobe programs, but to introduce her to video editing, I have purchased Adobe Premier Elements 13 which is less

    I am a professional photographer of many years standing and at the moment I have a student for 12 months, who I am teaching how to use various Adobe programs, but to introduce her to video editing, I have purchased Adobe Premier Elements 13 which is less complicated than the Premier Pro that I use. The program works perfectly, except for one thing.... when adding a title to the short video sequence we are working with, if I use a particular font (Metallophile Sp8) which I obtained from my Adobe Typekit, it crashes the program,.... all other fonts work perfectly....can anybody help me please?

    clivephoto
    What computer operating system is your Premiere Elements 13 running on? And what video card/graphics card does this computer use?
    From your description, can I assume that this Mettallophile Sp8 font is being recognized by Premiere Elements 13 to the extent
    that it can be seen and remains seen in Titler's list of font choices - even after the crashes?
    If you opened a new project, imported nothing, and created a text title in the Titler with this Mettallophile Sp8 font, does the program crash?
    Please review the following which discuss fonts and Premiere Elements and determine if anything in it helps.
    Fonts & Crashes with Titler
    Let us start here and then decide what next.
    ATR

  • PF calculation for that particular month

    Hi all
    An employee PF is deducted on basic.
    If an employee worked for u201Cxu201D company up to mid of the month say up to15th date (ex: 10.01.2005 joining date and 15.04.2008 is leaving from the company)
    And now he joined u201Cyu201D company on 16.04.2008 and has been working for that company up to 31.12.9999 (our sap hr terminology).
    My question is employee has to pay PF in both companies in that particular month April?
    Thanks & Regards
    MVR

    Hi shyam
    Thanks for ur quick responce.
    if that employee has 2 PF numbers then there is no problem (if i am not wrong)
    if employee has the one number there may be problem
    This is my idea.
    correct me if anything wrong
    MVR

  • I have been using Elements 12 without a problem for 9 months.  Now when I try to open the program, I get an error message  "Adobe Photoshop Elements 12 quit unexpectedly" and it will not open at all.  What can I do to open the program?

    I have been using Elements 12 without a problem for 9 months.  Now when I try to open the program, I get an error message  "Adobe Photoshop Elements 12 quit unexpectedly" and it will not open at all.  What can I do to open the program?

    Thank you for responding.  Nothing actually worked!  After reading the posts online, I called Apple.  They indicated they have seen problems with some software after their upgrades.  The technician was able to fix the problem on my computer remotely, but I have no clue what he did!  But, it was definitely related to their recent upgrade to my computer.

  • Data element for Month and Year

    Hello All,
    Is there any data element which will have only Month and Year.
    I have to introduce this field in a table. It should have convesion exits also.
    Ex: If i give 092009, it sould come like 09.2009
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

    Kindly Try this code for Month and year as input and having standard F4 help..
    INCLUDE RMCS0F0M.
    TYPES : BEGIN OF TY_SELECT,
              MONTH TYPE FTI_MONTH_YEAR,
            END OF TY_SELECT.
    DATA : WA_SELECT TYPE TY_SELECT.
    SELECTION-SCREEN : BEGIN OF BLOCK SANDEEP WITH FRAME.
      SELECT-OPTIONS : S_MONTH FOR WA_SELECT-MONTH OBLIGATORY NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN : END OF BLOCK SANDEEP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH-LOW.
      PERFORM MONAT_F4.
    SANDEEP JAIN

  • Need working days for a particular month and year

    Hi,
    I need the number of working days for a particular month and year.Saturdays and Sundays are holidays.
    Regards,
    Vignesh

    Try this:
    SQL> var yr NUMBER;
    SQL> exec :yr := 2010;
    PL/SQL procedure successfully completed.
    SQL> with t as (select :yr yr from dual)
      2  SELECT TO_CHAR(dat,'MON-RR'),COUNT(*) FROM
      3  (select TO_DATE('01-JAN-'||yr) + lv dat FROM
      4  (select level - 1 lv,yr from t
      5  connect by level <= TO_DATE('31-DEC-'||yr) - TO_DATE('01-JAN-'||yr) + 1))
      6  WHERE TO_CHAR(Dat,'DY') NOT IN ('SAT','SUN')
      7  GROUP BY TO_CHAR(dat,'MON-RR');
    TO_CHAR(DAT,   COUNT(*)
    APR-10               22
    AUG-10               22
    DEC-10               23
    FEB-10               20
    JAN-10               21
    JUL-10               22
    JUN-10               22
    MAR-10               23
    MAY-10               21
    NOV-10               22
    OCT-10               21
    TO_CHAR(DAT,   COUNT(*)
    SEP-10               22
    12 rows selected.
    SQL> Edited by: AP on Jul 27, 2010 7:54 AM

  • I have elements 7 for 6 months, can I upgrade to 8 at a lower cost??

    Would like to upgrade to Elements 8. Any type of discount .? Purchased and using 7 for 6 months
    Howard

    Contact Adobe customer service. They will usually give you a free upgrade if you've bought the old version within 30 days of the new release.
    I don't know about 6 months though. However, they do offer a special "upgrade" price, if you ask for it.
    That said, though, I'd look over the new features article in the link below and see if there is anything compelling in it.
    Many people are facing a lot of challenges with version 8 and are actually asking for a retro-gade back to version 7! So, unless there are features you are specifically interested in -- and you have a relatively new, very powerful computer -- you may want to hold onto what you've got.
    http://forums.adobe.com/thread/496335?tstart=0

  • Pivot sales analysis report by day for a particular month - sap has by month and annual

    Hi guys,
    I'm trying to come up with a pivot sales analysis query report for items for the month by displaying individual days sales, sales amount, gross profit, gross profit %
    e.g
    Month of March
    1st, 2nd, 3rd, 4th.....31st march. In sap their is a sales analysis report by
    days of the month
    1st March
    2nd march
    31st march
    item no
    item description
    Qty
    sale amount
    gross profit
    gross profit%
    qty
    sale amt
    gross profit
    gross profit %
    Qty
    sale amt
    gross profit
    gross profit %
    sugar
    20
    20,000
    5,000
    25
    30
    30,000
    10000
    33.3
    40
    40000
    15000
    37.5
    n02
    n03
    no4
    Regards Brian

    Hi,
    Due to pivot limitation, not possible to get above data in pivot table.
    Try this simple query which matches system sales analysis by item.
    SELECT t1.itemcode as Itemcode, T1.[Dscription] as 'Item description',  sum(T1.[Quantity]) as Qty, sum(T1.[LineTotal]) as 'sales amount', sum(T1.[GrssProfit]) as 'Gross Profit'
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE month( T0.[DocDate]) = '1' and year( T0.[DocDate]) =2014 GROUP BY T1.[ItemCode], T1.[Dscription]
    Thanks & Regards,
    Nagarajan

Maybe you are looking for