Skip to Content
0
Former Member
Apr 20, 2010 at 07:53 AM

FILER SERVER TO INTERNAL TABLE

127 Views

Hi Experts!!

How I can download a file server and store it in an internal table for display in an ALV?

Try this function:

CALL FUNCTION 'ARCHIVFILE_SERVER_TO_TABLE'

EXPORTING

sourcepath = l_file --> TYPE SAPB-SAPPFAD

  • WITHOUT_DELETE = ' '

  • IMPORTING

  • LENGTH =

tables

archivobject = t_fichero " --> t_fichero like docs OCCURS 0 WITH HEADER LINE

But I think the standard is wrong:

assign archivobject-lines(length) to <f1>.

I'm triyin with OPEN DATASET l_file FOR INPUT IN BINARY MODE, but in the ALV show ascii code

Can someone please help me, PLEASE