SAP /CBAD/CL_CONTRACT OO Class - Contract Modification
/CBAD/CL_CONTRACT 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 /CBAD/CL_CONTRACT 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 /CBAD/CL_CONTRACT 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 |
| ALREADY_BILLED | Check for already billed values | Public |
| CALL METHOD /cbad/cl_contract=>ALREADY_BILLED...more details | ||
| CHECK_AUTHORITY | Check authority against sales document authority objects | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_AUTHORITY...more details | ||
| CHECK_CAPS_CONSISTENCY | Checks caps and limits data for consistent data | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_CAPS_CONSISTENCY...more details | ||
| CHECK_DBS_CONSISTENCY | Checks Item with DBS data has assigment to SD Order Item | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_DBS_CONSISTENCY...more details | ||
| CHECK_HEADER_CONSISTENCY | Checks Header for consistent data | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_HEADER_CONSISTENCY...more details | ||
| CHECK_HFUND_CONSISTENCY | Checks header fund data for consistent data | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_HFUND_CONSISTENCY...more details | ||
|
| ||
| CHECK_ITEM_CONSISTENCY | Checks Item for consistent assigment to SD Order Item | Public |
| CALL METHOD /cbad/cl_contract=>CHECK_ITEM_CONSISTENCY...more details | ||
| CHECK_MOD_ID_REQUIRED | check, if a modifiaction id is required | Private |
| CALL METHOD /cbad/cl_contract=>CHECK_MOD_ID_REQUIRED...more details | ||
| COMPARE_DBS_ITEM | Compares for changes on WBS item level | Public |
| CALL METHOD /cbad/cl_contract=>COMPARE_DBS_ITEM...more details | ||
| COMPARE_FUND_HEADER | Compares for changes on fund header level | Public |
| CALL METHOD /cbad/cl_contract=>COMPARE_FUND_HEADER...more details | ||
| COMPARE_HEADER | Compares for changes on header level | Public |
| CALL METHOD /cbad/cl_contract=>COMPARE_HEADER...more details | ||
| COMPARE_ITEM | Compares for changes on item level | Public |
| CALL METHOD /cbad/cl_contract=>COMPARE_ITEM...more details | ||
| CONSTRUCTOR | Public | |
| CALL METHOD /cbad/cl_contract=>CONSTRUCTOR...more details | ||
| CREATE_CONDITION_INSTANCE | creates a new handle for conditions | Private |
| CALL METHOD /cbad/cl_contract=>CREATE_CONDITION_INSTANCE...more details | ||
| CREATE_CONTRACT | Create Contract | Private |
| CALL METHOD /cbad/cl_contract=>CREATE_CONTRACT...more details | ||
| DELETE_CONDITION | deletes existing condition records | Private |
| CALL METHOD /cbad/cl_contract=>DELETE_CONDITION...more details | ||
| DEQUEUE_ALL | method to release all lock entries | Public |
| CALL METHOD /cbad/cl_contract=>DEQUEUE_ALL...more details | ||
| DEQUEUE_CONDITION | dequeue table lock | Public |
| CALL METHOD /cbad/cl_contract=>DEQUEUE_CONDITION...more details | ||
| DEQUEUE_CONTRACT | release contract | Public |
| CALL METHOD /cbad/cl_contract=>DEQUEUE_CONTRACT...more details | ||
| DETECT_CHANGES | detects changes for each data line that could have been chan | Private |
| CALL METHOD /cbad/cl_contract=>DETECT_CHANGES...more details | ||
| DETECT_CHANGES_ON_FIELDLEVEL | detects changes on fieldlevel and adopts values to versions | Protected |
| CALL METHOD /cbad/cl_contract=>DETECT_CHANGES_ON_FIELDLEVEL...more details | ||
| DISPLAY_MESSAGE | Display message | Public |
| CALL METHOD /cbad/cl_contract=>DISPLAY_MESSAGE...more details | ||
| END_COND_INSTANCE | close instance for further processing | Private |
| CALL METHOD /cbad/cl_contract=>END_COND_INSTANCE...more details | ||
| ENQUEUE_CONDITION | lock entries for further processing | Public |
| CALL METHOD /cbad/cl_contract=>ENQUEUE_CONDITION...more details | ||
| ENQUEUE_CONTRACT | lock contract | Public |
| CALL METHOD /cbad/cl_contract=>ENQUEUE_CONTRACT...more details | ||
| EXTEND_CONTRACT | Extend Contract with new position(s) | Private |
| CALL METHOD /cbad/cl_contract=>EXTEND_CONTRACT...more details | ||
| EXTRACT_CONTRACT | Extract Contract | Public |
| CALL METHOD /cbad/cl_contract=>EXTRACT_CONTRACT...more details | ||
| GET_CAPS_DATA | Get item funding data | Public |
| CALL METHOD /cbad/cl_contract=>GET_CAPS_DATA...more details | ||
| GET_CON_HIST | Get History of contract | Public |
| CALL METHOD /cbad/cl_contract=>GET_CON_HIST...more details | ||
| GET_DBS_DATA | Get the different Account Assignment Distribution | Private |
| CALL METHOD /cbad/cl_contract=>GET_DBS_DATA...more details | ||
| GET_HEADER_FUND_DATA | Get header funding data | Public |
| CALL METHOD /cbad/cl_contract=>GET_HEADER_FUND_DATA...more details | ||
| GET_ITEM_FUND_DATA | Get item funding data | Public |
| CALL METHOD /cbad/cl_contract=>GET_ITEM_FUND_DATA...more details | ||
| GET_STATISTICS | Get ITD Billed Values | Private |
| CALL METHOD /cbad/cl_contract=>GET_STATISTICS...more details | ||
| GET_USERFIELDS | Get userfields if activated | Public |
| CALL METHOD /cbad/cl_contract=>GET_USERFIELDS...more details | ||
| GET_VIEW_CONTEXT | Get content of any view | Public |
| CALL METHOD /cbad/cl_contract=>GET_VIEW_CONTEXT...more details | ||
| INFORM_BW | informs bw for changes | Private |
| CALL METHOD /cbad/cl_contract=>INFORM_BW...more details | ||
| INITIALIZE | Initialize global data container | Public |
| CALL METHOD /cbad/cl_contract=>INITIALIZE...more details | ||
| INSERT_CONDITION | Call API to insert new condition entries | Private |
| CALL METHOD /cbad/cl_contract=>INSERT_CONDITION...more details | ||
| READ_CONDITION_HISTORY | Public | |
| CALL METHOD /cbad/cl_contract=>READ_CONDITION_HISTORY...more details | ||
| READ_CONTRACT | Read Contract | Private |
| CALL METHOD /cbad/cl_contract=>READ_CONTRACT...more details | ||
| READ_DATA_VERSIONS | read data versions | Public |
| CALL METHOD /cbad/cl_contract=>READ_DATA_VERSIONS...more details | ||
| READ_HISTORY_DETAILS | Read the details to the modifications | Public |
| CALL METHOD /cbad/cl_contract=>READ_HISTORY_DETAILS...more details | ||
| READ_TABLE | Read the records from the database table | Public |
| CALL METHOD /cbad/cl_contract=>READ_TABLE...more details | ||
| READ_TAB_DATA | Read actual tabstrip data | Public |
| CALL METHOD /cbad/cl_contract=>READ_TAB_DATA...more details | ||
| RECALCULATE_CONDITION | Calculates condition values and checks limits | Public |
| CALL METHOD /cbad/cl_contract=>RECALCULATE_CONDITION...more details | ||
| SAVE_CAPS_LIMITS | Save caps and limits data | Private |
| CALL METHOD /cbad/cl_contract=>SAVE_CAPS_LIMITS...more details | ||
| SAVE_CONDITION | save canged condition records | Private |
| CALL METHOD /cbad/cl_contract=>SAVE_CONDITION...more details | ||
| SAVE_CONTRACT_STRUCTURE | Save Document Button click | Public |
| CALL METHOD /cbad/cl_contract=>SAVE_CONTRACT_STRUCTURE...more details | ||
| SAVE_DBS | Save the different Account Assignment Distribution | Private |
| CALL METHOD /cbad/cl_contract=>SAVE_DBS...more details | ||
| SAVE_HFUND | Save Funding/Caps and Limits Data | Private |
| CALL METHOD /cbad/cl_contract=>SAVE_HFUND...more details | ||
| SAVE_IFUND | Save item fund data | Private |
| CALL METHOD /cbad/cl_contract=>SAVE_IFUND...more details | ||
| SET_ACTUAL_VERSION | sets the actual version in depending tables | Protected |
| CALL METHOD /cbad/cl_contract=>SET_ACTUAL_VERSION...more details | ||
| SET_ROWS_TO_VISIBLE | sets the rows for version tabs to visible | Public |
| CALL METHOD /cbad/cl_contract=>SET_ROWS_TO_VISIBLE...more details | ||
| STORE_FUTURE_VERSIONS | Writes new versions for future changes | Private |
| CALL METHOD /cbad/cl_contract=>STORE_FUTURE_VERSIONS...more details | ||
| UPDATE_CONDITION | Updates existing condition records | Private |
| CALL METHOD /cbad/cl_contract=>UPDATE_CONDITION...more details | ||
| WRITE_CHANGE_DOCUMENT | Connection to change management | Private |
| CALL METHOD /cbad/cl_contract=>WRITE_CHANGE_DOCUMENT...more details | ||
/CBAD/CL_CONTRACT 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 |
| GA_CAPS_SELECTED | Instance Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Public | |
| GA_DBS_SELECTED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GA_DO_ROLLBACK | Instance Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GA_FUND_I_SELECTED | Static Attribute | Item funding data selected | LIKE BOOLEAN | Public | |
| GA_FUND_SELECTED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Public | |
| GA_HIST_SELECTED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GA_H_DETS_SELECTED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GA_IS_IN_CHANGE_MODE | Instance Attribute | checked, if in change mode | LIKE BOOLEAN | Public | |
| GA_KSCHL_BUDGET | Instance Attribute | Contract & Billing Condition Budget | LIKE /CBAD/KSCHL_BUDGET | Public | |
| GA_KSCHL_CAPS | Instance Attribute | Contract & Billing Condition Caps | LIKE /CBAD/KSCHL_CAPS | Public | |
| GA_SAVED_FROM_MOD | Instance Attribute | save was triggered from MOD-popup | LIKE BOOLEAN | Public | |
| GA_SAVE_AND_LEAVE | Instance Attribute | save and leave mainview if set | LIKE BOOLEAN | Public | |
| GA_STAT_SELECTED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GC_ACTVT_CHANGE | Constant | Activity change (authority check) | '02' | LIKE CHAR2 | Public |
| GC_ACTVT_DISPLAY | Constant | Activity display (authority check) | '03' | LIKE CHAR2 | Public |
| GC_MSGID | Constant | Message identification | '/CBAD/CONTRACT_MOD' | LIKE MSGID | Public |
| GC_MSGTY | Constant | Message Types | LIKE | Public | |
| GS_CONTRACT_H | Instance Attribute | Contract and Billing: additional header information | LIKE /CBAD/CONTRACT_H | Public | |
| GS_HIST_LINE | Instance Attribute | LIKE | Public | ||
| GS_VBAK | Instance Attribute | Sales Document: Header Data | LIKE VBAK | Public | |
| GT_A184 | Instance Attribute | ACRN ID/Material/Version Number/Priority | LIKE /CBAD/A184_T | Private | |
| GT_CAPS_LIMITS | Instance Attribute | Caps and limits data | LIKE /CBAD/ITEM_FUND_T | Public | |
| GT_CAPS_LIMITS_ORG | Instance Attribute | Caps and limits data originals | LIKE /CBAD/ITEM_FUND_T | Public | |
| GT_CAPS_RECS | Instance Attribute | Table with IDs and Keys of Condition Records | LIKE COND_MNT_RECORD_KEY_T | Private | |
| GT_CHG_COND_DETAILS | Instance Attribute | Table Type for Item funding Change Documents | LIKE CDREDCD_TAB | Public | |
| GT_CHG_DETAILS | Instance Attribute | changing details | LIKE CDREDCD_TAB | Public | |
| GT_COND_HIST | Instance Attribute | CBAD: Table Type for Condition History | LIKE /CBAD/COND_HIST_DETAILS_T | Public | |
| GT_COND_RECS | Instance Attribute | Table with IDs and Keys of Condition Records | LIKE COND_MNT_RECORD_KEY_T | Private | |
| GT_CONTRACT_I | Static Attribute | CBAD Contract and Billing item table type | LIKE /CBAD/CONTRACT_I_T | Private | |
| GT_DBS | Instance Attribute | CBAD: WBS table type | LIKE /CBAD/CON_DBS_T | Private | |
| GT_DBS_VERSIONS | Instance Attribute | CBAD: Table Type for DBS Data Versions | LIKE /CBAD/CON_DBS_VER_T | Public | |
| GT_DFIES | Instance Attribute | Table Type for Structure DFIES | LIKE DFIES_TABLE | Private | |
| GT_HEADER_FUND | Instance Attribute | Funding Header Data | LIKE /CBAD/CON_FUND_H_T | Public | |
| GT_HEADER_VERSIONS | Instance Attribute | CBAD: Table Type for Header Versions | LIKE /CBAD/CONTRACT_H_VER_T | Public | |
| GT_HFUND_VERSIONS | Instance Attribute | CBAD: Table Type for Header Fund Versions | LIKE /CBAD/CON_FUND_H_VER_T | Public | |
| GT_HIST_ORG | Instance Attribute | CBAD: Contract history table type | LIKE /CBAD/CON_HIST_T | Public | |
| GT_ITEM_FUND | Instance Attribute | Funding Item Data | LIKE /CBAD/ITEM_FUND_T | Public | |
| GT_ITEM_FUND_ORG | Instance Attribute | item fund data originals | LIKE /CBAD/ITEM_FUND_T | Public | |
| GT_ITEM_VERSIONS | Instance Attribute | CBAD: Table Type for Item Versions | LIKE /CBAD/CONTRACT_I_VER_T | Public | |
| GT_KONH_CAPS | Instance Attribute | Table Type for Table KONH | LIKE KONH_T | Private | |
| GT_KONH_COND | Instance Attribute | Table Type for Table KONH | LIKE KONH_T | Private | |
| GT_KONP_CAPS | Instance Attribute | Table Type for Table KONP | LIKE KONP_T | Private | |
| GT_KONP_COND | Instance Attribute | Table Type for Table KONP | LIKE KONP_T | Private | |
| GT_MODTYPES | Instance Attribute | table type for /CBAD/MOD_TYPES | LIKE /CBAD/MOD_TYPES_T | Public | |
| GT_MOD_CAT | Static Attribute | Tabletype for table /cbad/mod_fcat | LIKE /CBAD/MOD_FCAT_T | Private | |
| GT_MOD_HIST | Instance Attribute | MOD-ID's for condition changes | LIKE /CBAD/CON_HIST_UT | Public | |
| GT_STATISTICS | Instance Attribute | CBAD: Statistics table type | LIKE /CBAD/S409_T | Public | |
| GT_VBAP | Instance Attribute | Table Type for Structure VBAP | LIKE VBAP_T | Public | |
| GV_CAPS_HANDLE | Instance Attribute | Index of Internal Tables | LIKE SYTABIX | Private | |
| GV_COND_HANDLE | Instance Attribute | Index of Internal Tables | LIKE SYTABIX | Private | |
| GV_CONTRACTID | Static Attribute | Contract Id | LIKE VBELN | Public | |
| GV_ID_CHANGED | Static Attribute | Boolean Variable (X=True, -=False, Space=Unknown) | LIKE BOOLEAN | Private | |
| GV_IS_ACTIVE | Static Attribute | Checked, if contract is active | LIKE XFELD | Public | |
| GV_RELEASE_ON_SAVE | Static Attribute | checked, if contract will be released on save | LIKE XFELD | Public | |
| GV_TABNAME | Instance Attribute | Name of ABAP Dictionary Object | LIKE DDOBJNAME | Private | |
| GV_UPD_CONTRACT_H | Instance Attribute | Change type (U, I, E, D) | LIKE CDPOS-CHNGIND | Private | |
| GV_UPD_CONTRACT_I | Instance Attribute | Change type (U, I, E, D) | LIKE CDPOS-CHNGIND | Private | |
| GV_UPD_CON_DBS | Instance Attribute | Change type (U, I, E, D) | LIKE CDPOS-CHNGIND | Private | |
| GV_UPD_CON_FUND_H | Instance Attribute | Change type (U, I, E, D) | LIKE CDPOS-CHNGIND | Private | |
| MR_COMPONENT_CNTRL | Static Attribute | Web Dynpro: Component | LIKE IF_WD_COMPONENT | Public | |
| MR_COMP_CONTEXT_NODE | Static Attribute | Web Dynpro: Interface for Context Nodes | LIKE IF_WD_CONTEXT_NODE | Public | |
| MR_CONTEXT_ELEMENT | Static Attribute | Web Dynpro: Interface for Node Element | LIKE IF_WD_CONTEXT_ELEMENT | Public | |
| MR_CONTEXT_NODE | Static Attribute | Contract View Context | LIKE IF_WD_CONTEXT_NODE | Public | |
| MR_HEAD_CONTEXT_NODE | Static Attribute | Web Dynpro: Interface for Context Nodes | LIKE IF_WD_CONTEXT_NODE | Public | |
| MR_ITEM_CONTEXT_NODE | Static Attribute | Web Dynpro: Interface for Context Nodes | LIKE IF_WD_CONTEXT_NODE | Public | |
| MR_ITEM_VIEW_CNTRL | Static Attribute | Web Dynpro: View Controller | LIKE IF_WD_VIEW_CONTROLLER | Public | |
| MR_MAIN_VIEW_CNTRL | Static Attribute | Web Dynpro: View Controller | LIKE IF_WD_VIEW_CONTROLLER | Public | |
| MR_REF_TO_ITM_ACRN_POPIN | Instance Attribute | Web Dynpro: Interface for Node Element | LIKE IF_WD_CONTEXT_ELEMENT | Public | |
| MR_REF_TO_ITM_COND_POPIN | Instance Attribute | Web Dynpro: Interface for Node Element | LIKE IF_WD_CONTEXT_ELEMENT | Public | |
| MR_REF_TO_ITM_HIST_POPIN | Instance Attribute | Web Dynpro: Interface for Node Element | LIKE IF_WD_CONTEXT_ELEMENT | Public | |
| MR_STARTVIEW_CNTRL | Static Attribute | Web Dynpro: View Controller | LIKE IF_WD_VIEW_CONTROLLER | Public |
Links to Related Class(s)
/CBAD/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects