ISH_PROCESS_MOVEMENTS 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_PROCESS_MOVEMENTS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
N00L
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_PROCESS_MOVEMENTS' "
EXPORTING
ausbegdt = " sy-datum Evaluation Start
ausenddt = " sy-datum Evaluation End
* calc_orgfa = 'X' "
* calc_orgpf = 'X' "
* cases_24h = SPACE " Include 24-hour Cases (ON/OFF)
* complete_orgfa = SPACE "
* complete_orgpf = SPACE "
* complete_sections = SPACE "
einri = " tn01-einri Institution
* escorts = SPACE " Include Companions (ON/OFF)
* fatyp = SPACE " tnkfa-fatyp
number_of_cases = " Number of Cases per Call
* repl_int_sections = SPACE "
* stasp = 'X' " nfal-stasp Include Statistical Block of Case (ON/OFF)
verbegdt = " sy-datum Start of Comparison
verenddt = " sy-datum End of Comparison
* visits = SPACE " Include Outpatient Visits (ON/OFF)
* all_moves = SPACE " Select all Movements (ON/OFF)
* inp_without_adm = SPACE " -> F2
* lastv = SPACE " Only Include Last Inpat. Movement of Day
* foreigner = 'N' " Include Foreign Cases -> F2
* address = SPACE "
* multiple_sick_newborns = 'X' "
* united_return_cases = ' ' "
* i_ignore_eo = SPACE " ish_on_off
* i_plan_end = SPACE "
* i_surgery_moves = SPACE " ish_on_off
TABLES
falar = " rnsfalar Relevant Case Types
gschl = " rnsgschl Relevant Sexes
moves = " rnsbew
orgfa = " rnsorgid
orgpf = " rnsorgid
patients = " rnspat
* napx_fal = " napx_fal
EXCEPTIONS
BEGDT_GT_ENDDT = 1 " Start Later than End
INVALID_EINRI = 2 " Wrong Institution
INVALID_FATYP = 3 "
INVALID_PERIOD = 4 "
NO_FALNR_LEFT = 5 " No More Case Numbers to Select
. " ISH_PROCESS_MOVEMENTS
The ABAP code below is a full code listing to execute function module ISH_PROCESS_MOVEMENTS 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_falar | TYPE STANDARD TABLE OF RNSFALAR,"TABLES PARAM |
| wa_falar | LIKE LINE OF it_falar , |
| it_gschl | TYPE STANDARD TABLE OF RNSGSCHL,"TABLES PARAM |
| wa_gschl | LIKE LINE OF it_gschl , |
| it_moves | TYPE STANDARD TABLE OF RNSBEW,"TABLES PARAM |
| wa_moves | LIKE LINE OF it_moves , |
| it_orgfa | TYPE STANDARD TABLE OF RNSORGID,"TABLES PARAM |
| wa_orgfa | LIKE LINE OF it_orgfa , |
| it_orgpf | TYPE STANDARD TABLE OF RNSORGID,"TABLES PARAM |
| wa_orgpf | LIKE LINE OF it_orgpf , |
| it_patients | TYPE STANDARD TABLE OF RNSPAT,"TABLES PARAM |
| wa_patients | LIKE LINE OF it_patients , |
| it_napx_fal | TYPE STANDARD TABLE OF NAPX_FAL,"TABLES PARAM |
| wa_napx_fal | LIKE LINE OF it_napx_fal . |
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:
| it_falar | TYPE STANDARD TABLE OF RNSFALAR , |
| wa_falar | LIKE LINE OF it_falar, |
| ld_ausbegdt | TYPE SY-DATUM , |
| ld_ausenddt | TYPE SY-DATUM , |
| it_gschl | TYPE STANDARD TABLE OF RNSGSCHL , |
| wa_gschl | LIKE LINE OF it_gschl, |
| ld_calc_orgfa | TYPE STRING , |
| it_moves | TYPE STANDARD TABLE OF RNSBEW , |
| wa_moves | LIKE LINE OF it_moves, |
| ld_calc_orgpf | TYPE STRING , |
| it_orgfa | TYPE STANDARD TABLE OF RNSORGID , |
| wa_orgfa | LIKE LINE OF it_orgfa, |
| ld_cases_24h | TYPE STRING , |
| it_orgpf | TYPE STANDARD TABLE OF RNSORGID , |
| wa_orgpf | LIKE LINE OF it_orgpf, |
| ld_complete_orgfa | TYPE STRING , |
| it_patients | TYPE STANDARD TABLE OF RNSPAT , |
| wa_patients | LIKE LINE OF it_patients, |
| ld_complete_orgpf | TYPE STRING , |
| it_napx_fal | TYPE STANDARD TABLE OF NAPX_FAL , |
| wa_napx_fal | LIKE LINE OF it_napx_fal, |
| ld_complete_sections | TYPE STRING , |
| ld_einri | TYPE TN01-EINRI , |
| ld_escorts | TYPE STRING , |
| ld_fatyp | TYPE TNKFA-FATYP , |
| ld_number_of_cases | TYPE STRING , |
| ld_repl_int_sections | TYPE STRING , |
| ld_stasp | TYPE NFAL-STASP , |
| ld_verbegdt | TYPE SY-DATUM , |
| ld_verenddt | TYPE SY-DATUM , |
| ld_visits | TYPE STRING , |
| ld_all_moves | TYPE STRING , |
| ld_inp_without_adm | TYPE STRING , |
| ld_lastv | TYPE STRING , |
| ld_foreigner | TYPE STRING , |
| ld_address | TYPE STRING , |
| ld_multiple_sick_newborns | TYPE STRING , |
| ld_united_return_cases | TYPE STRING , |
| ld_i_ignore_eo | TYPE ISH_ON_OFF , |
| ld_i_plan_end | TYPE STRING , |
| ld_i_surgery_moves | TYPE ISH_ON_OFF . |
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_PROCESS_MOVEMENTS or its description.