Skip to Content
avatar image
Former Member

Security Audit Log - Event AUY folder-path\file-name variable too short

Hello Experts,

I am trying to fulfill an auditing requirement to log all opening of attachments from GOS in the SAP ABAP system.

We are using a combination of RAL and SAL to gather the data we require, however.....

With SAL we use the event AUY (Download &A Bytes to File &C) to log the file name which is opened from the GOS attachment list in the SAP ABAP system, but the record in the SAL log file and SM20 show the file path\name of the opened file as being truncated, (and thus we cannot actually identify the full file name which has been downloaded).

The output into the SAL logfile is similar to this:

C:\Users\User_Name\Document..1_20151022113509.101_X.pdf

so we get the folder path... and the timestamp... but not the actual distinguishing name of the file which was originally attached.

Does anyone know how to prevent SAL and event AUY from truncating the file path\name which is saved into the SAL logfile or extend the relevant field length.... or have ideas on an alternate solution?

Thanks in advance,

Kind regards,

Patrick.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 22, 2015 at 07:58 PM

    If you are lucky then it is just an ALV grid display width restraint. Double-click the record to see whether more is displayed?

    If not, then the recording is truncated. Is the length 225?

    Within the application you can also display the log of documents in tcode OA_LOG_VIEW_DOC. For the download option you might have to use the RAL (Read Access Logging) option - though mind you that might be truncated as well. Uploads also have a limit - the file path cannot be too long in the directory to reach it, otherwise the ABAP typing of the field might not reach it.

    Cheers,

    Julius

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 23, 2015 at 06:09 AM

    Hi

    SAL field size for "Variable message data" is 64.

    AUY store there file size, mode (BIN),truncated path and separators.

    Regards

    Przemek

    Add comment
    10|10000 characters needed characters exceeded