Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can some one help me to find where TCLC table is updating in SAPLCEI0 program

Former Member
0 Kudos

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.

2 REPLIES 2

Kartik2
Contributor
0 Kudos

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

ThomasZloch
Active Contributor
0 Kudos

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