SAP CP_TX_QSS_PROCESSING Function Module for NOTRANSL: QSS-Langtextverarbeitung
CP_TX_QSS_PROCESSING is a standard cp tx qss 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 NOTRANSL: QSS-Langtextverarbeitung 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 cp tx qss processing FM, simply by entering the name CP_TX_QSS_PROCESSING into the relevant SAP transaction such as SE37 or SE38.
Function Group: CPTX
Program Name: SAPLCPTX
Main Program: SAPLCPTX
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CP_TX_QSS_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 'CP_TX_QSS_PROCESSING'"NOTRANSL: QSS-Langtextverarbeitung.
EXPORTING
AKTYP = "Transaction type
PLMK_NEW = "New QSS data record
PLMK_OLD = "Old QSS data record
TEXT_ID = "QSS Text ID for SAPscript word pro
IMPORTING
ACTION = "Processing result (change, deletio
PLMK_EXP = "Updated new QSS data record
IMPORTING Parameters details for CP_TX_QSS_PROCESSING
AKTYP - Transaction type
Data type: RQPAS-AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
PLMK_NEW - New QSS data record
Data type: PLMKBOptional: No
Call by Reference: No ( called with pass by value option)
PLMK_OLD - Old QSS data record
Data type: PLMKBOptional: No
Call by Reference: No ( called with pass by value option)
TEXT_ID - QSS Text ID for SAPscript word pro
Data type: STXH-TDIDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CP_TX_QSS_PROCESSING
ACTION - Processing result (change, deletio
Data type: TTXCT-FUNCTIONOptional: No
Call by Reference: No ( called with pass by value option)
PLMK_EXP - Updated new QSS data record
Data type: PLMKBOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CP_TX_QSS_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 | TYPE RQPAS-AKTYP, " | |||
| lv_action | TYPE TTXCT-FUNCTION, " | |||
| lv_plmk_exp | TYPE PLMKB, " | |||
| lv_plmk_new | TYPE PLMKB, " | |||
| lv_plmk_old | TYPE PLMKB, " | |||
| lv_text_id | TYPE STXH-TDID. " |
|   CALL FUNCTION 'CP_TX_QSS_PROCESSING' "NOTRANSL: QSS-Langtextverarbeitung |
| EXPORTING | ||
| AKTYP | = lv_aktyp | |
| PLMK_NEW | = lv_plmk_new | |
| PLMK_OLD | = lv_plmk_old | |
| TEXT_ID | = lv_text_id | |
| IMPORTING | ||
| ACTION | = lv_action | |
| PLMK_EXP | = lv_plmk_exp | |
| . " CP_TX_QSS_PROCESSING | ||
ABAP code using 7.40 inline data declarations to call FM CP_TX_QSS_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 RQPAS INTO @DATA(ld_aktyp). | ||||
| "SELECT single FUNCTION FROM TTXCT INTO @DATA(ld_action). | ||||
| "SELECT single TDID FROM STXH INTO @DATA(ld_text_id). | ||||
Search for further information about these or an SAP related objects