METADATA_COMPUTATIONS SAP Method Process Data According to Metadata









Below is documentation, parameters and attributes of ABAP Method METADATA_COMPUTATIONS within SAP class IF_EX_HRBAS00INFTYBL. 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 IF_EX_HRBAS00INFTYBL 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 METADATA_COMPUTATIONS can also be found below:

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


Parameters of Method METADATA_COMPUTATIONS

.

NameTypeData TypeDescriptionDefault Value
AUX_DATA_REFImportingTYPE REF TO
DATA
Additional Data
HRTNNNNImportingTYPE
STANDARD TABLE
Data from Table Infotypes
INFTYImportingTYPE
INFOTYP
Infotype
OPERATIONImportingTYPE
HRBAS_OPERA
HR: Database Operation
PNNNNImportingTYPE
ANY
Infotype Data
FIELD_METADATA_TABChangingTYPE
HRBAS_FIELD_METADATA_TAB
HRBAS: Metadata Table



Exceptions of Method METADATA_COMPUTATIONS

CX_HRBAS_VIOLATED_ASSERTION - HRBAS Infotype Data: Unfulfilled Program Condition

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_HRBAS00INFTYBL.
DATA: lv_AUX_DATA_REF TYPE DATA,
lv_FIELD_METADATA_TAB TYPE HRBAS_FIELD_METADATA_TAB,
lv_HRTNNNN TYPE STANDARD TABLE,
lv_INFTY TYPE INFOTYP,
lv_OPERATION TYPE HRBAS_OPERA,
lv_PNNNN TYPE ANY,
lv_other TYPE c.

CALL METHOD lo_class=>METADATA_COMPUTATIONS(
EXPORTING
AUX_DATA_REF = lv_AUX_DATA_REF
HRTNNNN = lv_HRTNNNN
INFTY = lv_INFTY
OPERATION = lv_OPERATION
PNNNN = lv_PNNNN
CHANGING
FIELD_METADATA_TAB = lv_FIELD_METADATA_TAB ).

Links to Related Class(s)

IF_EX_HR...
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!