SAP RS_CATT_PROTOCOL_TO_APPL_LOG Function Module for Converting a CATT protocol in a application log









RS_CATT_PROTOCOL_TO_APPL_LOG is a standard rs catt protocol to appl log SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Converting a CATT protocol in a application log 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 rs catt protocol to appl log FM, simply by entering the name RS_CATT_PROTOCOL_TO_APPL_LOG into the relevant SAP transaction such as SE37 or SE38.

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



Function RS_CATT_PROTOCOL_TO_APPL_LOG 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 'RS_CATT_PROTOCOL_TO_APPL_LOG'"Converting a CATT protocol in a application log
EXPORTING
I_LVORN = "CATT - Procedure Serial Number
* I_LABLN = "CATT - Procedure number
* I_SHOW = 'X' "Boolean
* I_PROTTYPE = 'WHM' "Loosely defined; could be used for patch levels
* I_SAVE = "Boolean

IMPORTING
E_LOG_HANDLE = "Application Log: Log Handle
.



IMPORTING Parameters details for RS_CATT_PROTOCOL_TO_APPL_LOG

I_LVORN - CATT - Procedure Serial Number

Data type: CATL-LVORN
Optional: No
Call by Reference: Yes

I_LABLN - CATT - Procedure number

Data type: CATN-LABLN
Optional: Yes
Call by Reference: Yes

I_SHOW - Boolean

Data type: RS_BOOL
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_PROTTYPE - Loosely defined; could be used for patch levels

Data type: RSPROTTYPE
Default: 'WHM'
Optional: Yes
Call by Reference: Yes

I_SAVE - Boolean

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

EXPORTING Parameters details for RS_CATT_PROTOCOL_TO_APPL_LOG

E_LOG_HANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RS_CATT_PROTOCOL_TO_APPL_LOG 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_lvorn  TYPE CATL-LVORN, "   
lv_e_log_handle  TYPE BALLOGHNDL, "   
lv_i_labln  TYPE CATN-LABLN, "   
lv_i_show  TYPE RS_BOOL, "   'X'
lv_i_prottype  TYPE RSPROTTYPE, "   'WHM'
lv_i_save  TYPE RS_BOOL. "   

  CALL FUNCTION 'RS_CATT_PROTOCOL_TO_APPL_LOG'  "Converting a CATT protocol in a application log
    EXPORTING
         I_LVORN = lv_i_lvorn
         I_LABLN = lv_i_labln
         I_SHOW = lv_i_show
         I_PROTTYPE = lv_i_prottype
         I_SAVE = lv_i_save
    IMPORTING
         E_LOG_HANDLE = lv_e_log_handle
. " RS_CATT_PROTOCOL_TO_APPL_LOG




ABAP code using 7.40 inline data declarations to call FM RS_CATT_PROTOCOL_TO_APPL_LOG

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 LVORN FROM CATL INTO @DATA(ld_i_lvorn).
 
 
"SELECT single LABLN FROM CATN INTO @DATA(ld_i_labln).
 
DATA(ld_i_show) = 'X'.
 
DATA(ld_i_prottype) = 'WHM'.
 
 


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!