ISM_SALES_ORDER_CHANGE 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_SALES_ORDER_CHANGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JKSO
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_SALES_ORDER_CHANGE' "Change Sales Order
EXPORTING
vbeln = " jkak-vbeln Order Number
posex = " jkap-posex External Item Number
* posnr = " jkap-posnr
funktion = " rjkjk01-funktion Function
* xupdate_task = ' ' " jpsd_xfeld Update Mode
* xmessaging = 'X' " jpsd_xfeld Perform Output Determination
* xtest = ' ' " jpsd_xfeld Test Run
* jksi_suspend = " jksi_suspend
* jksi_cancel = " jksi_cancel
* jksi_storno = " jksi_storno
* jksi_address = " jksi_address Address structure
* jksi_unbefr_aender = " jksi_unbefr_aender
* jksi_promotion = " jksi_promotion
* jksi_redirect = " jksi_redirect
* jksi_payment = " jksi_payment
* jksi_limit = " jksi_limit
* jksi_split = " jksi_split
* jksi_gift = " jksi_gift
* jksi_charity = " jksi_charity
* jksi_uncancel = ' ' " jksi_uncancel
* jksi_validity = " jksi_validity
* jksi_kgs_change = " jksi_kgs_change
IMPORTING
cancel_date = " jkkuend-liefendei
ojkak = " jkakvb Order Header
posnr_new = " jkap-posnr
EXCEPTIONS
WRONG_DATA = 1 " Incorrect data entered
ERROR = 2 " Error Occurred During Processing
. " ISM_SALES_ORDER_CHANGE
The ABAP code below is a full code listing to execute function module ISM_SALES_ORDER_CHANGE 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).
| ld_cancel_date | TYPE JKKUEND-LIEFENDEI , |
| ld_ojkak | TYPE JKAKVB , |
| ld_posnr_new | TYPE JKAP-POSNR . |
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_cancel_date | TYPE JKKUEND-LIEFENDEI , |
| ld_vbeln | TYPE JKAK-VBELN , |
| ld_ojkak | TYPE JKAKVB , |
| ld_posex | TYPE JKAP-POSEX , |
| ld_posnr_new | TYPE JKAP-POSNR , |
| ld_posnr | TYPE JKAP-POSNR , |
| ld_funktion | TYPE RJKJK01-FUNKTION , |
| ld_xupdate_task | TYPE JPSD_XFELD , |
| ld_xmessaging | TYPE JPSD_XFELD , |
| ld_xtest | TYPE JPSD_XFELD , |
| ld_jksi_suspend | TYPE JKSI_SUSPEND , |
| ld_jksi_cancel | TYPE JKSI_CANCEL , |
| ld_jksi_storno | TYPE JKSI_STORNO , |
| ld_jksi_address | TYPE JKSI_ADDRESS , |
| ld_jksi_unbefr_aender | TYPE JKSI_UNBEFR_AENDER , |
| ld_jksi_promotion | TYPE JKSI_PROMOTION , |
| ld_jksi_redirect | TYPE JKSI_REDIRECT , |
| ld_jksi_payment | TYPE JKSI_PAYMENT , |
| ld_jksi_limit | TYPE JKSI_LIMIT , |
| ld_jksi_split | TYPE JKSI_SPLIT , |
| ld_jksi_gift | TYPE JKSI_GIFT , |
| ld_jksi_charity | TYPE JKSI_CHARITY , |
| ld_jksi_uncancel | TYPE JKSI_UNCANCEL , |
| ld_jksi_validity | TYPE JKSI_VALIDITY , |
| ld_jksi_kgs_change | TYPE JKSI_KGS_CHANGE . |
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_SALES_ORDER_CHANGE or its description.
ISM_SALES_ORDER_CHANGE - Change Sales Order ISM_SALES_ORDER_ARCHIVE - IS-M/SD: Read Order for Archiving with Check ISM_SALES_OFFICE_AND_GRP_CHECK - IS-M: Check Sales Office and Group ISM_SALES_OFFER_CONVERT_TO_WWW - IS-M/SD: Convert Offer Data to Internet Structures ISM_SALES_OFFER_BUFFERED_READ - IS-M/SD: Read Data from Offer in Buffer ISM_SALES_ITEM_VALIDITY_CHANGE -