SAP HR_EXPORT_DATA_TO_OTHER_SYS_US Function Module for Datentransfer in das rufende System









HR_EXPORT_DATA_TO_OTHER_SYS_US is a standard hr export data to other sys us SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Datentransfer in das rufende System 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 export data to other sys us FM, simply by entering the name HR_EXPORT_DATA_TO_OTHER_SYS_US into the relevant SAP transaction such as SE37 or SE38.

Function Group: PBS1_US
Program Name: SAPLPBS1_US
Main Program: SAPLPBS1_US
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HR_EXPORT_DATA_TO_OTHER_SYS_US 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_EXPORT_DATA_TO_OTHER_SYS_US'"Datentransfer in das rufende System
EXPORTING
INDXKEY = "
* SYSTEM = "
* HEADLINE1 = "
* HEADLINE2 = "
* HEADLINE3 = "
* HEADLINE4 = "
* FOOTNOTE1 = "
* FOOTNOTE2 = "
* FOOTNOTE3 = "
* RELEASE = "

TABLES
* DATATAB = "Payroll Reconciliation Report Output Table
* DATEN7 = "Transfer structure #1 for distributed reporting
* DATEN8 = "Payroll Reconciliation Report Output Table
* DATEN9 = "Payroll Reconciliation Report Output Table
* DATEN10 = "HRUS Payroll Reporting Period Range Table
* FIELDNAMES = "Column description - HR reporting
* HR_ERRORTAB = "Transfer table for HR error handling
* DATEN1 = "Payroll Reconciliation Report Totals Table
* DATEN2 = "Payroll Reconciliation Report Totals Table
* DATEN3 = "Payroll Reconciliation Report Totals Table
* DATEN4 = "Payroll Reconciliation Report Totals Table
* DATEN5 = "Transfer structure for RP_OPTIONS_INTO_STRING
* DATEN6 = "Transfer structure #1 for distributed reporting
.



IMPORTING Parameters details for HR_EXPORT_DATA_TO_OTHER_SYS_US

INDXKEY -

Data type: INDX-SRTFD
Optional: No
Call by Reference: No ( called with pass by value option)

SYSTEM -

Data type: SY-SYSID
Optional: Yes
Call by Reference: No ( called with pass by value option)

HEADLINE1 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

HEADLINE2 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

HEADLINE3 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

HEADLINE4 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FOOTNOTE1 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FOOTNOTE2 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FOOTNOTE3 -

Data type: T512G-GTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

RELEASE -

Data type: SY-SAPRL
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HR_EXPORT_DATA_TO_OTHER_SYS_US

DATATAB - Payroll Reconciliation Report Output Table

Data type: P10_RECON_DATA
Optional: Yes
Call by Reference: Yes

DATEN7 - Transfer structure #1 for distributed reporting

Data type: HRDATEN1
Optional: Yes
Call by Reference: Yes

DATEN8 - Payroll Reconciliation Report Output Table

Data type: P10_RECON_DATA
Optional: Yes
Call by Reference: Yes

DATEN9 - Payroll Reconciliation Report Output Table

Data type: P10_RECON_DATA
Optional: Yes
Call by Reference: Yes

DATEN10 - HRUS Payroll Reporting Period Range Table

Data type: RANGE_PRDS
Optional: Yes
Call by Reference: Yes

FIELDNAMES - Column description - HR reporting

Data type: HRFIELDNAM
Optional: Yes
Call by Reference: Yes

HR_ERRORTAB - Transfer table for HR error handling

Data type: HRERROR
Optional: Yes
Call by Reference: Yes

DATEN1 - Payroll Reconciliation Report Totals Table

Data type: P10_RECON_TOTAL
Optional: Yes
Call by Reference: Yes

DATEN2 - Payroll Reconciliation Report Totals Table

Data type: P10_RECON_TOTAL
Optional: Yes
Call by Reference: Yes

DATEN3 - Payroll Reconciliation Report Totals Table

Data type: P10_RECON_TOTAL
Optional: Yes
Call by Reference: Yes

DATEN4 - Payroll Reconciliation Report Totals Table

Data type: P10_RECON_TOTAL
Optional: Yes
Call by Reference: Yes

DATEN5 - Transfer structure for RP_OPTIONS_INTO_STRING

Data type: PNPSTRINGT
Optional: Yes
Call by Reference: Yes

DATEN6 - Transfer structure #1 for distributed reporting

Data type: HRDATEN1
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for HR_EXPORT_DATA_TO_OTHER_SYS_US 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:
lt_datatab  TYPE STANDARD TABLE OF P10_RECON_DATA, "   
lv_indxkey  TYPE INDX-SRTFD, "   
lt_daten7  TYPE STANDARD TABLE OF HRDATEN1, "   
lv_system  TYPE SY-SYSID, "   
lt_daten8  TYPE STANDARD TABLE OF P10_RECON_DATA, "   
lt_daten9  TYPE STANDARD TABLE OF P10_RECON_DATA, "   
lt_daten10  TYPE STANDARD TABLE OF RANGE_PRDS, "   
lv_headline1  TYPE T512G-GTEXT, "   
lt_fieldnames  TYPE STANDARD TABLE OF HRFIELDNAM, "   
lv_headline2  TYPE T512G-GTEXT, "   
lt_hr_errortab  TYPE STANDARD TABLE OF HRERROR, "   
lt_daten1  TYPE STANDARD TABLE OF P10_RECON_TOTAL, "   
lv_headline3  TYPE T512G-GTEXT, "   
lt_daten2  TYPE STANDARD TABLE OF P10_RECON_TOTAL, "   
lv_headline4  TYPE T512G-GTEXT, "   
lt_daten3  TYPE STANDARD TABLE OF P10_RECON_TOTAL, "   
lv_footnote1  TYPE T512G-GTEXT, "   
lt_daten4  TYPE STANDARD TABLE OF P10_RECON_TOTAL, "   
lv_footnote2  TYPE T512G-GTEXT, "   
lt_daten5  TYPE STANDARD TABLE OF PNPSTRINGT, "   
lv_footnote3  TYPE T512G-GTEXT, "   
lt_daten6  TYPE STANDARD TABLE OF HRDATEN1, "   
lv_release  TYPE SY-SAPRL. "   

  CALL FUNCTION 'HR_EXPORT_DATA_TO_OTHER_SYS_US'  "Datentransfer in das rufende System
    EXPORTING
         INDXKEY = lv_indxkey
         SYSTEM = lv_system
         HEADLINE1 = lv_headline1
         HEADLINE2 = lv_headline2
         HEADLINE3 = lv_headline3
         HEADLINE4 = lv_headline4
         FOOTNOTE1 = lv_footnote1
         FOOTNOTE2 = lv_footnote2
         FOOTNOTE3 = lv_footnote3
         RELEASE = lv_release
    TABLES
         DATATAB = lt_datatab
         DATEN7 = lt_daten7
         DATEN8 = lt_daten8
         DATEN9 = lt_daten9
         DATEN10 = lt_daten10
         FIELDNAMES = lt_fieldnames
         HR_ERRORTAB = lt_hr_errortab
         DATEN1 = lt_daten1
         DATEN2 = lt_daten2
         DATEN3 = lt_daten3
         DATEN4 = lt_daten4
         DATEN5 = lt_daten5
         DATEN6 = lt_daten6
. " HR_EXPORT_DATA_TO_OTHER_SYS_US




ABAP code using 7.40 inline data declarations to call FM HR_EXPORT_DATA_TO_OTHER_SYS_US

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 SRTFD FROM INDX INTO @DATA(ld_indxkey).
 
 
"SELECT single SYSID FROM SY INTO @DATA(ld_system).
 
 
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_headline1).
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_headline2).
 
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_headline3).
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_headline4).
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_footnote1).
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_footnote2).
 
 
"SELECT single GTEXT FROM T512G INTO @DATA(ld_footnote3).
 
 
"SELECT single SAPRL FROM SY INTO @DATA(ld_release).
 


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!