Ansicht
Dokumentation

MDG_CREATE_SEARCH_MO - Create Search View

MDG_CREATE_SEARCH_MO - Create Search View

PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you define and generate a search view for searching master data using SAP HANA. Depending on whether you use flexible or reuse entities, the following scenarios are possible:

  • Reuse scenario: the search view generates two search views: one for the Staging area, and another for the Reuse area.
  • Flex Scenario: the search view generates only one view.

We provide the views dependent on the business functions activated. You can use the delivered views or use them as a copy template for your own view.

The HANA search application is defined in the customizing for Define Search Applications with the search mode set as HA, the access class as CL_MDG_HDB_SEARCH, and the Freeformcheckbox selected.

This customizing activity calls the Web Dynpro application Create Search View (MDG_HDB_FPM_OIF_INITIAL_UI). Here you can create, change, copy, delete, and check the validity of a search view. You can use this application to define the general data and to select the entity types and attributes used to create the search view.

When creating the search view, in the General Datascreen you define the following:

  • Search View: The technical name of the Search View.
  • Description: A description for the search view.
  • Business Object Type: The business object type.
  • HANA Package: The name of the package in HANA database or HANA Studio where the search view or SAP HANA view has to be created.
  • RuleSet Name: This is an optional field. You can provide a Ruleset name if you want a Ruleset to be generated, or you can leave it blank.

Note
When creating Search Views for SAP Master Data Governance for Business Partner, we strongly recommend you always use the fields MCNAME1(name 1 of an organization or last name of a person) or MCNAME2(name 2 of an organization or first name of a person) as search fields for names. This will allow you to carry out case-insensitive searches as well as searches for persons and organizations in one field.

In the Select Entity Types and Attributesscreen, you select the entities and attributes that you wish to add as fields of the search view. If an entity is selected for view generation, the key fields and authorization-relevant fields are selected by default. During the creation process, you can save the changes at any time by choosing the Save button. When you choose the Savebutton for the first time, the system displays a pop-up screen that takes inputs of the transport request. During subsequent save operations, the updates are logged to the same transport request. In the Review and Generate screen, you can review your selection and generate the updated view. The system then generates a search view. If you have not selected the Save button during the Generate action, the Transport Request pop-up screen is shown. During the creation process, you can cancel the creation by choosing the Cancel button.

You can change an existing search view in Editmode. In the General Data screen, you can change the Description field. During the change process, you can cancel the changes by choosing the Cancelbutton. The system reverts to the previously saved version of the view.

While copying an existing view, all the data of the source search view are copied to a new view, and in the General Data screen, you can edit all the fields except the Object Type Code field. The selection of entities and attributes and the review and submission is similar to changing an existing view as mentioned above.

You can delete a search view by selecting it and choosing the Delete icon on the initial screen. If the earlier changes of the view that are logged in a transport request are not yet released, only the owner of that transport can delete the view. If the earlier changes have already been released, any user that has the authorization can delete the search view.

You can also validate the generated search view against the underlying table metadata by choosing the Checkbutton. If the system finds any discrepancy in the view, it sets the status of the view to Invalid, and you can regenerate the search view.






ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5532 Date: 20240523 Time: 202839     sap01-206 ( 174 ms )