SAP FRML562_PROVIDE_CPT_TEXT Function Module for NOTRANSL: Texte zu einer Komponente ermitteln









FRML562_PROVIDE_CPT_TEXT is a standard frml562 provide cpt text 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: Texte zu einer Komponente ermitteln 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 frml562 provide cpt text FM, simply by entering the name FRML562_PROVIDE_CPT_TEXT into the relevant SAP transaction such as SE37 or SE38.

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



Function FRML562_PROVIDE_CPT_TEXT 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 'FRML562_PROVIDE_CPT_TEXT'"NOTRANSL: Texte zu einer Komponente ermitteln
EXPORTING
* I_SUBRECN = "Substance key
* I_MATNR = "Material Number of an Item
* I_STREAM_ID = "Unique Data Record Number (GUID) for Stream
I_LEVEL = "View of a Recipe Formula
I_VALDAT = "Key Date
* I_REF_LANGU = "Reference Language

IMPORTING
E_IDENT1 = "Identifier
E_IDENT2 = "Identifier
E_IDENT3 = "Identifier
E_MAKTX = "Material Description
E_STREAM_TXT = "Short Description of Stream
E_CPT_DESCR = "Description of the Material, Substance, or Stream
.



IMPORTING Parameters details for FRML562_PROVIDE_CPT_TEXT

I_SUBRECN - Substance key

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

I_MATNR - Material Number of an Item

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

I_STREAM_ID - Unique Data Record Number (GUID) for Stream

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

I_LEVEL - View of a Recipe Formula

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

I_VALDAT - Key Date

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

I_REF_LANGU - Reference Language

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

EXPORTING Parameters details for FRML562_PROVIDE_CPT_TEXT

E_IDENT1 - Identifier

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

E_IDENT2 - Identifier

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

E_IDENT3 - Identifier

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

E_MAKTX - Material Description

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

E_STREAM_TXT - Short Description of Stream

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

E_CPT_DESCR - Description of the Material, Substance, or Stream

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRML562_PROVIDE_CPT_TEXT 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_e_ident1  TYPE ESEIDENT, "   
lv_i_subrecn  TYPE FRMLE_SUBRECN, "   
lv_i_matnr  TYPE FRMLE_MATNR, "   
lv_e_ident2  TYPE ESEIDENT, "   
lv_e_ident3  TYPE ESEIDENT, "   
lv_i_stream_id  TYPE FRMLE_STREAM_GUID, "   
lv_e_maktx  TYPE MAKTX, "   
lv_i_level  TYPE FRMLE_LEVEL, "   
lv_i_valdat  TYPE FRMLE_VALDAT, "   
lv_e_stream_txt  TYPE FRMLE_STREAMTX, "   
lv_e_cpt_descr  TYPE FRMLE_STREAMTX, "   
lv_i_ref_langu  TYPE RCPE_OLANG. "   

  CALL FUNCTION 'FRML562_PROVIDE_CPT_TEXT'  "NOTRANSL: Texte zu einer Komponente ermitteln
    EXPORTING
         I_SUBRECN = lv_i_subrecn
         I_MATNR = lv_i_matnr
         I_STREAM_ID = lv_i_stream_id
         I_LEVEL = lv_i_level
         I_VALDAT = lv_i_valdat
         I_REF_LANGU = lv_i_ref_langu
    IMPORTING
         E_IDENT1 = lv_e_ident1
         E_IDENT2 = lv_e_ident2
         E_IDENT3 = lv_e_ident3
         E_MAKTX = lv_e_maktx
         E_STREAM_TXT = lv_e_stream_txt
         E_CPT_DESCR = lv_e_cpt_descr
. " FRML562_PROVIDE_CPT_TEXT




ABAP code using 7.40 inline data declarations to call FM FRML562_PROVIDE_CPT_TEXT

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.

 
 
 
 
 
 
 
 
 
 
 
 


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!