SAP /SCTM/CL_BAPI OO Class - Process BAPI Data
/SCTM/CL_BAPI 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 /SCTM/CL_BAPI including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of /SCTM/CL_BAPI 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 |
| ADD_BAPI_MESSAGE | Add System Message in BAPI Format | Public |
| CALL METHOD /sctm/cl_bapi=>ADD_BAPI_MESSAGE...more details | ||
| ADD_EXCEPT_MESSAGE | Add Exception Message in BAPI Format | Protected |
| CALL METHOD /sctm/cl_bapi=>ADD_EXCEPT_MESSAGE...more details | ||
| CHECK_ZONE | Check if Geo Object is a Zone | Public |
| CALL METHOD /sctm/cl_bapi=>CHECK_ZONE...more details | ||
| CLEAR_MESSAGES | Systemmeldungen initialisieren | Public |
| CALL METHOD /sctm/cl_bapi=>CLEAR_MESSAGES...more details | ||
| CONSTRUCTOR | Constructor | Protected |
| CALL METHOD /sctm/cl_bapi=>CONSTRUCTOR...more details | ||
| GET_BSG | Determine Business System Group | Public |
| CALL METHOD /sctm/cl_bapi=>GET_BSG...more details | ||
|
| ||
| GET_EXTERNAL_RESOURCE | Determine External ID of Resource | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_RESOURCE...more details | ||
| GET_EXTERNAL_SCU | Determine External ID of Supply Chain Unit | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_SCU...more details | ||
| GET_EXTERNAL_TSP | Determine External ID of TSP | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_TSP...more details | ||
| GET_LANGUAGE | Determine Language of Texts and Descriptions | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_LANGUAGE...more details | ||
| GET_MESSAGES | Get BAPI messages | Public |
| CALL METHOD /sctm/cl_bapi=>GET_MESSAGES...more details | ||
| GET_RESOURCE | Determine Internal ID of Resource | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_RESOURCE...more details | ||
| GET_SCU | Determine Internal ID of Supply Chain Unit | Public |
| CALL METHOD /sctm/cl_bapi=>GET_SCU...more details | ||
| GET_TSP | Determine Internal ID of TSP | Protected |
| CALL METHOD /sctm/cl_bapi=>GET_TSP...more details | ||
| INIT_RESOURCE_MAP | Resource Mapping: Internal<->External: Fill Buffer | Protected |
| CALL METHOD /sctm/cl_bapi=>INIT_RESOURCE_MAP...more details | ||
| INIT_SCU_MAP | SCU Mapping: Internal<->External: Fill Buffer | Public |
| CALL METHOD /sctm/cl_bapi=>INIT_SCU_MAP...more details | ||
/SCTM/CL_BAPI 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 |
| MC_SCU_TYPE_ZONE | Constant | Display Type for SC Unit | '1005' | LIKE /SCMB/MDL_SCUTYPE | Protected |
| MC_SORT_GUID | Constant | Sorted by GUID | 1 | LIKE I | Private |
| MC_SORT_ID_EXT | Constant | Sorted by External ID and BSG | 2 | LIKE I | Private |
| MT_MESSAGE | Instance Attribute | BAPI Error Messages | LIKE BAPIRET2_TAB | Protected | |
| MV_BAPI_NAME | Instance Attribute | Name of BAPI Function Module | LIKE RS38L_FNAM | Public | |
| MV_BSG | Instance Attribute | Business System Group | LIKE /SCMB/MDL_LOGQS | Protected | |
| MV_LANGUAGE | Instance Attribute | Language Key | LIKE SPRAS | Protected | |
| MV_LOG_SYSTEM | Instance Attribute | Logical System | LIKE /SCMB/MDL_LOGSYS | Protected | |
| MV_PDA | Instance Attribute | Partner Data Area | LIKE /SCMB/DE_PDA | Protected | |
| MV_RES_SORT | Instance Attribute | 0 | LIKE I | Private | |
| MV_SCU_SORT | Instance Attribute | 0 | LIKE I | Private | |
| ST_RES_MAP | Instance Attribute | Resource: Mapping: Internal<->External | LIKE BAPI10004MAP_RESMAPTAB | Protected | |
| ST_SCU_MAP | Instance Attribute | SCU: Mapping: Internal<->External | LIKE /SCMB/TOENTITYMP_TAB | Protected |
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects