2012 Jul 23 3:50 PM
Hi All,
I need details of the LOG file (DATE , TIME and User id) for the unix file that was uploaded in SAP.
I tried the same using AL11 . But i need to use those details in Report to maintain the History.
I tried using the command CALL 'C_DIR_READ_NEXT' but i am not getting the required details in internal table as per date time and user id .
I am getting it as a Text .
Is there a specific type to define the internal table ?
Does any one have any idea about this or has faced similar issue.
Also please let me know is there any table in sap which maintains these values (Logs).
Regards,
Sam
Hi All,
I need details of the LOG file (DATE , TIME and User id) for the unix file that was uploaded in SAP.
I tried the same using AL11 . But i need to use those details in Report to maintain the History.
I tried using the command CALL 'C_DIR_READ_NEXT' but i am not getting the required details in internal table as per date time and user id .
I am getting it as a Text .
Is there a specific type to define the internal table ?
Does any one have any idea about this or has faced similar issue.
Also please let me know is there any table in sap which maintains these values (Logs).
Regards,
Sam
2012 Jul 23 7:37 PM
Hi satmat,
did you search for a solution?
Google recommends
CALL FUNCTION 'ADS2KIPUPL_GET_FILE_ATTRIBUTES' "Get Application Server File Attributes
EXPORTING
i_filepath = " string File Path
IMPORTING
e_file_name = " string File Name
e_dir_name = " string Directory Name
e_file_type = " string File Type
e_file_len = " int4 File Length
e_owner = " string Owner of the File
e_modification_date = " char10 Modification Date
e_modification_time = " char10 Modification Time
e_permissions = " char10 File Permissions
e_errno = " char3 Error No (O/S)
e_error_message = " string O/S Error Message
EXCEPTIONS
FAILED = 1 " Failed
. " ADS2KIPUPL_GET_FILE_ATTRIBUTES
Or FM EPS_GET_FILE_ATTRIBUTES
Regards
Clemens
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |