EWUSTART 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 start all programs within a phase during the local currency changeover...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 EWUSTART 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.
Selection Text: PH_CHECK = Check predecessor phase
Title: EMU Conversion: Start all Postprocessing Programs
Text Symbol: 023 = "Start job for starting EMU programs"
INCLUDE LBTCHDEF.
INCLUDE EWUSTDDD.
INCLUDE EWUSTEGR.
INCLUDE EWUSTECP.
INCLUDE EWUSTEPR.
INCLUDE EWUSTDJ1.
No SAP DATABASE tables are accessed within this REPORT code!
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '009' msgv1 = it_phasencheck-programm msgv2 = prephase EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'I' msgid = 'MQ' msgno = '008' msgv1 = actphase msgv2 = prephase EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '019' msgv1 = ' ' msgv2 = ' ' EXCEPTIONS OTHERS = 4.
EWU_STATUS_SET CALL FUNCTION 'EWU_STATUS_SET' CHANGING status = status EXCEPTIONS OTHERS = 1.
EWU_STATUS_FINISH CALL FUNCTION 'EWU_STATUS_FINISH' EXCEPTIONS wrong_call = 1 no_program_entry = 2 active_package_not_found = 3 OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'I' msgid = 'MQ' msgno = '068' msgv1 = par_pakt msgv2 = par_phas EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'W' msgid = 'MQ' msgno = '069' msgv1 = par_pakt msgv2 = par_phas EXCEPTIONS OTHERS = 4.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = status EXCEPTIONS no_paket_entry = 1 foreign_lock = 2 system_failure = 3 no_program_entry = 4 wrong_call = 5 OTHERS = 6.
EWU_CL_GET_STATUS CALL FUNCTION 'EWU_CL_GET_STATUS' EXPORTING paket = ewupak-paket tabname_parallel = iprog-tabelle CHANGING status_tec = status_tec EXCEPTIONS OTHERS = 1.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'I' msgid = 'MQ' msgno = '179' msgv1 = iprog-einplanname EXCEPTIONS OTHERS = 4.
EWU_CL_CREATE_ORIGINAL_TABNAME CALL FUNCTION 'EWU_CL_CREATE_ORIGINAL_TABNAME' EXPORTING tabname_parallel = iprog-tabelle IMPORTING tabname_original = ld_tabname EXCEPTIONS OTHERS = 1.
EWU_CL_SET_VALUES CALL FUNCTION 'EWU_CL_SET_VALUES' EXPORTING paket = ewupak-paket tabname = ld_tabname IMPORTING jobno = ld_job_numb EXCEPTIONS OTHERS = 1.
EWU_PG_CHECK_JOBS CALL FUNCTION 'EWU_PG_CHECK_JOBS' EXPORTING paket = ewupak-paket * PROGRAM = jobname = ld_jobname_copy all_jobs = 'X' IMPORTING running = running * current_running = EXCEPTIONS ignore_job = 1 OTHERS = 2.
EWU_PROTOCOL_APPEND * CALL FUNCTION 'EWU_PROTOCOL_APPEND' * EXPORTING * MSGTY = 'I' * MSGID = 'MQ' * MSGNO = '179' * MSGV1 = IPROG-EINPLANNAME * EXCEPTIONS * OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'I' msgid = 'MQ' msgno = '146' msgv1 = jobname EXCEPTIONS OTHERS = 4.
BP_EVENT_RAISE CALL FUNCTION 'BP_EVENT_RAISE' EXPORTING eventid = lv_event_id eventparm = sy-mandt EXCEPTIONS bad_eventid eventid_does_not_exist eventid_missing raise_failed.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'I' msgid = 'MQ' msgno = '070' msgv1 = iprog-programm EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '071' msgv1 = iprog-programm EXCEPTIONS OTHERS = 4.
CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING status = status EXCEPTIONS no_paket_entry = 1 foreign_lock = 2 system_failure = 3 no_program_entry = 4 wrong_call = 5 OTHERS = 6.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '050' msgv1 = programm msgv2 = par_phas EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '094' msgv1 = programm msgv2 = vorgaenger EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '096' msgv1 = ewupgstat-status msgv2 = vorgaenger EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '093' msgv1 = report EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '111' msgv1 = report msgv2 = nachricht msgv3 = zeile msgv4 = wort EXCEPTIONS OTHERS = 4.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING msgty = 'E' msgid = 'MQ' msgno = '171' msgv1 = report msgv2 = variante EXCEPTIONS OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name EWUSTART or its description.
EWUSTART - EMU Conversion: Start all Postprocessing Programs EWUSTART - EMU Conversion: Start all Postprocessing Programs EWUSTAR1 - EMU Conversion: Start all Postprocessing Programs EWUSTAR1 - EMU Conversion: Start all Postprocessing Programs EWUSETRS - Set "Restartability" for a Package EWUSETRS - Set "Restartability" for a Package