Ansicht
Dokumentation

/PMG/ABT_GEN_ENTITY_LOOKUP - Lookup for generic entity via RFC

/PMG/ABT_GEN_ENTITY_LOOKUP - Lookup for generic entity via RFC

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Function module /PMG/ABT_GEN_ENTITY_LOOKUP

Short Text

Search generic entity.

Functionality

This function module provides a way to search generic entities.

Example

" Set the selection options.

ls_ddshselops-shlpfield = 'DEFINEDAT_DTCDR'.

ls_ddshselops-sign = 'I'.

ls_ddshselops-option = 'EQ'.

ls_ddshselops-low = '21040101'.

APPEND ls_ddshselops TO lt_ddshselops.

CALL FUNCTION /pmg/abt_gen_entity_lookup

EXPORTING

iv_mpol_id = 'ZZ_BROK_00001',

it_selops = lt_ddshselops

IMPORTING

ev_ex_flag = lv_ex_flag,

et_messages = lt_exceptions,

et_result_set = lt_result.,,,,

,,

Parameters

The parameters used in this function module are explained below.

Importing

  • IV_MPOL_ID - The master policy module id to filter the result set by.
  • IT_SELOPS - This is the selection options used for searching a master policy. This parameter is required.

Exporting

  • EV_EXCEPTION_FLAG - A boolean flag if an exception occured.
  • ET_EXCEPTION_MESSAGES - A table contianing messages if any ocurred.
  • ET_RESULT_SET - A table with the result of the search.

Notes

If the selection options parameter IT_SELOPS table is empty and IV_MPOL_ID is initial then all generic entities will be returned in the result set.

Notes





Parameters

ET_MESSAGES
ET_RESULT_SET
EV_EXCEPTION_FLAG
IT_SELOPS
IV_APPLSEARCH_FG
IV_MPOL_ID

Exceptions

COMMUNICATION_FAILURE
SYSTEM_FAILURE

Function Group

/SAPLGE_PROCESS_API

BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2286 Date: 20240424 Time: 041506     sap01-206 ( 34 ms )