SAP ICLF_ICL_METHODTXT_GET Function Module for Provide text for payment method
ICLF_ICL_METHODTXT_GET is a standard iclf icl methodtxt get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Provide text for payment method 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 iclf icl methodtxt get FM, simply by entering the name ICLF_ICL_METHODTXT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_CF_DB_PAY1
Program Name: SAPLICL_CF_DB_PAY1
Main Program: SAPLICL_CF_DB_PAY1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICLF_ICL_METHODTXT_GET 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 'ICLF_ICL_METHODTXT_GET'"Provide text for payment method.
EXPORTING
I_METHOD = "
* IV_COMPANYCODE = "Company Code
* IV_XBULK = "Flag: Payment is Part of Bulk Payment
IV_PAYCAT = "Record Type of Payment
* IV_NO_FMOD2_CHECK = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_NO_MSG = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
IMPORTING
E_METHODTXT = "
E_FKK042Z = "Payment methods for automatic payment
E_SUBRC = "Return Value, Return Value after ABAP Statements
IMPORTING Parameters details for ICLF_ICL_METHODTXT_GET
I_METHOD -
Data type: ICL_PAYMENT01Optional: No
Call by Reference: No ( called with pass by value option)
IV_COMPANYCODE - Company Code
Data type: BAPI0002_2-COMP_CODEOptional: Yes
Call by Reference: Yes
IV_XBULK - Flag: Payment is Part of Bulk Payment
Data type: ICL_XBULKOptional: Yes
Call by Reference: Yes
IV_PAYCAT - Record Type of Payment
Data type: ICL_PAYCATOptional: No
Call by Reference: Yes
IV_NO_FMOD2_CHECK - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IV_NO_MSG - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ICLF_ICL_METHODTXT_GET
E_METHODTXT -
Data type: ICL_PAYO-METHODTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_FKK042Z - Payment methods for automatic payment
Data type: ICL_FKK042ZOptional: No
Call by Reference: No ( called with pass by value option)
E_SUBRC - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ICLF_ICL_METHODTXT_GET 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_method | TYPE ICL_PAYMENT01, " | |||
| lv_e_methodtxt | TYPE ICL_PAYO-METHODTXT, " | |||
| lv_e_fkk042z | TYPE ICL_FKK042Z, " | |||
| lv_iv_companycode | TYPE BAPI0002_2-COMP_CODE, " | |||
| lv_e_subrc | TYPE SY-SUBRC, " | |||
| lv_iv_xbulk | TYPE ICL_XBULK, " | |||
| lv_iv_paycat | TYPE ICL_PAYCAT, " | |||
| lv_iv_no_fmod2_check | TYPE BOOLE_D, " | |||
| lv_iv_no_msg | TYPE BOOLE_D. " |
|   CALL FUNCTION 'ICLF_ICL_METHODTXT_GET' "Provide text for payment method |
| EXPORTING | ||
| I_METHOD | = lv_i_method | |
| IV_COMPANYCODE | = lv_iv_companycode | |
| IV_XBULK | = lv_iv_xbulk | |
| IV_PAYCAT | = lv_iv_paycat | |
| IV_NO_FMOD2_CHECK | = lv_iv_no_fmod2_check | |
| IV_NO_MSG | = lv_iv_no_msg | |
| IMPORTING | ||
| E_METHODTXT | = lv_e_methodtxt | |
| E_FKK042Z | = lv_e_fkk042z | |
| E_SUBRC | = lv_e_subrc | |
| . " ICLF_ICL_METHODTXT_GET | ||
ABAP code using 7.40 inline data declarations to call FM ICLF_ICL_METHODTXT_GET
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 METHODTXT FROM ICL_PAYO INTO @DATA(ld_e_methodtxt). | ||||
| "SELECT single COMP_CODE FROM BAPI0002_2 INTO @DATA(ld_iv_companycode). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_e_subrc). | ||||
Search for further information about these or an SAP related objects