Ansicht
Dokumentation

ISH_READ_NPAT_MULTI - IS-H: Multiple Read Function Module for NPAT

ISH_READ_NPAT_MULTI - IS-H: Multiple Read Function Module for NPAT

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

Functionality

This function module provides the API layer to obtain the details of the Patient from the system.

It imports a table of primary keys for the Patient (IT_NPAT_PK), checks the status of the switch, and obtains the corresponding patient details.

  • If the switch is off, meaning IS-H BP is active, then data is accessed from the old tables and filled into the old structures of the export parameter (ET_NPAT).
  • If the switch is on, meaning SAP BP is active, then data is accessed from the new tables. Here, checks are made on the buffers initially and, if the data is not found, the details are retrieved from the database. If you want to bypass the buffer, set the import parameter I_READ_DB to 'X'. The data that is fetched is populated into the old (ET_NPAT) as well as the new structures (ET_NPNT, ET_NPNT_HCRELSHIPS, ET_NPNT_HCRELSHIPS) and exported.

Institution-specific details for the given Patient are obtained only when requested for (I_WITH_NPAE).

Address details for the business partner are fetched when I_ADDRESS_REQ is requested for. The address details are populated in the old structures (ET_NADR, ET_NADR2, ET_NADR_AN1, ET_NADR2, ET_NADR_ABG).

Telephone details for the addresses are also fetched only when requested for (I_TELNR_REQ). These details are also populated in the old tables (ETT_NADR_TELNR, ETT_TELNR2, ET_TELNR_ABG, ET_TELNR_AN1, ETT_TELNR_AN2).

Data obtained from database tables will be updated to the buffers only when I_BUFFER_REQ is set.

Example

Notes

Further information





Parameters

ETT_TELNR
ETT_TELNR2
ETT_TELNR_ABG
ETT_TELNR_AN1
ETT_TELNR_AN2
ET_NADR
ET_NADR2
ET_NADR_ABG
ET_NADR_AN1
ET_NADR_AN2
ET_NPAT
ET_NPNT
ET_NPNT_BUPA_HCRELSHIPS
ET_NPNT_HCRELSHIPS
ET_RC
E_STATUS
IT_NPAT_PK
I_ADDRESS_REQ
I_BUFFER_REQ
I_EINRI
I_PSEUDO_OVERRIDE
I_READ_DB
I_TELNR_REQ
I_WITH_NPAE

Exceptions

Function Group

NPNT_API

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2319 Date: 20240523 Time: 143614     sap01-206 ( 52 ms )