SAP Function Modules

ISU_GET_DEREGSWITCH_EVER SAP Function module - Read Deregulation Switch for Contract or Initiator, Partner







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

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


Pattern for FM ISU_GET_DEREGSWITCH_EVER - ISU GET DEREGSWITCH EVER





CALL FUNCTION 'ISU_GET_DEREGSWITCH_EVER' "Read Deregulation Switch for Contract or Initiator, Partner
* EXPORTING
*   x_initiator =               " e_deregspinitiator  Service Provider (Initiator)
*   x_partner =                 " e_deregsppartner  Service Provider (Partner)
*   x_ever_key =                " vertrag       Contract
  IMPORTING
    y_agreement_inactiv =       " kennzx        Indicator
* CHANGING
*   xy_ever =                   " ever          IS-U Contract
  EXCEPTIONS
    GENERAL_FAULT = 1           "               General Error
    .  "  ISU_GET_DEREGSWITCH_EVER

ABAP code example for Function Module ISU_GET_DEREGSWITCH_EVER





The ABAP code below is a full code listing to execute function module ISU_GET_DEREGSWITCH_EVER 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_y_agreement_inactiv  TYPE KENNZX .

DATA(ld_xy_ever) = 'Check type of data required'.
DATA(ld_x_initiator) = 'Check type of data required'.
DATA(ld_x_partner) = 'Check type of data required'.
DATA(ld_x_ever_key) = 'Check type of data required'. . CALL FUNCTION 'ISU_GET_DEREGSWITCH_EVER' * EXPORTING * x_initiator = ld_x_initiator * x_partner = ld_x_partner * x_ever_key = ld_x_ever_key IMPORTING y_agreement_inactiv = ld_y_agreement_inactiv * CHANGING * xy_ever = ld_xy_ever EXCEPTIONS GENERAL_FAULT = 1 . " ISU_GET_DEREGSWITCH_EVER
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_ever  TYPE EVER ,
ld_y_agreement_inactiv  TYPE KENNZX ,
ld_x_initiator  TYPE E_DEREGSPINITIATOR ,
ld_x_partner  TYPE E_DEREGSPPARTNER ,
ld_x_ever_key  TYPE VERTRAG .

ld_xy_ever = 'Check type of data required'.
ld_x_initiator = 'Check type of data required'.
ld_x_partner = 'Check type of data required'.
ld_x_ever_key = 'Check type of data required'.

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