/BEF/CL_A_METADATA_QUERY - BE Framework - Request Metadata

TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Functionality

An instance of the class specifies a request to the metadata API /BEF/CL_A_METADATA_API.

During the instantiation of the request, the type of metadata is specified for which the data should be read.

The criteria with which the data that is to be read is specified, is provided via (several) calls of methods ADD_QUERY_PART_BY_VALUE and ADD_QUERY_PART_BY_RANGE.

The constants that describe for which type of metadata a selection should take place, and which typesof metadata are used for selection conditions, are defined in the interfaces /BEF/IF_M_. is available as a short description of the metadata type.

Relationships

Example

data:
  lr_m_query type ref to /bef/cl_a_metadata_query.      

create object lr_m_query
  exporting
    iv_meta_type = /bef/if_m_fv=>mc_meta_type.

call method lr_m_query->add_query_part_by_range
  exporting
    iv_meta_type = /bef/if_m_feature=>mc_meta_type
    iv_sign      = /bef/cl_a_metadata_query=>mc_rangesign_i
    iv_option    = /bef/cl_a_metadata_query=>mc_rangeoption_cp
    iv_low       = 'Z*'.

call method lr_m_query->add_query_part_by_value
  exporting
    iv_meta_type = /bef/if_m_feature=>mc_meta_type
    iv_value     = 'ABC'.

In this case all entries of metadata table BEFM_FV (Feature variables) would be selected where the feature either starts with Z or the feature is 'ABC'.

Notes

Further information



CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.


Length: 2106 Date: 20120526 Time: 041828     triton ( 59 ms )