‎2009 Jan 30 9:51 AM
Hi All,
This is an Upgrade issue.
Can any body help me to find the replacement for the obsolate function module 'WS_FILE_ATTRIB'.
CALL FUNCTION 'WS_FILE_ATTRIB'
EXPORTING
FILE = L_FILENAME
ATTRIB = 'R-'
IMPORTING
RETURN = RETURN
EXCEPTIONS
OTHERS = 1.
Is the method 'CL_GUI_FRONTEND_SERVICES=>FILE_SET_ATTRIBUTES' a suitable one ?
if so what parameters i have to pass it.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SET_ATTRIBUTES
EXPORTING
FILENAME = L_FILENAME
READONLY =
NORMAL =
HIDDEN =
ARCHIVE =
IMPORTING
RC =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
WRONG_PARAMETER = 4
others = 5
.
what does it mean by ATTRIB = 'R-'
'WS_FILE_ATTRIB' is allowing only either 'R+' or 'R-'
Also what exactly is the functionality of ''WS_FILE_ATTRIB'' function module
Thanks in advance
NIVAS
‎2009 Jan 30 9:55 AM