SAP RSFH_TRIGGER_SAPI Function Module for









RSFH_TRIGGER_SAPI is a standard rsfh trigger sapi 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 rsfh trigger sapi FM, simply by entering the name RSFH_TRIGGER_SAPI into the relevant SAP transaction such as SE37 or SE38.

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



Function RSFH_TRIGGER_SAPI 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 'RSFH_TRIGGER_SAPI'"
EXPORTING
* I_OBJECT = "
* I_BENCHMARK = "
* I_OBJTYPE = "
* I_UPDMODE = "
* I_TSMETHODE = "
* I_EXPRESS = "
* I_RLOGSYS = "
* I_SLOGSYS = "
* I_SAPRL = "
* I_DEBUGMODE = "

TABLES
* I_T_SELECT = "

EXCEPTIONS
NO_TRANSFER_STRUCTURE = 1 DATA_KIND_FALSE = 2 LANGUAGES_NOT_FOUND = 3 DISPATCH_FAILED = 4 NO_AUTHORITY = 5
.



IMPORTING Parameters details for RSFH_TRIGGER_SAPI

I_OBJECT -

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

I_BENCHMARK -

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

I_OBJTYPE -

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

I_UPDMODE -

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

I_TSMETHODE -

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

I_EXPRESS -

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

I_RLOGSYS -

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

I_SLOGSYS -

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

I_SAPRL -

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

I_DEBUGMODE -

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

TABLES Parameters details for RSFH_TRIGGER_SAPI

I_T_SELECT -

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

EXCEPTIONS details

NO_TRANSFER_STRUCTURE -

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

DATA_KIND_FALSE -

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

LANGUAGES_NOT_FOUND -

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

DISPATCH_FAILED -

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

NO_AUTHORITY -

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

Copy and paste ABAP code example for RSFH_TRIGGER_SAPI 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_object  TYPE RSFHDYNP01-ISOURCE, "   
lt_i_t_select  TYPE STANDARD TABLE OF RSFHSEL, "   
lv_no_transfer_structure  TYPE RSFHSEL, "   
lv_i_benchmark  TYPE RSFHDYNP01-BENCHMARK, "   
lv_i_objtype  TYPE RSFHDYNP01-OBJTYPE, "   
lv_data_kind_false  TYPE RSFHDYNP01, "   
lv_i_updmode  TYPE RSFHDYNP01-UPDMODE, "   
lv_languages_not_found  TYPE RSFHDYNP01, "   
lv_i_tsmethode  TYPE RSFHDYNP01-TSMETHODE, "   
lv_dispatch_failed  TYPE RSFHDYNP01, "   
lv_i_express  TYPE RSFHDYNP01-EXPRESS, "   
lv_no_authority  TYPE RSFHDYNP01, "   
lv_i_rlogsys  TYPE RSFHDYNP01-RLOGSYS, "   
lv_i_slogsys  TYPE RSFHDYNP01-SLOGSYS, "   
lv_i_saprl  TYPE RSFHDYNP01-SAPRL, "   
lv_i_debugmode  TYPE RSFHDYNP01-DEBUGMODE. "   

  CALL FUNCTION 'RSFH_TRIGGER_SAPI'  "
    EXPORTING
         I_OBJECT = lv_i_object
         I_BENCHMARK = lv_i_benchmark
         I_OBJTYPE = lv_i_objtype
         I_UPDMODE = lv_i_updmode
         I_TSMETHODE = lv_i_tsmethode
         I_EXPRESS = lv_i_express
         I_RLOGSYS = lv_i_rlogsys
         I_SLOGSYS = lv_i_slogsys
         I_SAPRL = lv_i_saprl
         I_DEBUGMODE = lv_i_debugmode
    TABLES
         I_T_SELECT = lt_i_t_select
    EXCEPTIONS
        NO_TRANSFER_STRUCTURE = 1
        DATA_KIND_FALSE = 2
        LANGUAGES_NOT_FOUND = 3
        DISPATCH_FAILED = 4
        NO_AUTHORITY = 5
. " RSFH_TRIGGER_SAPI




ABAP code using 7.40 inline data declarations to call FM RSFH_TRIGGER_SAPI

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 ISOURCE FROM RSFHDYNP01 INTO @DATA(ld_i_object).
 
 
 
"SELECT single BENCHMARK FROM RSFHDYNP01 INTO @DATA(ld_i_benchmark).
 
"SELECT single OBJTYPE FROM RSFHDYNP01 INTO @DATA(ld_i_objtype).
 
 
"SELECT single UPDMODE FROM RSFHDYNP01 INTO @DATA(ld_i_updmode).
 
 
"SELECT single TSMETHODE FROM RSFHDYNP01 INTO @DATA(ld_i_tsmethode).
 
 
"SELECT single EXPRESS FROM RSFHDYNP01 INTO @DATA(ld_i_express).
 
 
"SELECT single RLOGSYS FROM RSFHDYNP01 INTO @DATA(ld_i_rlogsys).
 
"SELECT single SLOGSYS FROM RSFHDYNP01 INTO @DATA(ld_i_slogsys).
 
"SELECT single SAPRL FROM RSFHDYNP01 INTO @DATA(ld_i_saprl).
 
"SELECT single DEBUGMODE FROM RSFHDYNP01 INTO @DATA(ld_i_debugmode).
 


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!