Ansicht
Dokumentation

REFXV_TIVCASHSTRLOC - Define Search Strategy for Deriving Hierarchical Location

REFXV_TIVCASHSTRLOC - Define Search Strategy for Deriving Hierarchical Location

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

You can use a search strategy so that an appropriate hierarchical location can be proposed for a given parcel (or piece of land).
Search strategies use search methods, which specify how the hierarchical location is determined from the object data.
In order for the system to be able to determine a default value or possible search help value for the hierarchical location of the parcel, exactly one search strategy must be active for the LOCHIER search field.

Define the search strategy for the LOCHIER search field as follows.

Set the Active indicator for the search system you want the system to use. (All other search strategies are then superfluous and can be deleted. It is only possible in the test phase to define one search strategy for each search method being tested.)

Only one search method, LOCHIER, is predefined in the system for the hierarchical location. You can activate it by copying the sample code in the BADI_RECA_SEARCH_METHOD BAdI:

LOCHIER: Derive hierarchical location from already existing hierarchical location.

This search method assumes that the texts of the hierarchical locations in the different location structures do not differ. For a hierarchical location being derived, the system therefore checks if a hierarchical location was already entered (and if so, which one) and if there is a corresponding hierarchical location with the same text in the other location structures. If there are hierarchical locations that meet these criteria, then the system proposes them.

To be able to use this search method (that is delivered with the system), you have to copy the sample coding of the implementing class CL_EXM_IM_RECA_SEARCH_METHOD of enhancement spot BADI_RE_CA_SH to a customer class. Then you must activate this customer implementation.






PERFORM Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2095 Date: 20240523 Time: 190253     sap01-206 ( 50 ms )