READ_ZONE_DATA SAP Method Access Zone data
Below is documentation, parameters and attributes of ABAP Method READ_ZONE_DATA within SAP class /SCMTMS/CL_BO_TZN_ADAPTER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_BO_TZN_ADAPTER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method READ_ZONE_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_ZONE_DATA
.| Name | Type | Data Type | Description | Default Value |
| IT_ZONE_GUIDS | Importing | TYPE /SCMB/TT_GUID | Quantity of GUIDs for SCM Master Data Objects | |
| IV_WITH_DESCRIPTION | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_WITH_LOCATION | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_WITH_PCODEINT | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_WITH_REGION | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_WITH_ROOT | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| ET_ZONE_DESCRIPTION | Exporting | TYPE /SCMB/ZONET_TAB | Interface Table Type for Accessing DB Table /SCMB/ZONET | |
| ET_ZONE_LOCATION | Exporting | TYPE /SCMB/ZONE_D_TAB | Interface Table Type for Accessing DB Table /SCMB/ZONE_D | |
| ET_ZONE_PCODEINT | Exporting | TYPE /SCMB/ZONE_P_TAB | Interface Table Type for Accessing DB Table /SCMB/ZONE_R | |
| ET_ZONE_REGION | Exporting | TYPE /SCMB/ZONE_R_TAB | Interface Table Type for Accessing DB Table /SCMB/ZONE_D | |
| ET_ZONE_ROOT | Exporting | TYPE /SCMB/T_AD_ZONE_ROOT | Adapter: Zone Table Type: Header |
Exceptions of Method READ_ZONE_DATA
/SCMTMS/CX_BO_TZN_ADAPTER - BO TransportationZone: Master Data errorsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /SCMTMS/CL_BO_TZN_ADAPTER.
DATA: lv_ET_ZONE_DESCRIPTION TYPE /SCMB/ZONET_TAB,
lv_ET_ZONE_LOCATION TYPE /SCMB/ZONE_D_TAB,
lv_ET_ZONE_PCODEINT TYPE /SCMB/ZONE_P_TAB,
lv_ET_ZONE_REGION TYPE /SCMB/ZONE_R_TAB,
lv_ET_ZONE_ROOT TYPE /SCMB/T_AD_ZONE_ROOT,
lv_IT_ZONE_GUIDS TYPE /SCMB/TT_GUID,
lv_IV_WITH_DESCRIPTION TYPE BOOLE_D,
lv_IV_WITH_LOCATION TYPE BOOLE_D,
lv_IV_WITH_PCODEINT TYPE BOOLE_D,
lv_IV_WITH_REGION TYPE BOOLE_D,
lv_IV_WITH_ROOT TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD lo_class=>READ_ZONE_DATA(
EXPORTING
IT_ZONE_GUIDS = lv_IT_ZONE_GUIDS
IV_WITH_DESCRIPTION = lv_IV_WITH_DESCRIPTION
IV_WITH_LOCATION = lv_IV_WITH_LOCATION
IV_WITH_PCODEINT = lv_IV_WITH_PCODEINT
IV_WITH_REGION = lv_IV_WITH_REGION
IV_WITH_ROOT = lv_IV_WITH_ROOT
IMPORTING
ET_ZONE_DESCRIPTION = lv_ET_ZONE_DESCRIPTION
ET_ZONE_LOCATION = lv_ET_ZONE_LOCATION
ET_ZONE_PCODEINT = lv_ET_ZONE_PCODEINT
ET_ZONE_REGION = lv_ET_ZONE_REGION
ET_ZONE_ROOT = lv_ET_ZONE_ROOT ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects