SAP HR_BLP_COUNT_ATTABS_AT_ENTRY Function Module for
HR_BLP_COUNT_ATTABS_AT_ENTRY is a standard hr blp count attabs at entry 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 blp count attabs at entry FM, simply by entering the name HR_BLP_COUNT_ATTABS_AT_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRTIM00_BLPATTABSADAPTER
Program Name: SAPLHRTIM00_BLPATTABSADAPTER
Main Program: SAPLHRTIM00_BLPATTABSADAPTER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_BLP_COUNT_ATTABS_AT_ENTRY 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_BLP_COUNT_ATTABS_AT_ENTRY'".
EXPORTING
PERNUM = "
AWART = "
BEGDA = "
ENDDA = "
* USE_VARIANT = 'X' "
* COMMTAB = "
IMPORTING
ABWTG = "
ABRTG = "
ABRST = "
KALTG = "
HRSIF = "
ALLDF = "
TIMES_PER_DAY = "
CHANGING
BEGUZ = "
ENDUZ = "
VTKEN = "
STDAZ = "
* BREAKS = "
* NXDFL = "
* START_BEF_ZERO = "
EXCEPTIONS
IT0001_MISSING = 1 CUSTOMIZING_ERROR = 2 ERROR_OCCURRED = 3 END_BEFORE_BEGIN = 4
IMPORTING Parameters details for HR_BLP_COUNT_ATTABS_AT_ENTRY
PERNUM -
Data type: PERNR_DOptional: No
Call by Reference: No ( called with pass by value option)
AWART -
Data type: AWARTOptional: No
Call by Reference: No ( called with pass by value option)
BEGDA -
Data type: BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
ENDDA -
Data type: ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
USE_VARIANT -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMMTAB -
Data type: TIM_TMW_COMMAND_TABLEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HR_BLP_COUNT_ATTABS_AT_ENTRY
ABWTG -
Data type: ABWTGOptional: No
Call by Reference: No ( called with pass by value option)
ABRTG -
Data type: ABRTGOptional: No
Call by Reference: No ( called with pass by value option)
ABRST -
Data type: ABRSTOptional: No
Call by Reference: No ( called with pass by value option)
KALTG -
Data type: KALTGOptional: No
Call by Reference: No ( called with pass by value option)
HRSIF -
Data type: HRS_INPFLOptional: No
Call by Reference: No ( called with pass by value option)
ALLDF -
Data type: ALLDFOptional: No
Call by Reference: No ( called with pass by value option)
TIMES_PER_DAY -
Data type: PTM_TIMES_PER_DAY_TABOptional: No
Call by Reference: Yes
CHANGING Parameters details for HR_BLP_COUNT_ATTABS_AT_ENTRY
BEGUZ -
Data type: BEGUZOptional: No
Call by Reference: No ( called with pass by value option)
ENDUZ -
Data type: ENDUZOptional: No
Call by Reference: No ( called with pass by value option)
VTKEN -
Data type: VTKENOptional: No
Call by Reference: No ( called with pass by value option)
STDAZ -
Data type: ABSTDOptional: No
Call by Reference: No ( called with pass by value option)
BREAKS -
Data type: HRTIM_ATT_BREAKSOptional: Yes
Call by Reference: No ( called with pass by value option)
NXDFL -
Data type: PTM_NXDFLOptional: Yes
Call by Reference: No ( called with pass by value option)
START_BEF_ZERO -
Data type: PTM_START_BEF_ZEROOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
IT0001_MISSING -
Data type:Optional: No
Call by Reference: Yes
CUSTOMIZING_ERROR -
Data type:Optional: No
Call by Reference: Yes
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: Yes
END_BEFORE_BEGIN -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_BLP_COUNT_ATTABS_AT_ENTRY 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_abwtg | TYPE ABWTG, " | |||
| lv_beguz | TYPE BEGUZ, " | |||
| lv_pernum | TYPE PERNR_D, " | |||
| lv_it0001_missing | TYPE PERNR_D, " | |||
| lv_abrtg | TYPE ABRTG, " | |||
| lv_awart | TYPE AWART, " | |||
| lv_enduz | TYPE ENDUZ, " | |||
| lv_customizing_error | TYPE ENDUZ, " | |||
| lv_abrst | TYPE ABRST, " | |||
| lv_begda | TYPE BEGDA, " | |||
| lv_vtken | TYPE VTKEN, " | |||
| lv_error_occurred | TYPE VTKEN, " | |||
| lv_endda | TYPE ENDDA, " | |||
| lv_kaltg | TYPE KALTG, " | |||
| lv_stdaz | TYPE ABSTD, " | |||
| lv_end_before_begin | TYPE ABSTD, " | |||
| lv_hrsif | TYPE HRS_INPFL, " | |||
| lv_breaks | TYPE HRTIM_ATT_BREAKS, " | |||
| lv_use_variant | TYPE CHAR1, " 'X' | |||
| lv_alldf | TYPE ALLDF, " | |||
| lv_nxdfl | TYPE PTM_NXDFL, " | |||
| lv_commtab | TYPE TIM_TMW_COMMAND_TABLE, " | |||
| lv_times_per_day | TYPE PTM_TIMES_PER_DAY_TAB, " | |||
| lv_start_bef_zero | TYPE PTM_START_BEF_ZERO. " |
|   CALL FUNCTION 'HR_BLP_COUNT_ATTABS_AT_ENTRY' " |
| EXPORTING | ||
| PERNUM | = lv_pernum | |
| AWART | = lv_awart | |
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| USE_VARIANT | = lv_use_variant | |
| COMMTAB | = lv_commtab | |
| IMPORTING | ||
| ABWTG | = lv_abwtg | |
| ABRTG | = lv_abrtg | |
| ABRST | = lv_abrst | |
| KALTG | = lv_kaltg | |
| HRSIF | = lv_hrsif | |
| ALLDF | = lv_alldf | |
| TIMES_PER_DAY | = lv_times_per_day | |
| CHANGING | ||
| BEGUZ | = lv_beguz | |
| ENDUZ | = lv_enduz | |
| VTKEN | = lv_vtken | |
| STDAZ | = lv_stdaz | |
| BREAKS | = lv_breaks | |
| NXDFL | = lv_nxdfl | |
| START_BEF_ZERO | = lv_start_bef_zero | |
| EXCEPTIONS | ||
| IT0001_MISSING = 1 | ||
| CUSTOMIZING_ERROR = 2 | ||
| ERROR_OCCURRED = 3 | ||
| END_BEFORE_BEGIN = 4 | ||
| . " HR_BLP_COUNT_ATTABS_AT_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM HR_BLP_COUNT_ATTABS_AT_ENTRY
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.| DATA(ld_use_variant) | = 'X'. | |||
Search for further information about these or an SAP related objects