SAP ISH_PNT_API_VFALLSEL Function Module for IS-H: Replace Direct Selects on N_VFALLSEL









ISH_PNT_API_VFALLSEL is a standard ish pnt api vfallsel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Replace Direct Selects on N_VFALLSEL processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ish pnt api vfallsel FM, simply by entering the name ISH_PNT_API_VFALLSEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: NPNT_API_VFALLSEL
Program Name: SAPLNPNT_API_VFALLSEL
Main Program: SAPLNPNT_API_VFALLSEL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_PNT_API_VFALLSEL pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ISH_PNT_API_VFALLSEL'"IS-H: Replace Direct Selects on N_VFALLSEL
EXPORTING
* I_PATNR = "IS-H: Patient Number
* ITR_ORGFA = "IS-H: Table Type for Range via Department
* I_FALNR = "IS-H: Case Number
* IT_FALNR = "IS-H: Table with Case Numbers
* ITR_FALNR = "IS-H: Table Type General Range Structure for Cases
* I_BEWTY = "IS-H: Movement Category
* ITR_BEWTY = "Range Table for Movement Category
* IT_FALAR = "Table Type for Case Type
* ITR_FALAR = "Table Type for Range of NFAL-FALAR
* ITR_BWIDT = "Table of Ranges for Date of Movement
* ITR_APSTATE = "Table of Range for Application Status
* IT_PATNR = "Table Type for Patient Number
* I_PLANB = "IS-H: Planned Indicator for Date of Movement
* ITR_PLANB = "Table of Ranges for Planned Indicator for Date of Movement
* IT_NNAMS = "Table Type for Standardized Last Name
* ITR_NNAMS = "Range Table for Standardized Last Name
* I_ABRKZ = "IS-H: Billing Indicator for Case
* IT_ABRKZ = "Table Type for Billing Indicator for Case
* ITR_ABRKZ = "Table of Ranges for Billing Indicator for Case
* I_ORD_REQ = ' ' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* ITR_STORN = "Range Table for Cancellation Indicator
* I_STORN = "IS-H: Cancellation Indicator
* ITR_PATNR = "IS-H: Table Type General Range Structure for Patients
* I_RNASEL00 = ' ' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* ITR_BWART = "Table of Ranges for Movement Type
* I_PLANB_REQ = ' ' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_EINRI = "Institution
* IT_EINRI = "Table Type for Institution
* ITR_EINRI = "IS-H: General Range Structure for Institutions Table Type
* I_ORGPF = "Organizational Unit Assigned to Case
* ITR_ORGPF = "IS-H: Table Type for Range via Care Unit
* I_ORGFA = "IS-H: OU with Departmental Responsibility for Case

IMPORTING
ET_PAT_VFALLSEL = "Obsolete - donot use any more
ET_VFALLSEL = "Contains all fields of N_VFALLSEL

TABLES
* IT_ENTRIES = "EINRI, PATNR, FALNR, FALAR und ABRKZ in einer Tabelle
.



IMPORTING Parameters details for ISH_PNT_API_VFALLSEL

I_PATNR - IS-H: Patient Number

Data type: PATNR
Optional: Yes
Call by Reference: Yes

ITR_ORGFA - IS-H: Table Type for Range via Department

Data type: RNRANGEORGFA_TT
Optional: Yes
Call by Reference: Yes

I_FALNR - IS-H: Case Number

Data type: FALNR
Optional: Yes
Call by Reference: Yes

IT_FALNR - IS-H: Table with Case Numbers

Data type: ISH_T_FALNR
Optional: Yes
Call by Reference: Yes

ITR_FALNR - IS-H: Table Type General Range Structure for Cases

Data type: RNRANGEFALNR_TT
Optional: Yes
Call by Reference: Yes

I_BEWTY - IS-H: Movement Category

Data type: BEWTY
Optional: Yes
Call by Reference: Yes

ITR_BEWTY - Range Table for Movement Category

Data type: ISH_T_RNG_BEWTY
Optional: Yes
Call by Reference: Yes

IT_FALAR - Table Type for Case Type

Data type: ISH_T_FALAR
Optional: Yes
Call by Reference: Yes

ITR_FALAR - Table Type for Range of NFAL-FALAR

Data type: ISH_T_RNG_FALAR
Optional: Yes
Call by Reference: Yes

ITR_BWIDT - Table of Ranges for Date of Movement

Data type: ISH_T_RNG_BWIDT
Optional: Yes
Call by Reference: Yes

ITR_APSTATE - Table of Range for Application Status

Data type: ISH_T_RNG_APSTATE
Optional: Yes
Call by Reference: Yes

IT_PATNR - Table Type for Patient Number

Data type: ISH_T_PATNR
Optional: Yes
Call by Reference: Yes

I_PLANB - IS-H: Planned Indicator for Date of Movement

Data type: PLANB
Optional: Yes
Call by Reference: Yes

ITR_PLANB - Table of Ranges for Planned Indicator for Date of Movement

Data type: ISH_T_RNG_PLANB
Optional: Yes
Call by Reference: Yes

IT_NNAMS - Table Type for Standardized Last Name

Data type: ISH_T_NNAMS
Optional: Yes
Call by Reference: Yes

ITR_NNAMS - Range Table for Standardized Last Name

Data type: ISH_T_RNG_NNAMS
Optional: Yes
Call by Reference: Yes

I_ABRKZ - IS-H: Billing Indicator for Case

Data type: ABRKZ_FALL
Optional: Yes
Call by Reference: Yes

IT_ABRKZ - Table Type for Billing Indicator for Case

Data type: ISH_T_ARBKZ
Optional: Yes
Call by Reference: Yes

ITR_ABRKZ - Table of Ranges for Billing Indicator for Case

Data type: ISH_T_RNG_ARBKZ
Optional: Yes
Call by Reference: Yes

I_ORD_REQ - Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

ITR_STORN - Range Table for Cancellation Indicator

Data type: ISH_T_RNG_STORN
Optional: Yes
Call by Reference: Yes

I_STORN - IS-H: Cancellation Indicator

Data type: RI_STORN
Optional: Yes
Call by Reference: Yes

ITR_PATNR - IS-H: Table Type General Range Structure for Patients

Data type: RNRANGEPATNR_TT
Optional: Yes
Call by Reference: Yes

I_RNASEL00 - Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

ITR_BWART - Table of Ranges for Movement Type

Data type: ISH_T_RNG_BWART
Optional: Yes
Call by Reference: Yes

I_PLANB_REQ - Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_EINRI - Institution

Data type: EINRI
Optional: Yes
Call by Reference: Yes

IT_EINRI - Table Type for Institution

Data type: ISH_T_EINRI
Optional: Yes
Call by Reference: Yes

ITR_EINRI - IS-H: General Range Structure for Institutions Table Type

Data type: RNRANGEEINRI_TT
Optional: Yes
Call by Reference: Yes

I_ORGPF - Organizational Unit Assigned to Case

Data type: NZUWPF
Optional: Yes
Call by Reference: Yes

ITR_ORGPF - IS-H: Table Type for Range via Care Unit

Data type: RNRANGEORGPF_TT
Optional: Yes
Call by Reference: Yes

I_ORGFA - IS-H: OU with Departmental Responsibility for Case

Data type: NZUWFA
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_PNT_API_VFALLSEL

ET_PAT_VFALLSEL - Obsolete - donot use any more

Data type: ISH_T_PAT__FALL_BEW
Optional: No
Call by Reference: Yes

ET_VFALLSEL - Contains all fields of N_VFALLSEL

Data type: ISH_T_VFALLSEL
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISH_PNT_API_VFALLSEL

IT_ENTRIES - EINRI, PATNR, FALNR, FALAR und ABRKZ in einer Tabelle

Data type: N_VFALLSEL
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ISH_PNT_API_VFALLSEL Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_patnr  TYPE PATNR, "   
lt_it_entries  TYPE STANDARD TABLE OF N_VFALLSEL, "   
lv_et_pat_vfallsel  TYPE ISH_T_PAT__FALL_BEW, "   
lv_itr_orgfa  TYPE RNRANGEORGFA_TT, "   
lv_i_falnr  TYPE FALNR, "   
lv_it_falnr  TYPE ISH_T_FALNR, "   
lv_itr_falnr  TYPE RNRANGEFALNR_TT, "   
lv_i_bewty  TYPE BEWTY, "   
lv_itr_bewty  TYPE ISH_T_RNG_BEWTY, "   
lv_it_falar  TYPE ISH_T_FALAR, "   
lv_itr_falar  TYPE ISH_T_RNG_FALAR, "   
lv_itr_bwidt  TYPE ISH_T_RNG_BWIDT, "   
lv_itr_apstate  TYPE ISH_T_RNG_APSTATE, "   
lv_it_patnr  TYPE ISH_T_PATNR, "   
lv_et_vfallsel  TYPE ISH_T_VFALLSEL, "   
lv_i_planb  TYPE PLANB, "   
lv_itr_planb  TYPE ISH_T_RNG_PLANB, "   
lv_it_nnams  TYPE ISH_T_NNAMS, "   
lv_itr_nnams  TYPE ISH_T_RNG_NNAMS, "   
lv_i_abrkz  TYPE ABRKZ_FALL, "   
lv_it_abrkz  TYPE ISH_T_ARBKZ, "   
lv_itr_abrkz  TYPE ISH_T_RNG_ARBKZ, "   
lv_i_ord_req  TYPE ISH_ON_OFF, "   ' '
lv_itr_storn  TYPE ISH_T_RNG_STORN, "   
lv_i_storn  TYPE RI_STORN, "   
lv_itr_patnr  TYPE RNRANGEPATNR_TT, "   
lv_i_rnasel00  TYPE ISH_ON_OFF, "   ' '
lv_itr_bwart  TYPE ISH_T_RNG_BWART, "   
lv_i_planb_req  TYPE ISH_ON_OFF, "   ' '
lv_i_einri  TYPE EINRI, "   
lv_it_einri  TYPE ISH_T_EINRI, "   
lv_itr_einri  TYPE RNRANGEEINRI_TT, "   
lv_i_orgpf  TYPE NZUWPF, "   
lv_itr_orgpf  TYPE RNRANGEORGPF_TT, "   
lv_i_orgfa  TYPE NZUWFA. "   

  CALL FUNCTION 'ISH_PNT_API_VFALLSEL'  "IS-H: Replace Direct Selects on N_VFALLSEL
    EXPORTING
         I_PATNR = lv_i_patnr
         ITR_ORGFA = lv_itr_orgfa
         I_FALNR = lv_i_falnr
         IT_FALNR = lv_it_falnr
         ITR_FALNR = lv_itr_falnr
         I_BEWTY = lv_i_bewty
         ITR_BEWTY = lv_itr_bewty
         IT_FALAR = lv_it_falar
         ITR_FALAR = lv_itr_falar
         ITR_BWIDT = lv_itr_bwidt
         ITR_APSTATE = lv_itr_apstate
         IT_PATNR = lv_it_patnr
         I_PLANB = lv_i_planb
         ITR_PLANB = lv_itr_planb
         IT_NNAMS = lv_it_nnams
         ITR_NNAMS = lv_itr_nnams
         I_ABRKZ = lv_i_abrkz
         IT_ABRKZ = lv_it_abrkz
         ITR_ABRKZ = lv_itr_abrkz
         I_ORD_REQ = lv_i_ord_req
         ITR_STORN = lv_itr_storn
         I_STORN = lv_i_storn
         ITR_PATNR = lv_itr_patnr
         I_RNASEL00 = lv_i_rnasel00
         ITR_BWART = lv_itr_bwart
         I_PLANB_REQ = lv_i_planb_req
         I_EINRI = lv_i_einri
         IT_EINRI = lv_it_einri
         ITR_EINRI = lv_itr_einri
         I_ORGPF = lv_i_orgpf
         ITR_ORGPF = lv_itr_orgpf
         I_ORGFA = lv_i_orgfa
    IMPORTING
         ET_PAT_VFALLSEL = lv_et_pat_vfallsel
         ET_VFALLSEL = lv_et_vfallsel
    TABLES
         IT_ENTRIES = lt_it_entries
. " ISH_PNT_API_VFALLSEL




ABAP code using 7.40 inline data declarations to call FM ISH_PNT_API_VFALLSEL

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_ord_req) = ' '.
 
 
 
 
DATA(ld_i_rnasel00) = ' '.
 
 
DATA(ld_i_planb_req) = ' '.
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!