Showing results for 
Search instead for 
Did you mean: 

PR05 - Infotype '0017' does not exist for YYYY/MM/DD

Former Member
0 Kudos

Hi Experts,

Is there a way to make this message as "warning" only?


Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Diane

Unfortunately no..because you cannot create a travel expense without valid IT0017 record so this error is hard coded.

Kind regards


Answers (2)

Answers (2)

Active Contributor
0 Kudos

Haha, of course you "can" change this, if you modify the following part of code in MP56TF01 (DON'T DO IT ).

IF subrc_inftyp <> 0 OR sy-subrc <> 0.
    SET PARAMETER ID 'PER' FIELD space.                     "KCNK068536
    MESSAGE s701 WITH '0017' sy-datum.
*   If sy-uname is connected to pernr without IT0017,       "WKUK037928
*   we have to exit  the transaction.                       "WKUK037928
*   If not -> endless loop possible                         "WKUK037928
      EXPORTING                                             "WKUK037928
        id             = sy-uname                           "WKUK037928
      IMPORTING                                             "WKUK037928
        employeenumber = ptp00-pernr.                       "WKUK037928
    IF sy-subrc = 0.                                        "WKUK037928
      CLEAR ptp00-pernr.                                    "WKUK037928
    ELSE.                                                   "WKUK037928
*    LEAVE TO SCREEN 0.                                     "KCNK068536
      LEAVE TO TRANSACTION sy-tcode.                        "KCNK068536
    ENDIF.                                                  "WKUK037928

All jesting aside, unless you want to make your system unstable, you shouldn't alter standard error messages at all :-/. And as Sally already stated, this one's hard coded ( plus the developer's note "endless loop possible" should repel anyone who dares think of alteration :-P)

Cheers, Lukas

0 Kudos


Edited by: Sally Redmond on Sep 20, 2011 1:04 PM