Ansicht
Dokumentation

BPR_QUERY_UI_START_FROM_DYNPRO - Start the BPR search from classic Dynpro

BPR_QUERY_UI_START_FROM_DYNPRO - Start the BPR search from classic Dynpro

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module starts the BPR search.
It opens a classic Dynpro pop-up that informs the user that the BPR search is started in a separate window. The search is implemented by WebDynpro and runs in a browser window. After the user has selected the search results in the browser window, the selected items can be taken over by the classic Dynpro pop-up.

Importing parameters:

SEARCH_TERM: String to prefill the "Search term" input field.

SEARCH_CRITERIA: Table to prefill the search criteria with columns CRITERIUM; OPERATOR; VALUE

CRITERUIM: String to define filter criterion, the following constants contain valid criteria names:

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-OBJECT_TYPE

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-PRODUCT_VERSION

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-BUSINESS_FUNCTION

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-TRANSACTION

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-IMG_ACTIVITY

CL_BPR_QUERY_EXECUTOR=>ID_FILTER-INDUSTRY

OPERATOR: Currently the only supported operator is "is". The internal code for this operator is defined as constant:

CL_BPR_QUERY_EXECUTOR=>ID_OPERATOR-IS

VALUE: The value of the search criterion. Valid values depend on the criterion:

ID_FILTER-OBJECT_TYPE: Valid values are in the constants:

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-SCENARIO

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-ORG_UNITS

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-MASTER_DATA

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-PROCESS

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-PROCESS_STEP

ID_FILTER-PRODUCT_VERSION: The id of the product version.

ID_FILTER-BUSINESS_FUNCTION: The id of the business function.

ID_FILTER-TRANSACTION: Transaction code like "SE80".

ID_FILTER-IMG_ACTIVITY: The id of the IMG-activity.

ID_FILTER-INDUSTRY: The id of the industry.

PRODUCT_VERSIONS: The current context defined by the ids of product versions in a string_table

PRODUCT_VERSIONS_SOURCE_NAME: The name of the product versions source, e.g. "Product Context". This string will be used as label in the front-end and must be localized.

MULTI_SELECTION: ABAP_TRUE to allow many results, ABAP_FALSE for a single result

SELECTABLE_OBJECT_TYPES: Defines the selectable object type in a string_table.

Empty table: all object types are selectable.

Use string constants for object types:

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-SCENARIO

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-ORG_UNITS

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-MASTER_DATA

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-PROCESS

CL_BPR_QUERY_OBJECT_TYPE=>OBJECT_TYPE-PROCESS_STEP

NOTE that values in SELECTABLE_OBJECT_TYPES are also automatically added as preselected SEARCH_CRITERIA in the search dialog.

Exporting parameters:

SELECTED_OBJECTS: The selected objects in a table of TYPE and OBJECT_ID

Example

Notes

Further information





Parameters

MULTI_SELECTION
PRODUCT_VERSIONS
PRODUCT_VERSIONS_SOURCE_NAME
SEARCH_CRITERIA
SEARCH_TERM
SELECTABLE_OBJECT_TYPES
SELECTED_OBJECTS

Exceptions

Function Group

BPR_QUERY_UI

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3741 Date: 20240523 Time: 173244     sap01-206 ( 45 ms )