MASTER_DATA_GET SAP Method Retrieve master data









Below is documentation, parameters and attributes of ABAP Method MASTER_DATA_GET within SAP class /SCA/CL_LOAD_BUILDER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCA/CL_LOAD_BUILDER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method MASTER_DATA_GET can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MASTER_DATA_GET

.

NameTypeData TypeDescriptionDefault Value
IT_DEMANDImportingTYPE
/SCA/TLB_QUANTITY_TAB
TLB: Quantity structure for internal use in TLB applications
IV_LOCFRImportingTYPE
/SCMB/MDL_LOCID
Location GUID
IV_LOCTOImportingTYPE
/SCMB/MDL_LOCID
Location GUID
IV_TTYPEImportingTYPE
/SCMB/MDL_TTYPE
Means of Transportation
IV_VRSIOIDImportingTYPE
/SCMB/MDL_VRSIOID
Planning Version GUID
IV_VTOGIDImportingTYPE
/SCMB/VTOGID
TLB: Order Guidelines
EV_LOADSELExportingTYPE
/SCMB/VT_LOADSEL
TLB: Load Mode
EV_ORDTOLExportingTYPE
/SCMB/VT_ORDTOL
TLB: Rule Tolerance
EV_PIHORExportingTYPE
/SCMB/VT_PIHOR
TLB: Pull-In Horizon
EV_SIZDECBASEExportingTYPE
/SCMB/VT_SIZEDEC
TLB: Sizing Decision Based On Costs or Threshold Value
EV_SIZETHExportingTYPE
/SCMB/VT_SIZETH
TLB: Sizing Threshold Value
EV_VTPRIDExportingTYPE
/SCMB/VTPRID
VMI TLB Profile
CT_ROUNDINGVALUEChangingTYPE
/SCA/TLB_ROUNDINGVALUE_TAB
TLB: Rounding values



Exceptions of Method MASTER_DATA_GET

/SCA/CX_TLB - TLB exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SCA/CL_LOAD_BUILDER.
DATA: lv_CT_ROUNDINGVALUE TYPE /SCA/TLB_ROUNDINGVALUE_TAB,
lv_EV_LOADSEL TYPE /SCMB/VT_LOADSEL,
lv_EV_ORDTOL TYPE /SCMB/VT_ORDTOL,
lv_EV_PIHOR TYPE /SCMB/VT_PIHOR,
lv_EV_SIZDECBASE TYPE /SCMB/VT_SIZEDEC,
lv_EV_SIZETH TYPE /SCMB/VT_SIZETH,
lv_EV_VTPRID TYPE /SCMB/VTPRID,
lv_IT_DEMAND TYPE /SCA/TLB_QUANTITY_TAB,
lv_IV_LOCFR TYPE /SCMB/MDL_LOCID,
lv_IV_LOCTO TYPE /SCMB/MDL_LOCID,
lv_IV_TTYPE TYPE /SCMB/MDL_TTYPE,
lv_IV_VRSIOID TYPE /SCMB/MDL_VRSIOID,
lv_IV_VTOGID TYPE /SCMB/VTOGID,
lv_other TYPE c.

CALL METHOD lo_class=>MASTER_DATA_GET(
EXPORTING
IT_DEMAND = lv_IT_DEMAND
IV_LOCFR = lv_IV_LOCFR
IV_LOCTO = lv_IV_LOCTO
IV_TTYPE = lv_IV_TTYPE
IV_VRSIOID = lv_IV_VRSIOID
IV_VTOGID = lv_IV_VTOGID
IMPORTING
EV_LOADSEL = lv_EV_LOADSEL
EV_ORDTOL = lv_EV_ORDTOL
EV_PIHOR = lv_EV_PIHOR
EV_SIZDECBASE = lv_EV_SIZDECBASE
EV_SIZETH = lv_EV_SIZETH
EV_VTPRID = lv_EV_VTPRID
CHANGING
CT_ROUNDINGVALUE = lv_CT_ROUNDINGVALUE ).

Links to Related Class(s)

/SCA/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!