SAP Function Modules

ISM_DELIVERABILITY_MODIFY SAP Function module - Modify Delivery Viability Sets Determined (Internal)







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

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


Pattern for FM ISM_DELIVERABILITY_MODIFY - ISM DELIVERABILITY MODIFY





CALL FUNCTION 'ISM_DELIVERABILITY_MODIFY' "Modify Delivery Viability Sets Determined (Internal)
  EXPORTING
    auart =                     " jkak-auart
*   bezper =                    " jkep-bezper   Service Type
*   user_par =                  " jkd_user_par
    context =                   " jkd_context
*   xclosing_date =             " jpsd_xfeld
    closing_date_drerz =        " jkd_delivpar-closing_date_drerz
    closing_date_pva =          " jkd_delivpar-closing_date_pva
    callback_prog =             " jkd_delivpar-callback_prog
    callback_form =             " jkd_delivpar-callback_form
    addresstab =                " jkd_addresstab
  CHANGING
    merged_nodetab =            " jkd_merged_nodetab
  EXCEPTIONS
    NO_DELIVERABILITY = 1       "
    .  "  ISM_DELIVERABILITY_MODIFY

ABAP code example for Function Module ISM_DELIVERABILITY_MODIFY





The ABAP code below is a full code listing to execute function module ISM_DELIVERABILITY_MODIFY 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_merged_nodetab) = 'Check type of data required'.

SELECT single AUART
FROM JKAK
INTO @DATA(ld_auart).


SELECT single BEZPER
FROM JKEP
INTO @DATA(ld_bezper).

DATA(ld_user_par) = 'Check type of data required'.
DATA(ld_context) = 'Check type of data required'.
DATA(ld_xclosing_date) = 'Check type of data required'.

DATA(ld_closing_date_drerz) = some text here

DATA(ld_closing_date_pva) = some text here

DATA(ld_callback_prog) = some text here

DATA(ld_callback_form) = some text here
DATA(ld_addresstab) = 'Check type of data required'. . CALL FUNCTION 'ISM_DELIVERABILITY_MODIFY' EXPORTING auart = ld_auart * bezper = ld_bezper * user_par = ld_user_par context = ld_context * xclosing_date = ld_xclosing_date closing_date_drerz = ld_closing_date_drerz closing_date_pva = ld_closing_date_pva callback_prog = ld_callback_prog callback_form = ld_callback_form addresstab = ld_addresstab CHANGING merged_nodetab = ld_merged_nodetab EXCEPTIONS NO_DELIVERABILITY = 1 . " ISM_DELIVERABILITY_MODIFY
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_merged_nodetab  TYPE JKD_MERGED_NODETAB ,
ld_auart  TYPE JKAK-AUART ,
ld_bezper  TYPE JKEP-BEZPER ,
ld_user_par  TYPE JKD_USER_PAR ,
ld_context  TYPE JKD_CONTEXT ,
ld_xclosing_date  TYPE JPSD_XFELD ,
ld_closing_date_drerz  TYPE JKD_DELIVPAR-CLOSING_DATE_DRERZ ,
ld_closing_date_pva  TYPE JKD_DELIVPAR-CLOSING_DATE_PVA ,
ld_callback_prog  TYPE JKD_DELIVPAR-CALLBACK_PROG ,
ld_callback_form  TYPE JKD_DELIVPAR-CALLBACK_FORM ,
ld_addresstab  TYPE JKD_ADDRESSTAB .

ld_merged_nodetab = 'Check type of data required'.

SELECT single AUART
FROM JKAK
INTO ld_auart.


SELECT single BEZPER
FROM JKEP
INTO ld_bezper.

ld_user_par = 'Check type of data required'.
ld_context = 'Check type of data required'.
ld_xclosing_date = 'Check type of data required'.

ld_closing_date_drerz = some text here

ld_closing_date_pva = some text here

ld_callback_prog = some text here

ld_callback_form = some text here
ld_addresstab = '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 ISM_DELIVERABILITY_MODIFY or its description.