SAP Function Modules

ISP_SALES_DOCUMENT_MODIFY_AEND SAP Function module - IS-M/SD: Modify Orders from Release/Check Delivery Viability Sets







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

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


Pattern for FM ISP_SALES_DOCUMENT_MODIFY_AEND - ISP SALES DOCUMENT MODIFY AEND





CALL FUNCTION 'ISP_SALES_DOCUMENT_MODIFY_AEND' "IS-M/SD: Modify Orders from Release/Check Delivery Viability Sets
  EXPORTING
    in_jstaender =              " jstaender
*   in_update = TRUE            " jpsd_boolean
    in_algo_sales_docu =        " js21_zugriffpfad
    in_zuord_tab =              " jstru_rjs0102tab
    in_liefbar_tab =            " jstru_rjv1003tab
*   in_updatetype = JYDB_UPDATE_DIALOG  " jydb_update_type
  IMPORTING
    out_sales_document =        " jstru_rjsk0101tab
    out_ship_order =            " jstru_rjsk0102tab
    out_return =                " jymsg_t_msg
    out_xerror =                " jpsd_xfeld    An Error Occured
    .  "  ISP_SALES_DOCUMENT_MODIFY_AEND

ABAP code example for Function Module ISP_SALES_DOCUMENT_MODIFY_AEND





The ABAP code below is a full code listing to execute function module ISP_SALES_DOCUMENT_MODIFY_AEND 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_out_sales_document  TYPE JSTRU_RJSK0101TAB ,
ld_out_ship_order  TYPE JSTRU_RJSK0102TAB ,
ld_out_return  TYPE JYMSG_T_MSG ,
ld_out_xerror  TYPE JPSD_XFELD .

DATA(ld_in_jstaender) = 'Check type of data required'.
DATA(ld_in_update) = 'Check type of data required'.
DATA(ld_in_algo_sales_docu) = 'Check type of data required'.
DATA(ld_in_zuord_tab) = 'Check type of data required'.
DATA(ld_in_liefbar_tab) = 'Check type of data required'.
DATA(ld_in_updatetype) = 'Check type of data required'. . CALL FUNCTION 'ISP_SALES_DOCUMENT_MODIFY_AEND' EXPORTING in_jstaender = ld_in_jstaender * in_update = ld_in_update in_algo_sales_docu = ld_in_algo_sales_docu in_zuord_tab = ld_in_zuord_tab in_liefbar_tab = ld_in_liefbar_tab * in_updatetype = ld_in_updatetype IMPORTING out_sales_document = ld_out_sales_document out_ship_order = ld_out_ship_order out_return = ld_out_return out_xerror = ld_out_xerror . " ISP_SALES_DOCUMENT_MODIFY_AEND
IF SY-SUBRC EQ 0. "All OK 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_out_sales_document  TYPE JSTRU_RJSK0101TAB ,
ld_in_jstaender  TYPE JSTAENDER ,
ld_out_ship_order  TYPE JSTRU_RJSK0102TAB ,
ld_in_update  TYPE JPSD_BOOLEAN ,
ld_out_return  TYPE JYMSG_T_MSG ,
ld_in_algo_sales_docu  TYPE JS21_ZUGRIFFPFAD ,
ld_out_xerror  TYPE JPSD_XFELD ,
ld_in_zuord_tab  TYPE JSTRU_RJS0102TAB ,
ld_in_liefbar_tab  TYPE JSTRU_RJV1003TAB ,
ld_in_updatetype  TYPE JYDB_UPDATE_TYPE .

ld_in_jstaender = 'Check type of data required'.
ld_in_update = 'Check type of data required'.
ld_in_algo_sales_docu = 'Check type of data required'.
ld_in_zuord_tab = 'Check type of data required'.
ld_in_liefbar_tab = 'Check type of data required'.
ld_in_updatetype = '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 ISP_SALES_DOCUMENT_MODIFY_AEND or its description.