Application Development and Automation 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: 
Read only

Method to download a screen for a text file

Former Member
0 Likes
720

Hi Guys,

Is the a method to download a screen of a program to a text file so that it can be uploaded to another system. If there is a method, please let me know.

Thanks

Lilan

Hi Guys,

Is the a method to download a screen of a program to a text file so that it can be uploaded to another system. If there is a method, please let me know.

Thanks

Lilan

4 REPLIES 4
Read only

Former Member
0 Likes
680

Hi!

Choose menu: System - List - Save as - Local file.

Save in table format (or unconverted) into a local file.

This file is more or less useful to upload data into another system.

Regards

Tamá

Read only

Former Member
0 Likes
680

S, there is a method

1.goto the layout and follow the menu path utilites->upload/download

2.ensure that the program name of the target program is same as the source program when uploading the screen to a new program

Message was edited by:

Rajesh

Read only

0 Likes
680

Hi,

The Upload is disabled in the system. If there a way that should be followed to upload the screen?

Thanks

Lilan

Read only

Clemenss
Active Contributor
0 Likes
680

Hi Lilan,

please take carte that a screen consists of layout, fields and flow logic. Get all components using this form routine (taken from excellent useful SAP report RPR_ABAP_SOURCE_SCAN):

*---------------------------------------------------------------------*
*       Form  GET_DYNPRO_FLOW_LOGIC
*----------------------------------------------------------------------*
*       Get flow logic of the dynpro
*----------------------------------------------------------------------*
form get_dynpro_flow_logic.
  data: dhead  like d020s,
        dfield like d021s occurs 0,
        dflow  like d022s occurs 0,
        dmatch like d023s occurs 0,

        begin of dynp_id,
          prog like d020s-prog,
          dnum like d020s-dnum,
       end of dynp_id.

  dynp_id-prog = dyn-prog.
  dynp_id-dnum = dyn-dnum.

  import dynpro dhead dfield dflow dmatch id dynp_id.

  rtab[] = dflow[].
endform.                               " GET_DYNPRO_FLOW_LOGIC

Regards,

Clemens