SAP CL_SHP_LECOMP OO Class - Subcontracting Components in inbound delivery
CL_SHP_LECOMP 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 CL_SHP_LECOMP including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_SHP_LECOMP_DECLARATIONSMethod list of CL_SHP_LECOMP 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_COMPONENT | Add checked component | Private |
CALL METHOD cl_shp_lecomp=>ADD_COMPONENT...more details | ||
ADD_ITEM | Add item with components | Private |
CALL METHOD cl_shp_lecomp=>ADD_ITEM...more details | ||
AGGREGATE | Aggregate components by MATNR WERKS LGORT CHARG | Private |
CALL METHOD cl_shp_lecomp=>AGGREGATE...more details | ||
ASSIGN | Assign component | Private |
CALL METHOD cl_shp_lecomp=>ASSIGN...more details | ||
CHANGE | Change components (ASN) | Private |
CALL METHOD cl_shp_lecomp=>CHANGE...more details | ||
CHECK | Check components | Private |
CALL METHOD cl_shp_lecomp=>CHECK...more details | ||
| ||
CHECK_CHARG | Check Batch | Public |
CALL METHOD cl_shp_lecomp=>CHECK_CHARG...more details | ||
CHECK_LGORT | Check Storage Location | Public |
CALL METHOD cl_shp_lecomp=>CHECK_LGORT...more details | ||
CHECK_STOCK | Check quantities against subcontracting stock | Private |
CALL METHOD cl_shp_lecomp=>CHECK_STOCK...more details | ||
CHECK_UOM | Check Unit Of Measurement | Public |
CALL METHOD cl_shp_lecomp=>CHECK_UOM...more details | ||
CHECK_WERKS | Check Plant | Public |
CALL METHOD cl_shp_lecomp=>CHECK_WERKS...more details | ||
CLONE | Clone instance | Private |
CALL METHOD cl_shp_lecomp=>CLONE...more details | ||
CONSTRUCTOR | CONSTRUCTOR | Public |
CALL METHOD cl_shp_lecomp=>CONSTRUCTOR...more details | ||
COPY | Copy components and fill dynamic parts | Private |
CALL METHOD cl_shp_lecomp=>COPY...more details | ||
COPY_ITEM | Add item with components from existing item | Private |
CALL METHOD cl_shp_lecomp=>COPY_ITEM...more details | ||
CORRELATE | Correlate components for changed items only | Private |
CALL METHOD cl_shp_lecomp=>CORRELATE...more details | ||
CORRELATE_COMPONENT | Correlate component(s) | Private |
CALL METHOD cl_shp_lecomp=>CORRELATE_COMPONENT...more details | ||
CREATE | Create components from purchase order | Public |
CALL METHOD cl_shp_lecomp=>CREATE...more details | ||
DELETE | Delete component | Private |
CALL METHOD cl_shp_lecomp=>DELETE...more details | ||
DELETE_ITEM | Delete item | Private |
CALL METHOD cl_shp_lecomp=>DELETE_ITEM...more details | ||
DISPLAY | Display components | Public |
CALL METHOD cl_shp_lecomp=>DISPLAY...more details | ||
EDIT | Edit component | Private |
CALL METHOD cl_shp_lecomp=>EDIT...more details | ||
ENRICH_COMPONENTS | Enrich components | Private |
CALL METHOD cl_shp_lecomp=>ENRICH_COMPONENTS...more details | ||
ENTER | Enter value | Private |
CALL METHOD cl_shp_lecomp=>ENTER...more details | ||
GET | Get components | Public |
CALL METHOD cl_shp_lecomp=>GET...more details | ||
GET_BWTAR | Get valuation type | Public |
CALL METHOD cl_shp_lecomp=>GET_BWTAR...more details | ||
GET_CONVERSION_FACTOR | Get conversion factor UMREZ/ UMREN from ALT to BASE | Public |
CALL METHOD cl_shp_lecomp=>GET_CONVERSION_FACTOR...more details | ||
GET_FREE_STOCK | Get available quantity in subcontracting/ proj or cust stock | Private |
CALL METHOD cl_shp_lecomp=>GET_FREE_STOCK...more details | ||
GET_MSLB | Get batch on vendor stock | Private |
CALL METHOD cl_shp_lecomp=>GET_MSLB...more details | ||
POST_GOODS_ISSUE | Add components to material document | Private |
CALL METHOD cl_shp_lecomp=>POST_GOODS_ISSUE...more details | ||
READ | Read components | Public |
CALL METHOD cl_shp_lecomp=>READ...more details | ||
READ_PO | Read components from purchase order | Public |
CALL METHOD cl_shp_lecomp=>READ_PO...more details | ||
READ_STOCK | Read subcontracting stock from table MSLB | Private |
CALL METHOD cl_shp_lecomp=>READ_STOCK...more details | ||
RENUMBER | Update vbeln + posnr | Private |
CALL METHOD cl_shp_lecomp=>RENUMBER...more details | ||
RENUMBER_VBELN | Update vbeln | Public |
CALL METHOD cl_shp_lecomp=>RENUMBER_VBELN...more details | ||
REPLACE | Recreate components again from purchase order | Private |
CALL METHOD cl_shp_lecomp=>REPLACE...more details | ||
REVERSE_GOODS_ISSUE | Reverse goods issue status and issued quantities | Private |
CALL METHOD cl_shp_lecomp=>REVERSE_GOODS_ISSUE...more details | ||
ROUND | Round | Public |
CALL METHOD cl_shp_lecomp=>ROUND...more details | ||
SAVE | Save components | Private |
CALL METHOD cl_shp_lecomp=>SAVE...more details | ||
SET | Set/ overwrite components | Private |
CALL METHOD cl_shp_lecomp=>SET...more details | ||
SET_LANGUAGE | Set language | Private |
CALL METHOD cl_shp_lecomp=>SET_LANGUAGE...more details | ||
SPLIT | Split batch managed component | Private |
CALL METHOD cl_shp_lecomp=>SPLIT...more details | ||
UPDATE_FROM_GOODS_ISSUE | Update goods issue data | Private |
CALL METHOD cl_shp_lecomp=>UPDATE_FROM_GOODS_ISSUE...more details | ||
UPDATE_QUANTITY | Update quantity and unit | Private |
CALL METHOD cl_shp_lecomp=>UPDATE_QUANTITY...more details |
CL_SHP_LECOMP 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_BWART_COMP_GI | Instance Attribute | LIKE | Private | ||
GC_BWART_COMP_GR | Instance Attribute | LIKE | Private | ||
GC_FCODE_COMP_VL32 | Instance Attribute | LIKE | Private | ||
GC_FCODE_COMP_VL60 | Instance Attribute | LIKE | Private | ||
GC_FMENG_FIX | Constant | FMENG values for fixed quantities | 'XZ' | LIKE CHAR2 | Private |
GC_FMENG_FORCED | Constant | Fix quantity indicator was forced | 'Z' | LIKE CHAR1 | Public |
GC_FMENG_HIDDEN | Constant | Fix quantity indicator was hidden | 'Y' | LIKE CHAR1 | Private |
GC_PSTYP_SC | Instance Attribute | LIKE | Private | ||
GC_TRTYP_CHANGE | Instance Attribute | LIKE | Private | ||
GC_TRTYP_CREATE | Instance Attribute | LIKE | Private | ||
GC_TRTYP_DISPLAY | Instance Attribute | LIKE | Private | ||
GC_UPDKZ_DELETE | Instance Attribute | LIKE | Private | ||
GC_UPDKZ_INSERT | Instance Attribute | LIKE | Public | ||
GC_UPDKZ_OLD | Instance Attribute | LIKE | Public | ||
GC_UPDKZ_UPDATE | Instance Attribute | LIKE | Public | ||
GC_VBTYP_GI_REVERSE | Instance Attribute | LIKE | Private | ||
GC_VBTYP_LIAV | Instance Attribute | LIKE | Public | ||
GC_VBTYP_PO | Instance Attribute | LIKE | Public | ||
GC_XLBTYPE_COMP | Instance Attribute | LIKE | Private | ||
GC_XLBTYPE_PARENT | Instance Attribute | LIKE | Private | ||
GO_STOCK | Static Attribute | LIKE LCL_STOCK | Private | ||
GT_MAKT | Static Attribute | Material Descriptions | LIKE GTY_MAKT_T | Public | |
GT_MARC | Static Attribute | Plant Data for Material | LIKE GTY_MARC_T | Public | |
GT_MCHA | Static Attribute | Valuation types | LIKE GTY_MCHA_T | Private | |
GT_T006 | Static Attribute | Units of Measurement | LIKE GTY_T006_T | Private | |
MF_CHANGED | Instance Attribute | Changed? | LIKE ABAP_BOOL | Public | |
MF_LANGU | Static Attribute | Language Key of Current Text Environment | LIKE SYLANGU | Private | |
MF_LIFNR | Instance Attribute | Account Number of Vendor or Creditor | LIKE LIFNR | Public | |
MF_PROPOSED | Instance Attribute | Proposal (must be confirmed/ changed)? | LIKE ABAP_BOOL | Public | |
MF_TRTYP | Instance Attribute | Transaction type | LIKE TRTYP | Public | |
MT_ISSUE | Instance Attribute | Goods issue data | LIKE GTY_ISSUE_ITEM_T | Private | |
MT_ITEM | Instance Attribute | Inbound delivery items | LIKE GTY_ITEM_T | Public | |
MT_XCOMP | Instance Attribute | SC Components maintained | LIKE GTY_LECOMPVB_T | Public | |
MT_YCOMP | Instance Attribute | SC Components on database | LIKE GTY_LECOMPVB_T | Public |
CL_SHP_LECOMP types
GTY_FIELD -GTY_FIELD_R -
GTY_FIELD_S -
GTY_ISSUE_COMP_S -
GTY_ISSUE_COMP_T -
GTY_ISSUE_ITEM_S -
GTY_ISSUE_ITEM_T -
GTY_ITEM_S -
GTY_ITEM_T -
GTY_KOMDLGN_T -
GTY_LECOMPVB_S -
GTY_LECOMPVB_T -
GTY_LECOMP_T -
GTY_LIPSVB_T -
GTY_LIPS_T -
GTY_MAKT_T -
GTY_MARC_T -
GTY_MCHA_S -
GTY_MCHA_T -
GTY_MDVW_T -
GTY_POITM_S -
GTY_POITM_T -
GTY_PROT_T -
GTY_RMMME_T -
GTY_STOCK_S -
GTY_STOCK_T -
GTY_T006_T -
GTY_XVBAPF_T -
Links to Related Class(s)
CL_SHP_L...Full list of available SAP object classes
Search for further information about these or an SAP related objects