SAP /SAPAPO/CL_AU_TEST_LOCATIONS OO Class -
/SAPAPO/CL_AU_TEST_LOCATIONS is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SAPAPO/CL_AU_TEST_LOCATIONS including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SAPAPO/IF_TEST_DATASAP /SAPAPO/CL_AU_TEST_LOCATIONS OO Class - Create locations for ABAP Unit Tests
/SAPAPO/CL_AU_TEST_LOCATIONS is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SAPAPO/CL_AU_TEST_LOCATIONS including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SAPAPO/IF_TEST_DATAMethod list of /SAPAPO/CL_AU_TEST_LOCATIONS SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CREATE | Private | |
| CALL METHOD /sapapo/cl_au_test_locations=>CREATE...more details | ||
| DELETE | Private | |
| CALL METHOD /sapapo/cl_au_test_locations=>DELETE...more details | ||
| DELETE_EXISTING | Delete existing locations | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>DELETE_EXISTING...more details | ||
| GET_LOCATIONS | Gets Created Locations | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCATIONS...more details | ||
| GET_LOCID | Get LOCID - if only one location | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCID...more details | ||
| GET_LOCTYPE | Gets Location Type | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCTYPE...more details | ||
|
| ||
| SET_ADDRESS | Sets Location Address | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_ADDRESS...more details | ||
| SET_ALITYPE | Set ALI Type for ALIdata | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_ALITYPE...more details | ||
| SET_ALTID_PREFIX | Set Prefix for AltID in ALIdata | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_ALTID_PREFIX...more details | ||
| SET_CALENDARS | sets Calendars | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_CALENDARS...more details | ||
| SET_GEODATA | Set GeoData | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_GEODATA...more details | ||
| SET_HANDLING_RESOURCES | Sets Handling Resource | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_HANDLING_RESOURCES...more details | ||
| SET_LOCTYPE | Sets Location Type | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_LOCTYPE...more details | ||
| SET_MODEL | Sets Model | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_MODEL...more details | ||
| SET_PARTNER_NR | Sets the Partner Number | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_PARTNER_NR...more details | ||
| SET_SPRAS | Set Language | Public |
| CALL METHOD /sapapo/cl_au_test_locations=>SET_SPRAS...more details | ||
/SAPAPO/CL_AU_TEST_LOCATIONS attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_CREATE | Instance Attribute | Bapi Method Create Flag | 'N' | LIKE C | Private |
| GC_DEFAULT_KTXT | Instance Attribute | Short Text for Location | 'ABAP UNIT Test Location' | LIKE STRING | Private |
| GC_DEFAULT_TZONE | Instance Attribute | Constant for the Default Time Zone | 'CET' | LIKE | Private |
| GC_DEFAUT_SPRAS | Instance Attribute | Constant for the Default Value of the Language | 'D' | LIKE C | Private |
| GC_FALSE | Instance Attribute | LIKE | Public | ||
| GC_LT_PL | Instance Attribute | Constant for Loc. Type 'Plant' | '1001' | LIKE | Private |
| GC_TRUE | Instance Attribute | LIKE | Public | ||
| MC_LOCS_ERR | Constant | Error Text | 'Locations have not been created' | LIKE STRING | Private |
| MC_LOC_ERR | Constant | Error Text | 'Location ' | LIKE STRING | Private |
| MC_NOT_CREATED | Constant | Error Text | ' has not been created' | LIKE STRING | Private |
| MS_CALENDARS | Instance Attribute | Location: Calender (IO) | LIKE /SAPAPO/LOC_CALENDAR_IO | Private | |
| MS_GEODATA | Instance Attribute | Location: Geodata (Database) | LIKE /SAPAPO/LOC_GEO_DB | Private | |
| MS_LOC | Instance Attribute | Inbound Structure for Locations | LIKE /SAPAPO/BAPI_LOC | Private | |
| MS_LOCADR | Instance Attribute | Location: BAPI Address Structure | LIKE /SAPAPO/BAPI_LOCAD1VAL_STR | Private | |
| MS_LOCALI | Instance Attribute | Location BAPI: Structure for Alternative Location Identifier | LIKE /SAPAPO/BAPI_LOCALI_STR | Private | |
| MS_LOCT | Instance Attribute | Inbound Structure for Location Descriptions | LIKE /SAPAPO/BAPI_LOCT_STR | Private | |
| MT_TEST_LOCATIONS | Instance Attribute | Location: Internal Key, Indicator | LIKE /SAPAPO/LOC_INTKEY_TAB | Private | |
| MV_HANDLING_RESOURCE | Instance Attribute | Handling Resource | LIKE /SAPAPO/LOC_HANDLRESNAME | Private | |
| MV_MODEL | Instance Attribute | Model Name in Supply Chain Network | LIKE /SAPAPO/C_MODELID | Private |
Links to Related Class(s)
/SAPAPO/...Full list of available SAP object classes
Search for further information about these or an SAP related objects