SAP Function Modules

ISU_O_CONTRACT_INPUT SAP Function module - INTERNAL: Checks for Fields of Structure EVERA (General Contract Fields)







ISU_O_CONTRACT_INPUT 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_O_CONTRACT_INPUT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ES20
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISU_O_CONTRACT_INPUT - ISU O CONTRACT INPUT





CALL FUNCTION 'ISU_O_CONTRACT_INPUT' "INTERNAL: Checks for Fields of Structure EVERA (General Contract Fields)
  EXPORTING
    x_everd =                   " everd
*   x_v_eanl =                  " v_eanl
*   x_fkkvkp =                  " fkkvkp1       Contract Accounts (Help Structure for View)
*   x_maxerror = 1              " regen-maxcount
*   x_curdynnr = SY-DYNNR       " sy-dynnr
*   x_curline =                 " sy-stepl
*   x_nocheck = SPACE           " regen-kennzx
*   x_endcheck =                " regen-kennzx
  CHANGING
    xy_obj =                    " isu01_contract  Contract Data
*   xy_obj_xcont =              " isu01_xcont
  EXCEPTIONS
    INPUT_ERROR = 1             "               Entry is not allowed
    .  "  ISU_O_CONTRACT_INPUT

ABAP code example for Function Module ISU_O_CONTRACT_INPUT





The ABAP code below is a full code listing to execute function module ISU_O_CONTRACT_INPUT 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_xy_obj) = 'Check type of data required'.
DATA(ld_xy_obj_xcont) = 'Check type of data required'.
DATA(ld_x_everd) = 'Check type of data required'.
DATA(ld_x_v_eanl) = 'Check type of data required'.
DATA(ld_x_fkkvkp) = 'Check type of data required'.

DATA(ld_x_maxerror) = 123
DATA(ld_x_curdynnr) = 'some text here'.
DATA(ld_x_curline) = 'some text here'.

DATA(ld_x_nocheck) = some text here

DATA(ld_x_endcheck) = some text here . CALL FUNCTION 'ISU_O_CONTRACT_INPUT' EXPORTING x_everd = ld_x_everd * x_v_eanl = ld_x_v_eanl * x_fkkvkp = ld_x_fkkvkp * x_maxerror = ld_x_maxerror * x_curdynnr = ld_x_curdynnr * x_curline = ld_x_curline * x_nocheck = ld_x_nocheck * x_endcheck = ld_x_endcheck CHANGING xy_obj = ld_xy_obj * xy_obj_xcont = ld_xy_obj_xcont EXCEPTIONS INPUT_ERROR = 1 . " ISU_O_CONTRACT_INPUT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_xy_obj  TYPE ISU01_CONTRACT ,
ld_x_everd  TYPE EVERD ,
ld_xy_obj_xcont  TYPE ISU01_XCONT ,
ld_x_v_eanl  TYPE V_EANL ,
ld_x_fkkvkp  TYPE FKKVKP1 ,
ld_x_maxerror  TYPE REGEN-MAXCOUNT ,
ld_x_curdynnr  TYPE SY-DYNNR ,
ld_x_curline  TYPE SY-STEPL ,
ld_x_nocheck  TYPE REGEN-KENNZX ,
ld_x_endcheck  TYPE REGEN-KENNZX .

ld_xy_obj = 'some text here'.
ld_x_everd = 'some text here'.
ld_xy_obj_xcont = 'some text here'.
ld_x_v_eanl = 'some text here'.
ld_x_fkkvkp = 'some text here'.

ld_x_maxerror = 123
ld_x_curdynnr = 'some text here'.
ld_x_curline = 'some text here'.

ld_x_nocheck = some text here

ld_x_endcheck = some text here

Contribute (Add Comments)

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_O_CONTRACT_INPUT or its description.