Skip to Content
0
Former Member
Feb 16, 2009 at 12:52 PM

Reading file from an external folder.

577 Views

Iam tring to read an external file from the C:\ drive. Given below is the code.

DATA LV_XLS(100) TYPE C.

DATA LV_CONTENT TYPE XSTRING.

LV_XLS = 'C:\XML\Report.xls'

READ DATASET LV_XLS INTO LV_CONTENT.

But when i execute iam getting an error - FILE NOT FOUND. How do i read file from an external folder. My requirement is to strictly read from an external folder. Please help.

If this is not possible please advice as to how the file could be moved to the SAP root directory. Iam not able to locate the root.