Ansicht
Dokumentation

/PMG/ABT_LOOKUP_MP - Wrapper for searching master policy via RFC

/PMG/ABT_LOOKUP_MP - Wrapper for searching master policy via RFC

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Function module /PMG/ABT_LOOKUP_MP

Short Text

Search master policy.

Functionality

This function module provides a way to search master policies.

Example

" Set the selection options.

ls_ddshselops-shlpfield = '/PMG/TEMPLATE_ID'.

ls_ddshselops-sign = 'I'.

ls_ddshselops-option = 'EQ'.

ls_ddshselops-low = 'PMGPPP000001'.

APPEND ls_ddshselops TO lt_ddshselops.

CALL FUNCTION /pmg/abt_lookup_mp

EXPORTING

it_selops = lt_ddshselops

IMPORTING

et_result_set = lt_result,

et_messages = lt_exceptions,

ev_ex_flag = lv_ex_flag.

Parameters

The parameters used in this function module are explained below.

Importing

  • IT_SELOPS - This is the selection options used for searching a master policy. This parameter is required.

Exporting

  • ET_RESULT_SET - A table with the result of the search.
  • ET_MESSSAGES - A table containing any exception messages if an exception occurred.
  • EX_EXCEPTION_FLAG - A boolean flag if an exception occured.

Notes

If the selection options parameter IT_SELOPS fields are not filled, all master policies will be returned as part of the result set.





Parameters

ET_MESSAGES
ET_RESULT_SET
EV_EXCEPTION_FLAG
IT_SELOPS

Exceptions

COMMUNICATION_FAILURE
SYSTEM_FAILURE

Function Group

/SAPLGE_PROCESS_API

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2026 Date: 20240420 Time: 070209     sap01-206 ( 28 ms )