SAP /SAPAPO/CL_AU_TEST_PROD_LOC OO Class - Create location products for ABAP Unit Tests









/SAPAPO/CL_AU_TEST_PROD_LOC 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_PROD_LOC 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_PROD_LOC 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
CREATEPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>CREATE...more details

DELETEPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>DELETE...more details

DELETE_EXISTINGdelete existing product dataPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>DELETE_EXISTING...more details

GET_PROD_LOCSGets created Location ProductsPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>GET_PROD_LOCS...more details

SET_ALLOC_PROCPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_ALLOC_PROC...more details

SET_BESTKZSet the special procurement indicatorPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_BESTKZ...more details

SET_LOT_SIZEPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_LOT_SIZE...more details

SET_MISCPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_MISC...more details

SET_PROD_LOCSSets the creatable product locationsPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_PROD_LOCS...more details

SET_SNP_DEPPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_SNP_DEP...more details

SET_SNP_SUPPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_SNP_SUP...more details

SET_VERSIONPublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_VERSION...more details

SET_VMI_PURCHASING_GROUPSet the VMI Purchasing Group AttributePublic
CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_VMI_PURCHASING_GROUP...more details



/SAPAPO/CL_AU_TEST_PROD_LOC 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_BESKZInstance AttributeProcurement Type'X'LIKE
/SAPAPO/BESKZ
Private
GC_DEFAULT_PLANNERInstance Attribute'001'LIKE
/SAPAPO/PLANNER_PPS
Private
GC_DEFAULT_TXTInstance AttributeConstant for the default Short Text for Loctaion Product'ABAP UNIT Test Location Product'LIKE
STRING
Private
GC_FALSEInstance AttributeLIKE
Private
GC_INSERTInstance Attribute'INS'LIKE
BAPIFN
Private
GC_TRUEInstance AttributeLIKE
Private
GC_UPDATEInstance Attribute'UPD'LIKE
BAPIFN
Private
GT_MATLOCInstance AttributeLIKE
Private
MC_NOT_CREATEDInstance AttributeError Text' has not been created'LIKE
STRING
Private
MC_PROD_LOCS_ERRInstance AttributeError Text'Location Products have not been created'LIKE
STRING
Private
MC_PROD_LOC_ERRInstance AttributeError Text'Location Product has not been created'LIKE
STRING
Private
MS_PROD_LOCInstance AttributeLocation Product: General DataLIKE
/SAPAPO/EXT_MATLOC
Private
MT_TEST_PROD_LOCInstance AttributeLIKE
Private
MV_MODELInstance AttributeModel Name in Supply Chain NetworkLIKE
/SAPAPO/APO01-MODEL
Private
MV_VERSIONInstance AttributePlanning VersionLIKE
/SAPAPO/VRSIOEX
Private




/SAPAPO/CL_AU_TEST_PROD_LOC types

/SAPAPO/EXT_MATLOC_TAB -
EXT_MATKEYX_TAB -
EXT_MATKEY_TAB -
EXT_MATLOCX_TAB -
EXT_MATLOC_TAB -

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!