SAP ISU_MSAM10_ORDER_GETDETAIL Function Module for GetDetail for IS-U Order
ISU_MSAM10_ORDER_GETDETAIL is a standard isu msam10 order getdetail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for GetDetail for IS-U Order 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 msam10 order getdetail FM, simply by entering the name ISU_MSAM10_ORDER_GETDETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWM_MSAM_ORDER
Program Name: SAPLEEWM_MSAM_ORDER
Main Program: SAPLEEWM_MSAM_ORDER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_MSAM10_ORDER_GETDETAIL 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_MSAM10_ORDER_GETDETAIL'"GetDetail for IS-U Order.
EXPORTING
IV_ORDERID = "Order Number
CHANGING
CS_ORDER = "
* CT_OPENITEM = "MSAM-ISU: Open Items for Contract Account
* CT_DISCDOC = "MSM-IS Disconnection Document Data
* CT_DISCACT = "MSAM-ISU: Disconnection Activity Data
* CT_MRLIMITS = "MSAM-ISU: Min./Max. Limits for Validations
* CT_CONNOBJ_ML = "MSAM-ISU: Connection Object Data for ML
* CT_DEVLOC_ML = "MSAM-ISU: Device Location Data -ML
* CT_MRNOTE_ML = "MSAM: Meter Reading Note Data
* CT_PREM_ML = "MSAM-ISU: Premise Data
* CT_OPENITEM_ML = "MSAM-ISU: Open Items for Contract Account
* CT_CUST_EXTENSION = "Table for customer enhancement
* CT_CONNOBJ = "MSAM-ISU: Connection Object Data
* CT_CUST_EXTENSION_ML = "Multi langauge Customer Enahancement fields
* CT_WSAP_EXTENSION = "Table for SAP extension
* CT_WSAP_EXTENSION_ML = "Table type for SAP Enhancement structure for multilanguage
* CT_RETURN = "Return Parameter
* CT_DEVLOC = "MSAM-ISU: Device Location Data
* CT_MRNOTE = "MSAM-ISU: Meter Reading Note Data
* CT_DEVICE = "MSAM-ISU:Device Data
* CT_MREAD = "MSAM-ISU: Meter Reading Data for Registers
* CT_PREM = "MSAM-ISU: Premise Data
* CT_INST = "MSAM-ISU: Installation Data
* CT_ACCOUNT = "MSAM-ISU: Contract Account Data
IMPORTING Parameters details for ISU_MSAM10_ORDER_GETDETAIL
IV_ORDERID - Order Number
Data type: MSAM10_ORDER_HEADER-ORDERIDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISU_MSAM10_ORDER_GETDETAIL
CS_ORDER -
Data type: MSAM10_ORDER_HEADEROptional: No
Call by Reference: Yes
CT_OPENITEM - MSAM-ISU: Open Items for Contract Account
Data type: MSAM10_OPEN_ITEM_TOptional: Yes
Call by Reference: Yes
CT_DISCDOC - MSM-IS Disconnection Document Data
Data type: MSAM10_DISC_DOCUMENT_TOptional: Yes
Call by Reference: Yes
CT_DISCACT - MSAM-ISU: Disconnection Activity Data
Data type: MSAM10_DISC_ACT_TOptional: Yes
Call by Reference: Yes
CT_MRLIMITS - MSAM-ISU: Min./Max. Limits for Validations
Data type: MSAM10_METER_READING_LIMITS_TOptional: Yes
Call by Reference: Yes
CT_CONNOBJ_ML - MSAM-ISU: Connection Object Data for ML
Data type: MSAM10_ML_CONNECTION_OBJECT_TOptional: Yes
Call by Reference: Yes
CT_DEVLOC_ML - MSAM-ISU: Device Location Data -ML
Data type: MSAM10_ML_DEVICE_LOCATION_TOptional: Yes
Call by Reference: Yes
CT_MRNOTE_ML - MSAM: Meter Reading Note Data
Data type: MSAM10_ML_METER_READING_NOTE_TOptional: Yes
Call by Reference: Yes
CT_PREM_ML - MSAM-ISU: Premise Data
Data type: MSAM10_ML_PREMISE_TOptional: Yes
Call by Reference: Yes
CT_OPENITEM_ML - MSAM-ISU: Open Items for Contract Account
Data type: MSAM10_ML_OPEN_ITEM_TOptional: Yes
Call by Reference: Yes
CT_CUST_EXTENSION - Table for customer enhancement
Data type: MSAM_MO_CUSTOMER_ENHANCEMENT_TOptional: Yes
Call by Reference: Yes
CT_CONNOBJ - MSAM-ISU: Connection Object Data
Data type: MSAM10_CONNECTION_OBJECT_TOptional: Yes
Call by Reference: Yes
CT_CUST_EXTENSION_ML - Multi langauge Customer Enahancement fields
Data type: MSAM_MO_ML_CUSTOMER_ENHANCE_TOptional: Yes
Call by Reference: Yes
CT_WSAP_EXTENSION - Table for SAP extension
Data type: MSAM_MO_SAP_ENHANCEMENT_TOptional: Yes
Call by Reference: Yes
CT_WSAP_EXTENSION_ML - Table type for SAP Enhancement structure for multilanguage
Data type: MSAM_MO_ML_SAP_ENHANCEMENT_TOptional: Yes
Call by Reference: Yes
CT_RETURN - Return Parameter
Data type: ALM_ME_BAPIRET2_TOptional: Yes
Call by Reference: Yes
CT_DEVLOC - MSAM-ISU: Device Location Data
Data type: MSAM10_DEVICE_LOCATION_TOptional: Yes
Call by Reference: Yes
CT_MRNOTE - MSAM-ISU: Meter Reading Note Data
Data type: MSAM10_METER_READING_NOTE_TOptional: Yes
Call by Reference: Yes
CT_DEVICE - MSAM-ISU:Device Data
Data type: MSAM10_DEVICE_TOptional: Yes
Call by Reference: Yes
CT_MREAD - MSAM-ISU: Meter Reading Data for Registers
Data type: MSAM10_METER_READING_TOptional: Yes
Call by Reference: Yes
CT_PREM - MSAM-ISU: Premise Data
Data type: MSAM10_PREMISE_TOptional: Yes
Call by Reference: Yes
CT_INST - MSAM-ISU: Installation Data
Data type: MSAM10_INSTALLATION_TOptional: Yes
Call by Reference: Yes
CT_ACCOUNT - MSAM-ISU: Contract Account Data
Data type: MSAM10_ACCOUNT_TOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISU_MSAM10_ORDER_GETDETAIL 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_cs_order | TYPE MSAM10_ORDER_HEADER, " | |||
| lv_iv_orderid | TYPE MSAM10_ORDER_HEADER-ORDERID, " | |||
| lv_ct_openitem | TYPE MSAM10_OPEN_ITEM_T, " | |||
| lv_ct_discdoc | TYPE MSAM10_DISC_DOCUMENT_T, " | |||
| lv_ct_discact | TYPE MSAM10_DISC_ACT_T, " | |||
| lv_ct_mrlimits | TYPE MSAM10_METER_READING_LIMITS_T, " | |||
| lv_ct_connobj_ml | TYPE MSAM10_ML_CONNECTION_OBJECT_T, " | |||
| lv_ct_devloc_ml | TYPE MSAM10_ML_DEVICE_LOCATION_T, " | |||
| lv_ct_mrnote_ml | TYPE MSAM10_ML_METER_READING_NOTE_T, " | |||
| lv_ct_prem_ml | TYPE MSAM10_ML_PREMISE_T, " | |||
| lv_ct_openitem_ml | TYPE MSAM10_ML_OPEN_ITEM_T, " | |||
| lv_ct_cust_extension | TYPE MSAM_MO_CUSTOMER_ENHANCEMENT_T, " | |||
| lv_ct_connobj | TYPE MSAM10_CONNECTION_OBJECT_T, " | |||
| lv_ct_cust_extension_ml | TYPE MSAM_MO_ML_CUSTOMER_ENHANCE_T, " | |||
| lv_ct_wsap_extension | TYPE MSAM_MO_SAP_ENHANCEMENT_T, " | |||
| lv_ct_wsap_extension_ml | TYPE MSAM_MO_ML_SAP_ENHANCEMENT_T, " | |||
| lv_ct_return | TYPE ALM_ME_BAPIRET2_T, " | |||
| lv_ct_devloc | TYPE MSAM10_DEVICE_LOCATION_T, " | |||
| lv_ct_mrnote | TYPE MSAM10_METER_READING_NOTE_T, " | |||
| lv_ct_device | TYPE MSAM10_DEVICE_T, " | |||
| lv_ct_mread | TYPE MSAM10_METER_READING_T, " | |||
| lv_ct_prem | TYPE MSAM10_PREMISE_T, " | |||
| lv_ct_inst | TYPE MSAM10_INSTALLATION_T, " | |||
| lv_ct_account | TYPE MSAM10_ACCOUNT_T. " |
|   CALL FUNCTION 'ISU_MSAM10_ORDER_GETDETAIL' "GetDetail for IS-U Order |
| EXPORTING | ||
| IV_ORDERID | = lv_iv_orderid | |
| CHANGING | ||
| CS_ORDER | = lv_cs_order | |
| CT_OPENITEM | = lv_ct_openitem | |
| CT_DISCDOC | = lv_ct_discdoc | |
| CT_DISCACT | = lv_ct_discact | |
| CT_MRLIMITS | = lv_ct_mrlimits | |
| CT_CONNOBJ_ML | = lv_ct_connobj_ml | |
| CT_DEVLOC_ML | = lv_ct_devloc_ml | |
| CT_MRNOTE_ML | = lv_ct_mrnote_ml | |
| CT_PREM_ML | = lv_ct_prem_ml | |
| CT_OPENITEM_ML | = lv_ct_openitem_ml | |
| CT_CUST_EXTENSION | = lv_ct_cust_extension | |
| CT_CONNOBJ | = lv_ct_connobj | |
| CT_CUST_EXTENSION_ML | = lv_ct_cust_extension_ml | |
| CT_WSAP_EXTENSION | = lv_ct_wsap_extension | |
| CT_WSAP_EXTENSION_ML | = lv_ct_wsap_extension_ml | |
| CT_RETURN | = lv_ct_return | |
| CT_DEVLOC | = lv_ct_devloc | |
| CT_MRNOTE | = lv_ct_mrnote | |
| CT_DEVICE | = lv_ct_device | |
| CT_MREAD | = lv_ct_mread | |
| CT_PREM | = lv_ct_prem | |
| CT_INST | = lv_ct_inst | |
| CT_ACCOUNT | = lv_ct_account | |
| . " ISU_MSAM10_ORDER_GETDETAIL | ||
ABAP code using 7.40 inline data declarations to call FM ISU_MSAM10_ORDER_GETDETAIL
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 ORDERID FROM MSAM10_ORDER_HEADER INTO @DATA(ld_iv_orderid). | ||||
Search for further information about these or an SAP related objects