Ansicht
Dokumentation
UPARI_RELEASE_MSG_SRV - Release of a single message
BAL_S_LOG - Application Log: Log header data BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Functionality
A planning application can use the function module UPARI_RELEASE_MSG_SRV to integrate the release of a single message within its application. It provides the same functions as the Release Workbench (transaction UPARI_REL).
By choosing the parameter I_MSGTYPE, you can release the following message types:
I_MSGTYPE | Messagetype |
---|
ALLOCPO,,,,,,,,,,,,,,Allocation and PO
ASRTPLN,,,,,,,,,,,,,,Assortment Plan
ASRTPRD,,,,,,,,,,,,,,Assortment Product
ASRTPRDVRSM,,,,,,,,,,,,Assortment Product Version Merchandising
ASRTPRDVRSO,,,,,,,,,,,,Assortment Product Version Optimization
BUDGET,,,,,,,,,,,,,,Sales Reduction Budget
LOCGRP,,,,,,,,,,,,,,Location Group / Assortment
MDPROP,,,,,,,,,,,,,,Markdown Proposals
OTB,,,,,,,,,,,,,,,,Open to buy (OTB)
PRODUCT,,,,,,,,,,,,,,Product
RTLPURPLN,,,,,,,,,,,,Retail Purchasing Plan
Example
Notes
The function module executes the same authorization check as the Release Workbench using authorization object W_RELEAS_W.
Import table IT_SELOPT contains the values of the InfoObjects for which the message should be created
and released. You can only enter single values or intervals. You can only use those InfoObjects of message
types that are also available in the Release Workbench. When message type RTLPURPLN is used in the Release
Workbench, selection criteria Sales Organization and Distribution Channel appear in 2 sections: "RetailPurchasingPlan
Specific Selection Criteria" and "Additional Data Sent With Message". To distinguish them, different InfoObject names must be used.
To refer to Sales Organization from section "Additional Data Sent With Message", use InfoObject 0SALESORG.
To refer to Distribution Channel from section "Additional Data Sent With Message", use InfoObject 0DISTR_CHAN.
To refer to Sales Organization from section "RetailPurchasingPlan Specific Selection Criteria", use InfoObject 0SALESORG_RPP.
To refer to Distribution Channel from section "RetailPurchasingPlan Specific Selection Criteria", use InfoObject 0DISTR_CHAN_RPP.
To re-release the relevant message, you can use the optional import parameter I_RERELEASE in combination with the message types MDPROP, PRODUCT, LOCGRP, RTLPURPLN, ASRTPRD, ASRTPRDVRSM, or ASRTPRDVRSO.
If you only want to release the assortment, you can use the optional import parameter I_ASRT_ONLY in combination with the message type LOCGRP.
If you only want to release the assortment version, you can use the optional import parameter I_ASRV_ONLY in combination with the message types ASRTPRDVRSM or ASRTPRDVRSO.
You can release a message in a job. To do so, you must set the optional import parameter I_CREATE_JOB to 'X'. If you want to define the job in a dialog like the dialog in the Release Workbench, you must set the parameter I_JOB_DIALOG to 'X'. If you do not want to create a job in a dialog, the system creates the job with the name SY-UNAME, SY-DATUM and SY-UZEIT and triggers the job immediately.
If an error occurs, the system sets the export parameter E_ERROR to 'X' and the relevant messages are evaluated in table ET_APPL_MSG.
Further information
Parameters
ET_APPL_MSGE_ERROR
IT_SELOPT
I_ASRT_ONLY
I_ASRV_ONLY
I_BUDGET_BUFFER
I_CREATE_JOB
I_JOB_DIALOG
I_MSGTYPE
I_REL_DEP
I_RERELEASE
Exceptions
Function Group
UPARI_FG_SERVICEROGBILLS - Synchronize billing plans RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 3904 Date: 20240523 Time: 125550 sap01-206 ( 69 ms )