SAP HR_ADDON_TABLES_CREATE Function Module for









HR_ADDON_TABLES_CREATE is a standard hr addon tables create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for hr addon tables create FM, simply by entering the name HR_ADDON_TABLES_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: HR_ADDON
Program Name: SAPLHR_ADDON
Main Program: SAPLHR_ADDON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_ADDON_TABLES_CREATE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'HR_ADDON_TABLES_CREATE'"
EXPORTING
I_OCLAS = "
I_PROCL = "
I_OTYPE = "
I_ONAME = "

TABLES
T_COUNT_DELTA = "
T_ITYPE_DELTA = "
T_PARAM_DELTA = "
T_PARAV_DELTA = "
T_PARAC_DELTA = "
T_OPPAR_DELTA = "
T_OPPAC_DELTA = "
T_GRPRE_DELTA = "

EXCEPTIONS
NO_UPDATE = 1 NO_OPPAR_COUNT = 2
.



IMPORTING Parameters details for HR_ADDON_TABLES_CREATE

I_OCLAS -

Data type: T52B5-POTYP
Optional: No
Call by Reference: Yes

I_PROCL -

Data type: T52A0-PROCL
Optional: No
Call by Reference: Yes

I_OTYPE -

Data type: T52A0-OTYPE
Optional: No
Call by Reference: Yes

I_ONAME -

Data type: T52A0-ONAME
Optional: No
Call by Reference: Yes

TABLES Parameters details for HR_ADDON_TABLES_CREATE

T_COUNT_DELTA -

Data type: H99_ADDON_COUNTRIES
Optional: No
Call by Reference: No ( called with pass by value option)

T_ITYPE_DELTA -

Data type: H99_ADDON_INFOTYPES
Optional: No
Call by Reference: No ( called with pass by value option)

T_PARAM_DELTA -

Data type: H99_ADDON_PARAMETER
Optional: No
Call by Reference: No ( called with pass by value option)

T_PARAV_DELTA -

Data type: H99_ADDON_PARAMVALUES
Optional: No
Call by Reference: No ( called with pass by value option)

T_PARAC_DELTA -

Data type: H99_ADDON_PARCOUNT
Optional: No
Call by Reference: No ( called with pass by value option)

T_OPPAR_DELTA -

Data type: H99_ADDON_OPPARAMETER
Optional: No
Call by Reference: No ( called with pass by value option)

T_OPPAC_DELTA -

Data type: H99_ADDON_OPPARCOUNT
Optional: No
Call by Reference: No ( called with pass by value option)

T_GRPRE_DELTA -

Data type: H99_ADDON_GROUPREASON
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_UPDATE -

Data type:
Optional: No
Call by Reference: Yes

NO_OPPAR_COUNT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_ADDON_TABLES_CREATE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_oclas  TYPE T52B5-POTYP, "   
lv_no_update  TYPE T52B5, "   
lt_t_count_delta  TYPE STANDARD TABLE OF H99_ADDON_COUNTRIES, "   
lv_i_procl  TYPE T52A0-PROCL, "   
lt_t_itype_delta  TYPE STANDARD TABLE OF H99_ADDON_INFOTYPES, "   
lv_no_oppar_count  TYPE H99_ADDON_INFOTYPES, "   
lv_i_otype  TYPE T52A0-OTYPE, "   
lt_t_param_delta  TYPE STANDARD TABLE OF H99_ADDON_PARAMETER, "   
lv_i_oname  TYPE T52A0-ONAME, "   
lt_t_parav_delta  TYPE STANDARD TABLE OF H99_ADDON_PARAMVALUES, "   
lt_t_parac_delta  TYPE STANDARD TABLE OF H99_ADDON_PARCOUNT, "   
lt_t_oppar_delta  TYPE STANDARD TABLE OF H99_ADDON_OPPARAMETER, "   
lt_t_oppac_delta  TYPE STANDARD TABLE OF H99_ADDON_OPPARCOUNT, "   
lt_t_grpre_delta  TYPE STANDARD TABLE OF H99_ADDON_GROUPREASON. "   

  CALL FUNCTION 'HR_ADDON_TABLES_CREATE'  "
    EXPORTING
         I_OCLAS = lv_i_oclas
         I_PROCL = lv_i_procl
         I_OTYPE = lv_i_otype
         I_ONAME = lv_i_oname
    TABLES
         T_COUNT_DELTA = lt_t_count_delta
         T_ITYPE_DELTA = lt_t_itype_delta
         T_PARAM_DELTA = lt_t_param_delta
         T_PARAV_DELTA = lt_t_parav_delta
         T_PARAC_DELTA = lt_t_parac_delta
         T_OPPAR_DELTA = lt_t_oppar_delta
         T_OPPAC_DELTA = lt_t_oppac_delta
         T_GRPRE_DELTA = lt_t_grpre_delta
    EXCEPTIONS
        NO_UPDATE = 1
        NO_OPPAR_COUNT = 2
. " HR_ADDON_TABLES_CREATE




ABAP code using 7.40 inline data declarations to call FM HR_ADDON_TABLES_CREATE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single POTYP FROM T52B5 INTO @DATA(ld_i_oclas).
 
 
 
"SELECT single PROCL FROM T52A0 INTO @DATA(ld_i_procl).
 
 
 
"SELECT single OTYPE FROM T52A0 INTO @DATA(ld_i_otype).
 
 
"SELECT single ONAME FROM T52A0 INTO @DATA(ld_i_oname).
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!