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 Name | Description | Visability |
| ADD | Adds Buytype Code | Public |
| CALL METHOD /scmb/cl_buytype=>ADD...more details | ||
| ADD_INTERNAL | Add Ordering Reason to Internal Ordering Reason | Protected |
| CALL METHOD /scmb/cl_buytype=>ADD_INTERNAL...more details | ||
| ADD_SUPPLIER | Adds External Ordering Reason | Protected |
| CALL METHOD /scmb/cl_buytype=>ADD_SUPPLIER...more details | ||
| CHECK_CUSTOMIZING | Public | |
| CALL METHOD /scmb/cl_buytype=>CHECK_CUSTOMIZING...more details | ||
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD /scmb/cl_buytype=>CLASS_CONSTRUCTOR...more details | ||
| CONTAINS_CODE | Tests if order line has particular order reason | Public |
| CALL METHOD /scmb/cl_buytype=>CONTAINS_CODE...more details | ||
|
| ||
| CONVERT_FROM_ID | Converts Ordering Reason ID into External Format | Public |
| CALL METHOD /scmb/cl_buytype=>CONVERT_FROM_ID...more details | ||
| CONVERT_TO_ID | Converts External Format of Ordering Reason into ID | Public |
| CALL METHOD /scmb/cl_buytype=>CONVERT_TO_ID...more details | ||
| FIXED_DRP | Tests if Ordering Reasons Offer Changes By DRP | Public |
| CALL METHOD /scmb/cl_buytype=>FIXED_DRP...more details | ||
| FIXED_DRP_SINGLE | Tests if Ordering Reasons Offer Changes By DRP | Public |
| CALL METHOD /scmb/cl_buytype=>FIXED_DRP_SINGLE...more details | ||
| GENERATE_MAP_NUMBER | Gives New Mapping Code | Private |
| CALL METHOD /scmb/cl_buytype=>GENERATE_MAP_NUMBER...more details | ||
| GET_CUSTOMIZING | Reads Customizing | Public |
| CALL METHOD /scmb/cl_buytype=>GET_CUSTOMIZING...more details | ||
| GET_F4 | F4 Help for External Ordering Reason | Public |
| CALL METHOD /scmb/cl_buytype=>GET_F4...more details | ||
| IS_EOA | Tests If Ordering Reasons Contain Type Management Approval | Public |
| CALL METHOD /scmb/cl_buytype=>IS_EOA...more details | ||
| IS_EOABA | Public | |
| CALL METHOD /scmb/cl_buytype=>IS_EOABA...more details | ||
| MAP | Table of Order Reasons --> Mapping Code from liveCache | Public |
| CALL METHOD /scmb/cl_buytype=>MAP...more details | ||
| NEED_REVIEW | Tests If All Ordering Reasons Allow Changes | Public |
| CALL METHOD /scmb/cl_buytype=>NEED_REVIEW...more details | ||
| NEED_REVIEW_SINGLE | Tests If Ordering Reason Allow Changes | Public |
| CALL METHOD /scmb/cl_buytype=>NEED_REVIEW_SINGLE...more details | ||
| REMOVE | Removes Ordering Reason | Public |
| CALL METHOD /scmb/cl_buytype=>REMOVE...more details | ||
| REMOVE_SUPPLIER | Removes External Ordering Reason | Protected |
| CALL METHOD /scmb/cl_buytype=>REMOVE_SUPPLIER...more details | ||
| UNMAP | Mappingcode from LiveCache --> Table of Order Reasons | Public |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_BUYTYPES_INITIAL | Constant | TDL: Reasons for Ordering (as INT4) | 0 | LIKE /SCMB/TDL_BUYTYPECODES_MAPPED | Public |
| GC_FILLRATE_SERIOUS | Constant | TDL: Reasons for Ordering (as INT4) | 62000 | LIKE /SCMB/TDL_BUYTYPECODES_MAPPED | Public |
| GC_FILLRATE_WARN | Constant | TDL: Reasons for Ordering (as INT4) | 55000 | LIKE /SCMB/TDL_BUYTYPECODES_MAPPED | Public |
| GC_FIRST_MAPPING_NUMBER | Constant | TDL: Reasons for Ordering (as INT4) | 1 | LIKE /SCMB/TDL_BUYTYPECODES_MAPPED | Public |
| MC_ALLTIME_BUY | Constant | All Time Procurement | 2 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_ANALYST_DISCRETION | Constant | Analyst Discretion | 1 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_BALANCEOUT | Constant | Balance Out | 3 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_BRIDGERUN | Constant | Bridge Run | 4 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_CAMPAIGN | Constant | Campaign | 5 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_DEEXPEDITE_FIRM | Constant | DRP: Deexpedite Within Limited Freeze Horizon | 7 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_DEEXPEDITE_SUPPLIER | Constant | DRP: Deexpedite Within Plan Submission Horizon | 8 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_DRP_MECHANICAL_CHANGE | Constant | DRP mechanically changed the schedule (quantity, date) | 12 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_EMERGENCY_ORDER | Constant | Rush Order | 18 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_EOA | Constant | Management Approval | 19 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_EOABA | Instance Attribute | LIKE | Private | ||
| MC_EXPEDITE_FIRM | Constant | DRP: Expedite Within Limited Freeze Horizon | 9 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_EXPEDITE_SUPPLIER | Constant | DRP: Expedite Within Plan Submission Horizon | 10 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_FAMILY_BUY | Constant | Product Group Procurement | 11 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_MANUAL_FIX | Constant | Manually Fixed | 20 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_MINIMUM_RUN | Constant | Minimum Run | 13 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_NEWMODEL | Constant | New Model | 14 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_ORDERMULTIPLE_MINQTY_RULE | Constant | DRP applied an order multiple or minimum quantity rule | 6 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_PUSH_DEPLOYMENT | Constant | Push Deployment from Supplier | 17 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_REQUOTE | Constant | Quota Arrangement Change | 15 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_SUPPLIER_SHUTDOWN | Constant | DRP: No Alert for Supplier Shutdown | 022 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MC_SUPPLIER_SPLIT | Constant | Supplier Split | 16 | LIKE /SCMB/BUYTYPE_CODE_NUMBER | Public |
| MT_BUYTYPE_CUST | Instance Attribute | LIKE | Private | ||
| MT_BUYTYPE_MAP | Instance Attribute | LIKE | Private | ||
| MV_CHECKED_CUST | Static Attribute | LIKE ABAP_BOOL | Private | ||
| MV_MAX_BUYTYPE_NUMBER | Static Attribute | Reason for Ordering Number | LIKE /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