* SAVE LOG DATA L_IT_LOG_HANDEL TYPE BAL_T_LOGH. APPEND L_VAR_LOGHNDL TO L_IT_LOG_HANDEL. CALL FUNCTION 'BAL_DB_SAVE' EXPORTING
I_T_LOG_HANDLE = L_IT_LOG_HANDEL EXCEPTIONS OTHERS = 1. IF SY-SUBRC <> 0. "Ignore Errors ENDIF.
In Programms you can
easily encapsulate everything inside Forms. Inside functions i would
recommend creating a helper class and instanciate it. We also are using
function pools as Log Helper. The problem with them might be, that only
instance exists. So if you use any kind of reset method and keep a
handle inside the pool it might get reset by nested calls inside
different functions.
Serkan AKKAVAK Computer Engineer SAP Department Deputy Manager Contact : serkurumsal@yandex.com
Social Plugin