ISM_PHASE_MODEL_SBR_INIT 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_PHASE_MODEL_SBR_INIT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JVPH
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_PHASE_MODEL_SBR_INIT' "Create Phase Model for Replenishment Planning
EXPORTING
im_mediaissue = " ismmatnr_issue Media Issue
im_mediaproduct = " ismmatnr_product Media Product
im_vkorg = " vkorg Sales Organization
im_vtweg = " vtweg Distribution Channel
im_spart = " spart Division
* im_planorg_tab = " rjksd_planorg_range_tab Table Entry for Planning Organization
* im_timestructure_tab = " rjksd_timestruct_tab Range Table for J_TIMESTRUCT
im_contract_tab = " rjksecontrindex_tab IS-M: Contract Items
im_modelkind = " jvphmodelkind Model Type
im_xtest = " xfeld Checkbox Field
IMPORTING
ex_phasemdl_tab = " rjksd_phasemdl_tab Table Type for Phase Model
ex_return_tab = " bapiret2tab IS-M: BAPIRET2 Table
. " ISM_PHASE_MODEL_SBR_INIT
The ABAP code below is a full code listing to execute function module ISM_PHASE_MODEL_SBR_INIT 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_ex_phasemdl_tab | TYPE RJKSD_PHASEMDL_TAB , |
| ld_ex_return_tab | TYPE BAPIRET2TAB . |
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_ex_phasemdl_tab | TYPE RJKSD_PHASEMDL_TAB , |
| ld_im_mediaissue | TYPE ISMMATNR_ISSUE , |
| ld_ex_return_tab | TYPE BAPIRET2TAB , |
| ld_im_mediaproduct | TYPE ISMMATNR_PRODUCT , |
| ld_im_vkorg | TYPE VKORG , |
| ld_im_vtweg | TYPE VTWEG , |
| ld_im_spart | TYPE SPART , |
| ld_im_planorg_tab | TYPE RJKSD_PLANORG_RANGE_TAB , |
| ld_im_timestructure_tab | TYPE RJKSD_TIMESTRUCT_TAB , |
| ld_im_contract_tab | TYPE RJKSECONTRINDEX_TAB , |
| ld_im_modelkind | TYPE JVPHMODELKIND , |
| ld_im_xtest | TYPE XFELD . |
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_PHASE_MODEL_SBR_INIT or its description.
ISM_PHASE_MODEL_SBR_INIT - Create Phase Model for Replenishment Planning ISM_PHASE_MODEL_GETDETAIL - Read Phase Model ISM_PHASE_MODEL_FROM_PROMOTION - Create/Extend Phase Model for Promotions ISM_PHASE_MODEL_EXISTANCE_TEST - Check Whether Phase Model Exists ISM_PHASE_MODEL_DEMAND_CHANGE - IS-M/SD: Create Requirements Planning for Phase Model ISM_PHASE_MODEL_DELETE - Delete Phase Model