ISH_READ_DATES_FOR_SERVICES 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_READ_DATES_FOR_SERVICES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
N014
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_READ_DATES_FOR_SERVICES' "
EXPORTING
* authority_check = SPACE " rnle1-mark Perform authority check ON=yes / OFF=no
einri = " tn01-einri Institution for which selection should be made
falnr = " nfal-falnr Case number for which services should be selected
patnr = " npat-patnr Patient Number
vcode = " rng10-vcode Current processing mode (for auth. check)
* nlei_storn = 'X' " rnle1-mark Read cancelled NLEI records also
* nvvp_nvvf_storn = SPACE " rnle1-mark Read cancelled ins. relatshps also
* nlei_abrkz_off = 'X' " rnle1-mark Read non-billable services also
IMPORTING
authority = " Authority check ok=TRUE; no authoriz.=FALSE
TABLES
* e_nksk = " rnksk Determined IV headers
* e_nksp = " rnksp Determined IV items
* e_nktr = " rnktr Determined ins. providers for current IRs
e_nlei = " nlei Determined services for case
* e_nlkz = " nlkz Determined assignment records fro services
* ie_nvvf = " nvvf Determined case-rel. insurance relshps -->F2
* ie_nvvp = " nvvp Determined patient-rel. IRs
* e_nicp = " rnicp
* e_nlicz = " vnlicz
. " ISH_READ_DATES_FOR_SERVICES
The ABAP code below is a full code listing to execute function module ISH_READ_DATES_FOR_SERVICES 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).
| ld_authority | TYPE STRING , |
| it_e_nksk | TYPE STANDARD TABLE OF RNKSK,"TABLES PARAM |
| wa_e_nksk | LIKE LINE OF it_e_nksk , |
| it_e_nksp | TYPE STANDARD TABLE OF RNKSP,"TABLES PARAM |
| wa_e_nksp | LIKE LINE OF it_e_nksp , |
| it_e_nktr | TYPE STANDARD TABLE OF RNKTR,"TABLES PARAM |
| wa_e_nktr | LIKE LINE OF it_e_nktr , |
| it_e_nlei | TYPE STANDARD TABLE OF NLEI,"TABLES PARAM |
| wa_e_nlei | LIKE LINE OF it_e_nlei , |
| it_e_nlkz | TYPE STANDARD TABLE OF NLKZ,"TABLES PARAM |
| wa_e_nlkz | LIKE LINE OF it_e_nlkz , |
| it_ie_nvvf | TYPE STANDARD TABLE OF NVVF,"TABLES PARAM |
| wa_ie_nvvf | LIKE LINE OF it_ie_nvvf , |
| it_ie_nvvp | TYPE STANDARD TABLE OF NVVP,"TABLES PARAM |
| wa_ie_nvvp | LIKE LINE OF it_ie_nvvp , |
| it_e_nicp | TYPE STANDARD TABLE OF RNICP,"TABLES PARAM |
| wa_e_nicp | LIKE LINE OF it_e_nicp , |
| it_e_nlicz | TYPE STANDARD TABLE OF VNLICZ,"TABLES PARAM |
| wa_e_nlicz | LIKE LINE OF it_e_nlicz . |
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_authority | TYPE STRING , |
| ld_authority_check | TYPE RNLE1-MARK , |
| it_e_nksk | TYPE STANDARD TABLE OF RNKSK , |
| wa_e_nksk | LIKE LINE OF it_e_nksk, |
| ld_einri | TYPE TN01-EINRI , |
| it_e_nksp | TYPE STANDARD TABLE OF RNKSP , |
| wa_e_nksp | LIKE LINE OF it_e_nksp, |
| ld_falnr | TYPE NFAL-FALNR , |
| it_e_nktr | TYPE STANDARD TABLE OF RNKTR , |
| wa_e_nktr | LIKE LINE OF it_e_nktr, |
| ld_patnr | TYPE NPAT-PATNR , |
| it_e_nlei | TYPE STANDARD TABLE OF NLEI , |
| wa_e_nlei | LIKE LINE OF it_e_nlei, |
| ld_vcode | TYPE RNG10-VCODE , |
| it_e_nlkz | TYPE STANDARD TABLE OF NLKZ , |
| wa_e_nlkz | LIKE LINE OF it_e_nlkz, |
| ld_nlei_storn | TYPE RNLE1-MARK , |
| it_ie_nvvf | TYPE STANDARD TABLE OF NVVF , |
| wa_ie_nvvf | LIKE LINE OF it_ie_nvvf, |
| ld_nvvp_nvvf_storn | TYPE RNLE1-MARK , |
| it_ie_nvvp | TYPE STANDARD TABLE OF NVVP , |
| wa_ie_nvvp | LIKE LINE OF it_ie_nvvp, |
| ld_nlei_abrkz_off | TYPE RNLE1-MARK , |
| it_e_nicp | TYPE STANDARD TABLE OF RNICP , |
| wa_e_nicp | LIKE LINE OF it_e_nicp, |
| it_e_nlicz | TYPE STANDARD TABLE OF VNLICZ , |
| wa_e_nlicz | LIKE LINE OF it_e_nlicz. |
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_READ_DATES_FOR_SERVICES or its description.