UPARI_LOG_DATA is a standard SAP function module that performs Write Data into application log functionality. This is available within standard R/3 SAP systems depending on version and release level.
Below are the pattern details for this FM showing its interface including any import, export and tables parameters. There is also a list of Exceptions and for your convenience any standard documentation available. All this information and more can also be viewed if you enter the function module name UPARI_LOG_DATA into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'UPARI_LOG_DATA' "Write Data into application log
EXPORTING
i_msgtype = " upari_y_msgtype Message type
i_object = " balobj_d Application log: Object name (Application code)
i_subobject = " balsubobj Application Log: Subobject
* it_msgtab = " upari_yt_appl_msg Application Log: APPL_LOG_WRITE_MESSAGES interface
IMPORTING
e_lognumber = " balognr Application log: log number
EXCEPTIONS
ERROR_DURING_INITIALIZATION = 1 " Error during inizialization of application log
ERROR_DURING_WRITE_HEADER = 2 " Error during write header in application log
ERROR_DURING_WRITE_DATA = 3 " Error during write data to application log
ERROR_DURING_WRITE_DB = 4 " Error during writing on DB
. " UPARI_LOG_DATA