SAP ISH_PROCESS_MOVEMENTS Function Module for
ISH_PROCESS_MOVEMENTS is a standard ish process movements SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 process movements FM, simply by entering the name ISH_PROCESS_MOVEMENTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: N00L
Program Name: SAPLN00L
Main Program: SAPLN00L
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_PROCESS_MOVEMENTS 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_PROCESS_MOVEMENTS'".
EXPORTING
AUSBEGDT = "Evaluation Start
* ESCORTS = ' ' "Include Companions (ON/OFF)
* FATYP = ' ' "
NUMBER_OF_CASES = "Number of Cases per Call
* REPL_INT_SECTIONS = ' ' "
* STASP = 'X' "Include Statistical Block of Case (ON/OFF)
VERBEGDT = "Start of Comparison
VERENDDT = "End of Comparison
* VISITS = ' ' "Include Outpatient Visits (ON/OFF)
* ALL_MOVES = ' ' "Select all Movements (ON/OFF)
* INP_WITHOUT_ADM = ' ' "-> F2
AUSENDDT = "Evaluation End
* LASTV = ' ' "Only Include Last Inpat. Movement of Day
* FOREIGNER = 'N' "Include Foreign Cases -> F2
* ADDRESS = ' ' "
* MULTIPLE_SICK_NEWBORNS = 'X' "
* UNITED_RETURN_CASES = ' ' "
* I_IGNORE_EO = ' ' "
* I_PLAN_END = ' ' "
* I_SURGERY_MOVES = ' ' "
* CALC_ORGFA = 'X' "
* CALC_ORGPF = 'X' "
* CASES_24H = ' ' "Include 24-hour Cases (ON/OFF)
* COMPLETE_ORGFA = ' ' "
* COMPLETE_ORGPF = ' ' "
* COMPLETE_SECTIONS = ' ' "
EINRI = "Institution
TABLES
FALAR = "Relevant Case Types
GSCHL = "Relevant Sexes
MOVES = "
ORGFA = "
ORGPF = "
PATIENTS = "
* NAPX_FAL = "
EXCEPTIONS
BEGDT_GT_ENDDT = 1 INVALID_EINRI = 2 INVALID_FATYP = 3 INVALID_PERIOD = 4 NO_FALNR_LEFT = 5
IMPORTING Parameters details for ISH_PROCESS_MOVEMENTS
AUSBEGDT - Evaluation Start
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
ESCORTS - Include Companions (ON/OFF)
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FATYP -
Data type: TNKFA-FATYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
NUMBER_OF_CASES - Number of Cases per Call
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REPL_INT_SECTIONS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
STASP - Include Statistical Block of Case (ON/OFF)
Data type: NFAL-STASPDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VERBEGDT - Start of Comparison
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
VERENDDT - End of Comparison
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
VISITS - Include Outpatient Visits (ON/OFF)
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ALL_MOVES - Select all Movements (ON/OFF)
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
INP_WITHOUT_ADM - -> F2
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUSENDDT - Evaluation End
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
LASTV - Only Include Last Inpat. Movement of Day
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FOREIGNER - Include Foreign Cases -> F2
Data type:Default: 'N'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ADDRESS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MULTIPLE_SICK_NEWBORNS -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
UNITED_RETURN_CASES -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IGNORE_EO -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLAN_END -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SURGERY_MOVES -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALC_ORGFA -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALC_ORGPF -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CASES_24H - Include 24-hour Cases (ON/OFF)
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMPLETE_ORGFA -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMPLETE_ORGPF -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMPLETE_SECTIONS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EINRI - Institution
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_PROCESS_MOVEMENTS
FALAR - Relevant Case Types
Data type: RNSFALAROptional: No
Call by Reference: No ( called with pass by value option)
GSCHL - Relevant Sexes
Data type: RNSGSCHLOptional: No
Call by Reference: No ( called with pass by value option)
MOVES -
Data type: RNSBEWOptional: No
Call by Reference: No ( called with pass by value option)
ORGFA -
Data type: RNSORGIDOptional: No
Call by Reference: No ( called with pass by value option)
ORGPF -
Data type: RNSORGIDOptional: No
Call by Reference: No ( called with pass by value option)
PATIENTS -
Data type: RNSPATOptional: No
Call by Reference: No ( called with pass by value option)
NAPX_FAL -
Data type: NAPX_FALOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
BEGDT_GT_ENDDT - Start Later than End
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_EINRI - Wrong Institution
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_FATYP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_PERIOD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_FALNR_LEFT - No More Case Numbers to Select
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_PROCESS_MOVEMENTS 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: | ||||
| lt_falar | TYPE STANDARD TABLE OF RNSFALAR, " | |||
| lv_ausbegdt | TYPE SY-DATUM, " | |||
| lv_begdt_gt_enddt | TYPE SY, " | |||
| lv_escorts | TYPE SY, " SPACE | |||
| lv_fatyp | TYPE TNKFA-FATYP, " SPACE | |||
| lv_number_of_cases | TYPE TNKFA, " | |||
| lv_repl_int_sections | TYPE TNKFA, " SPACE | |||
| lv_stasp | TYPE NFAL-STASP, " 'X' | |||
| lv_verbegdt | TYPE SY-DATUM, " | |||
| lv_verenddt | TYPE SY-DATUM, " | |||
| lv_visits | TYPE SY, " SPACE | |||
| lv_all_moves | TYPE SY, " SPACE | |||
| lv_inp_without_adm | TYPE SY, " SPACE | |||
| lt_gschl | TYPE STANDARD TABLE OF RNSGSCHL, " | |||
| lv_ausenddt | TYPE SY-DATUM, " | |||
| lv_invalid_einri | TYPE SY, " | |||
| lv_lastv | TYPE SY, " SPACE | |||
| lv_foreigner | TYPE SY, " 'N' | |||
| lv_address | TYPE SY, " SPACE | |||
| lv_multiple_sick_newborns | TYPE SY, " 'X' | |||
| lv_united_return_cases | TYPE SY, " ' ' | |||
| lv_i_ignore_eo | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_plan_end | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_surgery_moves | TYPE ISH_ON_OFF, " SPACE | |||
| lt_moves | TYPE STANDARD TABLE OF RNSBEW, " | |||
| lv_calc_orgfa | TYPE RNSBEW, " 'X' | |||
| lv_invalid_fatyp | TYPE RNSBEW, " | |||
| lt_orgfa | TYPE STANDARD TABLE OF RNSORGID, " | |||
| lv_calc_orgpf | TYPE RNSORGID, " 'X' | |||
| lv_invalid_period | TYPE RNSORGID, " | |||
| lt_orgpf | TYPE STANDARD TABLE OF RNSORGID, " | |||
| lv_cases_24h | TYPE RNSORGID, " SPACE | |||
| lv_no_falnr_left | TYPE RNSORGID, " | |||
| lt_patients | TYPE STANDARD TABLE OF RNSPAT, " | |||
| lv_complete_orgfa | TYPE RNSPAT, " SPACE | |||
| lt_napx_fal | TYPE STANDARD TABLE OF NAPX_FAL, " | |||
| lv_complete_orgpf | TYPE NAPX_FAL, " SPACE | |||
| lv_complete_sections | TYPE NAPX_FAL, " SPACE | |||
| lv_einri | TYPE TN01-EINRI. " |
|   CALL FUNCTION 'ISH_PROCESS_MOVEMENTS' " |
| EXPORTING | ||
| AUSBEGDT | = lv_ausbegdt | |
| ESCORTS | = lv_escorts | |
| FATYP | = lv_fatyp | |
| NUMBER_OF_CASES | = lv_number_of_cases | |
| REPL_INT_SECTIONS | = lv_repl_int_sections | |
| STASP | = lv_stasp | |
| VERBEGDT | = lv_verbegdt | |
| VERENDDT | = lv_verenddt | |
| VISITS | = lv_visits | |
| ALL_MOVES | = lv_all_moves | |
| INP_WITHOUT_ADM | = lv_inp_without_adm | |
| AUSENDDT | = lv_ausenddt | |
| LASTV | = lv_lastv | |
| FOREIGNER | = lv_foreigner | |
| ADDRESS | = lv_address | |
| MULTIPLE_SICK_NEWBORNS | = lv_multiple_sick_newborns | |
| UNITED_RETURN_CASES | = lv_united_return_cases | |
| I_IGNORE_EO | = lv_i_ignore_eo | |
| I_PLAN_END | = lv_i_plan_end | |
| I_SURGERY_MOVES | = lv_i_surgery_moves | |
| CALC_ORGFA | = lv_calc_orgfa | |
| CALC_ORGPF | = lv_calc_orgpf | |
| CASES_24H | = lv_cases_24h | |
| COMPLETE_ORGFA | = lv_complete_orgfa | |
| COMPLETE_ORGPF | = lv_complete_orgpf | |
| COMPLETE_SECTIONS | = lv_complete_sections | |
| EINRI | = lv_einri | |
| TABLES | ||
| FALAR | = lt_falar | |
| GSCHL | = lt_gschl | |
| MOVES | = lt_moves | |
| ORGFA | = lt_orgfa | |
| ORGPF | = lt_orgpf | |
| PATIENTS | = lt_patients | |
| NAPX_FAL | = lt_napx_fal | |
| EXCEPTIONS | ||
| BEGDT_GT_ENDDT = 1 | ||
| INVALID_EINRI = 2 | ||
| INVALID_FATYP = 3 | ||
| INVALID_PERIOD = 4 | ||
| NO_FALNR_LEFT = 5 | ||
| . " ISH_PROCESS_MOVEMENTS | ||
ABAP code using 7.40 inline data declarations to call FM ISH_PROCESS_MOVEMENTS
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.| "SELECT single DATUM FROM SY INTO @DATA(ld_ausbegdt). | ||||
| DATA(ld_escorts) | = ' '. | |||
| "SELECT single FATYP FROM TNKFA INTO @DATA(ld_fatyp). | ||||
| DATA(ld_fatyp) | = ' '. | |||
| DATA(ld_repl_int_sections) | = ' '. | |||
| "SELECT single STASP FROM NFAL INTO @DATA(ld_stasp). | ||||
| DATA(ld_stasp) | = 'X'. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_verbegdt). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_verenddt). | ||||
| DATA(ld_visits) | = ' '. | |||
| DATA(ld_all_moves) | = ' '. | |||
| DATA(ld_inp_without_adm) | = ' '. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_ausenddt). | ||||
| DATA(ld_lastv) | = ' '. | |||
| DATA(ld_foreigner) | = 'N'. | |||
| DATA(ld_address) | = ' '. | |||
| DATA(ld_multiple_sick_newborns) | = 'X'. | |||
| DATA(ld_united_return_cases) | = ' '. | |||
| DATA(ld_i_ignore_eo) | = ' '. | |||
| DATA(ld_i_plan_end) | = ' '. | |||
| DATA(ld_i_surgery_moves) | = ' '. | |||
| DATA(ld_calc_orgfa) | = 'X'. | |||
| DATA(ld_calc_orgpf) | = 'X'. | |||
| DATA(ld_cases_24h) | = ' '. | |||
| DATA(ld_complete_orgfa) | = ' '. | |||
| DATA(ld_complete_orgpf) | = ' '. | |||
| DATA(ld_complete_sections) | = ' '. | |||
| "SELECT single EINRI FROM TN01 INTO @DATA(ld_einri). | ||||
Search for further information about these or an SAP related objects