cancel
Showing results for 
Search instead for 
Did you mean: 

send the presentation flat file to application file

Former Member
0 Kudos
38

hi,

I have created the flat file, now i want to upload the flat file to application file through dataset. Can anyone send me the code for this particular.

thanks & regards,

Sekhar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

OPEN DATASET l_filename FOR INPUT IN BINARY MODE.

IF sy-subrc 0.

WRITE:/ 'invalid file path'.

ENDIF.

DO.

READ DATASET l_filename INTO l_xml_line.

IF sy-subrc EQ 0.

APPEND l_xml_line TO l_xml_table.

ELSE.

EXIT.

ENDIF.

ENDDO.

CLOSE DATASET l_filename.

Warm Regards

Answers (0)