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 NameDescriptionVisability
ADD_BAPI_MESSAGEAdd System Message in BAPI FormatPublic
CALL METHOD /sctm/cl_bapi=>ADD_BAPI_MESSAGE...more details

ADD_EXCEPT_MESSAGEAdd Exception Message in BAPI FormatProtected
CALL METHOD /sctm/cl_bapi=>ADD_EXCEPT_MESSAGE...more details

CHECK_ZONECheck if Geo Object is a ZonePublic
CALL METHOD /sctm/cl_bapi=>CHECK_ZONE...more details

CLEAR_MESSAGESSystemmeldungen initialisierenPublic
CALL METHOD /sctm/cl_bapi=>CLEAR_MESSAGES...more details

CONSTRUCTORConstructorProtected
CALL METHOD /sctm/cl_bapi=>CONSTRUCTOR...more details

GET_BSGDetermine Business System GroupPublic
CALL METHOD /sctm/cl_bapi=>GET_BSG...more details

GET_EXTERNAL_RESOURCEDetermine External ID of ResourceProtected
CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_RESOURCE...more details

GET_EXTERNAL_SCUDetermine External ID of Supply Chain UnitProtected
CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_SCU...more details

GET_EXTERNAL_TSPDetermine External ID of TSPProtected
CALL METHOD /sctm/cl_bapi=>GET_EXTERNAL_TSP...more details

GET_LANGUAGEDetermine Language of Texts and DescriptionsProtected
CALL METHOD /sctm/cl_bapi=>GET_LANGUAGE...more details

GET_MESSAGESGet BAPI messagesPublic
CALL METHOD /sctm/cl_bapi=>GET_MESSAGES...more details

GET_RESOURCEDetermine Internal ID of ResourceProtected
CALL METHOD /sctm/cl_bapi=>GET_RESOURCE...more details

GET_SCUDetermine Internal ID of Supply Chain UnitPublic
CALL METHOD /sctm/cl_bapi=>GET_SCU...more details

GET_TSPDetermine Internal ID of TSPProtected
CALL METHOD /sctm/cl_bapi=>GET_TSP...more details

INIT_RESOURCE_MAPResource Mapping: Internal<->External: Fill BufferProtected
CALL METHOD /sctm/cl_bapi=>INIT_RESOURCE_MAP...more details

INIT_SCU_MAPSCU Mapping: Internal<->External: Fill BufferPublic
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.

NameLevelDescriptionInitial ValueTypeVisability
MC_SCU_TYPE_ZONEConstantDisplay Type for SC Unit'1005'LIKE
/SCMB/MDL_SCUTYPE
Protected
MC_SORT_GUIDConstantSorted by GUID1LIKE
I
Private
MC_SORT_ID_EXTConstantSorted by External ID and BSG2LIKE
I
Private
MT_MESSAGEInstance AttributeBAPI Error MessagesLIKE
BAPIRET2_TAB
Protected
MV_BAPI_NAMEInstance AttributeName of BAPI Function ModuleLIKE
RS38L_FNAM
Public
MV_BSGInstance AttributeBusiness System GroupLIKE
/SCMB/MDL_LOGQS
Protected
MV_LANGUAGEInstance AttributeLanguage KeyLIKE
SPRAS
Protected
MV_LOG_SYSTEMInstance AttributeLogical SystemLIKE
/SCMB/MDL_LOGSYS
Protected
MV_PDAInstance AttributePartner Data AreaLIKE
/SCMB/DE_PDA
Protected
MV_RES_SORTInstance Attribute0LIKE
I
Private
MV_SCU_SORTInstance Attribute0LIKE
I
Private
ST_RES_MAPInstance AttributeResource: Mapping: Internal<->ExternalLIKE
BAPI10004MAP_RESMAPTAB
Protected
ST_SCU_MAPInstance AttributeSCU: Mapping: Internal<->ExternalLIKE
/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



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!