ISH_PROCEDURE_DOCUMENT_FILL 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_PROCEDURE_DOCUMENT_FILL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
N042
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_PROCEDURE_DOCUMENT_FILL' "
EXPORTING
ss_einri = " tn01-einri Current Institution
ss_falnr = " nfal-falnr Current Case
* ss_only_maincode = ' ' " npdok-xfeld
* ss_only_drg = ' ' " npdok-xfeld
* ss_lfdbew = " nbew-lfdnr
* ss_read_nicp = 'X' " ish_on_off
* ss_language = SY-LANGU " sy-langu
* ss_uniretcase = OFF " ish_on_off
* ss_only_official = ' ' " npdok-xfeld
* TABLES
* ss_nbew = " vnbew
* ss_nicp = " rnicp
* ss_rnf62 = " rnf62
* ss_rnf63 = " rnf63
* ss_rnf64 = " rnf64
* ss_rnf29 = " rnf29
* ss_nlicz = " nlicz IS-H: Table of Service-to-Surgical Procedures Code Asgmts
* ss_ndicz = " ndicz IS-H: Table of Diagnosis-to-Surgical Procedures Code Asgmts
EXCEPTIONS
NO_PROCEDURES_FOUND = 1 "
WRONG_LFDBEW = 2 "
. " ISH_PROCEDURE_DOCUMENT_FILL
The ABAP code below is a full code listing to execute function module ISH_PROCEDURE_DOCUMENT_FILL 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).
| it_ss_nbew | TYPE STANDARD TABLE OF VNBEW,"TABLES PARAM |
| wa_ss_nbew | LIKE LINE OF it_ss_nbew , |
| it_ss_nicp | TYPE STANDARD TABLE OF RNICP,"TABLES PARAM |
| wa_ss_nicp | LIKE LINE OF it_ss_nicp , |
| it_ss_rnf62 | TYPE STANDARD TABLE OF RNF62,"TABLES PARAM |
| wa_ss_rnf62 | LIKE LINE OF it_ss_rnf62 , |
| it_ss_rnf63 | TYPE STANDARD TABLE OF RNF63,"TABLES PARAM |
| wa_ss_rnf63 | LIKE LINE OF it_ss_rnf63 , |
| it_ss_rnf64 | TYPE STANDARD TABLE OF RNF64,"TABLES PARAM |
| wa_ss_rnf64 | LIKE LINE OF it_ss_rnf64 , |
| it_ss_rnf29 | TYPE STANDARD TABLE OF RNF29,"TABLES PARAM |
| wa_ss_rnf29 | LIKE LINE OF it_ss_rnf29 , |
| it_ss_nlicz | TYPE STANDARD TABLE OF NLICZ,"TABLES PARAM |
| wa_ss_nlicz | LIKE LINE OF it_ss_nlicz , |
| it_ss_ndicz | TYPE STANDARD TABLE OF NDICZ,"TABLES PARAM |
| wa_ss_ndicz | LIKE LINE OF it_ss_ndicz . |
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_ss_einri | TYPE TN01-EINRI , |
| it_ss_nbew | TYPE STANDARD TABLE OF VNBEW , |
| wa_ss_nbew | LIKE LINE OF it_ss_nbew, |
| ld_ss_falnr | TYPE NFAL-FALNR , |
| it_ss_nicp | TYPE STANDARD TABLE OF RNICP , |
| wa_ss_nicp | LIKE LINE OF it_ss_nicp, |
| ld_ss_only_maincode | TYPE NPDOK-XFELD , |
| it_ss_rnf62 | TYPE STANDARD TABLE OF RNF62 , |
| wa_ss_rnf62 | LIKE LINE OF it_ss_rnf62, |
| ld_ss_only_drg | TYPE NPDOK-XFELD , |
| it_ss_rnf63 | TYPE STANDARD TABLE OF RNF63 , |
| wa_ss_rnf63 | LIKE LINE OF it_ss_rnf63, |
| ld_ss_lfdbew | TYPE NBEW-LFDNR , |
| it_ss_rnf64 | TYPE STANDARD TABLE OF RNF64 , |
| wa_ss_rnf64 | LIKE LINE OF it_ss_rnf64, |
| ld_ss_read_nicp | TYPE ISH_ON_OFF , |
| it_ss_rnf29 | TYPE STANDARD TABLE OF RNF29 , |
| wa_ss_rnf29 | LIKE LINE OF it_ss_rnf29, |
| ld_ss_language | TYPE SY-LANGU , |
| it_ss_nlicz | TYPE STANDARD TABLE OF NLICZ , |
| wa_ss_nlicz | LIKE LINE OF it_ss_nlicz, |
| ld_ss_uniretcase | TYPE ISH_ON_OFF , |
| it_ss_ndicz | TYPE STANDARD TABLE OF NDICZ , |
| wa_ss_ndicz | LIKE LINE OF it_ss_ndicz, |
| ld_ss_only_official | TYPE NPDOK-XFELD . |
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_PROCEDURE_DOCUMENT_FILL or its description.