SAP MM_COND_T685A_READ Function Module for NOTRANSL: Konditionsart mit Text (Tabelle T685T, sowie falls vorhanden T68
MM_COND_T685A_READ is a standard mm cond t685a read 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: Konditionsart mit Text (Tabelle T685T, sowie falls vorhanden T68 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 mm cond t685a read FM, simply by entering the name MM_COND_T685A_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: WN05
Program Name: SAPLWN05
Main Program: SAPLWN05
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MM_COND_T685A_READ 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 'MM_COND_T685A_READ'"NOTRANSL: Konditionsart mit Text (Tabelle T685T, sowie falls vorhanden T68.
EXPORTING
I_KSCHL = "Condition type to be imported
* I_KVEWE = 'A' "Usage of condition type (A - price determination)
I_KAPPL = "Application of condition type
* I_LIFNR = "Condition granter
* I_SPRAS = "Language, if description to be imported
* READ_COND_TYPE_TEXT = ' ' "Indicator: read description of condition type
* READ_ONLY_COND_TEXT = ' ' "Indicator: read description only
IMPORTING
E_T685A = "Table entry for condition type
E_T685T = "Table entry text for condition type
E_TEXT_FOR_LIFNR = "Indicator: text for vendor drawn
EXCEPTIONS
INVALID_COND_TYPE = 1 MISSING_COND_TYPE_TEXT = 2
IMPORTING Parameters details for MM_COND_T685A_READ
I_KSCHL - Condition type to be imported
Data type: T685A-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
I_KVEWE - Usage of condition type (A - price determination)
Data type: T685T-KVEWEDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KAPPL - Application of condition type
Data type: T685A-KAPPLOptional: No
Call by Reference: No ( called with pass by value option)
I_LIFNR - Condition granter
Data type: LFA1-LIFNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_SPRAS - Language, if description to be imported
Data type: SY-LANGUOptional: Yes
Call by Reference: No ( called with pass by value option)
READ_COND_TYPE_TEXT - Indicator: read description of condition type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
READ_ONLY_COND_TEXT - Indicator: read description only
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MM_COND_T685A_READ
E_T685A - Table entry for condition type
Data type: T685AOptional: No
Call by Reference: Yes
E_T685T - Table entry text for condition type
Data type: T685TOptional: No
Call by Reference: No ( called with pass by value option)
E_TEXT_FOR_LIFNR - Indicator: text for vendor drawn
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_COND_TYPE - Condition type does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_COND_TYPE_TEXT - Description of condition type missing
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MM_COND_T685A_READ 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_t685a | TYPE T685A, " | |||
| lv_i_kschl | TYPE T685A-KSCHL, " | |||
| lv_invalid_cond_type | TYPE T685A, " | |||
| lv_e_t685t | TYPE T685T, " | |||
| lv_i_kvewe | TYPE T685T-KVEWE, " 'A' | |||
| lv_missing_cond_type_text | TYPE T685T, " | |||
| lv_i_kappl | TYPE T685A-KAPPL, " | |||
| lv_e_text_for_lifnr | TYPE C, " | |||
| lv_i_lifnr | TYPE LFA1-LIFNR, " | |||
| lv_i_spras | TYPE SY-LANGU, " | |||
| lv_read_cond_type_text | TYPE C, " SPACE | |||
| lv_read_only_cond_text | TYPE C. " SPACE |
|   CALL FUNCTION 'MM_COND_T685A_READ' "NOTRANSL: Konditionsart mit Text (Tabelle T685T, sowie falls vorhanden T68 |
| EXPORTING | ||
| I_KSCHL | = lv_i_kschl | |
| I_KVEWE | = lv_i_kvewe | |
| I_KAPPL | = lv_i_kappl | |
| I_LIFNR | = lv_i_lifnr | |
| I_SPRAS | = lv_i_spras | |
| READ_COND_TYPE_TEXT | = lv_read_cond_type_text | |
| READ_ONLY_COND_TEXT | = lv_read_only_cond_text | |
| IMPORTING | ||
| E_T685A | = lv_e_t685a | |
| E_T685T | = lv_e_t685t | |
| E_TEXT_FOR_LIFNR | = lv_e_text_for_lifnr | |
| EXCEPTIONS | ||
| INVALID_COND_TYPE = 1 | ||
| MISSING_COND_TYPE_TEXT = 2 | ||
| . " MM_COND_T685A_READ | ||
ABAP code using 7.40 inline data declarations to call FM MM_COND_T685A_READ
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 KSCHL FROM T685A INTO @DATA(ld_i_kschl). | ||||
| "SELECT single KVEWE FROM T685T INTO @DATA(ld_i_kvewe). | ||||
| DATA(ld_i_kvewe) | = 'A'. | |||
| "SELECT single KAPPL FROM T685A INTO @DATA(ld_i_kappl). | ||||
| "SELECT single LIFNR FROM LFA1 INTO @DATA(ld_i_lifnr). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_i_spras). | ||||
| DATA(ld_read_cond_type_text) | = ' '. | |||
| DATA(ld_read_only_cond_text) | = ' '. | |||
Search for further information about these or an SAP related objects