SAP COM_SCE_CONFIGURE Function Module for NOTRANSL: startet eine Konfiguration in einem HTML-Control (Kein Einkauf S
COM_SCE_CONFIGURE is a standard com sce configure 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: startet eine Konfiguration in einem HTML-Control (Kein Einkauf 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 com sce configure FM, simply by entering the name COM_SCE_CONFIGURE into the relevant SAP transaction such as SE37 or SE38.
Function Group: COM_SCE_UI
Program Name: SAPLCOM_SCE_UI
Main Program: SAPLCOM_SCE_UI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function COM_SCE_CONFIGURE 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 'COM_SCE_CONFIGURE'"NOTRANSL: startet eine Konfiguration in einem HTML-Control (Kein Einkauf S.
EXPORTING
IV_PRODUCT_ID = "Product ID
* IV_SALES_QUANTITY_VALUE = "Quantity
* IV_DEPARTURE_COUNTRY = "Country Key
* IV_PRICING_DATE = "Condition Pricing Date
* IV_PRICING_PROCEDURE = "Pricing Procedure for Pricing
* IV_DISPLAY = 'F' "Boolean (T=True, F=False)
* IV_ENABLE_VARIANT_SEARCH = 'F' "Boolean (T=True, F=False)
* IV_ENABLE_AUTOMATIC_SEARCH = 'F' "Boolean (T=True, F=False)
* IV_ASK_BEFORE_AUTOREPLACE = 'F' "Boolean (T=True, F=False)
* IV_NO_IPC_PRICING = 'T' "Boolean (T=True, F=False)
* IV_KB_DATE = "Date for Determining the Relevant Knowledge Base
* IV_GUID = "UUID formats
* IT_CFG = "Configuration Header
* IT_PRT = "Parts
* IT_INS = "Instances
* IT_VAL = "Valuations
* IT_VK = "Variant Key
* IT_CONTEXT = "Context for Calling Configuration (SCE)
* IT_PROPERTIES = "Context for Calling Configuration (SCE)
* IV_DOCUMENT_CURRENCY_UNIT = "Currency
* IV_LOCAL_CURRENCY_UNIT = "Currency
* IV_LANGUAGE = "Language Key of Description
* IV_COUNTRY = "Country Key
* IV_SALES_ORGANISATION = "Sales Organization
* IV_DISTRIBUTION_CHANNEL = "Distribution Channel
* IV_SALES_QUANTITY_UNIT = "Sales Unit
IMPORTING Parameters details for COM_SCE_CONFIGURE
IV_PRODUCT_ID - Product ID
Data type: COMT_SCE_PRODUCT_IDOptional: No
Call by Reference: Yes
IV_SALES_QUANTITY_VALUE - Quantity
Data type: COMT_SCE_SALES_QUANTITY_VALUEOptional: Yes
Call by Reference: Yes
IV_DEPARTURE_COUNTRY - Country Key
Data type: COMT_COUNTRYOptional: Yes
Call by Reference: Yes
IV_PRICING_DATE - Condition Pricing Date
Data type: COMT_SCE_PRICING_DATEOptional: Yes
Call by Reference: Yes
IV_PRICING_PROCEDURE - Pricing Procedure for Pricing
Data type: COMT_SCE_PRICING_PROCEDUREOptional: Yes
Call by Reference: Yes
IV_DISPLAY - Boolean (T=True, F=False)
Data type: COMT_SCE_BOOLEANDefault: 'F'
Optional: Yes
Call by Reference: Yes
IV_ENABLE_VARIANT_SEARCH - Boolean (T=True, F=False)
Data type: COMT_SCE_BOOLEANDefault: 'F'
Optional: Yes
Call by Reference: Yes
IV_ENABLE_AUTOMATIC_SEARCH - Boolean (T=True, F=False)
Data type: COMT_SCE_BOOLEANDefault: 'F'
Optional: Yes
Call by Reference: Yes
IV_ASK_BEFORE_AUTOREPLACE - Boolean (T=True, F=False)
Data type: COMT_SCE_BOOLEANDefault: 'F'
Optional: Yes
Call by Reference: Yes
IV_NO_IPC_PRICING - Boolean (T=True, F=False)
Data type: COMT_SCE_BOOLEANDefault: 'T'
Optional: Yes
Call by Reference: Yes
IV_KB_DATE - Date for Determining the Relevant Knowledge Base
Data type: COMT_SCE_KB_DATEOptional: Yes
Call by Reference: Yes
IV_GUID - UUID formats
Data type: COMT_SCE_GUIDOptional: Yes
Call by Reference: Yes
IT_CFG - Configuration Header
Data type: COMT_CUCFG_TABOptional: Yes
Call by Reference: Yes
IT_PRT - Parts
Data type: COMT_CUPRT_TABOptional: Yes
Call by Reference: Yes
IT_INS - Instances
Data type: COMT_CUINS_TABOptional: Yes
Call by Reference: Yes
IT_VAL - Valuations
Data type: COMT_CUVAL_TABOptional: Yes
Call by Reference: Yes
IT_VK - Variant Key
Data type: COMT_CUVK_TABOptional: Yes
Call by Reference: Yes
IT_CONTEXT - Context for Calling Configuration (SCE)
Data type: COMT_SCE_CONFIG_CONTEXT_TABOptional: Yes
Call by Reference: Yes
IT_PROPERTIES - Context for Calling Configuration (SCE)
Data type: COMT_SCE_CONFIG_CONTEXT_TABOptional: Yes
Call by Reference: Yes
IV_DOCUMENT_CURRENCY_UNIT - Currency
Data type: COMT_SCE_CURRENCY_UNITOptional: Yes
Call by Reference: Yes
IV_LOCAL_CURRENCY_UNIT - Currency
Data type: COMT_SCE_CURRENCY_UNITOptional: Yes
Call by Reference: Yes
IV_LANGUAGE - Language Key of Description
Data type: COMT_SCE_LANGUAGEOptional: Yes
Call by Reference: Yes
IV_COUNTRY - Country Key
Data type: COMT_COUNTRYOptional: Yes
Call by Reference: Yes
IV_SALES_ORGANISATION - Sales Organization
Data type: COMT_SCE_SALES_ORGANISATIONOptional: Yes
Call by Reference: Yes
IV_DISTRIBUTION_CHANNEL - Distribution Channel
Data type: COMT_SCE_DISTRIBUTION_CHANNELOptional: Yes
Call by Reference: Yes
IV_SALES_QUANTITY_UNIT - Sales Unit
Data type: COMT_SCE_SALES_QUANTITY_UNITOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for COM_SCE_CONFIGURE 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_iv_product_id | TYPE COMT_SCE_PRODUCT_ID, " | |||
| lv_iv_sales_quantity_value | TYPE COMT_SCE_SALES_QUANTITY_VALUE, " | |||
| lv_iv_departure_country | TYPE COMT_COUNTRY, " | |||
| lv_iv_pricing_date | TYPE COMT_SCE_PRICING_DATE, " | |||
| lv_iv_pricing_procedure | TYPE COMT_SCE_PRICING_PROCEDURE, " | |||
| lv_iv_display | TYPE COMT_SCE_BOOLEAN, " 'F' | |||
| lv_iv_enable_variant_search | TYPE COMT_SCE_BOOLEAN, " 'F' | |||
| lv_iv_enable_automatic_search | TYPE COMT_SCE_BOOLEAN, " 'F' | |||
| lv_iv_ask_before_autoreplace | TYPE COMT_SCE_BOOLEAN, " 'F' | |||
| lv_iv_no_ipc_pricing | TYPE COMT_SCE_BOOLEAN, " 'T' | |||
| lv_iv_kb_date | TYPE COMT_SCE_KB_DATE, " | |||
| lv_iv_guid | TYPE COMT_SCE_GUID, " | |||
| lv_it_cfg | TYPE COMT_CUCFG_TAB, " | |||
| lv_it_prt | TYPE COMT_CUPRT_TAB, " | |||
| lv_it_ins | TYPE COMT_CUINS_TAB, " | |||
| lv_it_val | TYPE COMT_CUVAL_TAB, " | |||
| lv_it_vk | TYPE COMT_CUVK_TAB, " | |||
| lv_it_context | TYPE COMT_SCE_CONFIG_CONTEXT_TAB, " | |||
| lv_it_properties | TYPE COMT_SCE_CONFIG_CONTEXT_TAB, " | |||
| lv_iv_document_currency_unit | TYPE COMT_SCE_CURRENCY_UNIT, " | |||
| lv_iv_local_currency_unit | TYPE COMT_SCE_CURRENCY_UNIT, " | |||
| lv_iv_language | TYPE COMT_SCE_LANGUAGE, " | |||
| lv_iv_country | TYPE COMT_COUNTRY, " | |||
| lv_iv_sales_organisation | TYPE COMT_SCE_SALES_ORGANISATION, " | |||
| lv_iv_distribution_channel | TYPE COMT_SCE_DISTRIBUTION_CHANNEL, " | |||
| lv_iv_sales_quantity_unit | TYPE COMT_SCE_SALES_QUANTITY_UNIT. " |
|   CALL FUNCTION 'COM_SCE_CONFIGURE' "NOTRANSL: startet eine Konfiguration in einem HTML-Control (Kein Einkauf S |
| EXPORTING | ||
| IV_PRODUCT_ID | = lv_iv_product_id | |
| IV_SALES_QUANTITY_VALUE | = lv_iv_sales_quantity_value | |
| IV_DEPARTURE_COUNTRY | = lv_iv_departure_country | |
| IV_PRICING_DATE | = lv_iv_pricing_date | |
| IV_PRICING_PROCEDURE | = lv_iv_pricing_procedure | |
| IV_DISPLAY | = lv_iv_display | |
| IV_ENABLE_VARIANT_SEARCH | = lv_iv_enable_variant_search | |
| IV_ENABLE_AUTOMATIC_SEARCH | = lv_iv_enable_automatic_search | |
| IV_ASK_BEFORE_AUTOREPLACE | = lv_iv_ask_before_autoreplace | |
| IV_NO_IPC_PRICING | = lv_iv_no_ipc_pricing | |
| IV_KB_DATE | = lv_iv_kb_date | |
| IV_GUID | = lv_iv_guid | |
| IT_CFG | = lv_it_cfg | |
| IT_PRT | = lv_it_prt | |
| IT_INS | = lv_it_ins | |
| IT_VAL | = lv_it_val | |
| IT_VK | = lv_it_vk | |
| IT_CONTEXT | = lv_it_context | |
| IT_PROPERTIES | = lv_it_properties | |
| IV_DOCUMENT_CURRENCY_UNIT | = lv_iv_document_currency_unit | |
| IV_LOCAL_CURRENCY_UNIT | = lv_iv_local_currency_unit | |
| IV_LANGUAGE | = lv_iv_language | |
| IV_COUNTRY | = lv_iv_country | |
| IV_SALES_ORGANISATION | = lv_iv_sales_organisation | |
| IV_DISTRIBUTION_CHANNEL | = lv_iv_distribution_channel | |
| IV_SALES_QUANTITY_UNIT | = lv_iv_sales_quantity_unit | |
| . " COM_SCE_CONFIGURE | ||
ABAP code using 7.40 inline data declarations to call FM COM_SCE_CONFIGURE
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_iv_display) | = 'F'. | |||
| DATA(ld_iv_enable_variant_search) | = 'F'. | |||
| DATA(ld_iv_enable_automatic_search) | = 'F'. | |||
| DATA(ld_iv_ask_before_autoreplace) | = 'F'. | |||
| DATA(ld_iv_no_ipc_pricing) | = 'T'. | |||
Search for further information about these or an SAP related objects