SAP ISU_DB_READ_AMI_CUST Function Module for INTERNAL: Read AMI Customizing
ISU_DB_READ_AMI_CUST is a standard isu db read ami cust SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Read AMI Customizing 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 db read ami cust FM, simply by entering the name ISU_DB_READ_AMI_CUST into the relevant SAP transaction such as SE37 or SE38.
Function Group: EE_AMI_TD_DB
Program Name: SAPLEE_AMI_TD_DB
Main Program: SAPLEE_AMI_TD_DB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DB_READ_AMI_CUST 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_DB_READ_AMI_CUST'"INTERNAL: Read AMI Customizing.
EXPORTING
* X_ACTUAL = ' ' "Indicator
* X_SPRAS = SY-LANGU "Language Key of Current Text Environment
IMPORTING
Y_TEAMI_CAPA = "Table Type for Table TEAMI_CAPA
Y_TEAMI_AMSDGRP = "Table Type for Table TEAMI_AMSDGRP
Y_TEAMI_AMSDGRPT = "Table Type for Table TEAMI_AMSDGRPT
Y_TEAMI_DGRPAMS = "Table Type for Table TEAMI_DGRPAMS
Y_TEAMI_AMCGCAPGR = "Table Type for Table TEAMI_AMCGCAPGR
Y_TEAMI_AMCGCAPGRT = "Table Type for Table TAB_TEAMI_AMCGCAPGR
Y_TEAMI_AMCGCAP = "Table Type for Table TEAMI_AMCGCAP
Y_TEAMI_AMCGDGRP = "Table Type for Table TEAMI_AMCGDGRP
Y_TEAMI_AMCGDGRPT = "Table Type for Table TEAMI_AMCGDGRPT
Y_TEAMI_AMCG = "Table Type for Table TEAMI_AMCG
Y_TEAMI_AMICAPACTGRP = "
Y_TEAMI_CAPAT = "Table Type for Table TEAMI_CAPAT
Y_TEAMI_AMICAPACTGRPT = "
Y_TEAMI_AMICAPACTGRPC = "
Y_TEAMI_AMSCAPGRP = "Table Type for Table TEAMI_AMSCAPGRP
Y_TEAMI_AMSCAPGRPT = "Table Type for Table TEAMI_AMSCAPGRPT
Y_TEAMI_AMSCAP = "Table Type for Table TEAMI_AMSCAP
Y_TEAMI_MDUS = "Table Type for Table TEAMI_MDUS
Y_TEAMI_MDUST = "Table Type for Table TEAMI_MDUST
Y_TEAMI_AMS = "Table Type for Table TEAMI_AMS
Y_TEAMI_AMST = "Table Type for Table TEAMI_AMST
IMPORTING Parameters details for ISU_DB_READ_AMI_CUST
X_ACTUAL - Indicator
Data type: KENNZXDefault: SPACE
Optional: Yes
Call by Reference: Yes
X_SPRAS - Language Key of Current Text Environment
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_DB_READ_AMI_CUST
Y_TEAMI_CAPA - Table Type for Table TEAMI_CAPA
Data type: TAB_TEAMI_CAPAOptional: No
Call by Reference: Yes
Y_TEAMI_AMSDGRP - Table Type for Table TEAMI_AMSDGRP
Data type: TAB_TEAMI_AMSDGRPOptional: No
Call by Reference: Yes
Y_TEAMI_AMSDGRPT - Table Type for Table TEAMI_AMSDGRPT
Data type: TAB_TEAMI_AMSDGRPTOptional: No
Call by Reference: Yes
Y_TEAMI_DGRPAMS - Table Type for Table TEAMI_DGRPAMS
Data type: TAB_TEAMI_DGRPAMSOptional: No
Call by Reference: Yes
Y_TEAMI_AMCGCAPGR - Table Type for Table TEAMI_AMCGCAPGR
Data type: TAB_TEAMI_AMCGCAPGROptional: No
Call by Reference: Yes
Y_TEAMI_AMCGCAPGRT - Table Type for Table TAB_TEAMI_AMCGCAPGR
Data type: TAB_TEAMI_AMCGCAPGRTOptional: No
Call by Reference: Yes
Y_TEAMI_AMCGCAP - Table Type for Table TEAMI_AMCGCAP
Data type: TAB_TEAMI_AMCGCAPOptional: No
Call by Reference: Yes
Y_TEAMI_AMCGDGRP - Table Type for Table TEAMI_AMCGDGRP
Data type: TAB_TEAMI_AMCGDGRPOptional: No
Call by Reference: Yes
Y_TEAMI_AMCGDGRPT - Table Type for Table TEAMI_AMCGDGRPT
Data type: TAB_TEAMI_AMCGDGRPTOptional: No
Call by Reference: Yes
Y_TEAMI_AMCG - Table Type for Table TEAMI_AMCG
Data type: TAB_TEAMI_AMCGOptional: No
Call by Reference: Yes
Y_TEAMI_AMICAPACTGRP -
Data type: TAB_TEAMI_AMICAGOptional: No
Call by Reference: Yes
Y_TEAMI_CAPAT - Table Type for Table TEAMI_CAPAT
Data type: TAB_TEAMI_CAPATOptional: No
Call by Reference: Yes
Y_TEAMI_AMICAPACTGRPT -
Data type: TAB_TEAMI_AMICAGTOptional: No
Call by Reference: Yes
Y_TEAMI_AMICAPACTGRPC -
Data type: TAB_TEAMI_AMICAGCOptional: No
Call by Reference: Yes
Y_TEAMI_AMSCAPGRP - Table Type for Table TEAMI_AMSCAPGRP
Data type: TAB_TEAMI_AMSCAPGRPOptional: No
Call by Reference: Yes
Y_TEAMI_AMSCAPGRPT - Table Type for Table TEAMI_AMSCAPGRPT
Data type: TAB_TEAMI_AMSCAPGRPTOptional: No
Call by Reference: Yes
Y_TEAMI_AMSCAP - Table Type for Table TEAMI_AMSCAP
Data type: TAB_TEAMI_AMSCAPOptional: No
Call by Reference: Yes
Y_TEAMI_MDUS - Table Type for Table TEAMI_MDUS
Data type: TAB_TEAMI_MDUSOptional: No
Call by Reference: Yes
Y_TEAMI_MDUST - Table Type for Table TEAMI_MDUST
Data type: TAB_TEAMI_MDUSTOptional: No
Call by Reference: Yes
Y_TEAMI_AMS - Table Type for Table TEAMI_AMS
Data type: TAB_TEAMI_AMSOptional: No
Call by Reference: Yes
Y_TEAMI_AMST - Table Type for Table TEAMI_AMST
Data type: TAB_TEAMI_AMSTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_DB_READ_AMI_CUST 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_x_actual | TYPE KENNZX, " SPACE | |||
| lv_y_teami_capa | TYPE TAB_TEAMI_CAPA, " | |||
| lv_y_teami_amsdgrp | TYPE TAB_TEAMI_AMSDGRP, " | |||
| lv_y_teami_amsdgrpt | TYPE TAB_TEAMI_AMSDGRPT, " | |||
| lv_y_teami_dgrpams | TYPE TAB_TEAMI_DGRPAMS, " | |||
| lv_y_teami_amcgcapgr | TYPE TAB_TEAMI_AMCGCAPGR, " | |||
| lv_y_teami_amcgcapgrt | TYPE TAB_TEAMI_AMCGCAPGRT, " | |||
| lv_y_teami_amcgcap | TYPE TAB_TEAMI_AMCGCAP, " | |||
| lv_y_teami_amcgdgrp | TYPE TAB_TEAMI_AMCGDGRP, " | |||
| lv_y_teami_amcgdgrpt | TYPE TAB_TEAMI_AMCGDGRPT, " | |||
| lv_y_teami_amcg | TYPE TAB_TEAMI_AMCG, " | |||
| lv_y_teami_amicapactgrp | TYPE TAB_TEAMI_AMICAG, " | |||
| lv_x_spras | TYPE SYLANGU, " SY-LANGU | |||
| lv_y_teami_capat | TYPE TAB_TEAMI_CAPAT, " | |||
| lv_y_teami_amicapactgrpt | TYPE TAB_TEAMI_AMICAGT, " | |||
| lv_y_teami_amicapactgrpc | TYPE TAB_TEAMI_AMICAGC, " | |||
| lv_y_teami_amscapgrp | TYPE TAB_TEAMI_AMSCAPGRP, " | |||
| lv_y_teami_amscapgrpt | TYPE TAB_TEAMI_AMSCAPGRPT, " | |||
| lv_y_teami_amscap | TYPE TAB_TEAMI_AMSCAP, " | |||
| lv_y_teami_mdus | TYPE TAB_TEAMI_MDUS, " | |||
| lv_y_teami_mdust | TYPE TAB_TEAMI_MDUST, " | |||
| lv_y_teami_ams | TYPE TAB_TEAMI_AMS, " | |||
| lv_y_teami_amst | TYPE TAB_TEAMI_AMST. " |
|   CALL FUNCTION 'ISU_DB_READ_AMI_CUST' "INTERNAL: Read AMI Customizing |
| EXPORTING | ||
| X_ACTUAL | = lv_x_actual | |
| X_SPRAS | = lv_x_spras | |
| IMPORTING | ||
| Y_TEAMI_CAPA | = lv_y_teami_capa | |
| Y_TEAMI_AMSDGRP | = lv_y_teami_amsdgrp | |
| Y_TEAMI_AMSDGRPT | = lv_y_teami_amsdgrpt | |
| Y_TEAMI_DGRPAMS | = lv_y_teami_dgrpams | |
| Y_TEAMI_AMCGCAPGR | = lv_y_teami_amcgcapgr | |
| Y_TEAMI_AMCGCAPGRT | = lv_y_teami_amcgcapgrt | |
| Y_TEAMI_AMCGCAP | = lv_y_teami_amcgcap | |
| Y_TEAMI_AMCGDGRP | = lv_y_teami_amcgdgrp | |
| Y_TEAMI_AMCGDGRPT | = lv_y_teami_amcgdgrpt | |
| Y_TEAMI_AMCG | = lv_y_teami_amcg | |
| Y_TEAMI_AMICAPACTGRP | = lv_y_teami_amicapactgrp | |
| Y_TEAMI_CAPAT | = lv_y_teami_capat | |
| Y_TEAMI_AMICAPACTGRPT | = lv_y_teami_amicapactgrpt | |
| Y_TEAMI_AMICAPACTGRPC | = lv_y_teami_amicapactgrpc | |
| Y_TEAMI_AMSCAPGRP | = lv_y_teami_amscapgrp | |
| Y_TEAMI_AMSCAPGRPT | = lv_y_teami_amscapgrpt | |
| Y_TEAMI_AMSCAP | = lv_y_teami_amscap | |
| Y_TEAMI_MDUS | = lv_y_teami_mdus | |
| Y_TEAMI_MDUST | = lv_y_teami_mdust | |
| Y_TEAMI_AMS | = lv_y_teami_ams | |
| Y_TEAMI_AMST | = lv_y_teami_amst | |
| . " ISU_DB_READ_AMI_CUST | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DB_READ_AMI_CUST
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.| DATA(ld_x_actual) | = ' '. | |||
| DATA(ld_x_spras) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects