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: 

upload package

Former Member
0 Kudos

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

3 REPLIES 3

0 Kudos

Hi,

     you can use the program ZSAPLINK.

    

     refer this thread

0 Kudos

hi bro,

m using zsapling pgm ....add package to nugg newly created file but i got error

how can rectify this error

Thanks & regards,

Raja

Former Member
0 Kudos

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.