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_DATA /SAPAPO/CL_AU_TEST_LOCATIONS SAP OOP ABAP Class - Create locations for ABAP Unit Tests

SAP /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_DATA

Method 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 NameDescriptionVisability
CREATEPrivate
CALL METHOD /sapapo/cl_au_test_locations=>CREATE...more details

DELETEPrivate
CALL METHOD /sapapo/cl_au_test_locations=>DELETE...more details

DELETE_EXISTINGDelete existing locationsPublic
CALL METHOD /sapapo/cl_au_test_locations=>DELETE_EXISTING...more details

GET_LOCATIONSGets Created LocationsPublic
CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCATIONS...more details

GET_LOCIDGet LOCID - if only one locationPublic
CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCID...more details

GET_LOCTYPEGets Location TypePublic
CALL METHOD /sapapo/cl_au_test_locations=>GET_LOCTYPE...more details

SET_ADDRESSSets Location AddressPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_ADDRESS...more details

SET_ALITYPESet ALI Type for ALIdataPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_ALITYPE...more details

SET_ALTID_PREFIXSet Prefix for AltID in ALIdataPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_ALTID_PREFIX...more details

SET_CALENDARSsets CalendarsPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_CALENDARS...more details

SET_GEODATASet GeoDataPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_GEODATA...more details

SET_HANDLING_RESOURCESSets Handling ResourcePublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_HANDLING_RESOURCES...more details

SET_LOCTYPESets Location TypePublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_LOCTYPE...more details

SET_MODELSets ModelPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_MODEL...more details

SET_PARTNER_NRSets the Partner NumberPublic
CALL METHOD /sapapo/cl_au_test_locations=>SET_PARTNER_NR...more details

SET_SPRASSet LanguagePublic
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.

NameLevelDescriptionInitial ValueTypeVisability
GC_CREATEInstance AttributeBapi Method Create Flag'N'LIKE
C
Private
GC_DEFAULT_KTXTInstance AttributeShort Text for Location'ABAP UNIT Test Location'LIKE
STRING
Private
GC_DEFAULT_TZONEInstance AttributeConstant for the Default Time Zone'CET'LIKE
Private
GC_DEFAUT_SPRASInstance AttributeConstant for the Default Value of the Language'D'LIKE
C
Private
GC_FALSEInstance AttributeLIKE
Public
GC_LT_PLInstance AttributeConstant for Loc. Type 'Plant''1001'LIKE
Private
GC_TRUEInstance AttributeLIKE
Public
MC_LOCS_ERRConstantError Text'Locations have not been created'LIKE
STRING
Private
MC_LOC_ERRConstantError Text'Location 'LIKE
STRING
Private
MC_NOT_CREATEDConstantError Text' has not been created'LIKE
STRING
Private
MS_CALENDARSInstance AttributeLocation: Calender (IO)LIKE
/SAPAPO/LOC_CALENDAR_IO
Private
MS_GEODATAInstance AttributeLocation: Geodata (Database)LIKE
/SAPAPO/LOC_GEO_DB
Private
MS_LOCInstance AttributeInbound Structure for LocationsLIKE
/SAPAPO/BAPI_LOC
Private
MS_LOCADRInstance AttributeLocation: BAPI Address StructureLIKE
/SAPAPO/BAPI_LOCAD1VAL_STR
Private
MS_LOCALIInstance AttributeLocation BAPI: Structure for Alternative Location IdentifierLIKE
/SAPAPO/BAPI_LOCALI_STR
Private
MS_LOCTInstance AttributeInbound Structure for Location DescriptionsLIKE
/SAPAPO/BAPI_LOCT_STR
Private
MT_TEST_LOCATIONSInstance AttributeLocation: Internal Key, IndicatorLIKE
/SAPAPO/LOC_INTKEY_TAB
Private
MV_HANDLING_RESOURCEInstance AttributeHandling ResourceLIKE
/SAPAPO/LOC_HANDLRESNAME
Private
MV_MODELInstance AttributeModel Name in Supply Chain NetworkLIKE
/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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!