INSTANCE_GET SAP Method Returns an instance of the implementing catalog class
Below is documentation, parameters and attributes of ABAP Method INSTANCE_GET within SAP class IF_EX_BADI_ISA_REPL_CAT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_ISA_REPL_CAT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method INSTANCE_GET can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INSTANCE_GET
.| Name | Type | Data Type | Description | Default Value |
| CATALOG_ID | Importing | TYPE WMINR | Product catalog number | |
| COUNTRY | Importing | TYPE LAND1 | Country for price formatting | |
| IPC_PRICING | Importing | TYPE XFELD | IPC pricing? | |
| LIM_ID | Importing | TYPE DAPPL | WS application for large images | |
| SIM_ID | Importing | TYPE DAPPL | WS application for small images | |
| VARIANT_ID | Importing | TYPE WMVAR | Product catalog variant | |
| WITH_CONFIG | Importing | TYPE XFELD | Toggles if configuration/variant flags are read | |
| WITH_IMAGES | Importing | TYPE XFELD | Toggles if images are read | |
| WITH_LONGTEXT | Importing | TYPE XFELD | Toggles if longtexts are read | |
| WITH_PRICES | Importing | TYPE XFELD | Toggles if prices are read | |
| REFERENCE | Exporting | TYPE REF TO IF_ISA_REPLICATION_CATALOG | ISA replication: Interface for catalog class |
Exceptions of Method INSTANCE_GET
This method does not have any exceptionsExample ABAP coding
DATA: lv_CATALOG_ID TYPE WMINR,
lv_COUNTRY TYPE LAND1,
lv_IPC_PRICING TYPE XFELD,
lv_LIM_ID TYPE DAPPL,
lv_REFERENCE TYPE IF_ISA_REPLICATION_CATALOG,
lv_SIM_ID TYPE DAPPL,
lv_VARIANT_ID TYPE WMVAR,
lv_WITH_CONFIG TYPE XFELD,
lv_WITH_IMAGES TYPE XFELD,
lv_WITH_LONGTEXT TYPE XFELD,
lv_WITH_PRICES TYPE XFELD,
lv_other TYPE c.
CALL METHOD IF_EX_BADI_ISA_REPL_CAT=>INSTANCE_GET(
EXPORTING
CATALOG_ID = lv_CATALOG_ID
COUNTRY = lv_COUNTRY
IPC_PRICING = lv_IPC_PRICING
LIM_ID = lv_LIM_ID
SIM_ID = lv_SIM_ID
VARIANT_ID = lv_VARIANT_ID
WITH_CONFIG = lv_WITH_CONFIG
WITH_IMAGES = lv_WITH_IMAGES
WITH_LONGTEXT = lv_WITH_LONGTEXT
WITH_PRICES = lv_WITH_PRICES
IMPORTING
REFERENCE = lv_REFERENCE ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects