SAP Function Modules

ISH_PNT_API_VBEWFAL SAP Function module - IS-H: Replace Direct Selects on N_VBEWFAL







ISH_PNT_API_VBEWFAL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISH_PNT_API_VBEWFAL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: NPNT_API_VBEWFAL
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISH_PNT_API_VBEWFAL - ISH PNT API VBEWFAL





CALL FUNCTION 'ISH_PNT_API_VBEWFAL' "IS-H: Replace Direct Selects on N_VBEWFAL
* EXPORTING
*   i_einri =                   " einri         Institution
*   itr_einri =                 " rnrangeeinri_tt  IS-H: General Range Structure for Institutions Table Type
*   it_bett =                   " ish_t_bett    Table Type for Building ID of Bed Location
*   itr_bett =                  " ish_t_rng_bett  Table of Ranges for Building ID of Bed Location
*   i_orgpf =                   " orgid         Identification Key of Organizational Unit
*   it_orgpf =                  " ish_t_orgpf   Table Type for Organizational Unit Assigned to Case
*   itr_orgpf =                 " rnrangeorgpf_tt  IS-H: Table Type for Range via Care Unit
*   i_bwidt =                   " bwidt         IS-H: Date of Movement
*   itr_bwidt =                 " ish_t_rng_bwidt  Table of Ranges for Date of Movement
*   i_bwedt =                   " bwedt         IS-H: Movement End Date, Start Date of Subsequent Movement
*   itr_bwedt =                 " ish_t_rng_bwedt  Ranges for Movement End Date, Start Date of Next  Movement
*   itr_bwedt1 =                " ish_t_rng_bwedt  Ranges for Movement End Date, Start Date of Next  Movement
*   i_orgfa =                   " nzuwfa        IS-H: OU with Departmental Responsibility for Case
*   itr_orgfa =                 " rnrangeorgfa_tt  IS-H: Table Type for Range via Department
*   itr_falar =                 " ish_t_rng_falar  Table Type for Range of NFAL-FALAR
*   itr_bewty =                 " ish_t_rng_bewty  Range Table for Movement Category
*   itr_bewty1 =                " ish_t_rng_bewty  Range Table for Movement Category
*   i_falnr =                   " falnr         IS-H: Case Number
*   it_falnr =                  " ish_t_falnr   IS-H: Table with Case Numbers
*   i_planb =                   " planb         IS-H: Planned Indicator for Date of Movement
*   itr_planb =                 " ish_t_rng_planb  Table of Ranges for Planned Indicator for Date of Movement
*   i_planr =                   " planr         Planning segment number
*   itr_planr =                 " ish_t_rng_planr  Range Table for Planned Indicator for Room Assignment
*   itr_fachs =                 " ish_t_rng_fachs  Table of Ranges for Occupancy Characteristic
*   i_lfdnr =                   " lfdbew        IS-H: Sequence Number of Movement
*   itr_lfdnr =                 " ish_t_rng_lfdnr  Range Table for Sequence Number of Movement
*   itr_bwart =                 " ish_t_rng_bwart  Table of Ranges for Movement Type
*   itr_zimmr =                 " ish_t_rng_zimmr  Range Table for Building ID of Room
*   itr_storn =                 " ish_t_rng_storn  Range Table for Cancellation Indicator
*   i_storn =                   " ri_storn      IS-H: Cancellation Indicator
*   i_plane =                   " plane         IS-H: Planned Indicator for End Date of Movement
*   itr_plane =                 " ish_t_rng_plane  Ranges for Planned Indicator for End Date of Movement
*   i_mndiaf20 = ' '            " ish_on_off    Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_rnppendl = ' '            " ish_on_off    Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_rnpdia00 = ' '            " ish_on_off    Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_rnpfkl00 = ' '            " ish_on_off    Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_rnwp_occupancy_list = ' '  " ish_on_off   Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_lnbewu01 = ' '            " ish_on_off    IS-H: Boolean Data Type for ON (= "X") and OFF (= " ")
*   it_fields =                 " ish_t_char72  Restriction on fields to be selected
  IMPORTING
    et_vbewfal =                " ish_t_vbewfal  Table of NBEW/NFAL/NPAT Data as in N_VBEWFAL
    .  "  ISH_PNT_API_VBEWFAL

ABAP code example for Function Module ISH_PNT_API_VBEWFAL





The ABAP code below is a full code listing to execute function module ISH_PNT_API_VBEWFAL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_et_vbewfal  TYPE ISH_T_VBEWFAL .

DATA(ld_i_einri) = 'Check type of data required'.
DATA(ld_itr_einri) = 'Check type of data required'.
DATA(ld_it_bett) = 'Check type of data required'.
DATA(ld_itr_bett) = 'Check type of data required'.
DATA(ld_i_orgpf) = 'Check type of data required'.
DATA(ld_it_orgpf) = 'Check type of data required'.
DATA(ld_itr_orgpf) = 'Check type of data required'.
DATA(ld_i_bwidt) = 'Check type of data required'.
DATA(ld_itr_bwidt) = 'Check type of data required'.
DATA(ld_i_bwedt) = 'Check type of data required'.
DATA(ld_itr_bwedt) = 'Check type of data required'.
DATA(ld_itr_bwedt1) = 'Check type of data required'.
DATA(ld_i_orgfa) = 'Check type of data required'.
DATA(ld_itr_orgfa) = 'Check type of data required'.
DATA(ld_itr_falar) = 'Check type of data required'.
DATA(ld_itr_bewty) = 'Check type of data required'.
DATA(ld_itr_bewty1) = 'Check type of data required'.
DATA(ld_i_falnr) = 'Check type of data required'.
DATA(ld_it_falnr) = 'Check type of data required'.
DATA(ld_i_planb) = 'Check type of data required'.
DATA(ld_itr_planb) = 'Check type of data required'.
DATA(ld_i_planr) = 'Check type of data required'.
DATA(ld_itr_planr) = 'Check type of data required'.
DATA(ld_itr_fachs) = 'Check type of data required'.
DATA(ld_i_lfdnr) = 'Check type of data required'.
DATA(ld_itr_lfdnr) = 'Check type of data required'.
DATA(ld_itr_bwart) = 'Check type of data required'.
DATA(ld_itr_zimmr) = 'Check type of data required'.
DATA(ld_itr_storn) = 'Check type of data required'.
DATA(ld_i_storn) = 'Check type of data required'.
DATA(ld_i_plane) = 'Check type of data required'.
DATA(ld_itr_plane) = 'Check type of data required'.
DATA(ld_i_mndiaf20) = 'Check type of data required'.
DATA(ld_i_rnppendl) = 'Check type of data required'.
DATA(ld_i_rnpdia00) = 'Check type of data required'.
DATA(ld_i_rnpfkl00) = 'Check type of data required'.
DATA(ld_i_rnwp_occupancy_list) = 'Check type of data required'.
DATA(ld_i_lnbewu01) = 'Check type of data required'.
DATA(ld_it_fields) = 'Check type of data required'. . CALL FUNCTION 'ISH_PNT_API_VBEWFAL' * EXPORTING * i_einri = ld_i_einri * itr_einri = ld_itr_einri * it_bett = ld_it_bett * itr_bett = ld_itr_bett * i_orgpf = ld_i_orgpf * it_orgpf = ld_it_orgpf * itr_orgpf = ld_itr_orgpf * i_bwidt = ld_i_bwidt * itr_bwidt = ld_itr_bwidt * i_bwedt = ld_i_bwedt * itr_bwedt = ld_itr_bwedt * itr_bwedt1 = ld_itr_bwedt1 * i_orgfa = ld_i_orgfa * itr_orgfa = ld_itr_orgfa * itr_falar = ld_itr_falar * itr_bewty = ld_itr_bewty * itr_bewty1 = ld_itr_bewty1 * i_falnr = ld_i_falnr * it_falnr = ld_it_falnr * i_planb = ld_i_planb * itr_planb = ld_itr_planb * i_planr = ld_i_planr * itr_planr = ld_itr_planr * itr_fachs = ld_itr_fachs * i_lfdnr = ld_i_lfdnr * itr_lfdnr = ld_itr_lfdnr * itr_bwart = ld_itr_bwart * itr_zimmr = ld_itr_zimmr * itr_storn = ld_itr_storn * i_storn = ld_i_storn * i_plane = ld_i_plane * itr_plane = ld_itr_plane * i_mndiaf20 = ld_i_mndiaf20 * i_rnppendl = ld_i_rnppendl * i_rnpdia00 = ld_i_rnpdia00 * i_rnpfkl00 = ld_i_rnpfkl00 * i_rnwp_occupancy_list = ld_i_rnwp_occupancy_list * i_lnbewu01 = ld_i_lnbewu01 * it_fields = ld_it_fields IMPORTING et_vbewfal = ld_et_vbewfal . " ISH_PNT_API_VBEWFAL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_et_vbewfal  TYPE ISH_T_VBEWFAL ,
ld_i_einri  TYPE EINRI ,
ld_itr_einri  TYPE RNRANGEEINRI_TT ,
ld_it_bett  TYPE ISH_T_BETT ,
ld_itr_bett  TYPE ISH_T_RNG_BETT ,
ld_i_orgpf  TYPE ORGID ,
ld_it_orgpf  TYPE ISH_T_ORGPF ,
ld_itr_orgpf  TYPE RNRANGEORGPF_TT ,
ld_i_bwidt  TYPE BWIDT ,
ld_itr_bwidt  TYPE ISH_T_RNG_BWIDT ,
ld_i_bwedt  TYPE BWEDT ,
ld_itr_bwedt  TYPE ISH_T_RNG_BWEDT ,
ld_itr_bwedt1  TYPE ISH_T_RNG_BWEDT ,
ld_i_orgfa  TYPE NZUWFA ,
ld_itr_orgfa  TYPE RNRANGEORGFA_TT ,
ld_itr_falar  TYPE ISH_T_RNG_FALAR ,
ld_itr_bewty  TYPE ISH_T_RNG_BEWTY ,
ld_itr_bewty1  TYPE ISH_T_RNG_BEWTY ,
ld_i_falnr  TYPE FALNR ,
ld_it_falnr  TYPE ISH_T_FALNR ,
ld_i_planb  TYPE PLANB ,
ld_itr_planb  TYPE ISH_T_RNG_PLANB ,
ld_i_planr  TYPE PLANR ,
ld_itr_planr  TYPE ISH_T_RNG_PLANR ,
ld_itr_fachs  TYPE ISH_T_RNG_FACHS ,
ld_i_lfdnr  TYPE LFDBEW ,
ld_itr_lfdnr  TYPE ISH_T_RNG_LFDNR ,
ld_itr_bwart  TYPE ISH_T_RNG_BWART ,
ld_itr_zimmr  TYPE ISH_T_RNG_ZIMMR ,
ld_itr_storn  TYPE ISH_T_RNG_STORN ,
ld_i_storn  TYPE RI_STORN ,
ld_i_plane  TYPE PLANE ,
ld_itr_plane  TYPE ISH_T_RNG_PLANE ,
ld_i_mndiaf20  TYPE ISH_ON_OFF ,
ld_i_rnppendl  TYPE ISH_ON_OFF ,
ld_i_rnpdia00  TYPE ISH_ON_OFF ,
ld_i_rnpfkl00  TYPE ISH_ON_OFF ,
ld_i_rnwp_occupancy_list  TYPE ISH_ON_OFF ,
ld_i_lnbewu01  TYPE ISH_ON_OFF ,
ld_it_fields  TYPE ISH_T_CHAR72 .

ld_i_einri = 'Check type of data required'.
ld_itr_einri = 'Check type of data required'.
ld_it_bett = 'Check type of data required'.
ld_itr_bett = 'Check type of data required'.
ld_i_orgpf = 'Check type of data required'.
ld_it_orgpf = 'Check type of data required'.
ld_itr_orgpf = 'Check type of data required'.
ld_i_bwidt = 'Check type of data required'.
ld_itr_bwidt = 'Check type of data required'.
ld_i_bwedt = 'Check type of data required'.
ld_itr_bwedt = 'Check type of data required'.
ld_itr_bwedt1 = 'Check type of data required'.
ld_i_orgfa = 'Check type of data required'.
ld_itr_orgfa = 'Check type of data required'.
ld_itr_falar = 'Check type of data required'.
ld_itr_bewty = 'Check type of data required'.
ld_itr_bewty1 = 'Check type of data required'.
ld_i_falnr = 'Check type of data required'.
ld_it_falnr = 'Check type of data required'.
ld_i_planb = 'Check type of data required'.
ld_itr_planb = 'Check type of data required'.
ld_i_planr = 'Check type of data required'.
ld_itr_planr = 'Check type of data required'.
ld_itr_fachs = 'Check type of data required'.
ld_i_lfdnr = 'Check type of data required'.
ld_itr_lfdnr = 'Check type of data required'.
ld_itr_bwart = 'Check type of data required'.
ld_itr_zimmr = 'Check type of data required'.
ld_itr_storn = 'Check type of data required'.
ld_i_storn = 'Check type of data required'.
ld_i_plane = 'Check type of data required'.
ld_itr_plane = 'Check type of data required'.
ld_i_mndiaf20 = 'Check type of data required'.
ld_i_rnppendl = 'Check type of data required'.
ld_i_rnpdia00 = 'Check type of data required'.
ld_i_rnpfkl00 = 'Check type of data required'.
ld_i_rnwp_occupancy_list = 'Check type of data required'.
ld_i_lnbewu01 = 'Check type of data required'.
ld_it_fields = 'Check type of data required'.

SAP Documentation for FM ISH_PNT_API_VBEWFAL


This function module provides the API layer for the adaptation of direct selects made on the N_VBEWFAL view between the NBEW, NFAL and NPAT ...See here for full SAP fm documentation






Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISH_PNT_API_VBEWFAL or its description.