SAP Function Modules

EXIT_MP015700_001 SAP Function module - User exit for customer fields of infotype 0157







EXIT_MP015700_001 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name EXIT_MP015700_001 into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: XEI0
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM EXIT_MP015700_001 - EXIT MP015700 001





CALL FUNCTION 'EXIT_MP015700_001' "User exit for customer fields of infotype 0157
  EXPORTING
    p_p0000 =                   " p0000         String of fields for characteristics of Italian infotypes
    p_p0001 =                   " p0001         HR master record, infotype 0001 (Organizational allocation)
    p_p0008 =                   " p0008         HR master record, infotype 0008 (Basic pay)
    p_p0007 =                   " p0007         HR master record, infotype 0016 (Contract elements)
    p_p0016 =                   " p0016         HR master record, infotype 0016 (Contract elements)
    p_p0154 =                   " p0154         HR Master Record: infotype 0154 (Social security data)
    p_pme42 =                   " pme42         Field bar for DFINF charac. (infotype default values)
    p_pme89 =                   " pme89         String of fields for characteristics of Italian infotypes
  CHANGING
    p_p0157 =                   " p0157         HR Master Record: infotype 0154 (Social security data)
  EXCEPTIONS
    EXIT_NOT_USED = 1           "
    .  "  EXIT_MP015700_001

ABAP code example for Function Module EXIT_MP015700_001





The ABAP code below is a full code listing to execute function module EXIT_MP015700_001 including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).


DATA(ld_p_p0157) = 'Check type of data required'.
DATA(ld_p_p0000) = 'Check type of data required'.
DATA(ld_p_p0001) = 'Check type of data required'.
DATA(ld_p_p0008) = 'Check type of data required'.
DATA(ld_p_p0007) = 'Check type of data required'.
DATA(ld_p_p0016) = 'Check type of data required'.
DATA(ld_p_p0154) = 'Check type of data required'.
DATA(ld_p_pme42) = 'Check type of data required'.
DATA(ld_p_pme89) = 'Check type of data required'. . CALL FUNCTION 'EXIT_MP015700_001' EXPORTING p_p0000 = ld_p_p0000 p_p0001 = ld_p_p0001 p_p0008 = ld_p_p0008 p_p0007 = ld_p_p0007 p_p0016 = ld_p_p0016 p_p0154 = ld_p_p0154 p_pme42 = ld_p_pme42 p_pme89 = ld_p_pme89 CHANGING p_p0157 = ld_p_p0157 EXCEPTIONS EXIT_NOT_USED = 1 . " EXIT_MP015700_001
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_p_p0157  TYPE P0157 ,
ld_p_p0000  TYPE P0000 ,
ld_p_p0001  TYPE P0001 ,
ld_p_p0008  TYPE P0008 ,
ld_p_p0007  TYPE P0007 ,
ld_p_p0016  TYPE P0016 ,
ld_p_p0154  TYPE P0154 ,
ld_p_pme42  TYPE PME42 ,
ld_p_pme89  TYPE PME89 .

ld_p_p0157 = 'Check type of data required'.
ld_p_p0000 = 'Check type of data required'.
ld_p_p0001 = 'Check type of data required'.
ld_p_p0008 = 'Check type of data required'.
ld_p_p0007 = 'Check type of data required'.
ld_p_p0016 = 'Check type of data required'.
ld_p_p0154 = 'Check type of data required'.
ld_p_pme42 = 'Check type of data required'.
ld_p_pme89 = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_MP015700_001 or its description.