SAP Function Modules

EXIT_SAPLRPDW_010 SAP Function module - HR-CPS: Customer Exit Maintenance/Display View Special Information







EXIT_SAPLRPDW_010 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_SAPLRPDW_010 into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM EXIT_SAPLRPDW_010 - EXIT SAPLRPDW 010





CALL FUNCTION 'EXIT_SAPLRPDW_010' "HR-CPS: Customer Exit Maintenance/Display View Special Information
  EXPORTING
    cex010_pernr =              " pernr-pernr   Personnel Number
    cex010_dbnam =              " p01cad-bavdb  Start Period for Transfer
*   cex010_actio =              "               End Period for Transfer
  IMPORTING
    cex010_vtype =              "
    cex010_vname =              "
* TABLES
*   cex010_fexcl =              " vimexclfun
  EXCEPTIONS
    ERROR_TAB_FILLED = 1        "               Entry Made in Error Table
    .  "  EXIT_SAPLRPDW_010

ABAP code example for Function Module EXIT_SAPLRPDW_010





The ABAP code below is a full code listing to execute function module EXIT_SAPLRPDW_010 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_cex010_vtype  TYPE STRING ,
ld_cex010_vname  TYPE STRING ,
it_cex010_fexcl  TYPE STANDARD TABLE OF VIMEXCLFUN,"TABLES PARAM
wa_cex010_fexcl  LIKE LINE OF it_cex010_fexcl .


DATA(ld_cex010_pernr) = Check type of data required

SELECT single BAVDB
FROM P01CAD
INTO @DATA(ld_cex010_dbnam).

DATA(ld_cex010_actio) = 'some text here'.

"populate fields of struture and append to itab
append wa_cex010_fexcl to it_cex010_fexcl. . CALL FUNCTION 'EXIT_SAPLRPDW_010' EXPORTING cex010_pernr = ld_cex010_pernr cex010_dbnam = ld_cex010_dbnam * cex010_actio = ld_cex010_actio IMPORTING cex010_vtype = ld_cex010_vtype cex010_vname = ld_cex010_vname * TABLES * cex010_fexcl = it_cex010_fexcl EXCEPTIONS ERROR_TAB_FILLED = 1 . " EXIT_SAPLRPDW_010
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_cex010_vtype  TYPE STRING ,
ld_cex010_pernr  TYPE PERNR-PERNR ,
it_cex010_fexcl  TYPE STANDARD TABLE OF VIMEXCLFUN ,
wa_cex010_fexcl  LIKE LINE OF it_cex010_fexcl,
ld_cex010_vname  TYPE STRING ,
ld_cex010_dbnam  TYPE P01CAD-BAVDB ,
ld_cex010_actio  TYPE STRING .


ld_cex010_pernr = Check type of data required

"populate fields of struture and append to itab
append wa_cex010_fexcl to it_cex010_fexcl.

SELECT single BAVDB
FROM P01CAD
INTO ld_cex010_dbnam.

ld_cex010_actio = 'some text here'.

SAP Documentation for FM EXIT_SAPLRPDW_010


The customer exit enables you to include customer data in the standard procedure for the transfer of basic data to the company pension scheme ...See here for full SAP fm documentation








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_SAPLRPDW_010 or its description.