ISU_ALLOCATION_DATES_CHECK 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_ALLOCATION_DATES_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EA52
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISU_ALLOCATION_DATES_CHECK' "
EXPORTING
* x_abrvorg = " etrg-abrvorg
x_keydate = " erch-endabrpe
* x_dynkz = '1' " regen-kennzx
x_aklasse = " te125-aklasse
* x_zuorddat = " erch-endabrpe
* x_thgdatum = " erch-endabrpe
* x_portion = " te125-portion
* x_in_background = " te125-in_background
EXCEPTIONS
GENERAL_FAULT = 1 "
. " ISU_ALLOCATION_DATES_CHECK
The ABAP code below is a full code listing to execute function module ISU_ALLOCATION_DATES_CHECK 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).
SELECT single ABRVORG
FROM ETRG
INTO @DATA(ld_x_abrvorg).
SELECT single ENDABRPE
FROM ERCH
INTO @DATA(ld_x_keydate).
DATA(ld_x_dynkz) = some text here
SELECT single AKLASSE
FROM TE125
INTO @DATA(ld_x_aklasse).
SELECT single ENDABRPE
FROM ERCH
INTO @DATA(ld_x_zuorddat).
SELECT single ENDABRPE
FROM ERCH
INTO @DATA(ld_x_thgdatum).
SELECT single PORTION
FROM TE125
INTO @DATA(ld_x_portion).
SELECT single IN_BACKGROUND
FROM TE125
INTO @DATA(ld_x_in_background).
. CALL FUNCTION 'ISU_ALLOCATION_DATES_CHECK' EXPORTING * x_abrvorg = ld_x_abrvorg x_keydate = ld_x_keydate * x_dynkz = ld_x_dynkz x_aklasse = ld_x_aklasse * x_zuorddat = ld_x_zuorddat * x_thgdatum = ld_x_thgdatum * x_portion = ld_x_portion * x_in_background = ld_x_in_background EXCEPTIONS GENERAL_FAULT = 1 . " ISU_ALLOCATION_DATES_CHECK
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_x_abrvorg | TYPE ETRG-ABRVORG , |
| ld_x_keydate | TYPE ERCH-ENDABRPE , |
| ld_x_dynkz | TYPE REGEN-KENNZX , |
| ld_x_aklasse | TYPE TE125-AKLASSE , |
| ld_x_zuorddat | TYPE ERCH-ENDABRPE , |
| ld_x_thgdatum | TYPE ERCH-ENDABRPE , |
| ld_x_portion | TYPE TE125-PORTION , |
| ld_x_in_background | TYPE TE125-IN_BACKGROUND . |
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_ALLOCATION_DATES_CHECK or its description.
ISU_ALLOCATION_DATES_CHECK - ISU_AGG_VKONT_DETERMINE - ISU_AGGRBILL_INTERVALS_CLOSED - INTERNAL: Form Closed Intervals for Invoice Printing ISU_AGGRBILL_INTERVALS - INTERNAL: Form Open Intervals for Invoice Printing ISU_AGGBILLPR_MASS_CREATE_R488 - Mass Activities: Invoice Printing ISU_AD_TVORZ_TEXT -