Default Wage Type Values in Infotype 8 screen using  exit EXIT_SAPFP50M_002

Hi Experts,
I am facing an issue with defaluting few of the Wage Type Amount/Percent values in Infotype 8 when PAI gets triggered while chnaging the record.
I have implemented the custom logic and updating Wage Type amount for IT0008 sturcture in PAI ( PBAS0001 -> EXIT_SAPFP50M_002) and again rewriting the data back to screen by using cl_hr_pnnnn_type_cast=>pnnnn_to_prelp. But the changed data is not getting shown on the screen. Can some one help me out on this issue.
I have tried with SHOW_DATA_AGAIN = 'X', but this is leading to non functioning of SAVE button. No BADI will suit for this requirement. How to acheive the solution for this issue?.
This is an high priority issue for us and would appreciate your help in resolving this issue.
Thanks and regards,
Srikanth Reddy.

Hi Srikanth
Try updating IT0008 by submitting a report, as mentioned below:
IF
UR CONDITION
SUBMIT ZHR0008 (for example)
ENDIF.
In ZHR0008
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
Hope this helps
Best Regards
Reddy

Similar Messages

  • @Creating a new wage type in an Infotype

    Hi,
    How do we go about creating a new Wage Type for an Infotype?
    (HR module)

    Hi,
    First of all read the existing wage types for the PERNR using the BAPI BAPI_BASICPAY_GETDETAIL into the internal table. Append the new wages to that internal table and use the BAPI_BASICPAY_CHANGE.
    Regards

  • Feature to default values on infotype screens

    Hi All,
    Could I use a Feature (txn PE03) to determine the default values on an infotype screen?
    For example, I want the value in field FUNKT on Infotype 34 to default to say 'KLMN' if the Employee Group is '1' and the Emp. sub group is 'Z5'.
    I would like to use the screen modification config (table T588M) to assign the Feature and get the values without coding.
    I know I can achieve this by using a subroutine on dynamic actions or a BADI for infotype processing etc. but I am lazy and don't want to code if I can avoid it.
    Many thanks in advance
    Sanjay

    Thanks Sarika.
    I can create a Feature in PE03 but how do I use that in the config (table T588M)? Because if I am not able to use it in the config, I will be forced to code (using any Fn. Mods of the likes of HRFEATUREBACK*).
    The Feature ABKRS doesn't seem to be specified in table T588M as such there is bound to be coding behind it in the IT0001 processing programs.
    Cheers,
    Sanjay

  • HR-abap problem in getting wage type in 0008 infotypes

    i am creating sap scripts for appointment letters in that i am coolecting data from table pa0008,
    for that i am using field bet01 , bet02, etc for the diff. allowances .
    if the order of allowances are changed in 0008 infotype then field form which i am getting amount is also getting changed.
    E.G :- i am using perticular order in 0008
                then it gives me wage type in lga02 and corresponding amount in bet02 for first allowance
                                        wage type in lga03 and corresponding amount in bet03 for second allowance
    and now if i interchange order of allowances in pa008  then t gives me
                                   wage type in lga02 and corresponding amount in bet02 for first allowance
                                    wage type in lga03 and corresponding amount in bet03 for second allowance
    i hope you understnad my problem .
    Thanks in advance

    Hi,
    please check thiscode
    call function 'RP_FILL_WAGE_TYPE_TABLE_EXT'
           exporting
                appli                        = 'P'
                pernr                        = p0467-pernr
                infty                        = pinfty
              SUBTY                        = PSUBTY
              OBJPS                        = POBJPS
              SEQNR                        = PSEQNR            "QEAK100596
              waers                        = sy-waers          "XYMK097435
                begda                        = datum
                endda                        = datum
           tables
                pp0001                       = p0001        "input
                pp0007                       = p0007        "input
                pp0008                       = p0008        "input
                ppbwla                       = ppbwla       "output
           exceptions
                error_at_indirect_evaluation = 1.
      check sy-subrc eq 0.
      loop at ppbwla.
        if ppbwla-waers ne q0467-waer2.
          perform convert_to_local_currency using
                  ppbwla-betrg ppbwla-waers
                  q0467-waer2 ppbwla-betrg
                  datum.
          modify ppbwla.
        endif.
      endloop.
    Ref program
    MP046740
    Thanks and regrds
    Durga.K

  • Pcr To Get The Wage Type Value From Previous Years Master Data Records

    Hi
    I have an issue related to pcr.  I want to get the value of a wage type from previous year and it has to be added to another wage type.  Tried to write pcr by using the operation TABLE.  But i am not able to get the previous years data.  Request to help in writing the PCR for the issue.
    Thanks
    EKP Yadav

    1 - Create an "Information WT" that will be saved into RT but that has no impact on net pay.
    2 - Create a PCR that will be activated on the last pay of the year to read the WT you want and transfer it's information into your Information WT.
    3 - Create a PCR that will read the last payroll results (activated with function PLRT) and transfer into the Input Table (IT) the Information WT.

  • By default wage type is defaulting in Payslip

    Dear Mates,
    I've created one custom PCR for one day salary deduction & working fine but getting problem like even I haven't maintained relevant data for one day salary deduction still the wage type is being appeared in Payslip. I'm unable to understanding from where it's hinting.below is the screen short
    Kindly let me know...
    Ur's
    Mohan

    Dear All,
    I need your help..
    I've created Two custom PCR's for one day salary deduction as I've given below screens ,
    coming to in the second PCR ZON1 at the last line I've given operation as ADDWT 4000 due to this operation even though I'll maintain relevant data for one day salary deduction wage type (4000) or not, 4000 wage type is defaulting in RT table. how can i prevent 4000 wage type as if i will maintain one day salary deduction wage type 4000 then only it has to come otherwise it should not come into RT table.
    Kindly let me know your valuable solution..!
    Ur's
    Mohan

  • Set default font type and size in formcreated using Acrobat X Pro

    I have a word document that I used Acrobat X Pro to create a PDF and then a Form.  The Form has over 200 text fields.  Is there a way to globally set the font type and size to one type, for instance Arial 10 so that when someone opens the Form and fills it in, the global font type and size is preset         

    Are you talking about fields that you create manually or field created with the Form Wizard? Exactly what version of Acrobat are you using? What OS?
    In any case, using a script is a quick and easy approach:
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text") {
            f.textFont = font.Times;
            f.textSize = 9;
            // Other properties go here
    I use this type of thing all the time to quickly alter a form. Such a script isn't added anywhere, just executed (e.g., JavaScript console). Over time a developer can build up a collection of utility scripts that can do all sorts of things to dramatically speed up development. It would be bad if this option were not available.
    If there is a bug, it should certainly be addressed, so don't think I'm arguing against that, but I'm not seeing it on any of my systems. I can successfully set the default field properties by selecting "Use Current Properties as New Defaults". The Form Wizard does not use these defaults, but that's a different matter.

  • Infotype 0102 - user exit EXIT_SAPFP50M_002

    Hi all,
    I have  a requirement where i have to put a check on infotype 0102 - greivence NA through user exit  EXIT_SAPFP50M_002 .
    The check is  that if the user enters a personnel number , grievence number and a stage for which the record alreday exist in the table for the same personnel number , then system should pp up an error message.
    I wrote the below code in EXIT_SAPFP50M_002 :-
    data : i0102 like p0102 occurs 3 with header line,
    begin of fs2,
    pernr like p0102-pernr, grnum like p0102-grnum, grstg like p0102-grstg,
    end of fs2.
    CASE INNNN-INFTY.
    WHEN '0102'.
    MOVE INNNN TO I0102.
    LOOP AT SCREEN.
    SELECT PERNR GRNUM GRSTG FROM PA0102 INTO corresponding fields of fs2 WHERE PERNR = I0102-PERNR.
    IF fs2-GRNUM = I0102-GRNUM ANd fs2-GRSTG = I0102-GRSTG.
    MESSAGE 'A record already exist for selected combination of Grievence Number and Stage' type 'e'.
    endif.
    ENDLOOP.
    ENDCASE.
    Here system is throwing an error as " i0102 and innnn are not mutually convertible".
    Please advice me where i am wrong. Its urgent!
    Thanks & Reagrds,
    Preeti

    Hi Preeti,
    The method call replaces the move statement so you do not need the line
    MOVE INNNN TO I0102.
    Also make sure that I0102 is declared as a structure rather than an internal table.
    The code should be something like:
    data: I0102 type p0102,     "Structure NOT itab
            lv_pa0102 type pa0102.
    WHEN '0102'.
    call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
    exporting
    prelp = innnn
    importing
    pnnnn = i0102.
    *******MOVE INNNN TO I0102.    "<<<<DELETE THIS LINE>>>
    SELECT SINGLE PERNR GRNUM GRSTG
        FROM PA0102 into LV_PA0102
        WHERE PERNR = I0102-PERNR.
    IF LV_PA0102-GRNUM = I0102-GRNUM AND
        LV_PA0102-GRSTG = I0102-GRSTG.
    MESSAGE 'A record already exist for selected combination of Grievence Number and Stage' type 'e'.
    endif.
    Cheers,
    Darren

  • How to map the method action return value directly into screen using variables?

    Hi,
    My JDev version is 11.1.1.6.3.
    I have a 'MethodAction' defined in PageDef file, that goes to model layer and return String value. As this needs to be executed during initializing of pageDef, I have also added an 'InvokeAction' for that.
    <executables>
               <invokeAction id="invokeSayHelloId" Refresh="ifNeeded"
                                    Binds="sayHello"/>
               <variableIterator id="variables">
                    <variable Name="Name" Type="java.lang.String"/>
               </variableIterator>
    </executables>
    <bindings>
              <methodAction id="sayHello" InstanceName="HrAMDataControl.dataProvider"
                                     DataControl="HrAMDataControl" RequiresUpdateModel="true"
                                     Action="invokeMethod" MethodName="sayHello"
                                     IsViewObjectMethod="false"
                                     ReturnName="data.HrAMDataControl.methodResults.sayHello_HrAMDataControl_dataProvider_sayHello_result">
                                        <NamedData NDName="pName" NDValue="Michael John" NDType="java.lang.String"/>
             </methodAction>
    </bindings?
    Requirement:
    I want to map the return value of this method action directly into screen by making use of PageDef variables.
    Question:
    I. I need to know how to map this return value direcly as exprssion against PageDef variable.
    2. If Question 1 is achievable, assuming the method action returls List instead of String (I know well it returns 2 items), can I map the 1st Item against Variable 1 and 2nd Item against Variable 2 directly?
    Thanks in Advance.
    Ragu

    Thanks Frank, but If I directly map the MethodAction's result to UI, there are chances where it might get executed whenever I refresh the UIComponent (UIComponent to which the methodAction result is mapped. Isn't so??). Instead, If I invoke the MethodAction using InvokeAction, I can get the control on when it should get invoked (using RefreshCondition). If I assign the variable to UIComponent (Assume I've mapped the method action result to variable using expression), refreshing of UIComponent will not cause any performance issue I feel.
    Correct me If I am wrong.

  • Create Wage Type in Infotype 0008 for Myanmar

    Dear Experts,
    I am trying to create wage types in Infotype 0008 for Myanmar, which is not one of the countries where SAP payroll is being delivered.  I am not trying to run payroll, but only to create the wage type so that I can maintain the salary information in Infotype 0008.  I have done much searches prior to doing this post and found that there are several other posts which are similar to mine.  However, as I could not get the answer that I needed, I am posting again here.
    I have gathered that for ECC 6.0, it is not possible to copy wage types between country groupings.  The advice that I had seen from other posts are:
    1. There are many countries where the wage types are not delivered.
    2. For country groupings where there are no SAP-defined wage type models, you have to create wage types from scratch in T512W using MOLGA 99 wage types as reference.
    3. The wage type groups should then be created for the country grouping in T52D5.
    4. Wage types are then assigned to these wage type groups in V_T52D7 of T52D7.
    5. You may also need to update the wage types in tables T511B, T512Z, T512J.
    My questions are:
    a. How should I perform Step 2 as mentioned above?  Specifically, how to I maintain table T512W?
    What I had done was to go to t-code OH11, select "Copy", select country grouping as "99" and selected wage type M020. Then I typed the customer wage type number as 1000 and also entered the wage type long text (as shown below).  M020 was successfully copied to wage type 1000 in country grouping 99.  However, how should I continue from here to copy this wage type 1000 to country grouping Myanmar?
    b. How can I maintain T52D5 as mentioned in Step 3?
    c. I have not been able to try for Steps 4 and 5 since I was not able to start with Steps 2 & 3. I will ask again when I have managed to do Steps 2 & 3.
    Very much appreciate all advice and suggestions to the above.....

    you can try through fast entry screen  and update the amount in infotype.

  • Default sales org on selection screen using set and get parameter!!

    Hi,
    I need to default value on selection screen using SET n GET parameter...logic to be used should be:
    Sales Organisation:
    This field should be filled by default using the user parameter id VKO. (using sentence GET PARAMETER and SET PARAMETER)...
    Hope i need to write the code in initialisation and what shud b the content?
    Regards
    Gunjan

    hi,
    TABLES <table name>.
      SET PARAMETER ID VKO FIELD <tablename-fieldname>.
    call transaction 'zxx'.
    try this sample program,
    REPORT BOOKINGS NO STANDARD PAGE HEADING.
    TABLES SBOOK.
    START-OF-SELECTION.
      WRITE: 'Select a booking',
      SKIP.
    GET SBOOK.
      WRITE: SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
      HIDE:  SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
    AT LINE-SELECTION.
      SET PARAMETER ID: 'CAR' FIELD SBOOK-CARRID,
                        'CON' FIELD SBOOK-CONNID,
                        'DAY' FIELD SBOOK-FLDATE,
                        'BOK' FIELD SBOOK-BOOKID.
      CALL TRANSACTION 'BOOK'.
    regards,
    siva
    Message was edited by:
            Shan

  • US-PY-PT What are the time of wage types?

    Gurus,
    I am new to HR and have some basic questions.
    I read some documentation and need some clarifications.
    1. What is time wage type?
        All the wage types created in B2 cluster (assuming PT component is enabled).
    2. What is non-time wage type? (also refered as dialog wage type)
         All wage types created by PA30 infotypes.
        The only exception is 2010 which can have user
         entered wage types. If enter wage type has only number - then it is time wage type. Otherwise, it
         is non-time wage type.
    Do I understand this correctly?
    Are there any changes needed for the above two statements?
    Please help...
    Thanks,

    Dear,
    1. What is time wage type?
    Time Wage types are generated during time evaluation with their amount as only NUm field is there for time wage types as Overtime hours
    2. What is non-time wage type? (also refered as dialog wage type)
    Valuation of non time wage types are done out of Time Evaluation . Like wage types entered in IT 0008 , 0014, 0015 etc
    3.
    In IT 2010 we can enter Time wage types as well as other wage types even this IT is used for enttering Overtime wage types
    Warm Regards,
    Kapil Kaushal

  • PA30, PA0008 add/remove one record for onw wage type

    in PA30 we can add wage type & amount for an employee. It creates entry in PA0008.
    How to add or remove a wage type through program ?
    screen is quite complex & with small table control, so BDC is not a good idea. Some ppl told me we can change record in PA0008. is it common practice to do it in HR ABAP ?
    Vivek

    Hello Vivek,
    First you should not modified the PA0008 tables directly using SQL stmt.
    please use the BAPI BAPI_BASICPAY_CHANGE to modify it.
    when you are using these BAPI or Tcode PA30 there are lots of validation is happening.
    And when you will modify it using SQL stmt it will create discrepancies into the Transaction data.
    If you have still query do revert.
    Regards,
    Chandrashekhar

  • Wage Type Error

    Hi,
    i have one problem when i am coping from Model wage type i am getting one error in yellow msg,in table T539j&t539a like Wage type is not a key:please maintain manualy.
    Can U any body help me how should i maintain in that tables.
    Thanks in Advance

    I think...............
    In this two tables we have to maintain manually.
    V_T539A Default wage types for base pay
    V_T539J Base wage type Valuation
    The wage type which your copying is maintained in above two tables. So new wage type can't be assign in these tables.

  • Function module for assigned wage types

    Hi experts,
    We need wage type wise count and sum of the amount for each wage type defined in infotype '0008' for the given from and to dates. Is there any function module available for the same.
    Please suggest.
    Regards,
    Kaustubh Kabre.

    Hi,
    <li>I do not look for function module for this case as i know that we can or have to read wage types and corresponding amount in the program. LDB PNP should be given in program attributes.
    REPORT RPABAP06.
    TABLES:PERNR.
    INFOTYPES:0008.
    DATA: BEGIN OF WAGETYPES,
       LGA LIKE P0008-LGA01,
       BET LIKE P0008-BET01,
       ANZ LIKE P0008-ANZ01,
       EIN LIKE P0008-EIN01,
       OPK LIKE P0008-OPK01,
      END OF WAGETYPES.
    DATA:total type P0008-BET01.
    GET PERNR.
    RP_PROVIDE_FROM_LAST P0008 SPACE PN-BEGDA PN-ENDDA.
    DO 20 TIMES VARYING WAGETYPES-LGA FROM P0008-LGA01 NEXT P0008-LGA02
                VARYING WAGETYPES-BET FROM P0008-BET01 NEXT P0008-BET02.
    IF WAGETYPES-LGA IS INITIAL.
    EXIT.
    ELSE.
    TOTAL = TOTAL + WAGETYPES-BET.
    WRITE: / WAGETYPES-LGA, WAGETYPES-BET.
    ENDIF.
    ENDDO.
    WRITE TOTAL.
    Thanks
    Venkat.O

Maybe you are looking for

  • Report  S_ALR_87012167 top list based on amount of overdue items

    Hello, We are using report S_ALR_87012167 (Accounts Receivable Information System). In this report, it is possible to customize how many customers should be involved in the TOP list, the other customers are summarized in REST. This works fine. Howeve

  • How to send a document in net.HTTP.request as a POST variable?

    I have read and reread the doc on net.HTTP.request, and it says I can pass an argument of oRequest, but I have not succeeded at passing in the current document, which is what I want to do. I've tried app.activeDocs[0], or encoding that to a string, b

  • Editing a CS6 document in CS5.5?

    I'm an editor, and I really need to edit my graphic designer's work. She sent me a file in CS6, but I have CS5.5. Is there any way I can edit it in my program without needing to do confusing plug-in installations or upgrading to 6 (which I've found i

  • Is this site slow or what???

    OMG...This site is so slow to do anything.  Just scrolling up and down with the mouse wheel is choppy to say the least. Is anybody else having poor performance with this forum?

  • Could not open registry. Registry name: EMPLOYEE

    Hi I am installing Peopletools8.52 EPM9.1 with weblogic10.3.4 in windows 7 32 bit While i am login into peoplesoft sigon on page i got this error Could not open registry. Registry name: EMPLOYEE how to resolve this error thank you in advance regards