08-02-2012 11:18 AM
Hi Experts please help me on following ,
I wanted to find from where traffic light in va03 ( to view traffic light.. enter sales order, select Item number and press 'Item Details : configuration' icon . you can see one traffic light there ) is updating . So I found the following details
Program: SAPLCEI0 , From this program i found following code . But unable to find how and when table TCLC is updating . Please some one help me on this.
WHEN 'LIGHT'.
SELECT * FROM tclc
WHERE klart EQ cuco-klart
AND statu EQ g_statu_new.
ENDSELECT.
IF tclc-frei <> space.
light = icon_green.
ELSEIF tclc-gesperrt <> space.
light = icon_red.
ELSE.
light = icon_yellow.
ENDIF.
08-02-2012 11:33 AM
Hi,
Why dont you use SQL trace to find out where the table is being updated. It is very simple.
1. Go to transaction ST05. Click on 'Activate Trace'.
2. Now run through your business scenario in another session.
3. Once your activity in step 2 is complete and you are sure that the mentioned table would have been updated.
4. Go to ST05 (Session opened in step1) and click 'Deactivate Trace'.
5. Select 'Display Trace' - Here you will be able to see database operations which were performed because of your business scenario. Now you can find out the mentioned table and know from where the data is being updated.
Hope it helps. Thank you.
Regards,
Kartik
08-02-2012 2:40 PM
TCLC is a customizing table that is most likely not being updated within a transaction, but through manual configuration.
Try entering TCLC in SM30 and hit the "customizing" button, to see where this leads you in the IMG.
Thomas