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_DECLARATIONS

Method 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 NameDescriptionVisability
ADD_COMPONENTAdd checked componentPrivate
CALL METHOD cl_shp_lecomp=>ADD_COMPONENT...more details

ADD_ITEMAdd item with componentsPrivate
CALL METHOD cl_shp_lecomp=>ADD_ITEM...more details

AGGREGATEAggregate components by MATNR WERKS LGORT CHARGPrivate
CALL METHOD cl_shp_lecomp=>AGGREGATE...more details

ASSIGNAssign componentPrivate
CALL METHOD cl_shp_lecomp=>ASSIGN...more details

CHANGEChange components (ASN)Private
CALL METHOD cl_shp_lecomp=>CHANGE...more details

CHECKCheck componentsPrivate
CALL METHOD cl_shp_lecomp=>CHECK...more details

CHECK_CHARGCheck BatchPublic
CALL METHOD cl_shp_lecomp=>CHECK_CHARG...more details

CHECK_LGORTCheck Storage LocationPublic
CALL METHOD cl_shp_lecomp=>CHECK_LGORT...more details

CHECK_STOCKCheck quantities against subcontracting stockPrivate
CALL METHOD cl_shp_lecomp=>CHECK_STOCK...more details

CHECK_UOMCheck Unit Of MeasurementPublic
CALL METHOD cl_shp_lecomp=>CHECK_UOM...more details

CHECK_WERKSCheck PlantPublic
CALL METHOD cl_shp_lecomp=>CHECK_WERKS...more details

CLONEClone instancePrivate
CALL METHOD cl_shp_lecomp=>CLONE...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD cl_shp_lecomp=>CONSTRUCTOR...more details

COPYCopy components and fill dynamic partsPrivate
CALL METHOD cl_shp_lecomp=>COPY...more details

COPY_ITEMAdd item with components from existing itemPrivate
CALL METHOD cl_shp_lecomp=>COPY_ITEM...more details

CORRELATECorrelate components for changed items onlyPrivate
CALL METHOD cl_shp_lecomp=>CORRELATE...more details

CORRELATE_COMPONENTCorrelate component(s)Private
CALL METHOD cl_shp_lecomp=>CORRELATE_COMPONENT...more details

CREATECreate components from purchase orderPublic
CALL METHOD cl_shp_lecomp=>CREATE...more details

DELETEDelete componentPrivate
CALL METHOD cl_shp_lecomp=>DELETE...more details

DELETE_ITEMDelete itemPrivate
CALL METHOD cl_shp_lecomp=>DELETE_ITEM...more details

DISPLAYDisplay componentsPublic
CALL METHOD cl_shp_lecomp=>DISPLAY...more details

EDITEdit componentPrivate
CALL METHOD cl_shp_lecomp=>EDIT...more details

ENRICH_COMPONENTSEnrich componentsPrivate
CALL METHOD cl_shp_lecomp=>ENRICH_COMPONENTS...more details

ENTEREnter valuePrivate
CALL METHOD cl_shp_lecomp=>ENTER...more details

GETGet componentsPublic
CALL METHOD cl_shp_lecomp=>GET...more details

GET_BWTARGet valuation typePublic
CALL METHOD cl_shp_lecomp=>GET_BWTAR...more details

GET_CONVERSION_FACTORGet conversion factor UMREZ/ UMREN from ALT to BASEPublic
CALL METHOD cl_shp_lecomp=>GET_CONVERSION_FACTOR...more details

GET_FREE_STOCKGet available quantity in subcontracting/ proj or cust stockPrivate
CALL METHOD cl_shp_lecomp=>GET_FREE_STOCK...more details

GET_MSLBGet batch on vendor stockPrivate
CALL METHOD cl_shp_lecomp=>GET_MSLB...more details

POST_GOODS_ISSUEAdd components to material documentPrivate
CALL METHOD cl_shp_lecomp=>POST_GOODS_ISSUE...more details

READRead componentsPublic
CALL METHOD cl_shp_lecomp=>READ...more details

READ_PORead components from purchase orderPublic
CALL METHOD cl_shp_lecomp=>READ_PO...more details

READ_STOCKRead subcontracting stock from table MSLBPrivate
CALL METHOD cl_shp_lecomp=>READ_STOCK...more details

RENUMBERUpdate vbeln + posnrPrivate
CALL METHOD cl_shp_lecomp=>RENUMBER...more details

RENUMBER_VBELNUpdate vbelnPublic
CALL METHOD cl_shp_lecomp=>RENUMBER_VBELN...more details

REPLACERecreate components again from purchase orderPrivate
CALL METHOD cl_shp_lecomp=>REPLACE...more details

REVERSE_GOODS_ISSUEReverse goods issue status and issued quantitiesPrivate
CALL METHOD cl_shp_lecomp=>REVERSE_GOODS_ISSUE...more details

ROUNDRoundPublic
CALL METHOD cl_shp_lecomp=>ROUND...more details

SAVESave componentsPrivate
CALL METHOD cl_shp_lecomp=>SAVE...more details

SETSet/ overwrite componentsPrivate
CALL METHOD cl_shp_lecomp=>SET...more details

SET_LANGUAGESet languagePrivate
CALL METHOD cl_shp_lecomp=>SET_LANGUAGE...more details

SPLITSplit batch managed componentPrivate
CALL METHOD cl_shp_lecomp=>SPLIT...more details

UPDATE_FROM_GOODS_ISSUEUpdate goods issue dataPrivate
CALL METHOD cl_shp_lecomp=>UPDATE_FROM_GOODS_ISSUE...more details

UPDATE_QUANTITYUpdate quantity and unitPrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
GC_BWART_COMP_GIInstance AttributeLIKE
Private
GC_BWART_COMP_GRInstance AttributeLIKE
Private
GC_FCODE_COMP_VL32Instance AttributeLIKE
Private
GC_FCODE_COMP_VL60Instance AttributeLIKE
Private
GC_FMENG_FIXConstantFMENG values for fixed quantities'XZ'LIKE
CHAR2
Private
GC_FMENG_FORCEDConstantFix quantity indicator was forced'Z'LIKE
CHAR1
Public
GC_FMENG_HIDDENConstantFix quantity indicator was hidden'Y'LIKE
CHAR1
Private
GC_PSTYP_SCInstance AttributeLIKE
Private
GC_TRTYP_CHANGEInstance AttributeLIKE
Private
GC_TRTYP_CREATEInstance AttributeLIKE
Private
GC_TRTYP_DISPLAYInstance AttributeLIKE
Private
GC_UPDKZ_DELETEInstance AttributeLIKE
Private
GC_UPDKZ_INSERTInstance AttributeLIKE
Public
GC_UPDKZ_OLDInstance AttributeLIKE
Public
GC_UPDKZ_UPDATEInstance AttributeLIKE
Public
GC_VBTYP_GI_REVERSEInstance AttributeLIKE
Private
GC_VBTYP_LIAVInstance AttributeLIKE
Public
GC_VBTYP_POInstance AttributeLIKE
Public
GC_XLBTYPE_COMPInstance AttributeLIKE
Private
GC_XLBTYPE_PARENTInstance AttributeLIKE
Private
GO_STOCKStatic AttributeLIKE
LCL_STOCK
Private
GT_MAKTStatic AttributeMaterial DescriptionsLIKE
GTY_MAKT_T
Public
GT_MARCStatic AttributePlant Data for MaterialLIKE
GTY_MARC_T
Public
GT_MCHAStatic AttributeValuation typesLIKE
GTY_MCHA_T
Private
GT_T006Static AttributeUnits of MeasurementLIKE
GTY_T006_T
Private
MF_CHANGEDInstance AttributeChanged?LIKE
ABAP_BOOL
Public
MF_LANGUStatic AttributeLanguage Key of Current Text EnvironmentLIKE
SYLANGU
Private
MF_LIFNRInstance AttributeAccount Number of Vendor or CreditorLIKE
LIFNR
Public
MF_PROPOSEDInstance AttributeProposal (must be confirmed/ changed)?LIKE
ABAP_BOOL
Public
MF_TRTYPInstance AttributeTransaction typeLIKE
TRTYP
Public
MT_ISSUEInstance AttributeGoods issue dataLIKE
GTY_ISSUE_ITEM_T
Private
MT_ITEMInstance AttributeInbound delivery itemsLIKE
GTY_ITEM_T
Public
MT_XCOMPInstance AttributeSC Components maintainedLIKE
GTY_LECOMPVB_T
Public
MT_YCOMPInstance AttributeSC Components on databaseLIKE
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



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!