Infotype 0002: Exception INTERNAL_ERROR after saving

Hi All
This error we are getting when we Applied Service package 18. 
within a hiring action, after you save infotype 0002 ("Personal Data"), the exception INTERNAL_ERROR occurs with the runtime error RAISE_EXCEPTION.
The exception is triggered in the method CHECK_AUTHORIZATION in the class CL_HRPAD00AUTH_CHECK_STD.
So if any body is getting this error then please Apply this SAP Note 1366651 which is released By SAP on 20 July 2009.
Thanks & Regards
Gaurav Mittal
Technical Consultant - SAP HR
Edited by: Gaurav Mittal on Jul 21, 2009 3:13 AM

What are the logs saying? You will most likely have a bit of code that is incorrect.
Log into the Coldfusion administrator and have a look at application.log or coldfusion-out.log. It should tell you what the error is and possibly the line number.

Similar Messages

  • Start date personnel number infotype 0002 (Personal data)

    Hi gurus,
    I have the following problem in SAP ECC6.
    I created a personnel number with transaction PA40 with start date 200208.
    In infotype 0002 (Personal data), after that I have filled various field, if I save, the start date changes from 200208 to 01011900.
    Could you help me please?
    Thanks in advance
    Regards
    Raffaele

    Hi
    Adding to what Mr. Sai Naraynan has said.
    See whatever happening at your end is absolutley correct you have to understand the logic behind that.
    See Personal data infotype will contain the master data of an employee like name, ***, complete name, form of address etc... whuich is same from his birth so there is no need to have a validity starting from the date of hiring because this data is same from his birth thats why system automatically stamps a Birth date out there.
    Hope it clarifies your doubt.
    Regards,
    Bhupesh Wankar

  • Employee photo upload in portal and to be saved in infotype 0002

    Hi Everyone,
           I got an requirement where in ESS Portal, through "Change Own Data" link, employee is uploading his photo and it has to be saved in infotype 0002. Below are the doubts i have,
    1. There is no field for photo in infotype 0002, so how it will be saved in 0002.
    2. After uploading and clicking preview button, error was raising saying 'Error when archiving the photo'.
    3. I seen in many forums that the employee photo is visible from PA30. how it will be visible in that tcode ?

    Hi  Chris McNarney,
          Sorry for long delay for replying.. According to you,
    1. I checked the service under /default_host/sap/bc/conentserver/ it was activated and moreover below is the logon data,
            Client           500
         User             XXXXXX
         Language
         Password Status  Set
    and what is the use of this logon data..
    2. According to your link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false|https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false],
    there it has  4.7 version in that they told to create A2 repository with Tcode: OAC0 with details,,
         While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
        With that screen im am not able to find table name field to put 'SDOKCONT1' as input and moreover SAP system database is there instead of getting R/3 database for storage type. Screen detilas below,
    Content Rep.    A2                               Active
    Description
    Document Area
    Storage type
    Version no.     0046   Content Server version 4.6 as the table name.

  • Remain to current screen in PA30 after saved infotype changes.

    Hi,
    I have a created a custom infotype 9xxx and now I have a requirement that user are allowed to saved changes on infotype 9xxx thru PA30 and it has to remain on infotype 9xxx screen instead of jumping out from PA30 after saved. Is this possible?
    Thanks in advance,
    SP

    Hi Seng,
    Could you Please share the solution of your Problem, Because I am also facing the same scenario.
    It is coming out of the Custom Infotype screen to PA30 screen after saving the data .
    in my requirement also , it should remain to same Infotype sreen after Save.
    Thanks in Advance,
    Sourabh

  • Issue adding records to Infotype 0002

    Hi All,
    I am trying to insert records into Infotype 0002. I am using HR_INFOTYPE_OPERATION to do this. It works fine for all the employees but fot the ones who have Reference Personnel numbers. The system lets me to add the record to those employees through PA30 online or through BDC program with a warning message "No record with the same key for personnel number xxxxxxx",  but if I use the FM HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA, it sometimes gives me hard error message " The Social Insurance number already assigned to another employee" in the foreground and when executed in background I get a short dump with exception " CX_HRPA_INVALID_BUFFER_ACCESS".
    I debuged the standard code and the exception occurs in Include UP50RU02 in method IF_HRPA_MASTERDATA_BUFFER~INSERT.
    Short dump:
    The exception 'CX_HRPA_INVALID_BUFFER_ACCESS' was raised, but it was not caught
      anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
      'CL_HRPA_MASTERDATA_BUFFER=====CP' has to be
    terminated.
    Please let me know if I am doing something wrong.
    Thanks,
    Danny.

    Hi Daniel,
    I would not worry about using FM 'HR_INFOTYPE_OPERATION' or 'HR_MAINTAIN_MASTERDATA' for the purpose of inserting PA infotype records for employees. I had developed a generic module last year to insert any PA infotype record which will use the standard PA business logic framework i.e. include all standard checks and validation, calls all Exits/BAdIs before inserting the record as it would when you are saving the infotype record via PA30. I basically created a wrapper FM to simplify the calling of some other standard FMs. Use it if you like (and if it works in your system keeping in mind config is different in every system) but please do handle all the Exceptions after the call (by reading the Message Handler Interface IF_HRPA_MESSAGE_HANDLER) to confirm there was no data inconsistency or other problems at the time of the update. Below is the sample code:
    The generic customer Function Module
    FUNCTION zpa_insert_any_infty_record.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IS_PNNNN) TYPE  ANY
    *"     REFERENCE(IT_TEXT_TAB) TYPE  HRPAD_TEXT_TAB OPTIONAL
    *"     REFERENCE(IV_NO_AUTH_CHECK) TYPE  BOOLE_D DEFAULT SPACE
    *"     REFERENCE(IV_LOCK) TYPE  SPRPS DEFAULT TRUE
    *"  EXPORTING
    *"     REFERENCE(EIF_MESSAGE_HANDLER) TYPE REF TO
    *"        IF_HRPA_MESSAGE_HANDLER
    *"     REFERENCE(EV_OK) TYPE  BOOLE_D
    *"  EXCEPTIONS
    *"      EX_PERNR_LOCKED
    * FUNCTION...... ZPA_INSERT_ANY_INFTY_RECORD                           *
    * FUNCTION GROUP.ZPA_FG_EMP_LEAVE_BOOKING                              *
    * TITLE......... Insert any PA infotype record for an employee         *
    * AUTHOR........ Sougata Chatterjee                                    *
    * DATE WRITTEN.. 23/08/2010                                            *
    * SAP RELEASE... ECC 6.0                                               *
    * SPECIFICATION. N/A - Reuseable Object                                *
    * =====================================================================*
    * DESCRIPTION... This function is a generic module that will insert    *
    *                a PA infotype record into the employee master data as *
    *                per the import structure IS_PNNNN. This module wil be *
    *                particularly useful when requirement is to create     *
    *                other infotype records for the same employee within a *
    *                User-Exit or a BAdI.                                  *
    * ASSUMPTIONS... Infotype record to be updated is a PA Infotype.       *
    * =====================================================================*
    * MODIFICATION HISTORY                                                 *
    * Date       Userid       Change No & Description                      *
      DATA:
        lif_msg_handler  TYPE REF TO if_hrpa_message_handler,
        lo_msg_handler   TYPE REF TO cl_hrpa_message_list.
    * instantiate the message handler object
      CREATE OBJECT lo_msg_handler.
    * assign a reference to a rereference variable using the CAST operation
      lif_msg_handler ?= lo_msg_handler.
    * insert the infotype record into the employee master data
      PERFORM insert_infotype USING    is_pnnnn
                                       it_text_tab
                                       iv_no_auth_check
                                       iv_lock
                                       lif_msg_handler
                              CHANGING ev_ok.
    * pass back the message handler to the calling program if it was requested
      CHECK eif_message_handler IS REQUESTED.
      eif_message_handler = lif_msg_handler.
    ENDFUNCTION.
    For some reason I couldn't format the subroutine code here in SDN as it is scrambling the whole page but you could use the link here to find the [subroutine code|http://www.mediafire.com/file/9923qui7dm4xqpg/Form%20Insert_Infotype.html] and an [example code|http://www.mediafire.com/file/ihg83agkf0mbc9k/z_calling_program.html] for the program calling this FM including exception handling etc.
    Let me know if the links are not working...I'm happy to email them to you if you want.
    Hope this helps.
    Cheers,
    Sougata.

  • Need to upload employee photos against infotype 0002

    Hi,
    We have an urgent reqirement to load the photos of all the employees agianst the infotype 0002 which need to be accesed by the employees and managers via enterprise portal.
    Can anybody help me....
    Thanks in advance
    Krishna

    The steps provided you are very appropiate , but you can also check the following settings incase you dnt achieve your requirements.
    Q. How to attached the Photo in IT0002
    1.Create a number range for SAP Archive Link :
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
    Tcode OANR. Create range 01 from 0000000001 to 9999999999 without the external number flag.
    2.Document type HRICOLFOTO must exist with document class JPG.
    IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
    Table TOAVE, Tcode OAC2.
    3.Document type HRICOLFOTO must be linked to object type PREL and IT0002.
    IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
    View V_T585O, no Tcode. In all three columns there ara minuses, don’t put a flag in the check box.
    4.Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
    Table TOAOM_C, Tcode OAC3
    5.Create this content repository with storage type FILE archive.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
    Tcode OAC0
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C:\).
    6.Link photo to personnel number.
    Menu>Tools>Business Documents>Miscellaneous>Stored Documents. Tcode OAAD.
    Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.
    To delete archived document :
    Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.
    thnkx
    bhanu

  • Front Panel objects do not stay in place after saving, closing, and reopening the VI.

    I have been working with a couple of versions of a main VI. The original VI was given to me so that I could add additional functionalities to it. I had been designing the front panel of the latest version of the VI on a Dell laptop running Windows 7 and LabView 2011 SP1 using a monitor with a resolution of 1920x1080. My booleans, numerics, and plots on the front panel had always stayed in place after saving, closing, and reopening the VI. Once in the field, I connected my laptop to a cRIO9073 and used my laptop screen with a resolution of 1366x768 to operate the VI. I made some changes to the VI, saved it, and reopened it. This time I noticed that the front panel objects had become overlapped, resized, and generally rearranged. I tried fixing the objects but I noticed that they reverted back to the incorrect positions after saving and reopening the VI. I was successful in keeping the objects in position a couple of times, but when I would open the VI at a later time, the objects were again rearranged. This is happening on both my monitor and laptop screen. The original version of the VI, however, does not behave this way and I have opened it on both my monitor and laptop screen. In this version, the front panel objects always stay in place. Both VI's have the same window size properties. Could I have corrupted the latest version of my VI somehow? Below are screenshots of the front panels of both VI's.
    Attachments:
    Blender Controller Original.PNG ‏140 KB
    Blender Controller.PNG ‏203 KB

    Hi Miguel,
    It is possible to programmatically set or change the position of front panel objects. (for example: http://digital.ni.com/public.nsf/allkb/4D0DA06B431​95B3F862572F3000AF2D3?OpenDocument) However, if you haven’t intentionally done that, it seems unlikely that it is the problem.
    Have you tried copying the entire block diagram in to a new VI to see if the problem persists? While it is unlikely, you are right that it is possible for VIs to become corrupted. I’ve never heard of a situation like this except in the situation where the settings Tom had you check have been changed. Here is some information about those settings:
    http://digital.ni.com/public.nsf/allkb/7567EF257B9​CFDF986256F630073228F?OpenDocument
    Since there was no rearrangement when you copied the front panel to a new VI, you might try copying the block diagram a little bit at a time to see if there is some particular part of it that creates the problem somehow.
    K. Johnson

  • ALE - IDOC  Infotype 0002   additonnal fields...

    hello all
    We have add 2 customers fields in the infotype 0002, and we would like to sent the infotype 2 with these
    2 new fields.
    So we have created an extension which contains a segment with these 2 fields. But  unfortunately
    with the pfal transaction , these 2 fields are not filled by values.
    Has someone have an advice ?
    thank you

    hello  all
    thx for your contribution
    it works  well for a specific message  that we have updated with an extension which include the segment Z1P0002  , but in our case we have a lot specific message . so  we update table Table T777d  in order to include specific segment Z1P0002 ( the 3rd  after E1P0002, E1Q0002 )
    but unfortunately, the fact to update T777d , occurs error for all the message  they are not concerning with this extension.
    Maybe an another way exists ?
    Thx for help by advance.

  • Problem with infotype 0002

    Hi i'm enhanced infotype 0002, but i had to change the length of a field, and i'm having problems with activation.
    I tried to delete ci_p0002, but after that, i can`'t activate pa0002.
    the table still have that include. How can i delete it??
    Should i do anything else?

    You should not delete ci_p0002.. instead in SE11 double click on ci_p0002 & then delete the custom fields.. you can then activate the table.. be sure to run the database utility via Tcode SE14..
    Whenever you have to add/delete/change fields on an infotype go via PM01.
    ~Suresh

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Calling infotype 0002 in ALV  report for showing employee photo

    Hi all,
    The requirment from business side is a report in which employees personal data shuold be shown with employee photo, I had tried for employee photo in ALV report but it didnt sucessed, then I went for other solution like calling transaction in ALV report.
    In this case I am calling Infotype 0002 but the issue is that the transaction PA20 is coming with PERNR but I am not able to go directlly to infotype which shows employee Photo,please suggest any solution.
    Thaks.
    JAY

    Hi Jay,
    It is possible. Please refer the syntax for the CALL TRANSACTION
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    You can do a recording till the required page comes & call the transaction accordingly. Hope, you are aware about the same.
    For example, I just had a solution to go to the roles tab in the user profile and I did as below:
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0050'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_CURSOR'.
        wa_bdcdata-fval   = 'USR02-BNAME'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'USR02-BNAME'.
        wa_bdcdata-fval   = g_value.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = 'SHOW'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0100'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = '=ACTG'.
        APPEND wa_bdcdata TO it_bdcdata.
        g_opt-dismode = 'E'.
        g_opt-defsize = k_ok.
    *** if user click on the User Name, call SU01
        CALL TRANSACTION 'SU01' USING it_bdcdata
                    OPTIONS FROM g_opt.
    Regards,
    Selva K.

  • Document number....posted in T Code F-53 is not popping after saving

    Hi,
    I am posting outgoing payment in new fiscal year 1.4.2014, in F-53. After saving the document, I am not getting the pop up message:
    "Document number .... posted in T Code F-53.
    But when I check the GL line item in FBL3N, the document number is visible there.
    Please advice what can be the reason.

    Hi,
    I didnt check with other users. But I am facing this issue. May I know how the Security guy can help me and how its related to my authorization, since until yesterday everything was working fine.
    Kindly advice, is there any link to the year end closing activity?

  • Could someone help me figure out why after saving a form some subforms are hidden again

    I am asking this on behalf of a coworker.  We have a form she is working on with a drop down (ddlDropDown) with 1, 2, and 3 listed (same values,,1,2,3)  That trigger hidden subforms to appear (Employee1, Employee2, Employee3).  Initially, Employee1 is visible.  If form user selects 2 or 3 in the dropdown then Employee2 and Employee3 become Visible.  Once the form is filled in, saved, closed and reopened Employee2 and Employee3 are hidden again even though the dropdown says 2 or 3.  The script behind the dropdown's change event is:
    subSELECT.Employee1.presence=this.rawValue==1?"visible":"hidden";
    subSELECT.Employee2.presence=this.rawValue==2?"visible":"hidden";
    subSELECT.Employee3.presence=this.rawValue==3?"visible":"hidden";
    I have tried adding this code to the form's initialize, docReady, preOpen, postOpen, layout:ready events but it still doesn't work.
    Any ideas?

    Here is a sample I created based on your comments and it works just fine for me after saving the form.
    Employee2 and Employee3 subforms have their presence property set to hidden.  I have the script in the exit event of the dropdownlist.
    Here is the sample:
    https://workspaces.acrobat.com/?d=YWMOMIyD2lLEqPSdO0vqYQ

  • In Sales Order form populate charges field after saving the Sales Order

    Can we populate Charges field in Sales Order form after saving the sales Order automatically.
    The charges to be calculated based on the amount entered and the item selected in Sales Order.
    In the Manual process it is done by hitting the Actions Button and then select the Charges.
    The charge type would be "Freight Costs"

    by using process_order API, I am able to update the charges field.

  • BADI / User Exit after Saving of Business Partner

    Hi Experts,
    Is there a BADI / user exit that is triggered after saving / updating of Business Partner using transaction code "BP"?
    We want to send a XML file thru ALE after creation/modification of BP. We are using CRM WinClient 4.0.
    Thanks.

    Hi Mikhail Khorpyakov,
    Thank you very much for your reply. It was a helpful answer.
    BUPA_GENERAL_EXPORT is triggered before database update of table BUT000 and other related tables.
    Is there a BADI that is called after saving which contains general data of business partner?
    Thanks in advance..

Maybe you are looking for

  • Iphoto picture quality suddenly very poor

    Hi, I have recently solved a problem with your help in relation to Iphoto running very slow. I now have another problem. Whilst I was installing the Leopard OS and the TC, I had a problem with the installation (now resoleved) but one of the apple tec

  • Cannot Display Window for ABAP Keyword Documentation

    Dear Rolf-Martin, Again, I have problem with my friend PC that run Windows OS. When he start transaction code ABAPDOCU, than he call The ABAP Keyword Documentation and type a keyword like "SELECT" than Enter. In the right of ABAP Keyword Documentatio

  • Java LEX  Parsers .

    Does anyone knows anything about LEX parsers. Actually i want to know if there is any BINARY regular expressions exist in LUX or not? like for other types available are: DENTIFIER [A-Za-z_$][A-Za-z_$0-9]* DIGIT [0-9] HEXDIGIT [A-Fa-f0-9] OCTDIGIT [0-

  • Oracle PeopleSoft CRM pre-built VM Template

    Hey! Am looking for a pre-built VM Template of Oracle PeopleSoft CRM.. In the instructions it says: Visit http://edelivery.oracle.com/oraclevm Complete your registration information (Name, Company Name, Email Address and Country) and click on the dow

  • Displaying stock and sales orders for aggregated product in Product View

    Hello, We have successfully created an SNP aggregated planning scenario which uses CTM to plan purchase requisitions and planned orders at the aggregated product level.  The disaggregation to the sub-product level is working as well. We have one issu