cancel
Showing results for 
Search instead for 
Did you mean: 

Logical File name

Former Member
0 Kudos

how to find whether Logical fle name exist or not.

Please provide any function module for above requirement.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Use both functions. One for obtaining the physical access and the other for check its existence

Former Member
0 Kudos

Hi,

try this:

TYPE-POOLS: ABAP.

DATA: RT TYPE ABAP_BOOL.

*

CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST

EXPORTING

FILE = 'C:\matnr.txt'

RECEIVING

RESULT = RT.

*

check RT

regards, Dieter

former_member181995
Active Contributor
0 Kudos

Check FILE transaction

FM:FILE_GET_NAME

Edited by: Ámit Güjärgoüd on Sep 29, 2008 9:24 AM