Infotype 416 User exit or Solution

Hi,
I am using PA30 with infotype 416. While displaying, I am getting two radio buttons namely - Automatic and manual compensation. But while creating, i do not see this two radio buttons.
Is there any user exit which can be used to remove / make invisible the radio buttons while displaying?
Or if there is any solution to this?
Thanks & Regards,
Naba..
Edited by: Naba Kumar Saha on Jul 14, 2009 2:13 PM
Edited by: Naba Kumar Saha on Jul 14, 2009 2:30 PM
Edited by: Naba Kumar Saha on Jul 14, 2009 2:56 PM

Hi,
I am using PA30 with infotype 416. While displaying, I am getting two radio buttons namely - Automatic and manual compensation. But while creating, i do not see this two radio buttons.
Is there any user exit which can be used to remove / make invisible the radio buttons while displaying?
Or if there is any solution to this?
Thanks & Regards,
Naba..
Edited by: Naba Kumar Saha on Jul 14, 2009 2:13 PM
Edited by: Naba Kumar Saha on Jul 14, 2009 2:30 PM
Edited by: Naba Kumar Saha on Jul 14, 2009 2:56 PM

Similar Messages

  • Infotype 0416 User exit

    Hi,
    I am using PA30 with infotype 416. While displaying, I am getting two radio buttons namely  - Automatic and manual compensation. But while creating, i do not see this two radio buttons.
    Is there any user exit which can be used to remove / make invisible the radio buttons while displaying?
    Regards,
    Naba.
    Edited by: Naba Kumar Saha on Jul 14, 2009 2:30 PM

    Hi
    I am following code
    WHEN '0416'.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
          EXPORTING
            prelp = innnn
          IMPORTING
            pnnnn = i0416.
         i0416-wgtyp = '5004'.
    I moved the value wgtyp field, but the screen field not updated.
    regards

  • Update infotype from user exit

    Hi,
    My requirement is to update a infotype from a user exit. I have a internal table with some records created in the user exit pbas0001. Now i need to update these records in the infotype 2001(absences). I tried using HR
    INFOTYPEOPERATIONS directly from the user exit and it didn't work. If i create a include program and create a subroutine within the include program and call it in the user exit still i am getting a error message. How can update the infotype from the user exit.
    Can someone send the example code for how to export the internal table from the user exit and import it in another program and update the infotype from that prgm.

    Put the entire code in another Report & SUBMIT that report from the User exit.. this will isolate the two work processes & the Z table should get updated..
    ~Suresh

  • Infotype 0008 - User Exit Validation

    Hi Gurus,
    I have to validate infotype 0008 amount fields  in PAI user exit ZXPADU02 .
    For a scenario, if the amounts are not equal  ( BET01 <> BET02) then  I have to geneate error message.
    Then the user is supposed to correct / re-enter  the amounts .
    The problem is , when I generate error message , the amount fields are grayed out.
    I think this is happeneing cause of standard SAP code (  in flow logic for program MP000800  ) .
    Is there any way to generate error message in the user exit and
    Give the users an option to update the amount correctly ??
    Core mod is the last option.
    Appreciate your inputs .
    Thanks

    I solved this problem with:
    if BET01 <> BET02.
            message 'tekst' type 'S'.
            LEAVE SCREEN.
    endif.

  • 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

  • FF68 - User exit or solution to trigger reference document number

    Hi All,
    When i am trying to save Check details using FF68. Two documents are creating.
    1. Bank
    2. Subledger.
    The documents are creating and perfect.
    The issue is , when i check the reference(XBLNR) number of the documents in FB03, i could able to see the value of group from FF68 first screen. the value i have entered in the second screen againts referece docuemnt number is not displaying.
    Is there any exist or solution to display the correct value into the XBLNR in FB03.
    Thanks
    Manju.

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • User exit solution for Zprogram

    Hello Friends,
       I have a custom solution in ABAP that I am implementing at a customer. My customer needs a solution or a feature that is very specific to his company. I do not want to change the program that is only for that customer. This will impact if I have to install it any other customer.
    Please advice if you have any ideas on implementing user exit like solution for an ABAP.
    Thanks,
    ABAP PM

    hai , if u want others not to modify and specific to your customer then in attributes put editor lock so that no can edit it , and if u want user exit type u can create badis and attach at some places in ur code so that the other use can edit only at required places, else if ur customer has name space then he can create in that name space and if u dotn give licence to other no can edit or repiar ur program
    m.a

  • USER EXIT to be added in IT2001

    Hey Experts,
    I have the following requirment and i havnt worked on HR ABAP.
    Please provide me the solution and how to reach the user exit in the infotype.
    User exit needs to be added to IT 2001 to include the logic mentioned below:
    a.     For every new record of subtype ANLE or ANLS in IT2001 for any employee, check the IT 0000 (infotype actions), table P0000 if any Action Type I2 (Termination of Contract) exists
    b.     If found, check the Quota balance for current year for Quota Type 30 (Accrued annual leave), 31 (Carried over annual leave), 32 (Accrued home leave)
    c.     Quota balance for each type can be found from IT2006 (Absence Quotas), Table P2006 by deducting P2006-KVERB from P2006-ANZHL
    d.     If leave applied is not within this quota, throw error message u2013 Leave exceeds available quota by #(actual no. exceeding)
    thanks in advance.
    Regards,
    Ram
    Moderator message: "spec dumping", please work yourself first on your requirement.
    Edited by: Thomas Zloch on Sep 28, 2011 2:20 PM

    Hi Shilpa,
    there is no hard code rule to use the specific user exit for substitutions, attached screen shots will help you to resolve the issue.
    Step 1: Go to the t.code: OKC9, specify the controlling area and event 0001.
    Step 2 :  Create the substitution and select the step (attachment 1)
    Step 3: below mentioned screen shot specify the any existing user exit (naming conversion starts with U) by F4 option and double click on the particular exit
    Step 4: you can see the Report ZGGBS800, here you can create the user exit next free number starts with U naming conversion, once it's created the replace the existing user exit in the substitution rule.
    Hope this will help you to understand the user exit process in substitution rule.
    Note: Only substitution rules there is no hand code rule for user exit, for other transactions we need to check the SAP delivered exits.
    Make sure that substitution rule must be activated once exit created
    Thanks & Regards
    Srinu

  • User Exit For Discount

    Dear Guru's,
    I have urgent requriment for user exit for discount.
    my requirment is sales employee can give 1 to 10% discount and sales manager can give 10 to 20% discount and GM can give 20 to 30% discount.
    Please it is urgent requirement give me the user exit or solution.
    points will be provided. Email adresses are [email protected] and [email protected]
    Waiting for yours reply
    Regards
    Maqsood

    If you are looking for MIGO check Or else let me know which  T code exit you want?
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    Rewards if useful...................
    Minal

  • BADI, User Exit or Dynamic Action for Infotype 24

    Hello,
    in PA30, our HR admin team want me to write an Infotype 19 record when a user amends or creates an Infotype 24 record.
    I spent all day yesterday trying to find a solution to this.
    Can anyone please tell me:
    1) Do dynamic actions work for IT0024? - our HR admin suggest that they don't as there is no 'subtype'.
    2) Should user exit PBAS0001 (function EXIT_SAPFP50M_002) work for IT0024? I have tried putting in a test display which should appear on save of IT0024 and this does not appear to work.
    3) Will BADI HRPAD00INFTY work? If so, does anyone have an example of code that tests the 'old' IT0024 record before modification - the documentation does not help too much with a good example. I'm planning to use this as a last resort due to the need for an access key.
    Many thanks in advance,
    Keiron.

    The BADI is probably the best way to go.  You should not need an access key - you do not put your code in the BADI, but instead create an implementation of it in a Z name range.  Go to SE18 for the BADI and display it, and select menu option implementation--->create.  Give a Z name and then you will have a place to put your code.  You can double click on the methods shown in your implementation to get to the ABAP code editor.
    Exit PBAS0001 should also work - put a breakpoint in it to see if it is called.
    Both the BADI and Exit are called at almost the same point in the SAP PA30 code - however the BADI is called in some cases when the exit is not.  It is outside an additional IF test in the SAP code.
    Andrew

  • Infotype 0045 enhavcement and user exit

    Hi all,
    I am facing a very peculiar problem. I am supposed to modify infotype 0045. In this infotype, there are three tabs - basic data, conditions AND PAYMENTS. I have to create another additional tab - permissions such that it should be the first tab. When I am doing so in pm01, it is behaving peculiarly - it is not allowing me to acces that tab - saying that "Protected tab titles are not supported. Please suggest what to  do.
    Also I have to make a user exit for infotype 0045 so that the system checks for the infotype 0045 - loans, If a person has already applied for loan( i.e. the infotype 0045 for a particular person is already fillled) or if he is a trainee or on deputation, the system should not allow to save the infotype 0045 for that person and should give an error message saying permission not granted.
    Please suggest some solution for this.
    Thank you,
    Ribhu

    Hi ribhu,
    1. for validations purpose,
       we can use the enhancement/user exit
      PBAS00001
    2. In that there are 2 fms.,
    3. The 2nd fm, is for valiation purpose,
       ie. checking before saving.
    regards,
    amit m.

  • User Exit for Infotype 008

    Hi,
    I want userexit or BADI for Infotype 008. my requirement is i want to throw error if the user enters basic pay more than 15000 based on payscale type.
    Any one send me the solution .
    Regards,
    Srinath

    You can also create an enhancement if there is no BADI or userexit available. Just check the implicit enhancement options of that screen.
    E.g. There is one module CHECK_ANSAL which is executed if there was a change to the salary. In that module routine CHECK_ANSAL is called. In that routine right at the beginning and at the end there are two enhancement points where you could plug in whatever code you need.
    To check if a form has any enhancement points go to menu option PROGRAM - ENHANCE. Then choose menu EDIT - ENHANCEMENT OPERATION - SHOW IMPLICIT ENHANCEMENT OPTIONS.
    Select the main report which is MP00080 and set the cursor on the line where you can see lots of """""""""""""""""""""""""""""""""""""'
    Go to menu EDIT - ENHANCEMENT OPERATION -CREATE and that will allow you to create an enhancement in the code where you can then plug in whatever code you need. This code will always be executed whenever that module is called.
    Note that this is not a modification, just see it as a kind of user exit where you have access to all the variables the standard routine has access to.
    Hope that helps,
    Michael

  • How to find the user exit for infotype 2013 ?

    Hi All,
    How to find the user exit in infotype 2013? i want to change the drop down list default value in infotype 2013.
    Thanks,
    Srikanth P

    reward points if useful
    User exit name is PBAS0001.
    code should be written in ZXPADU01 for PBO
    ZXPADU02 for PAI.

  • HR-ABAP-want user exit for pa30  for creation 2001 infotype for sick leave

    Hi ALL,
             My requirement like, whenever I try to create a sick leave through PA30 Tcode for infotype 2001 then the has to be trigger like, if the personnel joing date will be from Feb-Dec any date of the year then, the SL will be valid for next year Jan.
    Ex; Todya I am creating SL on 2001 infotype. then the condition will
            If joining date not Jan 2007 then,
             Leave will be valid for next year Jan 2008.
    So, let me know is there any user exit for  this.
    Thanks In advance.
    J.P

    Find myself

  • Update infotype 0032 in user exit ZXPADU02

    Hi All,
    I have the following requirement.
    Telephone extension number is stored in IT0105 and IT0032. When the extension number is updated through ESS, this is stored in IT0105 but it does not update IT0032 which is displayed in MSS.
    I need to update infotype 0032 based on the data in 0105.
    I thought I could update infotype 0032 in userexit ZXPADU02 whenever infotype 0105 was saved using the function module HR_INFOTYPE_OPERATION but it is not working for me.
    Any help would be appreciated.
    Elaine

    You have to make the function call a separate unit of work.One other option is to put the function call in a report & SUBMIT it from the User exit.
    ~Suresh

Maybe you are looking for