EWUSETBA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to activate the changeover package that was deactivated for the runtime forecast and to deactivate the runtime forecast package...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter EWUSETBA into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Activate Original Production Package after Forecast
INCLUDE EWUSTDDD.
INCLUDE EWUSTECR.
INCLUDE EWUSTEGR.
INCLUDE EWUSTECP.
INCLUDE EWUSTEPR.
No SAP DATABASE tables are accessed within this REPORT code!
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING MSGTY = 'I' MSGID = 'MQ' MSGNO = '159' MSGV1 = PAKETNRI EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING MSGTY = 'E' MSGID = 'MQ' MSGNO = '099' EXCEPTIONS OTHERS = 4.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING STATUS = STATUS * AUFSETZARG = EXCEPTIONS NO_PAKET_ENTRY = 1 FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3 NO_PROGRAM_ENTRY = 4 WRONG_CALL = 5 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EWUSETBA - Activate Original Production Package after Forecast EWUSETBA - Activate Original Production Package after Forecast EWUSELMU - Sample Program for Open Cursor Statement for Restart EWUSAKLO - EWWU: Load Tables EWUSAK and EWUWT with G/L Accounts EWUSAKLO - EWWU: Load Tables EWUSAK and EWUWT with G/L Accounts EWURFRSH - EMU Conversion: Check Batch Jobs for Refresh in Procedure Monitor