SAP CF_TX_ROUT_PROCESSING Function Module for PRT long text processing in the task list









CF_TX_ROUT_PROCESSING is a standard cf tx rout processing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PRT long text processing in the task list 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 cf tx rout processing FM, simply by entering the name CF_TX_ROUT_PROCESSING into the relevant SAP transaction such as SE37 or SE38.

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



Function CF_TX_ROUT_PROCESSING 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 'CF_TX_ROUT_PROCESSING'"PRT long text processing in the task list
EXPORTING
AKTYP_IN = "Activity category
* FLG_BUFFER = ' ' "'X' if current long text in the bu
* FLG_EDITOR = ' ' "
KTSCH_OLD_IN = "
PLFHD_IN = "
AENNR = "
STTAG = "

IMPORTING
ACTION_OUT = "Activity
PLFHD_OUT = "New dialog structure PRTs in routi
.



IMPORTING Parameters details for CF_TX_ROUT_PROCESSING

AKTYP_IN - Activity category

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

FLG_BUFFER - 'X' if current long text in the bu

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

FLG_EDITOR -

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

KTSCH_OLD_IN -

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

PLFHD_IN -

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

AENNR -

Data type: RC27S-AENNR
Optional: No
Call by Reference: Yes

STTAG -

Data type: RC27S-STTAG
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CF_TX_ROUT_PROCESSING

ACTION_OUT - Activity

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

PLFHD_OUT - New dialog structure PRTs in routi

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

Copy and paste ABAP code example for CF_TX_ROUT_PROCESSING 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_aktyp_in  TYPE RC27S-AKTYP, "   
lv_action_out  TYPE TTXCT-FUNCTION, "   
lv_plfhd_out  TYPE PLFHD, "   
lv_flg_buffer  TYPE PLFHD, "   SPACE
lv_flg_editor  TYPE PLFHD, "   SPACE
lv_ktsch_old_in  TYPE PLFHD-KTSCH, "   
lv_plfhd_in  TYPE PLFHD, "   
lv_aennr  TYPE RC27S-AENNR, "   
lv_sttag  TYPE RC27S-STTAG. "   

  CALL FUNCTION 'CF_TX_ROUT_PROCESSING'  "PRT long text processing in the task list
    EXPORTING
         AKTYP_IN = lv_aktyp_in
         FLG_BUFFER = lv_flg_buffer
         FLG_EDITOR = lv_flg_editor
         KTSCH_OLD_IN = lv_ktsch_old_in
         PLFHD_IN = lv_plfhd_in
         AENNR = lv_aennr
         STTAG = lv_sttag
    IMPORTING
         ACTION_OUT = lv_action_out
         PLFHD_OUT = lv_plfhd_out
. " CF_TX_ROUT_PROCESSING




ABAP code using 7.40 inline data declarations to call FM CF_TX_ROUT_PROCESSING

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 AKTYP FROM RC27S INTO @DATA(ld_aktyp_in).
 
"SELECT single FUNCTION FROM TTXCT INTO @DATA(ld_action_out).
 
 
DATA(ld_flg_buffer) = ' '.
 
DATA(ld_flg_editor) = ' '.
 
"SELECT single KTSCH FROM PLFHD INTO @DATA(ld_ktsch_old_in).
 
 
"SELECT single AENNR FROM RC27S INTO @DATA(ld_aennr).
 
"SELECT single STTAG FROM RC27S INTO @DATA(ld_sttag).
 


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!