SAP HR_START_REPORT_IN_OTHER_SYS Function Module for









HR_START_REPORT_IN_OTHER_SYS is a standard hr start report in other sys 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 start report in other sys FM, simply by entering the name HR_START_REPORT_IN_OTHER_SYS into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_START_REPORT_IN_OTHER_SYS 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_START_REPORT_IN_OTHER_SYS'"
EXPORTING
REPID = "
VARIANT = "

IMPORTING
ROUTINE = "
HEADLINE1 = "
HEADLINE2 = "
HEADLINE3 = "
HEADLINE4 = "
SYSTEM = "
RELEASE = "

TABLES
VALUES = "
* DATATAB = "
* FIELDNAMES = "
* ERRORTAB = "
* DATEN1 = "
* DATEN2 = "
* DATEN3 = "

EXCEPTIONS
NO_AUTHORITY = 1
.



IMPORTING Parameters details for HR_START_REPORT_IN_OTHER_SYS

REPID -

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

VARIANT -

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

EXPORTING Parameters details for HR_START_REPORT_IN_OTHER_SYS

ROUTINE -

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

HEADLINE1 -

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

HEADLINE2 -

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

HEADLINE3 -

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

HEADLINE4 -

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

SYSTEM -

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

RELEASE -

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

TABLES Parameters details for HR_START_REPORT_IN_OTHER_SYS

VALUES -

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

DATATAB -

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

FIELDNAMES -

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

ERRORTAB -

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

DATEN1 -

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

DATEN2 -

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

DATEN3 -

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

EXCEPTIONS details

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_START_REPORT_IN_OTHER_SYS 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_repid  TYPE TRDIR-NAME, "   
lt_values  TYPE STANDARD TABLE OF RSPARAMS, "   
lv_routine  TYPE SY-MSGV1, "   
lv_no_authority  TYPE SY, "   
lt_datatab  TYPE STANDARD TABLE OF HRDATATAB, "   
lv_variant  TYPE RS38M-SELSET, "   
lv_headline1  TYPE T512G-GTEXT, "   
lv_headline2  TYPE T512G-GTEXT, "   
lt_fieldnames  TYPE STANDARD TABLE OF HRFIELDNAM, "   
lt_errortab  TYPE STANDARD TABLE OF HRERROR, "   
lv_headline3  TYPE T512G-GTEXT, "   
lt_daten1  TYPE STANDARD TABLE OF HRDATEN1, "   
lv_headline4  TYPE T512G-GTEXT, "   
lt_daten2  TYPE STANDARD TABLE OF HRDATEN2, "   
lv_system  TYPE SY-SYSID, "   
lt_daten3  TYPE STANDARD TABLE OF HRDATEN3, "   
lv_release  TYPE SY-SAPRL. "   

  CALL FUNCTION 'HR_START_REPORT_IN_OTHER_SYS'  "
    EXPORTING
         REPID = lv_repid
         VARIANT = lv_variant
    IMPORTING
         ROUTINE = lv_routine
         HEADLINE1 = lv_headline1
         HEADLINE2 = lv_headline2
         HEADLINE3 = lv_headline3
         HEADLINE4 = lv_headline4
         SYSTEM = lv_system
         RELEASE = lv_release
    TABLES
         VALUES = lt_values
         DATATAB = lt_datatab
         FIELDNAMES = lt_fieldnames
         ERRORTAB = lt_errortab
         DATEN1 = lt_daten1
         DATEN2 = lt_daten2
         DATEN3 = lt_daten3
    EXCEPTIONS
        NO_AUTHORITY = 1
. " HR_START_REPORT_IN_OTHER_SYS




ABAP code using 7.40 inline data declarations to call FM HR_START_REPORT_IN_OTHER_SYS

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 NAME FROM TRDIR INTO @DATA(ld_repid).
 
 
"SELECT single MSGV1 FROM SY INTO @DATA(ld_routine).
 
 
 
"SELECT single SELSET FROM RS38M INTO @DATA(ld_variant).
 
"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 SYSID FROM SY INTO @DATA(ld_system).
 
 
"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!