Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

How to insert IT0001for exist employee

$
0
0


Hi All,

 

We have any issue like, when we enter particular employee in PA20 or PA30, it is taking to dump. We had applied OSS notes like 1839621, 1834536 but no luck. How to insert or maintain IT0001 to resolve this issue.

 

We ran these report RPUPBVG0 and RPUPAV00

 

When i run report RPUPAV00, i got the below message and noticed IT0001 does not exist.

 

2 ERP016X"Start of Infotype Regeneration in Client:" "500" " " " "

2 ERP016X"    New Personnel Number:" "00000010" " " " "

2EERP016 "*" "00000010" "Infotype 0001 Does Not Exist" " "

2 ERP016X"Statistics" " " " " " "

 

Please find dump:-

 

hat happened?
   The exception 'CX_HRPA_INVALID_INFOTYPE_DB' 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_INFOTYPE_CONTAINER====CP' has to be
   terminated.

 

rror analysis
   An exception occurred that is explained in detail below.
   The exception, which is assigned to class 'CX_HRPA_INVALID_INFOTYPE_DB', was
    not caught in
   procedure "READ" "(METHOD)", 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:
   Inconsistent data exists in the database for infotype 0002 A for 00000010

 


issing RAISING Clause in Interface
   Program                                 CL_HRPA_SAPUP50R_ADAPTER======CP
   Include                                 CL_HRPA_SAPUP50R_ADAPTER======CM004
   Row                                     1
   Module type                             (METHOD)
   Module Name                             READ

 

rigger Location of Exception
   Program                                 CL_HRPA_INFOTYPE_CONTAINER====CP
   Include                                 CL_HRPA_INFOTYPE_CONTAINER====CM005
   Row                                     140

Module type                             (METHOD)

Module Name                             IF_HRPA_INFOTYPE_CONTAINER~READ

 

 

110       ASSIGN pnnnn2_ref->*   TO <pnnnn2>.

111       ASSIGN db_table_ref->* TO <db_nnnn2>.

112       ASSIGN <pnnnn2>        TO <pshdr2> CASTING.

113

114 *     read data from secondary database table

115       SELECT SINGLE * FROM (dbname) INTO <db_nnnn2>

116         WHERE

117           pernr = <pshdr>-pernr AND

118           subty = <pshdr>-subty AND

119           objps = <pshdr>-objps AND

120           sprps = <pshdr>-sprps AND

121           endda = <pshdr>-endda AND

122           begda = <pshdr>-begda AND

123           seqnr = <pshdr>-seqnr.

124       IF sy-subrc IS INITIAL.

125         MOVE-CORRESPONDING <db_nnnn2> TO <pnnnn2>.

126         <pshdr2>-infty = secondary_infty.

127       ELSE.

128         IF 1 = 0.

129 *         049 Fehlender Sekundärsatz zu Infotyp &1 Schlüssel &3

130           MESSAGE ID 'PBAS_SERVICE' TYPE 'E' NUMBER '049' WITH '' '' ''.

131         ENDIF.

132         CONCATENATE <pshdr>-pernr <pshdr>-subty <pshdr>-objps <pshdr>-sprps <pshdr>-endda <p

133           INTO invalid_key.

134         msg-msgty = 'E'.

135         msg-msgid = 'PBAS_SERVICE'.

136         msg-msgno = '049'.

137         msg-msgv1 = infty.

138         msg-msgv2 = secondary_infty.

139         msg-msgv3 = invalid_key.

>>>>>         RAISE EXCEPTION TYPE cx_hrpa_invalid_infotype_db

  141           EXPORTING

  142             tclas  = tclas

  143             infty  = infty

  144             pernr  = pernr

  145             table  = dbname

  146             key    = invalid_key

  147             msg    = msg.

  148       ENDIF.

  149     ENDIF.

  150

  151 *   read cost assignment data if necessary

  152     CASE <pshdr>-refex.

  153       WHEN false.

  154         CLEAR pref.

  155       WHEN true.

  156         SELECT * FROM assob_hr INTO assob_hr

  157           UP TO 1 ROWS

  158           WHERE

  159             pernr = <pshdr>-pernr AND

 

 

Regards

RP


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>