Advertising:
Create application log in cloud development
From SAP Knowledge Base
For T1 / cloud developments the familiar function modules(FMs) or classic classes for creating application logs can no loger be used. For this purpose, SAP offers several released classes for cloud development. The object and sub-object should not be created via SLG0, but via Eclipse with ABAP Development Tools.
How to use the classes
Create new business application log
TRY.
DATA(lo_log) = cl_bali_log=>create( ).
CATCH cx_bali_runtime INTO DATA(lx_runtime_exception).
ENDTRY.