SAP /SCMB/CL_BUYTYPE OO Class - Reas. for Ord









/SCMB/CL_BUYTYPE 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_BUYTYPE 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_BUYTYPE 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
ADDAdds Buytype CodePublic
CALL METHOD /scmb/cl_buytype=>ADD...more details

ADD_INTERNALAdd Ordering Reason to Internal Ordering ReasonProtected
CALL METHOD /scmb/cl_buytype=>ADD_INTERNAL...more details

ADD_SUPPLIERAdds External Ordering ReasonProtected
CALL METHOD /scmb/cl_buytype=>ADD_SUPPLIER...more details

CHECK_CUSTOMIZINGPublic
CALL METHOD /scmb/cl_buytype=>CHECK_CUSTOMIZING...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD /scmb/cl_buytype=>CLASS_CONSTRUCTOR...more details

CONTAINS_CODETests if order line has particular order reasonPublic
CALL METHOD /scmb/cl_buytype=>CONTAINS_CODE...more details

CONVERT_FROM_IDConverts Ordering Reason ID into External FormatPublic
CALL METHOD /scmb/cl_buytype=>CONVERT_FROM_ID...more details

CONVERT_TO_IDConverts External Format of Ordering Reason into IDPublic
CALL METHOD /scmb/cl_buytype=>CONVERT_TO_ID...more details

FIXED_DRPTests if Ordering Reasons Offer Changes By DRPPublic
CALL METHOD /scmb/cl_buytype=>FIXED_DRP...more details

FIXED_DRP_SINGLETests if Ordering Reasons Offer Changes By DRPPublic
CALL METHOD /scmb/cl_buytype=>FIXED_DRP_SINGLE...more details

GENERATE_MAP_NUMBERGives New Mapping CodePrivate
CALL METHOD /scmb/cl_buytype=>GENERATE_MAP_NUMBER...more details

GET_CUSTOMIZINGReads CustomizingPublic
CALL METHOD /scmb/cl_buytype=>GET_CUSTOMIZING...more details

GET_F4F4 Help for External Ordering ReasonPublic
CALL METHOD /scmb/cl_buytype=>GET_F4...more details

IS_EOATests If Ordering Reasons Contain Type Management ApprovalPublic
CALL METHOD /scmb/cl_buytype=>IS_EOA...more details

IS_EOABAPublic
CALL METHOD /scmb/cl_buytype=>IS_EOABA...more details

MAPTable of Order Reasons --> Mapping Code from liveCachePublic
CALL METHOD /scmb/cl_buytype=>MAP...more details

NEED_REVIEWTests If All Ordering Reasons Allow ChangesPublic
CALL METHOD /scmb/cl_buytype=>NEED_REVIEW...more details

NEED_REVIEW_SINGLETests If Ordering Reason Allow ChangesPublic
CALL METHOD /scmb/cl_buytype=>NEED_REVIEW_SINGLE...more details

REMOVERemoves Ordering ReasonPublic
CALL METHOD /scmb/cl_buytype=>REMOVE...more details

REMOVE_SUPPLIERRemoves External Ordering ReasonProtected
CALL METHOD /scmb/cl_buytype=>REMOVE_SUPPLIER...more details

UNMAPMappingcode from LiveCache --> Table of Order ReasonsPublic
CALL METHOD /scmb/cl_buytype=>UNMAP...more details



/SCMB/CL_BUYTYPE 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_BUYTYPES_INITIALConstantTDL: Reasons for Ordering (as INT4)0LIKE
/SCMB/TDL_BUYTYPECODES_MAPPED
Public
GC_FILLRATE_SERIOUSConstantTDL: Reasons for Ordering (as INT4)62000LIKE
/SCMB/TDL_BUYTYPECODES_MAPPED
Public
GC_FILLRATE_WARNConstantTDL: Reasons for Ordering (as INT4)55000LIKE
/SCMB/TDL_BUYTYPECODES_MAPPED
Public
GC_FIRST_MAPPING_NUMBERConstantTDL: Reasons for Ordering (as INT4)1LIKE
/SCMB/TDL_BUYTYPECODES_MAPPED
Public
MC_ALLTIME_BUYConstantAll Time Procurement2LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_ANALYST_DISCRETIONConstantAnalyst Discretion1LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_BALANCEOUTConstantBalance Out3LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_BRIDGERUNConstantBridge Run4LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_CAMPAIGNConstantCampaign5LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_DEEXPEDITE_FIRMConstantDRP: Deexpedite Within Limited Freeze Horizon7LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_DEEXPEDITE_SUPPLIERConstantDRP: Deexpedite Within Plan Submission Horizon8LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_DRP_MECHANICAL_CHANGEConstantDRP mechanically changed the schedule (quantity, date)12LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_EMERGENCY_ORDERConstantRush Order18LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_EOAConstantManagement Approval19LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_EOABAInstance AttributeLIKE
Private
MC_EXPEDITE_FIRMConstantDRP: Expedite Within Limited Freeze Horizon9LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_EXPEDITE_SUPPLIERConstantDRP: Expedite Within Plan Submission Horizon10LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_FAMILY_BUYConstantProduct Group Procurement11LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_MANUAL_FIXConstantManually Fixed20LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_MINIMUM_RUNConstantMinimum Run13LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_NEWMODELConstantNew Model14LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_ORDERMULTIPLE_MINQTY_RULEConstantDRP applied an order multiple or minimum quantity rule6LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_PUSH_DEPLOYMENTConstantPush Deployment from Supplier17LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_REQUOTEConstantQuota Arrangement Change15LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_SUPPLIER_SHUTDOWNConstantDRP: No Alert for Supplier Shutdown022LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MC_SUPPLIER_SPLITConstantSupplier Split16LIKE
/SCMB/BUYTYPE_CODE_NUMBER
Public
MT_BUYTYPE_CUSTInstance AttributeLIKE
Private
MT_BUYTYPE_MAPInstance AttributeLIKE
Private
MV_CHECKED_CUSTStatic AttributeLIKE
ABAP_BOOL
Private
MV_MAX_BUYTYPE_NUMBERStatic AttributeReason for Ordering NumberLIKE
/SCMB/BUYTYPE_CODE_NUMBER
Private


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



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!