SAP TX_PROCESSING Function Module for Function Module for longtext network
TX_PROCESSING is a standard tx 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 Function Module for longtext network 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 tx processing FM, simply by entering the name TX_PROCESSING into the relevant SAP transaction such as SE37 or SE38.
Function Group: FG_TEXTS_DATA
Program Name: SAPLFG_TEXTS_DATA
Main Program: SAPLFG_TEXTS_DATA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TX_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 'TX_PROCESSING'"Function Module for longtext network.
EXPORTING
AKTYP = "Activity category in SAP transaction
AUTYP = "Order category
* FLG_EDIT = 'X' "
* KTSCH_OLD = ' ' "Standard text key
OBJECT = "Data objects of a task list
RC27I_NEW = "Task lists: Indexes referring to current rec'd in rec'd tabs
RC27I_OLD = "Task lists: Indexes referring to current rec'd in rec'd tabs
* CONTROL_IMP = ' ' "Editor options
* DONT_SEND_POPUP_IMP = ' ' "Kennzeichen für Chargenführung (intern)
IMPORTING
ACTION = "Text change made
AFFLD_EXP = "Order: Dialog table for order sequences (AFFL)
AFRUD_EXP = "Dialog table for completion confirmations
AFVGD_EXP = "Order: Dialog table for Table AFVG (order operation)
CAUFVD_EXP = "Dialog Structure for Order Headers and Items
MLSTD_EXP = "Milestone I/O Table
RESBD_EXP = "Reservation/Dependent requirements
RESULT = "Editor return parameter structure
EXCEPTIONS
KEIN_LANGTEXT = 1
IMPORTING Parameters details for TX_PROCESSING
AKTYP - Activity category in SAP transaction
Data type: RC27S-AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
AUTYP - Order category
Data type: AUFK-AUTYPOptional: No
Call by Reference: No ( called with pass by value option)
FLG_EDIT -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
KTSCH_OLD - Standard text key
Data type: AFVGD-KTSCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT - Data objects of a task list
Data type: RC27X-OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
RC27I_NEW - Task lists: Indexes referring to current rec'd in rec'd tabs
Data type: RC27IOptional: No
Call by Reference: No ( called with pass by value option)
RC27I_OLD - Task lists: Indexes referring to current rec'd in rec'd tabs
Data type: RC27IOptional: No
Call by Reference: No ( called with pass by value option)
CONTROL_IMP - Editor options
Data type: ITCEDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DONT_SEND_POPUP_IMP - Kennzeichen für Chargenführung (intern)
Data type: XCHARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TX_PROCESSING
ACTION - Text change made
Data type: TTXCT-FUNCTIONOptional: No
Call by Reference: Yes
AFFLD_EXP - Order: Dialog table for order sequences (AFFL)
Data type: AFFLDOptional: No
Call by Reference: Yes
AFRUD_EXP - Dialog table for completion confirmations
Data type: AFRUDOptional: No
Call by Reference: Yes
AFVGD_EXP - Order: Dialog table for Table AFVG (order operation)
Data type: AFVGDOptional: No
Call by Reference: Yes
CAUFVD_EXP - Dialog Structure for Order Headers and Items
Data type: CAUFVDOptional: No
Call by Reference: Yes
MLSTD_EXP - Milestone I/O Table
Data type: MLSTDOptional: No
Call by Reference: Yes
RESBD_EXP - Reservation/Dependent requirements
Data type: RESBDOptional: No
Call by Reference: Yes
RESULT - Editor return parameter structure
Data type: ITCEROptional: No
Call by Reference: Yes
EXCEPTIONS details
KEIN_LANGTEXT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for TX_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 RC27S-AKTYP, " | |||
| lv_action | TYPE TTXCT-FUNCTION, " | |||
| lv_kein_langtext | TYPE TTXCT, " | |||
| lv_autyp | TYPE AUFK-AUTYP, " | |||
| lv_affld_exp | TYPE AFFLD, " | |||
| lv_flg_edit | TYPE AFFLD, " 'X' | |||
| lv_afrud_exp | TYPE AFRUD, " | |||
| lv_afvgd_exp | TYPE AFVGD, " | |||
| lv_ktsch_old | TYPE AFVGD-KTSCH, " SPACE | |||
| lv_object | TYPE RC27X-OBJECT, " | |||
| lv_caufvd_exp | TYPE CAUFVD, " | |||
| lv_mlstd_exp | TYPE MLSTD, " | |||
| lv_rc27i_new | TYPE RC27I, " | |||
| lv_rc27i_old | TYPE RC27I, " | |||
| lv_resbd_exp | TYPE RESBD, " | |||
| lv_result | TYPE ITCER, " | |||
| lv_control_imp | TYPE ITCED, " SPACE | |||
| lv_dont_send_popup_imp | TYPE XCHAR. " SPACE |
|   CALL FUNCTION 'TX_PROCESSING' "Function Module for longtext network |
| EXPORTING | ||
| AKTYP | = lv_aktyp | |
| AUTYP | = lv_autyp | |
| FLG_EDIT | = lv_flg_edit | |
| KTSCH_OLD | = lv_ktsch_old | |
| OBJECT | = lv_object | |
| RC27I_NEW | = lv_rc27i_new | |
| RC27I_OLD | = lv_rc27i_old | |
| CONTROL_IMP | = lv_control_imp | |
| DONT_SEND_POPUP_IMP | = lv_dont_send_popup_imp | |
| IMPORTING | ||
| ACTION | = lv_action | |
| AFFLD_EXP | = lv_affld_exp | |
| AFRUD_EXP | = lv_afrud_exp | |
| AFVGD_EXP | = lv_afvgd_exp | |
| CAUFVD_EXP | = lv_caufvd_exp | |
| MLSTD_EXP | = lv_mlstd_exp | |
| RESBD_EXP | = lv_resbd_exp | |
| RESULT | = lv_result | |
| EXCEPTIONS | ||
| KEIN_LANGTEXT = 1 | ||
| . " TX_PROCESSING | ||
ABAP code using 7.40 inline data declarations to call FM TX_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). | ||||
| "SELECT single FUNCTION FROM TTXCT INTO @DATA(ld_action). | ||||
| "SELECT single AUTYP FROM AUFK INTO @DATA(ld_autyp). | ||||
| DATA(ld_flg_edit) | = 'X'. | |||
| "SELECT single KTSCH FROM AFVGD INTO @DATA(ld_ktsch_old). | ||||
| DATA(ld_ktsch_old) | = ' '. | |||
| "SELECT single OBJECT FROM RC27X INTO @DATA(ld_object). | ||||
| DATA(ld_control_imp) | = ' '. | |||
| DATA(ld_dont_send_popup_imp) | = ' '. | |||
Search for further information about these or an SAP related objects