Error CX_HRPA_INVALID_PARAMETER in PA30

Hello Experts,
Im geting this error
UNCAUGHT_EXCEPTION         
CX_HRPA_INVALID_PARAMETER  
when i work with the IT0706.
I choose CREATE in PA30 ( With a pernr and IT0706)
And in the screen of creation, when i press enter over a input fild or if i press SAVE, the error show up.
Any idea why?
Thanks!

Hello Experts,
When i  am updating IT0014 for Benefits Wage types with Amounts, i am getting the above Run-time Error similar to above Question.
UNCAUGHT_EXCEPTION
CX_HRPA_INVALID_PARAMETER
Pl let me know, if any inputs.
Thanks.
Linga
Edited by: reddy linga on Mar 9, 2012 12:47 PM

Similar Messages

  • Error in transaction pa30 for create form

    Hi,
    I want create new form in the transacion pa30... For do it, i go to:
    - PA30
    - Personnel no. 1
    - Infotype: 16
    - Click on edit
    - Click on printing.
    - Select the logical form name: HR_ES_COINEM_PE_202
    - Click on create form
    - When download the xml, appear an error: Internet Explorer can not download the HR_ES_COINEM_PE_202.xml from server
    What happend? Any idea?
    Thanks in advace,
    Regards,

    Why? What could be the problem?
    Thanks in advance,
    Regards,

  • CX_HRPA_INVALID_PARAMETER DUMP

    hi Experts
    We have developed a function module which calculates certain amount based on certain criteria and update the amount in a wage type in Infotype 15.
    The function module calculates the amount , but when im trying to update infotype 15 using HR_INFOTYPE_OPERATION it gives error
    CX_HRPA_INVALID_PARAMETER
    How to resolve this
    I read few notes on sdn which says to check SAP notes , which i checked , all things are in place. Still it is not working.
    Regards
    sameer

    hi please not the code below.
    REPORT ZHR_TEST_2.
    include ZHR_T_DATA.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_pernr TYPE pernr_d.
    SELECTION-SCREEN END OF BLOCK b1.
    **----- First Enqu
    ** CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING NUMBER = P0015-pernr
    IMPORTING RETURN = RETURNE.
    * **------------- Update
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING infty = '0015'
    number = P0015-pernr
    SUBTYPE = P0015-SUBTY
    * OBJECTID =
    * LOCKINDICATOR =
    * VALIDITYEND =
    * VALIDITYBEGIN =
    * RECORDNUMBER =
    record = P0015
    operation = 'INS'
    TCLAS = 'A'
    DIALOG_MODE = '2'
    * NOCOMMIT =
    * VIEW_IDENTIFIER =
    * SECONDARY_RECORD =
    IMPORTING
    RETURN = RETURN
    KEY = KEY .
    *CALL FUNCTION 'HR_INFOTYPE_OPERATION' *EXPORTING *INFTY = '0015' *NUMBER = P0015-PERNR *SUBTYPE = P0015-SUBTY *OBJECTID = P0015-OBJPS *LOCKINDICATOR = P0015-SPRPS *VALIDITYEND = P0015-ENDDA *VALIDITYBEGIN = P0015-BEGDA *RECORDNUMBER = P0015-SEQNR *RECORD = P0015 *OPERATION = 'INS' *TCLAS = 'A' *DIALOG_MODE = '2' *IMPORTING *RETURN = RETURN *KEY = KEY.
    IF RETURN IS NOT INITIAL.
    WRITE :/ 'Error Occurred'.
    ENDIF.
    **--------- Dequeue
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING NUMBER = P0015-PERNR .
    ------------ include code -----
    *&---------------------------------------------------------------------* *& Include ZHR_T_DATA
    *----------------- Data
    DATA : P0015 LIKE P0015.
    DATA : SECT_AMOUNT TYPE PAD_AMT7S.
    DATA : RETURN LIKE BAPIRETURN1.
    DATA : KEY LIKE BAPIPAKEY.
    DATA : RETURNE LIKE BAPIRETURN1 .
    data : v_airfare_amount type PAD_AMT7S.
    P0015-PERNR = '17287'.
    P0015-BEGDA = sy-datum.
    P0015-ENDDA = sy-datum.
    P0015-LGART = '5014'.
    *P0015-PREAS = '01'.
    P0015-WAERS = 'QAR'.
    *p_pernr = P0015-PERNR.
    * clear v_airfare_amount.
    * CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING NUMBER = P0015-pernr IMPORTING RETURN = RETURNE.
    CALL FUNCTION Zamt_calc EXPORTING pernr = '17287'
    IMPORTING SECT_AMOUNT = v_airfare_amount.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING NUMBER = P0015-PERNR.
    *PERFORM calc_air.
    *sect_amount = '10'.
    P0015-BETRG = v_airfare_amount.

  • CX_HRPA_INVALID_PARAMETER

    hi Experts
    We have developed a function module which calculates certain amount based on certain criteria and update the amount in a wage type in Infotype 15.
    The function module calculates the amount , but when im trying to update infotype 15 using HR_INFOTYPE_OPERATION it gives error
    CX_HRPA_INVALID_PARAMETER
    How to resolve this
    I read few notes on sdn which says to check SAP notes , which i checked , all things are in place. Still it is not working.
    Regards
    sameer

    hi
    please not the code below.
    REPORT ZHR_TEST_2.
    include ZHR_T_DATA.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
      PARAMETERS : p_pernr TYPE pernr_d.
    SELECTION-SCREEN END OF BLOCK b1.
    **----- First Enqu
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = P0015-pernr
    IMPORTING
    RETURN = RETURNE.
    Update
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  = '0015'
        number                 = P0015-pernr
        SUBTYPE                = P0015-SUBTY
      OBJECTID               =
      LOCKINDICATOR          =
      VALIDITYEND            =
      VALIDITYBEGIN          =
      RECORDNUMBER           =
        record                 = P0015
        operation              = 'INS'
       TCLAS                  = 'A'
       DIALOG_MODE            = '2'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
    IMPORTING
       RETURN                 = RETURN
       KEY                    = KEY
    *CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    *EXPORTING
    *INFTY = '0015'
    *NUMBER = P0015-PERNR
    *SUBTYPE = P0015-SUBTY
    *OBJECTID = P0015-OBJPS
    *LOCKINDICATOR = P0015-SPRPS
    *VALIDITYEND = P0015-ENDDA
    *VALIDITYBEGIN = P0015-BEGDA
    *RECORDNUMBER = P0015-SEQNR
    *RECORD = P0015
    *OPERATION = 'INS'
    *TCLAS = 'A'
    *DIALOG_MODE = '2'
    *IMPORTING
    *RETURN = RETURN
    *KEY = KEY.
    IF RETURN IS NOT INITIAL.
    WRITE :/ 'Error Occurred'.
    ENDIF.
    Dequeue
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = P0015-PERNR
    include code -
    *&  Include           ZHR_T_DATA
    Data
    DATA : P0015 LIKE P0015.
    DATA : SECT_AMOUNT  TYPE  PAD_AMT7S.
    DATA : RETURN LIKE BAPIRETURN1.
    DATA : KEY LIKE BAPIPAKEY.
    DATA : RETURNE LIKE BAPIRETURN1 .
    data : v_airfare_amount type PAD_AMT7S.
    P0015-PERNR = '17287'.
    P0015-BEGDA = sy-datum.
    P0015-ENDDA = sy-datum.
    P0015-LGART = '5014'.
    *P0015-PREAS = '01'.
    P0015-WAERS = 'QAR'.
    *p_pernr = P0015-PERNR.
    clear v_airfare_amount.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = P0015-pernr
    IMPORTING
    RETURN = RETURNE.
           CALL FUNCTION  Zamt_calc
             EXPORTING
               pernr             = '17287'
            IMPORTING
              SECT_AMOUNT        = v_airfare_amount.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = P0015-PERNR.
    *PERFORM calc_air.
    *sect_amount = '10'.
    P0015-BETRG = v_airfare_amount.

  • PA30, WP restarted, SAP commit  failed

    Hi,
    I am trying to update some users record in PA30. but the changes are not getting saved, and it is throwing the error:
    Workprocess restarted, when looked at sm21 logs:
    POKALENA     PA30 Q02 Stop Workproc 0, PID 7688
                      Q01 Start Workproc 0, 3 times since system startup. PID 8469
    POKALENA     PA30 R47 Delete session 001 after error 023
    POKALENA     PA30 R38 Error at DB commit, return code 001024
    POKALENA     PA30 R18 SAP Commit Failed
    POKALENA     PA30 Q02 Stop Workproc 0, PID 8469
                      Q01 Start Workproc 0, 4 times since system startup. PID 13646
    POKALENA     PA30 R47 Delete session 001 after error 023
    But this is working fine in other system, only problem with this UAT system
    Any thoughts please.
    Thanks,
    Gouda

    Hi,
    This problem occurs in the following cases:
    1. Insufficient heap memory.
    2. Table lock.
    To know more about heap memory, and troubleshoot the issue further, check the following website:
    http://help.sap.com/saphelp_bw30b/helpdata/en/02/9626a6538111d1891b0000e8322f96/content.htm
    However, if there are no issues with the heap memory, you can see if there is a lock entry on the tables.
    This should resolve the issue.

  • Runtime error in activation BADI (CX_HRPA_INVALID_PARAMETER)

    In activation BADI i get a runtime error using 'HR_INFOTYPE_OPERATION'
    An exception occurred that is explained in detail below.                       
    The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not 
      caught in                                                                     
    procedure "RESOLVE_EXCEPTION" "(FORM)", nor was it propagated by a RAISING     
      clause.                                                                       
    Since the caller of the procedure could not have anticipated that the          
    exception would occur, the current program is terminated.                      
    The reason for the exception is:                                               
    Ongeldige parameter EXCEPTION waarde                                                                               
    The occurrence of the exception is closely related to the occurrence of        
    a previous exception "CX_HRPA_VIOLATED_PRECONDITION", which was raised in the  
      program "CL_HRPA_MASTERDATA_FACTORY====CP",                                   
    specifically in line 6 of the (include) program                                
      "CL_HRPA_MASTERDATA_FACTORY====CM004".                                        
    The cause of the exception was:                                                                               
    Niet aan voorwaarde voldaan                                                    
      DATA: personaldatakey   TYPE bapipakey.
      DATA: return            TYPE bapireturn1.
      DATA: l_p0025           TYPE p0025.
      DATA: l_citem           TYPE t71adm09-citem.
      DATA: l_resultaat(2)    TYPE n.
    l_p0025-pernr = p0759-pernr.
    Begindatum is begindatum binnengekomen IT0759 record - 1 jaar
        CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
          EXPORTING
            date      = p0759-begda
            days      = 0
            months    = 0
            signum    = '-'
            years     = 1
          IMPORTING
            calc_date = l_p0025-begda.
    Einddatum is 31 december van het jaar binnegkomen IT0759
        CONCATENATE: p0759-endda(04) '1231'  INTO l_p0025-endda.
        l_p0025-infty = '0025'.
        IF p0759-cpamt >= 100.
    *GENERATE ERROR
        ELSE.
          l_resultaat = p0759-cpamt.
         IF l_resultaat < 10.
           CONCATENATE '0' l_resultaat INTO l_p0025-krt01.
         ELSE.
         l_p0025-krt01 = l_resultaat.
         ENDIF.
    write data
          CLEAR: return, personaldatakey.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty         = '0025'
              number        = l_p0025-pernr
              validityend   = l_p0025-endda
              validitybegin = l_p0025-begda
              record        = l_p0025
              operation     = 'INS'
              nocommit      = ''
              tclas         = 'A'
            IMPORTING
              return        = return
              key           = personaldatakey
            EXCEPTIONS
              OTHERS        = 0.
          IF NOT return-number IS INITIAL.
    GENERATE ERROR
          ELSE.
            is_ok = 'X'.
            process_standard = 'X'.
          ENDIF.

    Hello Richard
    The exception is raised in method SET_FRAMEWORK of class CL_HRPA_MASTERDATA_FACTORY. Perhaps the SAP note mentioned in the coding (on ECC 6.0) may be useful:
    METHOD set_framework.
      IF a_is_initialized = true.
    *   This indicates some complex problem which often can be easily
    *   fixed. For details see NOTE 493984 (2003).
        RAISE EXCEPTION TYPE cx_hrpa_violated_precondition.  " line 6
      ELSE.
        CALL METHOD delayed_constructor
          EXPORTING
            read_infotype     = read_infotype
            masterdata_buffer = masterdata_buffer
            additional_buffer = additional_buffer
            legacy_mode       = legacy_mode.
      ENDIF.
    ENDMETHOD.
    Regards
      Uwe

  • DBIF_RSQL_INVALID_CURSOR error when using PA20/PA30 transactions

    Has anyone encountered ABAP error DBIF_RSQL_INVALID_CURSOR while trying to use transaction PA20 or PA30. We started seeing this error this morning and we currently cannot figured why.
    Please see the information below and from ST22 and SM21.
    <b>----
    //ST22
    </b>
    ABAP runtime errors    DBIF_RSQL_INVALID_CURSOR
           Occurred on     27.02.2007 at 15:45:31  
    Invalid interruption of a database selection.  
    <b>What happened?                                                    
                                                                      </b>
    The current ABAP/4 program "SAPFP50P " had to be terminated because
    one of the statements could not be executed.                                                                               
    This is probably due to an error in the ABAP/4 program.           
    Unable to perform database selection fully.                       
    <b>Source code extract                                                              
                                                                                    </b>
    004540         dbname = t777d-dbtab.                                 "QNOK019092 
    004550   *   IF t582a-dbidn CA pspar-tclas.                          "QNOK019092 
    004560         psinfo-dbidn = pspar-tclas.                                       
    004570       ELSE.                                                               
    004580         MESSAGE i016 WITH 'Infotyp '(inf) fps_infty 'nicht erlaubt '(not).
    004590         APPEND psinfo.                                                    
    004600         EXIT.                                                             
    004610       ENDIF.                                                              
    004620       CLEAR prel_db.                                                      
    004630                                                                           
    004640   * Herausfinden ob irgendwelche Erweiterungs-FBs verfuegbar sind.        
    004650   *    CALL FUNCTION 'HR_INFOTYPE_EXTENSION_GET'            "XYVAHRK039990
    004660   *         EXPORTING                                       "XYVAHRK039990
    004670   *              INFTY                    = FPS_INFTY       "XYVAHRK039990
    004680   *         IMPORTING                                       "XYVAHRK039990
    004690   *              SELECT_MODULE            = SELECT_MODULE   "XYVAHRK039990
    004700   **              UPDATE_MODULE            =                "XYVAHRK039990
    004710   *              HAS_EXTENSION            = HAS_EXTENSION   "XYVAHRK039990
    004720   *         EXCEPTIONS                                      "XYVAHRK039990
    004730   *              EXTENSION_DOES_NOT_EXIST = 1               "XYVAHRK039990
    004740   *              INTERNAL_ERROR           = 2               "XYVAHRK039990
    004750   *              OTHERS                   = 3.              "XYVAHRK039990
    004760   *    IF NOT SY-SUBRC IS INITIAL.                          "XYVAHRK039990
    004770   *      CLEAR HAS_EXTENSION.                               "XYVAHRK039990
    004780   *    ENDIF.  " NOT SY-SUBRC IS INITIAL.                   "XYVAHRK039990
    004790                                                                           
    <u><b>004800       SELECT * FROM (dbname) INTO  prel_db                                
    004810                              WHERE pernr EQ fps_pernr                     
    004820                              AND   begda LE fps_endda                     
    004830                              AND   endda GE fps_begda                     
         >                              ORDER BY PRIMARY KEY.  </b> </u>                     
    004850                                                                           
    004860   *      IF HAS_EXTENSION = 'X'.                            "XYVAHRK039990
    004870   *        CALL FUNCTION SELECT_MODULE                      "XYVAHRK039990
    004880   *             CHANGING                                    "XYVAHRK039990
    004890   *                  PREL_DB = PREL_DB.                     "XYVAHRK039990
    004900   *      ENDIF.  " HAS_EXTENSION = 'X'.                     "XYVAHRK039990
    004910                                                                           
    004920         MOVE-CORRESPONDING prel_db TO prelp.                              
    004930         CLEAR prel_db.                                                    
    004940         MOVE fps_infty TO prelp-infty.                                    
    004950                                                                           
    004960         MOVE prelp TO fps_pskey.                                          
    004970         READ TABLE ps WITH KEY fps_pskey BINARY SEARCH.                   
    004980         IF sy-subrc NE 0.                                                 
    004990           MOVE sy-tabix TO fps_tabix.                                     
    <b>----
    //SM21
    </b>
    DIA 00 002         PA30 BY7 Database selection with invalid cursor 1                
    DIA 00 002         PA30 R68 Perform rollback                                        
    DIA 00 002         PA30 AB0 Run-time error "DBIF_RSQL_INVALID_CURSOR" occurred      
    DIA 00 002         PA30 AB1 > Short dump "070227 122859 daladg45 RIYER " generated  
    DIA 03 600         PA30 BY7 Database selection with invalid cursor 1                
    DIA 03 600         PA30 R68 Perform rollback                                        
    DIA 03 600         PA30 AB0 Run-time error "DBIF_RSQL_INVALID_CURSOR" occurred      
    DIA 03 600         PA30 AB1 > Short dump "070227 123001 daladg45 RIYER " generated  
    <b>----
    //ADDITIONAL SYSTEM INFORMATION
    </b>
    SAP Release:  4.6C
    Database:        DB2
    SP Level:         Basis 53, ABAP 53, APPL 53, HR B8
    Kernel Level:    4.6D patch level 2265
    Thank you in advance.

    The issue has been resolved and turned out to be as a programming error. The developer had corrected the issue. Unfortunately I don't have the details as far as which part of the code was fixed.

  • Getting Error While inserting a record in table PDSNR through Tcode PA30

    Hi Experts,
    Im doing a transaction in  TCode PA30 by entering a pernr and infty as 14 and wage type.
    My need is when im entering a particular wage type in PA30 with infotype 14 , for that particular wage type and infotype i need to assign a different cost centre. This requirement was doing now manually by changing the cost centre form EDIT - > Maintain Cost Assignment.
    But my Client Needs to do it automatically. by comparing the wage type and infotype the cost centre needs to get automatically updated.
    So i use the Enhancement EXIT_SAPFP50M_002 * INCLUDE ZXPADU02.* and wrote coding like below
    CASE innnn-infty.
    To check whether the record belong to pa0014
    If so,check the wage type for the updation
    If so update the values of cost center assignments in the table assob and asshe
    when '0014'.
    if innnn-subty eq '2211'.
    Select the last updated sequence number in the table pdsnr
    if sy-ucomm eq 'UPD' or sy-ucomm eq 'INS'.
    select single * from pa0001 into wa_0001 where pernr eq INNNN-pernr and
                                                   endda eq '99991231'.
      if sy-subrc = 0.
    call function 'ENQUEUE_EPPRELE'
    EXPORTING
       MODE_PREL            = 'E'
       MANDT                = SY-MANDT
       PERNR                = INNNN-pernr
       INFTY                = INNNN-INFTY
       SUBTY                = INNNN-SUBTY
    EXCEPTIONS
       FOREIGN_LOCK         = 1
       SYSTEM_FAILURE       = 2
       OTHERS               = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    CLEAR : lv_pdsnr.
    select MAX( pdsnr ) from pdsnr into lv_pdsnr.
    lv_pdsnr = lv_pdsnr + 1.
        ls_assob-pdsnr = lv_pdsnr.
        ls_assob-pernr = INNNN-pernr.
        ls_assob-bukrs = wa_0001-bukrs. "'1001'.
        ls_assob-gsber = wa_0001-gsber. "'0001'.
        ls_assob-kokrs = wa_0001-kokrs. "'1000'.
        ls_assob-kostl = '1-1361'.
        ls_asshr-pdsnr = lv_pdsnr.
        ls_asshr-pernr = INNNN-pernr.
        ls_asshr-infty = innnn-infty.
        ls_asshr-subty = innnn-subty.
        ls_asshr-begda = sy-datum.
        ls_asshr-endda = '99991231'.
        ls_PDSNR-pdsnr = lv_pdsnr.
        ls_PDSNR-PDGRP = '5B'.
    insert into pdsnr values ls_pdsnr.
    insert into asshr values ls_asshr.
    insert into assob VALUES ls_assob.
    call function 'DEQUEUE_EPPRELE'
    EXPORTING
       MODE_PREL       = 'E'
       MANDT           = SY-MANDT
       PERNR           = INNNN-pernr
       INFTY           = INNNN-INFTY
       SUBTY           = INNNN-SUBTY.
        ENDIF.
    ENDIF.
    ENDIF.
    COMMIT WORK.
    ENDCASE.
    This is to update the three tables PDSNR, ASSOB,ASSHR.
    Its getting Updated correctly, But when i goto EDIT - > Maintain Cost Assignment to do some changes and while saving the data i get the following Error Message :
    You Cannot insert data in table : PDSNR.
    Message no. P2715
    Can Anyone please suggest me how to solve this issue.
    Thanks,
    Vijayan.R

    Hi. Were you able to fix the error?

  • Status error in workflow while changing personnel admin in pa30

    HI,
      I have created a leave request in PA30, so that a workflow has to trigger, for personnel admin i am using custom rule for agent selection. I am following error in inbox instead of work item.
    Workflow 1712 set to status ERROR
    Please repair the suspended workflow
    Context Information:
    ID: 1712
    Work Item Text: hd
    User: WF-BATCH
    Language: E
    SAP System: SCD
    Client: 200
    Press 'Execute' to display the workflow that has errors.

    hi,
    Thanks for the reply.
    I am getting error messages as follows;
    1. error when starting workitem 000000001791
    2. error when processing node 0000000018
    3. error when creating a component of type step
    4. error when creatind a work item
    5. agent determination for step 0000000018 failed
    6. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATORGROUP&' for item
    7. Error when determining attribute 'ADMINISTRATOR' of object instance '[BO.EMPLOYEET.]'
    8. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATOR&' for item '10
    9. Error when determining attribute 'ADMINISTRATOR' of object instance '[BO.EMPLOYEET.]'
    10. Work item 000000001791: Object FLOWITEM method EXECUTE cannot be executed
    The exceptions are,
    process_node, create, create_wim_handle, create_via_wfm, execute, cl_swf_bnd_binding->execute, get_value_ref, eval_bor_atrrib_access-code.
    I have used the method approveinteractive in task in custom workflow and also custom rule for agent selection. I did binding between the mentioned employeet.admingrp ,,, to the variables declared in rule container.

  • Error Exception CX_HRPA_INVALID_PARAMETER  while updating IT0014 using FM

    Hello Experts,
    When i am updating IT0014 for Benefits Wage types with Amounts, i am getting the below Run-time Error .
    UNCAUGHT_EXCEPTION
    CX_HRPA_INVALID_PARAMETER
    Pl let me know, if any inputs.
    Thanks.
    Linga

    Hello Richard
    The exception is raised in method SET_FRAMEWORK of class CL_HRPA_MASTERDATA_FACTORY. Perhaps the SAP note mentioned in the coding (on ECC 6.0) may be useful:
    METHOD set_framework.
      IF a_is_initialized = true.
    *   This indicates some complex problem which often can be easily
    *   fixed. For details see NOTE 493984 (2003).
        RAISE EXCEPTION TYPE cx_hrpa_violated_precondition.  " line 6
      ELSE.
        CALL METHOD delayed_constructor
          EXPORTING
            read_infotype     = read_infotype
            masterdata_buffer = masterdata_buffer
            additional_buffer = additional_buffer
            legacy_mode       = legacy_mode.
      ENDIF.
    ENDMETHOD.
    Regards
      Uwe

  • Error when executing infotype in PA30

    Hi all,
    i have created an infotype. now when i am accesssing that infotype in PA30, it throws a run time exception (some people call it Dump). the error analysis in the dump is given as:
    An invalid table name "PA9804" was specified in an Open SQL command:
    Due to one of the following reasons, the error occurs only at runtime:
    - the table name was specified dynamically, or
    - the SELECT clause, WHERE clause, GROUP-BY clause, HAVING clause, or
      ORDER-BY clause was specified dynamically.
    when i check the infotype, there are no errors.can anyone tell me what the problem is?
    regards,
    Hamza

    Did you set up the settings for your infotype? If you did not, then you need to go to transaction PM01, enter your infotype, click on Technical Attributes, on the next screen scroll down all the way until you find your infotype, double click on it and enter the Database table name there.
    If this helps, don't forget to award points.

  • PA30, PA40 Showing dump error

    Hi Experts,
    When i run the tcode PA30 and PA40  getting short dump attached here with.
    Kindly suggest how to overcome from this issue.
    Our current SAP_HR support pack level is SAPKE60429
    Thanks,
    Narasimhan Krishna

    Category               ABAP Programming Error
    Runtime Errors         SYNTAX_ERROR
    ABAP Program           /1PAPAXX/HDR_80004A
    Application Component  Not Assigned
    Date and Time          06.04.2014 19:11:29
    |Short text                                                                                        |
    |    Syntax error in program "/1PAPAXX/HDR_80004A ".                                               |
    |What happened?                                                                                    |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "SAPFP50M" had to be terminated because it has                       |
    |    come across a statement that unfortunately cannot be executed.                                |
    |                                                                                                  |
    |    The following syntax error occurred in program "/1PAPAXX/HDR_80004A " in                      |
    |     include "/1PAPAXX/HDR_80004AO01 " in                                                         |
    |    line 44:                                                                                      |
    |    ""LV_LENGTH" has already been declared"                                                       |
    |    " "                                                                                           |
    |    " "                                                                                           |
    |    " "                                                                                           |
    |                                                                                                  |
    |    The include has been created and last changed by:                                             |
    |    Created by: "BONIN "                                                                          |
    |    Last changed by: "SAPUSER "                                                                   |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "SAPFP50M" had to be terminated because it has                       |
    |    come across a statement that unfortunately cannot be executed.                                |
    |What can you do?                                                                                  |
    |    Please eliminate the error by performing a syntax check                                       |
    |    (or an extended program check) on the program "/1PAPAXX/HDR_80004A ".                         |
    |    You can also perform the syntax check from the ABAP Editor.                                   |
    |                                                                                                  |
    |    If the problem persists, proceed as follows:                                                  |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                                  |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                    |
    |    The following syntax error was found in the program /1PAPAXX/HDR_80004A :                     |
    |    ""LV_LENGTH" has already been declared"                                                       |
    |    " "                                                                                           |
    |    " "                                                                                           |
    |    " "                                                                                           |
    |How to correct the error                                                                          |
    |    Probably the only way to eliminate the error is to correct the program.                       |
    |    -                                                                                             |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                                  |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                                  |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    2. Corresponding system log                                                                   |
    |                                                                                                  |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                                  |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                                  |
    |System environment                                                                                |
    |    SAP Release..... 702                                                                          |
    |    SAP Basis Level. 0011                                                                         |
    |                                                                                                  |
    |    Application server... "JKTSAPBLR2"                                                            |
    |    Network address...... "192.168.10.181"                                                        |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "6.1"                                                                   |
    |    Hardware type........ "4x AMD64 Level"                                                        |
    |    Character length.... 16 Bits                                                                  |
    |    Pointer length....... 64 Bits                                                                 |
    |    Work process number.. 1                                                                       |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                                  |
    |    Database server... "JKTSAPBLR2"                                                               |
    |    Database type..... "MSSQL"                                                                    |
    |    Database name..... "JED"                                                                      |
    |    Database user ID.. "jed"                                                                      |
    |                                                                                                  |
    |    Terminal.......... "BLR-FNTT8R1"                                                              |
    |                                                                                                  |
    |    Char.set.... "C"                                                                              |
    |                                                                                                  |
    |    SAP kernel....... 721                                                                         |
    |    created (date)... "Dec 4 2013 15:53:05"                                                       |
    |    create on........ "NT 5.2 3790 S x86 MS VC++ 14.00"                                           |
    |    Database version. "SQL_Server_9.00 "                                                          |
    |                                                                                                  |
    |    Patch level. 201                                                                              |
    |    Patch text.. " "                                                                              |
    |                                                                                                  |
    |    Database............. "MSSQL 9.00.2047 or higher"                                             |
    |    SAP database version. 721                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0, Windows NT 6.1, Windows NT 6.2, Windows NT 6.3"                                      |
    |                                                                                                  |
    |    Memory consumption                                                                            |
    |    Roll.... 0                                                                                    |
    |    EM...... 25138752                                                                             |
    |    Heap.... 0                                                                                    |
    |    Page.... 311296                                                                               |
    |    MM Used. 7058688                                                                              |
    |    MM Free. 5507568                                                                              |
    |User and Transaction                                                                              |
    |    Client.............. 800                                                                      |
    |    User................ "SAPUSER"                                                                |
    |    Language key........ "E"                                                                      |
    |    Transaction......... "PA30 "                                                                  |
    |    Transaction ID...... "0791BDE33448F14DA9F5005056AF3C2B"                                       |
    |                                                                                                  |
    |    EPP Whole Context ID.... "005056AF3C2B1EE3AFB21F7FE7D409F5"                                   |
    |    EPP Connection ID....... 00000000000000000000000000000000                                     |
    |    EPP Caller Counter...... 0                                                                    |
    |                                                                                                  |
    |    Program............. "SAPFP50M"                                                               |
    |    Screen.............. "MP000700 1000"                                                          |
    |    Screen Line......... 3                                                                        |
    |    Debugger Active..... "none"                                                                   |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "SAPFP50M" - in                                      |
    |     "GET_HEADER_WITH_TCLAS".                                                                     |
    |    The main program was "MP000700 ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 146                                 |
    |    of the (Include) program "FP50MDHD".                                                          |
    |Source Code Extract                                                                               |
    |Line |SourceCde                                                                                   |
    |  116|  CALL FUNCTION 'HR_HEADER_GET'                                                             |
    |  117|      EXPORTING                                                                             |
    |  118|           DHDID                    = FHD_HID                                               |
    |  119|           BEGDA                    = BEGDA                                                 |
    |  120|           TCLAS                    = TCLAS                                                 |
    |  121|* Es wird nur einer der folgenden 3 Parameter benutzt.                                      |
    |  122|* Ausgewertet wird zunaechst MOLGA, dann P0001 dann PERNR.                                  |
    |  123|* Der erste der nicht initial ist wird ausgewertet.                                         |
    |  124|*           MOLGA                   =                                                       |
    |  125|           P0001                    = P0001                                                 |
    |  126|           PERNR                    = PSPAR-PERNR                                           |
    |  127|      IMPORTING                                                                             |
    |  128|           PROG                     = HEADER_PROG                                           |
    |  129|           DNUM                     = HEADER_DYNNR                                          |
    |  130|       EXCEPTIONS                                                                           |
    |  131|            HEADER_DEACTIVATED          = 1                                                 |
    |  132|            HEADER_UNKNOWN              = 2                                                 |
    |  133|            HEADER_GENERATE_DEACTIVATED = 3                                                 |
    |  134|            HEADER_GENERATE_FAILED      = 4                                                 |
    |  135|            INTERNAL_ERROR              = 5                                                 |
    |  136|            OTHERS                      = 6.                                                |
    |  137|                                                                                            |
    |  138|  IF NOT SY-SUBRC IS INITIAL.                                                               |
    |  139|* Bei Problemen gibt's eben ein leeres Dynpro.                                              |
    |  140|    HEADER_PROG = 'SAPMP50A'.                                                               |
    |  141|    HEADER_DYNNR = '0090'.                                                                  |
    |  142|  ELSE.  " NOT sy-subrc IS INITIAL.                                   "                     |
    |  143|* Dann setzen wir jetzt auch noch das Datum fest.                                           |
    |  144|    PERFORM HEADER_BEGDA_SET IN PROGRAM (HEADER_PROG) USING BEGDA.                          |
    |  145|* Und schalten auf Uebergabe der PERNR mit globalen Variablen.                              |
    |>>>>>|    PERFORM HEADER_LAZY_ON IN PROGRAM (HEADER_PROG).                                        |
    |  147|  ENDIF.  " (ELSE) NOT sy-subrc IS INITIAL.                           "                     |
    |  148|* Merken wie der Header heisst. Damit MPPERS00 sich erinnern kann.                          |
    |  149|* Wird mit Einfuehrung des Headerobjekts obsolet.                                           |
    |  150|  PERFORM REMEMBER_HEADER  "                             "XYVPH4K015649                     |
    |  151|    USING HEADER_PROG HEADER_DYNNR 'S'.  "               "XYVPH4K015649                     |
    |  152|ENDFORM.                                                                                    |
    |  153|*---------------------------------------------------------------------*                     |
    |  154|*       FORM RE588I                                                   *                     |
    |  155|*---------------------------------------------------------------------*                     |
    |  156|*       ........                                                      *                     |
    |  157|*---------------------------------------------------------------------*                     |
    |  158|*  -->  T588I_DHDID                                                   *                     |
    |  159|*  -->  T588I_MOLGA                                                   *                     |
    |  160|*  -->  T588I_TCLAS                                                   *                     |
    |  161|*---------------------------------------------------------------------*                     |
    |  162|FORM RE588I USING T588I_DHDID T588I_MOLGA T588I_TCLAS.      "QNUR3                          |
    |  163|  CLEAR SY-SUBRC.                                           "QNUK64192                      |
    |  164|  CHECK T588I-DHDID NE T588I_DHDID OR T588I-MOLGA NE T588I_MOLGA                            |
    |  165|     OR T588I-TCLAS NE T588I_TCLAS.                                                         |
    |Contents of system fields                                                                         |
    |Name    |Val.                                                                                     |
    |SY-SUBRC|0                                                                                        |
    |SY-INDEX|0                                                                                        |
    |SY-TABIX|1                                                                                        |
    |SY-DBCNT|1                                                                                        |
    |SY-FDPOS|0                                                                                        |
    |SY-LSIND|0                                                                                        |
    |SY-PAGNO|0                                                                                        |
    |SY-LINNO|1                                                                                        |
    |SY-COLNO|1                                                                                        |
    |SY-PFKEY|                                                                                         |
    |SY-UCOMM|                                                                                         |
    |SY-TITLE|Planned Working Time Infotype (0007)                                                     |
    |SY-MSGTY|                                                                                         |
    |SY-MSGID|                                                                                         |
    |SY-MSGNO|000                                                                                      |
    |SY-MSGV1|                                                                                         |
    |SY-MSGV2|                                                                                         |
    |SY-MSGV3|                                                                                         |
    |SY-MSGV4|                                                                                         |
    |SY-MODNO|0                                                                                        |
    |SY-DATUM|20140406                                                                                 |
    |SY-UZEIT|191129                                                                                   |
    |SY-XPROG|SAPMSSY1                                                                                 |
    |SY-XFORM|XAB_READ                                                                                 |
    |Active Calls/Events                                                                               |
    |No.   Ty.          Program                             Include                             Line   |
    |      Name                                                                                        |
    |    6 FORM         SAPFP50M                            FP50MDHD                              146  |
    |      GET_HEADER_WITH_TCLAS                                                                       |
    |    5 FORM         SAPFP50M                            FP50MDHD                              144  |
    |      GET_HEADER_WITH_TCLAS                                                                       |
    |    4 FORM         SAPFP50M                            FP50MDHD                               96  |
    |      GET_HEADER                                                                                  |
    |    3 FORM         SAPFP50M                            FP50MDHD                               61  |
    |      FILL_HEADER                                                                                 |
    |    2 FORM         SAPFP50M                            FP50ME00                              417  |
    |      INIT_DIALOG                                                                                 |
    |    1 MODULE (PBO) MP000700                            MPPERS00                              575  |
    |      INIT_DIALOG                                                                                 |
    |Chosen variables                                                                                  |
    |Name                                                                                              |
    |    Val.                                                                                          |
    |No.       6 Ty.          FORM                                                                     |
    |Name  GET_HEADER_WITH_TCLAS                                                                       |
    |SY-REPID                                                                                          |
    |    SAPFP50M                                                                                      |
    |    5454533422222222222222222222222222222222                                                      |
    |    3106050D00000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    53004100500046005000350030004D0020002000200020002000200020002000200020002000200020002000200020|
    |T582A-DAVO                                                                                        |
    |    1                                                                                             |
    |    3                                                                                             |
    |    1                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    3100                                                                                          |
    |SYST-REPID                                                                                        |
    |    SAPFP50M                                                                                      |
    |    5454533422222222222222222222222222222222                                                      |
    |    3106050D00000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    53004100500046005000350030004D0020002000200020002000200020002000200020002000200020002000200020|
    |PSHDR-PSKEY-PERNR                                                                                 |
    |    00000000                                                                                      |
    |    33333333                                                                                      |
    |    00000000                                                                                      |
    |    00000000                                                                                      |
    |    00000000                                                                                      |
    |    30003000300030003000300030003000                                                              |
    |%_SPACE                                                                                           |
    |                                                                                                  |
    |    2                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    2000                                                                                          |
    |PSYST-BEGDA                                                                                       |
    |    20140406                                                                                      |
    |    33333333                                                                                      |
    |    20140406                                                                                      |
    |    00000000                                                                                      |
    |    00000000                                                                                      |
    |    32003000310034003000340030003600                                                              |
    |DELETE                                                                                            |
    |    DEL                                                                                           |
    |    44422222222222222222                                                                          |
    |    45C00000000000000000                                                                          |
    |    00000000000000000000                                                                          |
    |    00000000000000000000                                                                          |
    |    440045004C0020002000200020002000200020002000200020002000200020002000200020002000              |
    |PSINFO[]                                                                                          |
    |    Table IT_0[6x80]                                                                              |
    |    \PROGRAM=SAPFP50M\DATA=PSINFO[]                                                               |
    |    Table reference: 0                                                                            |
    |    TABH+  0(20) = 50240D00DF070000000000000000000000000000                                       |
    |    TABH+ 20(20) = 00000000000000000600000050000000FFFFFFFF                                       |
    |    TABH+ 40(16) = 04000000709C020005000000C104C000                                               |
    |    store        = 0x50240D00DF070000                                                             |
    |    ext1         = 0x0000000000000000                                                             |
    |    shmId        = 0     (0x00000000)                                                             |
    |    id           = 0     (0x00000000)                                                             |
    |    label        = 0     (0x00000000)                                                             |
    |    fill         = 6     (0x06000000)                                                             |
    |    leng         = 80    (0x50000000)                                                             |
    |    loop         = -1    (0xFFFFFFFF)                                                             |
    |    xtyp         = TYPE#000105                                                                    |
    |    occu         = 5     (0x05000000)                                                             |
    |    accKind      = 1     (ItAccessStandard)                                                       |
    |    idxKind      = 0     (ItIndexNone)                                                            |
    |    uniKind      = 2     (ItUniNo)                                                                |
    |    keyKind      = 1     (default)                                                                |
    |    cmpMode      = 2     (cmpSingleMcmpR)                                                         |
    |    occu0        = 0                                                                              |
    |    stMode       = 0                                                                              |
    |    groupCntl    = 0                                                                              |
    |    rfc          = 0                                                                              |
    |    unShareable  = 0                                                                              |
    |    mightBeShared = 0                                                                             |
    |    sharedWithShmTab = 0                                                                          |
    |    isShmLockId  = 0                                                                              |
    |    isUsed       = 1                                                                              |
    |    isCtfyAble   = 1                                                                              |
    |    hasScndKeys  = 0                                                                              |
    |    hasRowId     = 0                                                                              |
    |    scndKeysOutdated = 0                                                                          |
    |    scndUniKeysOutdated = 0                                                                       |
    |    ----- Shareable Table Header Data -----                                                       |
    |    tabi         = 0xA0220D00DF070000                                                             |
    |    pgHook       = 0xE0631100DF070000                                                             |
    |    idxPtr       = 0x0000000000000000                                                             |
    |    id           = 2     (0x02000000)                                                             |
    |    shmTabhSet   = 0x0000000000000000                                                             |
    |    refCount     = 0     (0x00000000)                                                             |
    |    tstRefCount  = 0     (0x00000000)                                                             |
    |    lineAdmin    = 125   (0x7D000000)                                                             |
    |    lineAlloc    = 13    (0x0D000000)                                                             |
    |    shmVersId    = 0     (0x00000000)                                                             |
    |    shmRefCount  = 1     (0x01000000)                                                             |
    |    rowId        = 18446744073709551615                                                           |
    |    scndKeyAdmin = 0x0000000000000000                                                             |
    |                                                                                                  |
    |    0000002000011800010199991231A    1    ##                                                      |
    |    3333333333333333333333333333422223222201                                                      |
    |    000000200001180001019999123110000100000C                                                      |
    |    0000000000000000000000000000000000000000                                   

  • Error when creating basic pay (IT0008) in pa30

    Dear Experts,
    Greetings!
    I am getting error when creating basic pay (IT0008) in pa30. Attached the print screen for the same.
    Kindly help me out.
    Thanks & Regards,
    Vamshi Krishna M

    Hi Vam,
    It seems a critical error. Are you getting just for IT0008?
    It's better to ask a BASIS man to check the issue or anABAPer to debug if you are not familiar with debug.
    Regards,
    Omid

  • Error in transfer applicant data to PA30

    Hi  Friends
    When i am transfer applicant data to PA30,
    the error message come " maintain applicant activity error"
    i had check all the configuration and maintain
    also check all the post on the SDN related to transfer applicant data.
    but still i am facing problem.
    can anybody tell me how come out from this issue
    thanks and regards,
    urvashi chaudhari

    Hi Uravashi,
    Please goto transaction code PB 60 and check if the activities are maintained for an applicant. Delete all unwanted entries and again execute an action "Prepare for Hiring". In this step, after saving the first screen, one more pop up comes for applicant activity. If you have any specific activity then specify it here or simply click on enter.
    Once this is done execute the transaction code PBA7 to transfer the applicant data to PA.
    You have mentioned something about PA30 in ur last message. I hope it was a typo error.
    Thanks!
    Best Regards,
    Chetan Shriraj Wahane

  • Want to output Error message in BDC recording(PA30)

    Hi all,
    Currently iam working on upload program,whic is done by BDC recording with transaction PA30.while loading the data to different infotypes,iam checking one condition
    in particular infotype,after that i need to give the error message(Type E) and i data should not get uploaded for that infotype,and it has to go to next infotype.i want to log this error also,how can i do this?

    The ERROR message will stop the processing of the program,  the message will need to be either an I(information) or a W(warning) message into for the program to continue processing.
    Log the message by writing it to an internal table.
    IF SOME_CONDITION = 'X'.
    MESSAGE W001(00) with 'Hey, here is a message'.
    itab-pernr = p_pernr.
    itab-msgid = '00'.
    itab-msgno = '001'.
    append itab.
    ENDIF.
    CALL TRANSACTION 'PA30'........
    Regards,
    Rich HEilman

Maybe you are looking for