SAP Function Modules

ISM_CHANGENUMBER_CREATE SAP Function module - IS-M: Create Change Number Without Dialog







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

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


Pattern for FM ISM_CHANGENUMBER_CREATE - ISM CHANGENUMBER CREATE





CALL FUNCTION 'ISM_CHANGENUMBER_CREATE' "IS-M: Create Change Number Without Dialog
  EXPORTING
    validfromdate =             " bapiismbus001-validfrom  IS-M: Date from which change number is valid
*   validtodate =               " bapiismbus001-validto  IS-M: Date to which change number is valid
    information =               " bapiismbus001-description  Label
*   in_update = SPACE           " jpsd_xfeld
*   in_xuserspez = SPACE        " bapiismbus001-xcreatoronly  Change Number is User-Specific
*   in_xdeliv_opt = SPACE       " bapiismbus001-xdeliv_opt  IS-M/SD: Delivery Viability Optimization for Release
*   in_xenqordrel = SPACE       " bapiismbus001-xenqordrel  IS-M/SD: Restricted Order Block (by Geo.) for Release
*   in_jorder_get = '01'        " bapiismbus001-jorder_get  IS-M: Procedure for determining orders during release
  IMPORTING
    number =                    " bapiismbus001-jnumber  Change Number
    return =                    " bapiret2
    .  "  ISM_CHANGENUMBER_CREATE

ABAP code example for Function Module ISM_CHANGENUMBER_CREATE





The ABAP code below is a full code listing to execute function module ISM_CHANGENUMBER_CREATE 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_number  TYPE BAPIISMBUS001-JNUMBER ,
ld_return  TYPE BAPIRET2 .


DATA(ld_validfromdate) = 20210129

DATA(ld_validtodate) = 20210129

DATA(ld_information) = some text here
DATA(ld_in_update) = 'Check type of data required'.

DATA(ld_in_xuserspez) = some text here

DATA(ld_in_xdeliv_opt) = some text here

DATA(ld_in_xenqordrel) = some text here

DATA(ld_in_jorder_get) = some text here . CALL FUNCTION 'ISM_CHANGENUMBER_CREATE' EXPORTING validfromdate = ld_validfromdate * validtodate = ld_validtodate information = ld_information * in_update = ld_in_update * in_xuserspez = ld_in_xuserspez * in_xdeliv_opt = ld_in_xdeliv_opt * in_xenqordrel = ld_in_xenqordrel * in_jorder_get = ld_in_jorder_get IMPORTING number = ld_number return = ld_return . " ISM_CHANGENUMBER_CREATE
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_number  TYPE BAPIISMBUS001-JNUMBER ,
ld_validfromdate  TYPE BAPIISMBUS001-VALIDFROM ,
ld_return  TYPE BAPIRET2 ,
ld_validtodate  TYPE BAPIISMBUS001-VALIDTO ,
ld_information  TYPE BAPIISMBUS001-DESCRIPTION ,
ld_in_update  TYPE JPSD_XFELD ,
ld_in_xuserspez  TYPE BAPIISMBUS001-XCREATORONLY ,
ld_in_xdeliv_opt  TYPE BAPIISMBUS001-XDELIV_OPT ,
ld_in_xenqordrel  TYPE BAPIISMBUS001-XENQORDREL ,
ld_in_jorder_get  TYPE BAPIISMBUS001-JORDER_GET .


ld_validfromdate = 20210129

ld_validtodate = 20210129

ld_information = some text here
ld_in_update = 'Check type of data required'.

ld_in_xuserspez = some text here

ld_in_xdeliv_opt = some text here

ld_in_xenqordrel = some text here

ld_in_jorder_get = 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 ISM_CHANGENUMBER_CREATE or its description.