SAP /SCMB/CL_AF_FACTORY OO Class - Factory for Adapter Service
/SCMB/CL_AF_FACTORY 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 /SCMB/CL_AF_FACTORY 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 /SCMB/CL_AF_FACTORY 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 |
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD /scmb/cl_af_factory=>CLASS_CONSTRUCTOR...more details | ||
| CONSTRUCTOR | Public | |
| CALL METHOD /scmb/cl_af_factory=>CONSTRUCTOR...more details | ||
| CREATE_SERVICE | Create Service at First Call for Service | Protected |
| CALL METHOD /scmb/cl_af_factory=>CREATE_SERVICE...more details | ||
| GET_INSTANCE | Get Instance of Factory | Public |
| CALL METHOD /scmb/cl_af_factory=>GET_INSTANCE...more details | ||
| GET_SERVICE | Get Instance for Interface, Depending on Deployment | Public |
| CALL METHOD /scmb/cl_af_factory=>GET_SERVICE...more details | ||
| GET_SERVICE_FROM_BUFF | Service from Buffer | Protected |
| CALL METHOD /scmb/cl_af_factory=>GET_SERVICE_FROM_BUFF...more details | ||
|
| ||
| PREPARE_RESULT | Protected | |
| CALL METHOD /scmb/cl_af_factory=>PREPARE_RESULT...more details | ||
| PREPARE_SERVICE | Protected | |
| CALL METHOD /scmb/cl_af_factory=>PREPARE_SERVICE...more details | ||
| SELECT_CLASS | Select Class from /SCMB/TSERV_CTX | Protected |
| CALL METHOD /scmb/cl_af_factory=>SELECT_CLASS...more details | ||
/SCMB/CL_AF_FACTORY 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 |
| MT_SERVICES | Instance Attribute | LIKE YT_SERVICES | Protected | ||
| MV_CONTEXT | Instance Attribute | Testcontext for Service Adapter Framework | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SC_CLASSIC | Constant | 'CLASSIC' | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SC_CLOUD_EMBEDDED | Constant | 'S4_CE_INT' | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SC_CTX_DEFAULT | Constant | IS INITIAL | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SC_EMBEDDED | Constant | 'S4_OP_INT' | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SC_S4_DEC | Constant | 'S4_OP_DEC' | LIKE /SCMB/SAF_CONTEXT | Protected | |
| SO_INSTANCE | Static Attribute | Factory for Adapter Service | LIKE /SCMB/CL_AF_FACTORY | Protected | |
| ST_DEPLOY | Static Attribute | LIKE | Protected |
/SCMB/CL_AF_FACTORY types
YS_DEPLOY -YS_SERVICE -
YT_SERVICES -
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects