Skip to Content
0
Former Member
Aug 13, 2007 at 01:12 PM

How to open .TXT format file

25 Views

Hi ...I want to open .TXT format file ....I used following FM's to open Xcel sheet...but i don't know what are the values should pass for "key" and "section"

in the FM "REGISTRY_GET" to open TXT format file.

CALL FUNCTION 'REGISTRY_GET'

EXPORTING

key = 'protocol\StdFileEditing\Server'

section = 'ExcelSheet'

IMPORTING

value = excel_command.

CONCATENATE '"' dw_file1 '"' INTO dw_file1.

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

commandline = dw_file1

program = excel_command

EXCEPTIONS

frontend_error = 1

no_batch = 2

prog_not_found = 3

illegal_option = 4

OTHERS = 5.

Please help me how to open TXT format file