ISMAM_ORDER_TEXT_MAINTAIN 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 ISMAM_ORDER_TEXT_MAINTAIN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JHA12
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISMAM_ORDER_TEXT_MAINTAIN' "IS-M/AM: Maintain Order Texts
EXPORTING
pt_sl_tmp_key = " rjhbusism008_sl_tmp_key_tab IS-M/AM: Temporary Schedule Line Numbers
ps_rjhaorder_old = " rjhaorder_str
CHANGING
ps_rjhaorder = " rjhaorder_str IS-M/AM: Sales Document
ps_rjhaorder_tmp = " rjhaorder_tmp_str IS-M/AM: Order Objects with Temporary Numbers
ps_rjhaorderx_tmp = " rjhaorderx_tmp_str IS-M/AM: Change Information for Order Objects with Temp.No.
* pt_return = " bapiret2_t Return Table
. " ISMAM_ORDER_TEXT_MAINTAIN
The ABAP code below is a full code listing to execute function module ISMAM_ORDER_TEXT_MAINTAIN 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_ps_rjhaorder) = 'Check type of data required'.
DATA(ld_ps_rjhaorder_tmp) = 'Check type of data required'.
DATA(ld_ps_rjhaorderx_tmp) = 'Check type of data required'.
DATA(ld_pt_return) = 'Check type of data required'.
DATA(ld_pt_sl_tmp_key) = 'Check type of data required'.
DATA(ld_ps_rjhaorder_old) = 'Check type of data required'. . CALL FUNCTION 'ISMAM_ORDER_TEXT_MAINTAIN' EXPORTING pt_sl_tmp_key = ld_pt_sl_tmp_key ps_rjhaorder_old = ld_ps_rjhaorder_old CHANGING ps_rjhaorder = ld_ps_rjhaorder ps_rjhaorder_tmp = ld_ps_rjhaorder_tmp ps_rjhaorderx_tmp = ld_ps_rjhaorderx_tmp * pt_return = ld_pt_return . " ISMAM_ORDER_TEXT_MAINTAIN
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_ps_rjhaorder | TYPE RJHAORDER_STR , |
| ld_pt_sl_tmp_key | TYPE RJHBUSISM008_SL_TMP_KEY_TAB , |
| ld_ps_rjhaorder_tmp | TYPE RJHAORDER_TMP_STR , |
| ld_ps_rjhaorder_old | TYPE RJHAORDER_STR , |
| ld_ps_rjhaorderx_tmp | TYPE RJHAORDERX_TMP_STR , |
| ld_pt_return | TYPE BAPIRET2_T . |
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 ISMAM_ORDER_TEXT_MAINTAIN or its description.
ISMAM_ORDER_TEXT_MAINTAIN - IS-M/AM: Maintain Order Texts ISMAM_ORDER_TARGET_ASS_MAINT - IS-M/AM: Edit Target Group Assignment to Item ISMAM_ORDER_STRUCTURE_FILL - IS-M/AM: Fill Complex Order Structure ISMAM_ORDER_STRUCTURE_EXTRACT - IS-M/AM: Extract Order Structure ISMAM_ORDER_SOLD_TO_PARTY_CHNG - IS-M/AM: Change Sold-to Party ISMAM_ORDER_SL_STATUS_MAINTAIN - IS-M/AM: Maintain Schedule Line Status