SAP ISU_FACTS_IL_READ_MDT Function Module for Determines Installation Facts for Product / Master Data Template
ISU_FACTS_IL_READ_MDT is a standard isu facts il read mdt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determines Installation Facts for Product / Master Data Template 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 isu facts il read mdt FM, simply by entering the name ISU_FACTS_IL_READ_MDT into the relevant SAP transaction such as SE37 or SE38.
Function Group: EPRODCUST_ISU
Program Name: SAPLEPRODCUST_ISU
Main Program: SAPLEPRODCUST_ISU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_FACTS_IL_READ_MDT 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 'ISU_FACTS_IL_READ_MDT'"Determines Installation Facts for Product / Master Data Template.
EXPORTING
* IV_PRODUCT = "Product ID
* IV_PRODID = "Node to Describe Master Data Template
* IV_PRODUCT_GUID = "Internal Unique ID of Product
TABLES
* AMOUNTTABLE = "BAPI InstallationFactsChange (Operand Category AMOUNT)
* USERDEFTABLE = "BAPI InstallationFactsChange (operand category USERDEF)
* TPRICETABLE = "BAPI InstallationFactsChange (operand category TPRICE)
* SPRICETABLE = "BAPI InstallationFactsChange (operand category SPRICE )
* LPRICETABLE = "BAPI InstallationFactsChange (operand category LPRICE)
* ADISCABSTABLE = "BAPI InstallationFactsChange (All Discount Types)
* ADISCPERTABLE = "BAPI InstallationFactsChange (All Discount Types)
* DDISCNTTABLE = "BAPI InstallationFactsChange (All Discount Types)
* PDISCNTTABLE = "BAPI InstallationFactsChange (All Discount Types)
* QDISCNTTABLE = "BAPI InstallationFactsChange (All Discount Types)
* QUANTTABLE = "BAPI InstallationFactsChange (Operand Category QUANT)
* DEMANDTABLE = "BAPI InstallationFactsChange (Operand Category DEMAND)
* TQUANTTABLE = "BAPI InstallationFactsChange (Operand Category TQUANT)
* FACTORTABLE = "BAPI InstallationFactsChange (Operand Category FACTOR)
* FLAGTABLE = "BAPI InstallationFactsChange (Operand Category FLAG)
* INTEGERTABLE = "BAPI InstallationFactsChange (Operand Category INTEGER)
* RATETYPETABLE = "BAPI InstallationFactsChange (Operand Category RATETYPE)
* QPRICETABLE = "BAPI InstallationFactsChange (operand category QPRICE )
EXCEPTIONS
NO_PRODID = 1
IMPORTING Parameters details for ISU_FACTS_IL_READ_MDT
IV_PRODUCT - Product ID
Data type: COMT_PRODUCT_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PRODID - Node to Describe Master Data Template
Data type: EPD_PRODIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PRODUCT_GUID - Internal Unique ID of Product
Data type: COMT_PRODUCT_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_FACTS_IL_READ_MDT
AMOUNTTABLE - BAPI InstallationFactsChange (Operand Category AMOUNT)
Data type: BAPI_INSTLN_AMOUNTOptional: Yes
Call by Reference: Yes
USERDEFTABLE - BAPI InstallationFactsChange (operand category USERDEF)
Data type: BAPI_INSTLN_USERDEFOptional: Yes
Call by Reference: Yes
TPRICETABLE - BAPI InstallationFactsChange (operand category TPRICE)
Data type: BAPI_INSTLN_TPRICEOptional: Yes
Call by Reference: Yes
SPRICETABLE - BAPI InstallationFactsChange (operand category SPRICE )
Data type: BAPI_INSTLN_SPRICEOptional: Yes
Call by Reference: Yes
LPRICETABLE - BAPI InstallationFactsChange (operand category LPRICE)
Data type: BAPI_INSTLN_LPRICEOptional: Yes
Call by Reference: Yes
ADISCABSTABLE - BAPI InstallationFactsChange (All Discount Types)
Data type: BAPI_INSTLN_DISCOptional: Yes
Call by Reference: Yes
ADISCPERTABLE - BAPI InstallationFactsChange (All Discount Types)
Data type: BAPI_INSTLN_DISCOptional: Yes
Call by Reference: Yes
DDISCNTTABLE - BAPI InstallationFactsChange (All Discount Types)
Data type: BAPI_INSTLN_DISCOptional: Yes
Call by Reference: Yes
PDISCNTTABLE - BAPI InstallationFactsChange (All Discount Types)
Data type: BAPI_INSTLN_DISCOptional: Yes
Call by Reference: Yes
QDISCNTTABLE - BAPI InstallationFactsChange (All Discount Types)
Data type: BAPI_INSTLN_DISCOptional: Yes
Call by Reference: Yes
QUANTTABLE - BAPI InstallationFactsChange (Operand Category QUANT)
Data type: BAPI_INSTLN_QUANTOptional: Yes
Call by Reference: Yes
DEMANDTABLE - BAPI InstallationFactsChange (Operand Category DEMAND)
Data type: BAPI_INSTLN_DEMANDOptional: Yes
Call by Reference: Yes
TQUANTTABLE - BAPI InstallationFactsChange (Operand Category TQUANT)
Data type: BAPI_INSTLN_TQUANTOptional: Yes
Call by Reference: Yes
FACTORTABLE - BAPI InstallationFactsChange (Operand Category FACTOR)
Data type: BAPI_INSTLN_FACTOROptional: Yes
Call by Reference: Yes
FLAGTABLE - BAPI InstallationFactsChange (Operand Category FLAG)
Data type: BAPI_INSTLN_FLAGOptional: Yes
Call by Reference: Yes
INTEGERTABLE - BAPI InstallationFactsChange (Operand Category INTEGER)
Data type: BAPI_INSTLN_INTEGEROptional: Yes
Call by Reference: Yes
RATETYPETABLE - BAPI InstallationFactsChange (Operand Category RATETYPE)
Data type: BAPI_INSTLN_RATETYPEOptional: Yes
Call by Reference: Yes
QPRICETABLE - BAPI InstallationFactsChange (operand category QPRICE )
Data type: BAPI_INSTLN_QPRICEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_PRODID -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_FACTS_IL_READ_MDT 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_no_prodid | TYPE STRING, " | |||
| lv_iv_product | TYPE COMT_PRODUCT_ID, " | |||
| lt_amounttable | TYPE STANDARD TABLE OF BAPI_INSTLN_AMOUNT, " | |||
| lt_userdeftable | TYPE STANDARD TABLE OF BAPI_INSTLN_USERDEF, " | |||
| lt_tpricetable | TYPE STANDARD TABLE OF BAPI_INSTLN_TPRICE, " | |||
| lt_spricetable | TYPE STANDARD TABLE OF BAPI_INSTLN_SPRICE, " | |||
| lt_lpricetable | TYPE STANDARD TABLE OF BAPI_INSTLN_LPRICE, " | |||
| lt_adiscabstable | TYPE STANDARD TABLE OF BAPI_INSTLN_DISC, " | |||
| lt_adiscpertable | TYPE STANDARD TABLE OF BAPI_INSTLN_DISC, " | |||
| lt_ddiscnttable | TYPE STANDARD TABLE OF BAPI_INSTLN_DISC, " | |||
| lt_pdiscnttable | TYPE STANDARD TABLE OF BAPI_INSTLN_DISC, " | |||
| lt_qdiscnttable | TYPE STANDARD TABLE OF BAPI_INSTLN_DISC, " | |||
| lv_iv_prodid | TYPE EPD_PRODID, " | |||
| lt_quanttable | TYPE STANDARD TABLE OF BAPI_INSTLN_QUANT, " | |||
| lt_demandtable | TYPE STANDARD TABLE OF BAPI_INSTLN_DEMAND, " | |||
| lv_iv_product_guid | TYPE COMT_PRODUCT_GUID, " | |||
| lt_tquanttable | TYPE STANDARD TABLE OF BAPI_INSTLN_TQUANT, " | |||
| lt_factortable | TYPE STANDARD TABLE OF BAPI_INSTLN_FACTOR, " | |||
| lt_flagtable | TYPE STANDARD TABLE OF BAPI_INSTLN_FLAG, " | |||
| lt_integertable | TYPE STANDARD TABLE OF BAPI_INSTLN_INTEGER, " | |||
| lt_ratetypetable | TYPE STANDARD TABLE OF BAPI_INSTLN_RATETYPE, " | |||
| lt_qpricetable | TYPE STANDARD TABLE OF BAPI_INSTLN_QPRICE. " |
|   CALL FUNCTION 'ISU_FACTS_IL_READ_MDT' "Determines Installation Facts for Product / Master Data Template |
| EXPORTING | ||
| IV_PRODUCT | = lv_iv_product | |
| IV_PRODID | = lv_iv_prodid | |
| IV_PRODUCT_GUID | = lv_iv_product_guid | |
| TABLES | ||
| AMOUNTTABLE | = lt_amounttable | |
| USERDEFTABLE | = lt_userdeftable | |
| TPRICETABLE | = lt_tpricetable | |
| SPRICETABLE | = lt_spricetable | |
| LPRICETABLE | = lt_lpricetable | |
| ADISCABSTABLE | = lt_adiscabstable | |
| ADISCPERTABLE | = lt_adiscpertable | |
| DDISCNTTABLE | = lt_ddiscnttable | |
| PDISCNTTABLE | = lt_pdiscnttable | |
| QDISCNTTABLE | = lt_qdiscnttable | |
| QUANTTABLE | = lt_quanttable | |
| DEMANDTABLE | = lt_demandtable | |
| TQUANTTABLE | = lt_tquanttable | |
| FACTORTABLE | = lt_factortable | |
| FLAGTABLE | = lt_flagtable | |
| INTEGERTABLE | = lt_integertable | |
| RATETYPETABLE | = lt_ratetypetable | |
| QPRICETABLE | = lt_qpricetable | |
| EXCEPTIONS | ||
| NO_PRODID = 1 | ||
| . " ISU_FACTS_IL_READ_MDT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_FACTS_IL_READ_MDT
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