EWUPAKCP 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 copy a package within a client...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 EWUPAKCP 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: PLANJAHR = Year of conversion
Selection Text: PAKETNEU = Target package
Selection Text: PAKETALT = Source package
Selection Text: NAMENEU = New package name
Title: Copying a Package
Text Symbol: 200 = Program errors
Text Symbol: 014 = Do you want to continue (Y)? (Package will be overwritten)
Text Symbol: 013 = Package number already exists
Text Symbol: 011 = System Release different from package Release; Continue (Y)?
Text Symbol: 010 = Release difference
Text Symbol: 004 = Enter new package number
Text Symbol: 002 = No
Text Symbol: 001 = Yes
INCLUDE EWUSTDDD.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-004 IMPORTING returncode = d_retcd TABLES fields = it_sval EXCEPTIONS error_in_fields = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-013 text_question = text-014 text_button_1 = 'Ja'(001) text_button_2 = 'Nein'(002) IMPORTING answer = answer EXCEPTIONS OTHERS = 0.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-010 text_question = text-011 text_button_1 = 'Ja'(001) text_button_2 = 'Nein'(002) IMPORTING answer = answer EXCEPTIONS OTHERS = 0.
EWU_HP_CHECK CALL FUNCTION 'EWU_HP_CHECK' EXPORTING v01flag = ewupak-v01flag v02flag = ewupak-v02flag IMPORTING patch_nr = patch_nr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.