SAP HR_POSTING_INFO_WTYP_GET_REC1 Function Module for OBSOLET: Auswertungen für Buchung der Abrechnung
HR_POSTING_INFO_WTYP_GET_REC1 is a standard hr posting info wtyp get rec1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OBSOLET: Auswertungen für Buchung der Abrechnung processing and below is the pattern details for this FM, 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 posting info wtyp get rec1 FM, simply by entering the name HR_POSTING_INFO_WTYP_GET_REC1 into the relevant SAP transaction such as SE37 or SE38.
Function Group: HR_BIW_XX_REC
Program Name: SAPLHR_BIW_XX_REC
Main Program: SAPLHR_BIW_XX_REC
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_POSTING_INFO_WTYP_GET_REC1 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_POSTING_INFO_WTYP_GET_REC1'"OBSOLET: Auswertungen für Buchung der Abrechnung.
EXPORTING
PERNO = "
SEQNO = "
ORIG_SEQNO = "
SRTZA = "
LGART = "
APZNR = "
C1ZNR = "
TABLES
POSTINFO = "
EXCEPTIONS
NO_DATA_AVAILABLE = 1 WRONG_CALL = 2
IMPORTING Parameters details for HR_POSTING_INFO_WTYP_GET_REC1
PERNO -
Data type: PERNR-PERNROptional: No
Call by Reference: No ( called with pass by value option)
SEQNO -
Data type: PC261-SEQNROptional: No
Call by Reference: No ( called with pass by value option)
ORIG_SEQNO -
Data type: PC261-SEQNROptional: No
Call by Reference: No ( called with pass by value option)
SRTZA -
Data type: PC261-SRTZAOptional: No
Call by Reference: No ( called with pass by value option)
LGART -
Data type: PC207-LGARTOptional: No
Call by Reference: No ( called with pass by value option)
APZNR -
Data type: PC207-APZNROptional: No
Call by Reference: No ( called with pass by value option)
C1ZNR -
Data type: PC207-C1ZNROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_POSTING_INFO_WTYP_GET_REC1
POSTINFO -
Data type: HRPP_POSTINFO_PXDWOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DATA_AVAILABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CALL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_POSTING_INFO_WTYP_GET_REC1 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_perno | TYPE PERNR-PERNR, " | |||
| lt_postinfo | TYPE STANDARD TABLE OF HRPP_POSTINFO_PXDW, " | |||
| lv_no_data_available | TYPE HRPP_POSTINFO_PXDW, " | |||
| lv_seqno | TYPE PC261-SEQNR, " | |||
| lv_wrong_call | TYPE PC261, " | |||
| lv_orig_seqno | TYPE PC261-SEQNR, " | |||
| lv_srtza | TYPE PC261-SRTZA, " | |||
| lv_lgart | TYPE PC207-LGART, " | |||
| lv_apznr | TYPE PC207-APZNR, " | |||
| lv_c1znr | TYPE PC207-C1ZNR. " |
|   CALL FUNCTION 'HR_POSTING_INFO_WTYP_GET_REC1' "OBSOLET: Auswertungen für Buchung der Abrechnung |
| EXPORTING | ||
| PERNO | = lv_perno | |
| SEQNO | = lv_seqno | |
| ORIG_SEQNO | = lv_orig_seqno | |
| SRTZA | = lv_srtza | |
| LGART | = lv_lgart | |
| APZNR | = lv_apznr | |
| C1ZNR | = lv_c1znr | |
| TABLES | ||
| POSTINFO | = lt_postinfo | |
| EXCEPTIONS | ||
| NO_DATA_AVAILABLE = 1 | ||
| WRONG_CALL = 2 | ||
| . " HR_POSTING_INFO_WTYP_GET_REC1 | ||
ABAP code using 7.40 inline data declarations to call FM HR_POSTING_INFO_WTYP_GET_REC1
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 PERNR FROM PERNR INTO @DATA(ld_perno). | ||||
| "SELECT single SEQNR FROM PC261 INTO @DATA(ld_seqno). | ||||
| "SELECT single SEQNR FROM PC261 INTO @DATA(ld_orig_seqno). | ||||
| "SELECT single SRTZA FROM PC261 INTO @DATA(ld_srtza). | ||||
| "SELECT single LGART FROM PC207 INTO @DATA(ld_lgart). | ||||
| "SELECT single APZNR FROM PC207 INTO @DATA(ld_apznr). | ||||
| "SELECT single C1ZNR FROM PC207 INTO @DATA(ld_c1znr). | ||||
Search for further information about these or an SAP related objects