CALC SAP Method Calculate the Schema for a Request









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

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/IF_SC_CALC 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 CALC can also be found below:

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


Parameters of Method CALC

.

NameTypeData TypeDescriptionDefault Value
IT_ENTRIESImportingTYPE
/SCMB/SC_ENTRYDATE_TAB
SCMB Scheduling: Table of Entry Point Dates per Sched. Req.
IT_FDATESImportingTYPE
/SCMB/SC_FIXDATE_TAB
SCMB Scheduling: Table of Fixed Dates per Scheduling Request
IT_GRAPHSImportingTYPE
/SCMB/SC_GRAPH_TAB
SCMB Scheduling: Table of Activity Graph per Sched. Request
IT_REQUESTSImportingTYPE
/SCMB/SC_REQUEST_TAB
SCMB Scheduling: Scheduling Request(s)
IV_FLG_LOGDATAImportingTYPE
/SCMB/SC_FLG_LOGDATA
SCMB Scheduling: Create Algorithm Log
IV_FLG_NOIOFORMATImportingTYPE
/SCMB/SC_FLG_NOIOFORMAT
SCMB Scheduling: No Input-Output Formatting of Dates
ET_SCHEDRESExportingTYPE
/SCMB/SC_SCHEDRES_TAB
SCMB Scheduling: Results of Scheduling Request(s)



Exceptions of Method CALC

/SCMB/CX_SC_CALC - SCMB Scheduling: Exceptions External Methods

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_SC_CALC.
DATA: lv_ET_SCHEDRES TYPE /SCMB/SC_SCHEDRES_TAB,
lv_IT_ENTRIES TYPE /SCMB/SC_ENTRYDATE_TAB,
lv_IT_FDATES TYPE /SCMB/SC_FIXDATE_TAB,
lv_IT_GRAPHS TYPE /SCMB/SC_GRAPH_TAB,
lv_IT_REQUESTS TYPE /SCMB/SC_REQUEST_TAB,
lv_IV_FLG_LOGDATA TYPE /SCMB/SC_FLG_LOGDATA,
lv_IV_FLG_NOIOFORMAT TYPE /SCMB/SC_FLG_NOIOFORMAT,
lv_other TYPE c.

CALL METHOD lo_class=>CALC(
EXPORTING
IT_ENTRIES = lv_IT_ENTRIES
IT_FDATES = lv_IT_FDATES
IT_GRAPHS = lv_IT_GRAPHS
IT_REQUESTS = lv_IT_REQUESTS
IV_FLG_LOGDATA = lv_IV_FLG_LOGDATA
IV_FLG_NOIOFORMAT = lv_IV_FLG_NOIOFORMAT
IMPORTING
ET_SCHEDRES = lv_ET_SCHEDRES ).

Links to Related Class(s)

/SCMB/IF...
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!