SAP MDG · COMMUNITY

How do I enable SAP HANA-based search for an SAP MDG reuse model?

To enable SAP HANA-based search for an SAP MDG reuse model, generate and configure the HANA search view, implement interface IF_USMD_PP_HANA_SEARCH in the reuse access class, maintain reuse metadata in SM34 via VC_HDB_PP_FMAP, and ensure the six required methods are implemented so active and inactive master data can be searched.

To enable SAP HANA-based search for an SAP MDG reuse model, generate and configure the HANA search view, implement interface IF_USMD_PP_HANA_SEARCH in the reuse access class, maintain reuse metadata in SM34 via VC_HDB_PP_FMAP, and ensure the six required methods are implemented so active and inactive master data can be searched.

SAP HANA-based search for an SAP MDG reuse model is enabled by a combination of HANA search view generation, access-class interface implementation, and metadata maintenance. The guide says the access class should implement IF_USMD_PP_HANA_SEARCH, with the Business Partner access class CL_MDG_BS_BP_ACCESS_MASTER given as the reference example.

Process flow

  1. Generate a HANA search view.
  2. Configure the HANA search view for HANA database search.
  3. Ensure the reuse access class implements IF_USMD_PP_HANA_SEARCH.
  4. Implement ADAPT_SEL_FIELDS, GET_REUSE_VIEW_CONTENT, MERGE_REUSE_AUTHORIZATION, GET_MAPPING_INFO, ADAPT_WHERE_CLAUSE, and ADAPT_RESULT_SET.
  5. Run SM34 and open VC_HDB_PP_FMAP.
  6. Maintain Join Attributes.
  7. Maintain Join Fields.
  8. Verify MDGHDB_PP_FMAP, MDGHDB_PP_FJOIN, and MDGHDB_PP_TJOIN contain the metadata.
SM34

View Cluster Maintenance → VC_HDB_PP_FMAP

Maintain reuse-area field mapping and join metadata for HANA-based search.

SM34

VC_HDB_PP_FMAP → Join Attributes

Maintain table-level join details such as left table, right table, cardinality, join operator, and join type.

SM34

VC_HDB_PP_FMAP → Join Fields

Maintain the field-level join relationships for the selected Join Attributes row.

Referenced tables

ObjectPurpose
MDGHDB_PP_FMAPStores field mapping metadata, including MDG data-model field names, reuse-area field names, data element names, and deviating field names.
MDGHDB_PP_FJOINStores field-level join and mapping information.
MDGHDB_PP_TJOINStores table-level join information.

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • How do I enable HANA search for a reuse model in SAP MDG?
  • How can HANA search retrieve active and inactive data?
  • What is required to implement HANA-based search for reuse data?

Possible questions

  • What are the steps to implement HANA search?
  • Which interface must the reuse access class implement?
  • What are ADAPT_SEL_FIELDS and GET_MAPPING_INFO used for?
  • Where do I maintain reuse search metadata?
  • Which tables store the HANA reuse mapping and join data?

Keywords

SAP MDGSAP HANA-based searchreuse modelreuse scenarioaccess classactive datainactive datamaster data searchIF_USMD_PP_HANA_SEARCHCL_MDG_BS_BP_ACCESS_MASTERADAPT_SEL_FIELDSGET_REUSE_VIEW_CONTENTMERGE_REUSE_AUTHORIZATIONGET_MAPPING_INFOADAPT_WHERE_CLAUSEADAPT_RESULT_SETVC_HDB_PP_FMAPSM34MDGHDB_PP_FMAPMDGHDB_PP_FJOINMDGHDB_PP_TJOIN