SAP CQ_OV_CHA_TEXT_PROCESS Function Module for NOTRANSL: Langtexteditor für Langtexte zur Klasse der Prüfmerkmale
CQ_OV_CHA_TEXT_PROCESS is a standard cq ov cha text process 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: Langtexteditor für Langtexte zur Klasse der Prüfmerkmale 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 cq ov cha text process FM, simply by entering the name CQ_OV_CHA_TEXT_PROCESS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CQOV
Program Name: SAPLCQOV
Main Program: SAPLCQOV
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CQ_OV_CHA_TEXT_PROCESS 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 'CQ_OV_CHA_TEXT_PROCESS'"NOTRANSL: Langtexteditor für Langtexte zur Klasse der Prüfmerkmale.
EXPORTING
I_PLNTY = "
I_ZAEHL = "
* I_LTEXT_LINK_TYPE = 'C' "
* I_LANGUAGE = "
* I_KURZTEXT = "
I_KEY_DATE = "
I_ECN = "
I_AKTYP = "
I_PLNNR = "
* I_PLNAL = "
* I_PLNFL = "
I_PLNKN = "
I_IDENT = "
I_KZEINSTELL = "
* I_VORNR = "Operation Number
I_MERKNR = "Inspection characteristic number
IMPORTING
E_LONG_TEXT_ACTION = "
E_KURZTEXT = "
CHANGING
C_LTEXT_FLAG = "
EXCEPTIONS
NO_TEXT = 1
IMPORTING Parameters details for CQ_OV_CHA_TEXT_PROCESS
I_PLNTY -
Data type: CHA_CLASS_DATA-PLNTYOptional: No
Call by Reference: No ( called with pass by value option)
I_ZAEHL -
Data type: CHA_CLASS_DATA-ZAEHLOptional: No
Call by Reference: No ( called with pass by value option)
I_LTEXT_LINK_TYPE -
Data type: CDefault: 'C'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LANGUAGE -
Data type: CHA_CLASS_DATA-LTEXTSPROptional: Yes
Call by Reference: No ( called with pass by value option)
I_KURZTEXT -
Data type: CHA_CLASS_DATA-KURZTEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY_DATE -
Data type: CHA_CLASS_DATA-GUELTIGABOptional: No
Call by Reference: No ( called with pass by value option)
I_ECN -
Data type: CHA_CLASS_DATA-AENDERGNROptional: No
Call by Reference: No ( called with pass by value option)
I_AKTYP -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
I_PLNNR -
Data type: CHA_CLASS_DATA-PLNNROptional: No
Call by Reference: No ( called with pass by value option)
I_PLNAL -
Data type: CHA_CLASS_DATA-PLNALOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNFL -
Data type: CHA_CLASS_DATA-PLNFLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNKN -
Data type: CHA_CLASS_DATA-PLNKNOptional: No
Call by Reference: No ( called with pass by value option)
I_IDENT -
Data type: CHA_CLASS_DATA-IDENTOptional: No
Call by Reference: No ( called with pass by value option)
I_KZEINSTELL -
Data type: CHA_CLASS_DATA-KZEINSTELLOptional: No
Call by Reference: No ( called with pass by value option)
I_VORNR - Operation Number
Data type: CHA_CLASS_DATA-VORNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_MERKNR - Inspection characteristic number
Data type: CHA_CLASS_DATA-MERKNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CQ_OV_CHA_TEXT_PROCESS
E_LONG_TEXT_ACTION -
Data type: TTXCT-FUNCTIONOptional: No
Call by Reference: No ( called with pass by value option)
E_KURZTEXT -
Data type: CHA_CLASS_DATA-KURZTEXTOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for CQ_OV_CHA_TEXT_PROCESS
C_LTEXT_FLAG -
Data type: CHA_CLASS_DATA-LTEXTKZOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_TEXT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CQ_OV_CHA_TEXT_PROCESS 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_plnty | TYPE CHA_CLASS_DATA-PLNTY, " | |||
| lv_no_text | TYPE CHA_CLASS_DATA, " | |||
| lv_c_ltext_flag | TYPE CHA_CLASS_DATA-LTEXTKZ, " | |||
| lv_e_long_text_action | TYPE TTXCT-FUNCTION, " | |||
| lv_i_zaehl | TYPE CHA_CLASS_DATA-ZAEHL, " | |||
| lv_i_ltext_link_type | TYPE C, " 'C' | |||
| lv_i_language | TYPE CHA_CLASS_DATA-LTEXTSPR, " | |||
| lv_i_kurztext | TYPE CHA_CLASS_DATA-KURZTEXT, " | |||
| lv_i_key_date | TYPE CHA_CLASS_DATA-GUELTIGAB, " | |||
| lv_i_ecn | TYPE CHA_CLASS_DATA-AENDERGNR, " | |||
| lv_i_aktyp | TYPE C, " | |||
| lv_i_plnnr | TYPE CHA_CLASS_DATA-PLNNR, " | |||
| lv_e_kurztext | TYPE CHA_CLASS_DATA-KURZTEXT, " | |||
| lv_i_plnal | TYPE CHA_CLASS_DATA-PLNAL, " | |||
| lv_i_plnfl | TYPE CHA_CLASS_DATA-PLNFL, " | |||
| lv_i_plnkn | TYPE CHA_CLASS_DATA-PLNKN, " | |||
| lv_i_ident | TYPE CHA_CLASS_DATA-IDENT, " | |||
| lv_i_kzeinstell | TYPE CHA_CLASS_DATA-KZEINSTELL, " | |||
| lv_i_vornr | TYPE CHA_CLASS_DATA-VORNR, " | |||
| lv_i_merknr | TYPE CHA_CLASS_DATA-MERKNR. " |
|   CALL FUNCTION 'CQ_OV_CHA_TEXT_PROCESS' "NOTRANSL: Langtexteditor für Langtexte zur Klasse der Prüfmerkmale |
| EXPORTING | ||
| I_PLNTY | = lv_i_plnty | |
| I_ZAEHL | = lv_i_zaehl | |
| I_LTEXT_LINK_TYPE | = lv_i_ltext_link_type | |
| I_LANGUAGE | = lv_i_language | |
| I_KURZTEXT | = lv_i_kurztext | |
| I_KEY_DATE | = lv_i_key_date | |
| I_ECN | = lv_i_ecn | |
| I_AKTYP | = lv_i_aktyp | |
| I_PLNNR | = lv_i_plnnr | |
| I_PLNAL | = lv_i_plnal | |
| I_PLNFL | = lv_i_plnfl | |
| I_PLNKN | = lv_i_plnkn | |
| I_IDENT | = lv_i_ident | |
| I_KZEINSTELL | = lv_i_kzeinstell | |
| I_VORNR | = lv_i_vornr | |
| I_MERKNR | = lv_i_merknr | |
| IMPORTING | ||
| E_LONG_TEXT_ACTION | = lv_e_long_text_action | |
| E_KURZTEXT | = lv_e_kurztext | |
| CHANGING | ||
| C_LTEXT_FLAG | = lv_c_ltext_flag | |
| EXCEPTIONS | ||
| NO_TEXT = 1 | ||
| . " CQ_OV_CHA_TEXT_PROCESS | ||
ABAP code using 7.40 inline data declarations to call FM CQ_OV_CHA_TEXT_PROCESS
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 PLNTY FROM CHA_CLASS_DATA INTO @DATA(ld_i_plnty). | ||||
| "SELECT single LTEXTKZ FROM CHA_CLASS_DATA INTO @DATA(ld_c_ltext_flag). | ||||
| "SELECT single FUNCTION FROM TTXCT INTO @DATA(ld_e_long_text_action). | ||||
| "SELECT single ZAEHL FROM CHA_CLASS_DATA INTO @DATA(ld_i_zaehl). | ||||
| DATA(ld_i_ltext_link_type) | = 'C'. | |||
| "SELECT single LTEXTSPR FROM CHA_CLASS_DATA INTO @DATA(ld_i_language). | ||||
| "SELECT single KURZTEXT FROM CHA_CLASS_DATA INTO @DATA(ld_i_kurztext). | ||||
| "SELECT single GUELTIGAB FROM CHA_CLASS_DATA INTO @DATA(ld_i_key_date). | ||||
| "SELECT single AENDERGNR FROM CHA_CLASS_DATA INTO @DATA(ld_i_ecn). | ||||
| "SELECT single PLNNR FROM CHA_CLASS_DATA INTO @DATA(ld_i_plnnr). | ||||
| "SELECT single KURZTEXT FROM CHA_CLASS_DATA INTO @DATA(ld_e_kurztext). | ||||
| "SELECT single PLNAL FROM CHA_CLASS_DATA INTO @DATA(ld_i_plnal). | ||||
| "SELECT single PLNFL FROM CHA_CLASS_DATA INTO @DATA(ld_i_plnfl). | ||||
| "SELECT single PLNKN FROM CHA_CLASS_DATA INTO @DATA(ld_i_plnkn). | ||||
| "SELECT single IDENT FROM CHA_CLASS_DATA INTO @DATA(ld_i_ident). | ||||
| "SELECT single KZEINSTELL FROM CHA_CLASS_DATA INTO @DATA(ld_i_kzeinstell). | ||||
| "SELECT single VORNR FROM CHA_CLASS_DATA INTO @DATA(ld_i_vornr). | ||||
| "SELECT single MERKNR FROM CHA_CLASS_DATA INTO @DATA(ld_i_merknr). | ||||
Search for further information about these or an SAP related objects