How to transfer the screen layout??

Question: Hi,
We copy a program to another name. But user told us it will have the screen layout before. Now we apply the new progrm, then the screen layout can't be kept . Now how to transfer the saved screen layout by user to the new program ?? Thx.
_________________
Leo Hu
mail: leohu8888@gmail.com, leohu8888@msn.com

Answer:
In SE51, use the download option to download the screen (Utilities->More Utilities->Upload/Download->Download. Then open the downloaded file using notepad. You will see something like this:

****************************************************************                                                                                                
*   THIS FILE IS GENERATED BY THE SCREEN PAINTER.              *                                                                                                
*   NEVER CHANGE IT MANUALLY, PLEASE !                         *                                                                                                
****************************************************************                                                                                                
%_DYNPRO                                                                                                
ZAGS_UPLOAD                                                                                                
0200                                                                                                
620                                                                                                
             40                                                                                                
%_HEADER                                                                                                
ZAGS_UPLOAD                             0200 0200     28129192 36  0  0 29136  0G E                              20050523162155                                                                                                
%_DESCRIPTION                                                                                                
AG & S Order Line detail screen                                                                                                
%_FIELDS                                                                                                
%#AUTOTEXT006      CHAR   125   00   00   08   30   00     2     6        0     0     0        5   R              0     0   102                     ____________________________________________________________________________________________________________________________      
%#AUTOTEXT001      CHAR    16   00   00   08   38   00     3    10        0     0     0        0                 0     0                        Customer_Number:      

Make sure word wrap is off. Set insert off on your keyboard. Use Search to find the original program name and change that character for character with the new name. Use space to delete any remaining characters of the old file name.

Do the same thing with the dynpro number.

Then go back to SE51, having created your new program, use the Upload facility to upload the text file that you have just changed.
_________________
Regards

R


Abap KC
SFMDR
Copyright ?2007 - 2008 www.jt77.com