Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy a report

Former Member
0 Kudos

Hi ,

Pls help me.

If i have a abap report with many includes,text symbols,variants,selection-texts,messages,how can i copy that report with all the includes to a file or any so that i can copy in another system(home system).

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

When you are copying a Report to another report from se38 screen,

it will ask for the programs to be copied and to copy, enter them and press copy

in the next screen it will ask whether to copy all the components of that program like:with check boxes (default Source, text elements are clicked)

Source

Text elements

Documentation

Variants

User Interface

Screens

Includes

you have to select as per your desire, accordingly they are copied

Hope it is useful

reward points if useful

regards,

ANJI

5 REPLIES 5

Former Member
0 Kudos

Hi,

When you are copying a Report to another report from se38 screen,

it will ask for the programs to be copied and to copy, enter them and press copy

in the next screen it will ask whether to copy all the components of that program like:with check boxes (default Source, text elements are clicked)

Source

Text elements

Documentation

Variants

User Interface

Screens

Includes

you have to select as per your desire, accordingly they are copied

Hope it is useful

reward points if useful

regards,

ANJI

Former Member
0 Kudos

Hi sivanagalakshmi.....

It is not posible to copy them as a unit in to a file....

you have to copy the manually one by one in to a file

but if you want to copy them in to another program then you can copy them all at once.....

Hope it helps you...

Let me know if u have any more doubt...

Reward points if useful......

Suresh.......

kiran_k8
Active Contributor

Sivanagalakshmi vankayala,

Quite a big name.

Well,go to se38.

open the report program.

you will find a button 'save as local file',click on it.

the report prog will be copied into a notepad and get stored on ur PC.

I think it is not possible to copy all the thing in one shot.We need to go the respective includes in the same as I mentioned earlier and copy them.But while working in a real time scenario always copy a program into a zprogram from SE80 rather than from SE38 so that we can avoid the inconsistencies.Let's see what SDN gurus will answer for your question.

Reward if found helpful.

K.Kiran.

Former Member
0 Kudos

Hi,

u can copy the soure code of the program.for includes,u have to copy the coding in thpse include.for coping the screens.go to the screen painter enter prog name,screen number and goto layout of the screen.in the menu utilities(m)->uplaod/download->download.

this screen will be stored as a file.u can upload in revrse procedure.but while uploading that screen layout the program name and screen number should be same.

rgds,

bharat.

Former Member
0 Kudos

hi

follow the steps below to meet ur requirement

User File Capture of SAP Print Spool Output

Run an SAP program that creates a report and spool the report output

Examine the spool retained files

Save the spool file to local storage

The "Print Preview for Local Printer" screen displays

Select the "System / List / Save / Local File" menu item

Select "unconverted" in the "Save List in File..." dialog

Enter a file name in the "Transfer List to a Local File" dialog, i.e., "C:\SAPworkdir\PA0001.txt"

Click the Transfer button

Determining Where a Field is Used

Locate the field definition via the Data Dictionary (T/C SE16, SE11 or SE84)

Click on the Where-used list icon

Select the type of structure in the Where-Used List Data Database Tables dialog (i.e., DB tables)

Click the Execute button

The list of tables/structures using the field is displayed

System Access to Logical Databases

Log on to the SAPGUI

Follow the menu path; or use T/C SE36:

Tools - ABAP Workbench - Development - Programming Environment - Logical Databases

to open the "Logical Database Builder" screen (T/C SE36)

At the Logical Database Selection screen, enter a logical database such as "PNP"

Select the "Structure" or "Database program" subobjects and click Display. In this instance, select "Structure".

In the "Display Logical Database PNP" screen, select a data line (Node type = Table) such as "PERNR"

Click the Display structure button. Review this screen.

Now follow the menu path: Utilities - Runtime object - Display. Review this screen.

Return to previous screen. Reselect the data line PERNR and choose the Source Code button and review this screen.

Listing Standard SAP Reports Listing Reports by Group

Log on to the SAPGUI

Enter T/C SA38 -- or follow the menu paths below

From the main SAPGUI page (T/C S000), follow the menu path:

System - Services - Reporting

The "ABAP: Execute Program" screen appears (T/C SA38)

Follow the menu path:

Utilities - Find Program. The "ABAP Program Directory" screen appears

Enter "RP" in the left Program entry box (enter an extra character plus the wildcard, such as "RPL" for List Reports)

Click the Execute icon

The "ABAP Program Directory" screen appears

To save the list, follow the menu path: System - List - Save - Local file

Select an output format (such as "Spreadsheet"); click the Continue icon

Enter the local file name and Save the file

You can also view any available documentation and/or execute the report

Select "RPLCMP01" (Display Pay Grade Structure)

Check its documentation and then execute the report

Return to the "ABAP Program Directory" screen and enter "GP4QL*" and Execute

Select the first line and click on the F7 key

Review the list of includes for this program

Listing the Reports Tree

Log on to the SAPGUI

Enter T/C SARP to search for specific report trees

Return to the main SAPGUI screen (T/C S000)

Enter T/C HR00

The Level 0 hierarchy of HR reports are displayed

Navigate the tree by clicking on the outline graphics

Double click a report name to run the report

Make a Text File of an ABAP Program

Log on to the SAPGUI

Enter the T/C SE38

The "ABAP Editor: Initial Screen" displays

Enter the ABAP program name in the Program line

Click the Display button

Instructions continued below…

Copy the ABAP Program Source File to a Local Text File

(Continued from previous tip)

With the ABAP program source code in view within the ABAP Editor, follow the menu path:

Utilities - More utilities - Upload/Download - Download...

A standard Windows "Save As" pop-up window appears

Enter a local text file name (i.e., "C:\SAPworkdir\RPARlW00.txt")

Click the Save button

Exporting a Report Writer Report

Log on to the SAPGUI

Enter T/C GR37

Enter the appropriate Library, i.e., 1VK

Enter the appropriate Report name, i.e., 0F-PER

Under the Further details section, select "Export to presentation server"

In the Export file line, enter a local text file name (i.e., "C:\SAPworkdir\0F-PER.txt") or use the drop-down arrow and select an location and file name

Click on the Execute button

or

use the following link

http://www.datamanagementgroup.com/Resources/Articles/Article_OptimizingStrategiesforR3Reports.asp

regards

ravish

<b>Don't forget reward points if helpful</b>