Posts

Showing posts from December, 2017

Lock Concept

Image
The SAP System is equipped with a special lock mechanism that synchronizes access to data on the database. The purpose of the lock mechanism is to prevent two transactions from changing the same data on the database simultaneously. Using T CODE SM12 we can check list of locked object for respective users: Provide User ID then Press enter key and check locked object list as below:   Select entry and delete irrespective locked objects. P lease make sure data must be save else unsaved data will be lost..

Application Log in SLG0 & SLG1

Image
  Application Log   These are 3 important transaction code used for Application Log: SLG0 – Create a new Log Object and Sub-object SLG1 – Display Application Log SLG2 – Delete the Application Log Step-1: Create Object using SLG0 :   Step-1.2: Select Object and click on Sub-Objects:   Step-2: Implement logic for Object & Sub Object with dummy code: REPORT ZDEMO_TESTING. ***===>Standard Internal Table & Structure DATA:lt_msg TYPE bal_tt_msg,             ls_msg TYPE bal_s_msg. ***===>Data Declaraction DATA: lv_handle      TYPE balloghndl. ***===>Append Message to Internal Table MOVE 'S'    TO ls_msg-msgty. MOVE 'ZCRM' TO ls_msg-msgid. MOVE '000'  TO ls_msg-msgno. MOVE 'SLG Log' TO ls_msg-msgv1. APPEND ls_msg TO  lt_msg. ***===>Call Generic Function Module to create application log CALL FUNCTION 'ZCRM_APPLICATION_LOG'   EXPORTING     i_object...