ISU_SAMPLE_R271 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 ISU_SAMPLE_R271 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EE_DEREG_PAY_AGG
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISU_SAMPLE_R271' "
* EXPORTING
* i_laufd = " laufd_kk Run Date
* i_laufi = " laufi_kk Run ID
* i_wmode = " wmode_kk If set to 'X', only display mode
* i_copyd = " laufd_kk Copy Date (Source)
* i_copyi = " laufi_kk Copy ID (Source)
* i_aktyp = " aktyp_kk Mass Activity Type
* i_source_laufd = " laufd_kk Run Date Source
* i_source_laufi = " laufi_kk Run ID Source
* i_target_laufd = " laufd_kk Run Date Target
* i_target_laufi = " laufi_kk Run ID Target
* i_number_of_days = " align_number_kk Number of Days of Postponement
EXCEPTIONS
SOURCE_NOT_FOUND = 1 " Source Not Found
TARGET_STORE_PROBLEM = 2 " Problems with Storing
. " ISU_SAMPLE_R271
The ABAP code below is a full code listing to execute function module ISU_SAMPLE_R271 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_i_laufd) = 'Check type of data required'.
DATA(ld_i_laufi) = 'Check type of data required'.
DATA(ld_i_wmode) = 'Check type of data required'.
DATA(ld_i_copyd) = 'Check type of data required'.
DATA(ld_i_copyi) = 'Check type of data required'.
DATA(ld_i_aktyp) = 'Check type of data required'.
DATA(ld_i_source_laufd) = 'Check type of data required'.
DATA(ld_i_source_laufi) = 'Check type of data required'.
DATA(ld_i_target_laufd) = 'Check type of data required'.
DATA(ld_i_target_laufi) = 'Check type of data required'.
DATA(ld_i_number_of_days) = 'Check type of data required'. . CALL FUNCTION 'ISU_SAMPLE_R271' * EXPORTING * i_laufd = ld_i_laufd * i_laufi = ld_i_laufi * i_wmode = ld_i_wmode * i_copyd = ld_i_copyd * i_copyi = ld_i_copyi * i_aktyp = ld_i_aktyp * i_source_laufd = ld_i_source_laufd * i_source_laufi = ld_i_source_laufi * i_target_laufd = ld_i_target_laufd * i_target_laufi = ld_i_target_laufi * i_number_of_days = ld_i_number_of_days EXCEPTIONS SOURCE_NOT_FOUND = 1 TARGET_STORE_PROBLEM = 2 . " ISU_SAMPLE_R271
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.
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_i_laufd | TYPE LAUFD_KK , |
| ld_i_laufi | TYPE LAUFI_KK , |
| ld_i_wmode | TYPE WMODE_KK , |
| ld_i_copyd | TYPE LAUFD_KK , |
| ld_i_copyi | TYPE LAUFI_KK , |
| ld_i_aktyp | TYPE AKTYP_KK , |
| ld_i_source_laufd | TYPE LAUFD_KK , |
| ld_i_source_laufi | TYPE LAUFI_KK , |
| ld_i_target_laufd | TYPE LAUFD_KK , |
| ld_i_target_laufi | TYPE LAUFI_KK , |
| ld_i_number_of_days | TYPE ALIGN_NUMBER_KK . |
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 ISU_SAMPLE_R271 or its description.
ISU_SAMPLE_R271 - ISU_SAMPLE_R261 - Payment Distribution from Advice Note: Add Payment Lot Item Data ISU_SAMPLE_R260 - Payment Distribution from Advice Note: Add Payment Lot Header Data ISU_SAMPLE_R257 - ETHI_DIS: Hotspots on Customer-Specific Fields ISU_SAMPLE_R256 - Deregulation: Fill CIs for Display Structures for DFKKTHI_SUM ISU_SAMPLE_R255 - Generate Reversal Distribution Lot from Non-Reversible OIs