Ansicht
Dokumentation

ISH_CHECK_ACCAT_CLASS_BEKAT - To check the acccat,treatmentcategory and the payment class

ISH_CHECK_ACCAT_CLASS_BEKAT - To check the acccat,treatmentcategory and the payment class

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

Funktionalität

This function module checks the payment class and treatment category for the movements depending on status of the resident id and the bauid.

New Movement or Current Movement:

  • Initially it checks for the accomodation category of the building unit with the accomodation category of the treatment category and if the former is greater then it determines the movement to be a LODGER and if it is less then raises an ERROR.
  • If it is a resident case then checks whether the class assigned to the treatment category is same as the class assigned to the movement. If it is not equal then a message is displayed.
  • In case of non-resident it checks whether the subvention class assigned beneath the class is 'A' or not. If it is not 'A' then a message is dipslayed. A non-resident is always treated with a higher payclass and that is 'A'.

Change in current movement :

  • If there is a change in the current movement checks whether there is any change in the treatment category or the building unit(bauid) or the payment class. If there is no change it does nothing and if there is a change all the above checks for the current or new movement are done again.

More than 1 movement exists for a case :

  • If there exists more than 1 movement for a case then it compares all thepayment classes of the previous cases.If the current payclass is greaterthan the previous classes an Upgrade has taken place and the previous movements payclasses have to be changed.if in case there is an upgrade earlier due to some special treatment or an opertaion for a movement the previous movement's payclasses are not affected.This check is done only for the residents(resid. is on)

Change in Residence ID :

  • Resident to Non-Resident : Checks the current movement's payclass whether it is 'A' or not then cecks all the previous movements payclass and pops messages if it is not of payclass 'A'.
  • Non-Resident to Resident : Checks the current movement payclass and later all the other movements and prompts if there is an Upgrade.

Note : This function module is applicable only to inpatient visit types and not to outpatient visit types.

Beispiel

Hinweise

Weiterführende Informationen





Parameter

IFUNCTION_NAME
IMESSAGES_SHOW
INBEW_NEW
INBEW_OLD
INFAL_NEW
INFAL_OLD
NBEW_TAB

Ausnahmen

MISSING_DATA

Funktionsgruppe

N061

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 2847 Date: 20240523 Time: 090918     sap01-206 ( 64 ms )