Skip to Content
author's profile photo Former Member
Former Member

upload package

hi experts ,

i have problem for upload a set of flat file program in new server -new package..

already download pgm via below code

program

TABLES : TADIR.

TYPES: ABAPLINE(255).

DATA: I_REPSRC TYPE STANDARD TABLE OF ABAPLINE WITH HEADER LINE.

DATA: BEGIN OF ITAB OCCURS 0,

PGMID TYPE TADIR-PGMID,

OBJECT TYPE TADIR-OBJECT,

OBJ_NAME TYPE TADIR-OBJ_NAME,

DEVCLASS TYPE TADIR-DEVCLASS,

END OF ITAB.

DATA: PROG(60) , MC_FILENAME LIKE RLGRAP-FILENAME, FILENAME TYPE STRING.

PARAMETERS: PATH TYPE TADIR-DEVCLASS.

*SELECT STATEMENT.

SELECT PGMID OBJECT OBJ_NAME DEVCLASS FROM TADIR INTO TABLE ITAB WHERE PGMID = 'R3TR' AND OBJECT = 'PROG' AND DEVCLASS = PATH.

LOOP AT ITAB.

PROG = ITAB-OBJ_NAME.

READ REPORT PROG INTO I_REPSRC.

CONCATENATE 'E:\PROGRAM\' PROG '.TXT' INTO MC_FILENAME.

FILENAME = MC_FILENAME.

*FUNCTION MODULE FOR DOWNLOAD FILES INTO LOCAL SYSTEM

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = FILENAME

TABLES

DATA_TAB = I_REPSRC.

CLEAR PROG.

CLEAR I_REPSRC.

ENDLOOP.

MESSAGE 'CHECK YOUR FOLDER FOR THE PROGRAMS DOWNLOADED' TYPE 'S'.

how to upload the downloaded set of flat file help me...


Thanks & regards,

Raja

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2015 at 09:22 AM

    Hi there ,

    Save the file in a .txt format.

    Go to se38 , Create a new program.

    Then to upload your code in the program , ( in Change mode )

    Utilities - > More utilities -> Upload / download.

    Select your text file and done.

    Regards,
    Anirudh.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 06, 2015 at 06:32 AM

    Hi,

    you can use the program ZSAPLINK.

    refer this thread

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.