SAP MS_GET_KNOWLEDGE_TMPSPEC Function Module for NOTRANSL: Verwendungsnachweis von Beziehungen in Muster-LV's
MS_GET_KNOWLEDGE_TMPSPEC is a standard ms get knowledge tmpspec 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: Verwendungsnachweis von Beziehungen in Muster-LV's 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 ms get knowledge tmpspec FM, simply by entering the name MS_GET_KNOWLEDGE_TMPSPEC into the relevant SAP transaction such as SE37 or SE38.
Function Group: MLKO
Program Name: SAPLMLKO
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MS_GET_KNOWLEDGE_TMPSPEC 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 'MS_GET_KNOWLEDGE_TMPSPEC'"NOTRANSL: Verwendungsnachweis von Beziehungen in Muster-LV's.
EXPORTING
* DATUM_IMP = SY-DATUM "
TABLES
ML_ESLL_EXP = "
CUOB_IMP = "
TMP_SPEC_EXP = "
EXCEPTIONS
CALL_INVALID = 1 NO_WHERE_USED = 2
IMPORTING Parameters details for MS_GET_KNOWLEDGE_TMPSPEC
DATUM_IMP -
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MS_GET_KNOWLEDGE_TMPSPEC
ML_ESLL_EXP -
Data type: ML_ESLLOptional: No
Call by Reference: No ( called with pass by value option)
CUOB_IMP -
Data type: CUOB_APPLIOptional: No
Call by Reference: No ( called with pass by value option)
TMP_SPEC_EXP -
Data type: TMP_SPECOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CALL_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_WHERE_USED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MS_GET_KNOWLEDGE_TMPSPEC 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_datum_imp | TYPE SY-DATUM, " SY-DATUM | |||
| lt_ml_esll_exp | TYPE STANDARD TABLE OF ML_ESLL, " | |||
| lv_call_invalid | TYPE ML_ESLL, " | |||
| lt_cuob_imp | TYPE STANDARD TABLE OF CUOB_APPLI, " | |||
| lv_no_where_used | TYPE CUOB_APPLI, " | |||
| lt_tmp_spec_exp | TYPE STANDARD TABLE OF TMP_SPEC. " |
|   CALL FUNCTION 'MS_GET_KNOWLEDGE_TMPSPEC' "NOTRANSL: Verwendungsnachweis von Beziehungen in Muster-LV's |
| EXPORTING | ||
| DATUM_IMP | = lv_datum_imp | |
| TABLES | ||
| ML_ESLL_EXP | = lt_ml_esll_exp | |
| CUOB_IMP | = lt_cuob_imp | |
| TMP_SPEC_EXP | = lt_tmp_spec_exp | |
| EXCEPTIONS | ||
| CALL_INVALID = 1 | ||
| NO_WHERE_USED = 2 | ||
| . " MS_GET_KNOWLEDGE_TMPSPEC | ||
ABAP code using 7.40 inline data declarations to call FM MS_GET_KNOWLEDGE_TMPSPEC
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 DATUM FROM SY INTO @DATA(ld_datum_imp). | ||||
| DATA(ld_datum_imp) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects