SAP QRFC_PLAYBACK Function Module for









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

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



Function QRFC_PLAYBACK 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 'QRFC_PLAYBACK'"
EXPORTING
QTYPE = "
IF_FNAME = "
TID = "Transaction ID
FNUM = "

EXCEPTIONS
TID_OR_FNUM_NOT_FOUND = 1 INTERFACE_FUNCTION_NOT_FOUND = 2 INTERFACE_FUNCTION_NO_RFC = 3 INTERFACE_FNAME_TOO_BIG = 4 DATA_NOT_FOUND = 5
.



IMPORTING Parameters details for QRFC_PLAYBACK

QTYPE -

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

IF_FNAME -

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

TID - Transaction ID

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

FNUM -

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

EXCEPTIONS details

TID_OR_FNUM_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INTERFACE_FUNCTION_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INTERFACE_FUNCTION_NO_RFC -

Data type:
Optional: No
Call by Reference: Yes

INTERFACE_FNAME_TOO_BIG -

Data type:
Optional: No
Call by Reference: Yes

DATA_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for QRFC_PLAYBACK 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_qtype  TYPE SY-INPUT, "   
lv_tid_or_fnum_not_found  TYPE SY, "   
lv_if_fname  TYPE RS38L-NAME, "   
lv_interface_function_not_found  TYPE RS38L, "   
lv_tid  TYPE ARFCTID, "   
lv_interface_function_no_rfc  TYPE ARFCTID, "   
lv_fnum  TYPE ARFCSSTATE-ARFCLUWCNT, "   
lv_interface_fname_too_big  TYPE ARFCSSTATE, "   
lv_data_not_found  TYPE ARFCSSTATE. "   

  CALL FUNCTION 'QRFC_PLAYBACK'  "
    EXPORTING
         QTYPE = lv_qtype
         IF_FNAME = lv_if_fname
         TID = lv_tid
         FNUM = lv_fnum
    EXCEPTIONS
        TID_OR_FNUM_NOT_FOUND = 1
        INTERFACE_FUNCTION_NOT_FOUND = 2
        INTERFACE_FUNCTION_NO_RFC = 3
        INTERFACE_FNAME_TOO_BIG = 4
        DATA_NOT_FOUND = 5
. " QRFC_PLAYBACK




ABAP code using 7.40 inline data declarations to call FM QRFC_PLAYBACK

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 INPUT FROM SY INTO @DATA(ld_qtype).
 
 
"SELECT single NAME FROM RS38L INTO @DATA(ld_if_fname).
 
 
 
 
"SELECT single ARFCLUWCNT FROM ARFCSSTATE INTO @DATA(ld_fnum).
 
 
 


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!