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_DATAMethod 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 Name | Description | Visability |
| CREATE | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>CREATE...more details | ||
| DELETE | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>DELETE...more details | ||
| DELETE_EXISTING | delete existing product data | Public |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>DELETE_EXISTING...more details | ||
| GET_PROD_LOCS | Gets created Location Products | Public |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>GET_PROD_LOCS...more details | ||
| SET_ALLOC_PROC | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_ALLOC_PROC...more details | ||
| SET_BESTKZ | Set the special procurement indicator | Public |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_BESTKZ...more details | ||
|
| ||
| SET_LOT_SIZE | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_LOT_SIZE...more details | ||
| SET_MISC | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_MISC...more details | ||
| SET_PROD_LOCS | Sets the creatable product locations | Public |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_PROD_LOCS...more details | ||
| SET_SNP_DEP | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_SNP_DEP...more details | ||
| SET_SNP_SUP | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_SNP_SUP...more details | ||
| SET_VERSION | Public | |
| CALL METHOD /sapapo/cl_au_test_prod_loc=>SET_VERSION...more details | ||
| SET_VMI_PURCHASING_GROUP | Set the VMI Purchasing Group Attribute | Public |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_CREATE | Instance Attribute | Bapi Method Create Flag | 'N' | LIKE C | Private |
| GC_DEFAULT_BESKZ | Instance Attribute | Procurement Type | 'X' | LIKE /SAPAPO/BESKZ | Private |
| GC_DEFAULT_PLANNER | Instance Attribute | '001' | LIKE /SAPAPO/PLANNER_PPS | Private | |
| GC_DEFAULT_TXT | Instance Attribute | Constant for the default Short Text for Loctaion Product | 'ABAP UNIT Test Location Product' | LIKE STRING | Private |
| GC_FALSE | Instance Attribute | LIKE | Private | ||
| GC_INSERT | Instance Attribute | 'INS' | LIKE BAPIFN | Private | |
| GC_TRUE | Instance Attribute | LIKE | Private | ||
| GC_UPDATE | Instance Attribute | 'UPD' | LIKE BAPIFN | Private | |
| GT_MATLOC | Instance Attribute | LIKE | Private | ||
| MC_NOT_CREATED | Instance Attribute | Error Text | ' has not been created' | LIKE STRING | Private |
| MC_PROD_LOCS_ERR | Instance Attribute | Error Text | 'Location Products have not been created' | LIKE STRING | Private |
| MC_PROD_LOC_ERR | Instance Attribute | Error Text | 'Location Product has not been created' | LIKE STRING | Private |
| MS_PROD_LOC | Instance Attribute | Location Product: General Data | LIKE /SAPAPO/EXT_MATLOC | Private | |
| MT_TEST_PROD_LOC | Instance Attribute | LIKE | Private | ||
| MV_MODEL | Instance Attribute | Model Name in Supply Chain Network | LIKE /SAPAPO/APO01-MODEL | Private | |
| MV_VERSION | Instance Attribute | Planning Version | LIKE /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