cancel
Showing results for 
Search instead for 
Did you mean: 

Text Table

former_member1330001
Participant
0 Kudos

Hi Friends,

Do anyone here know the concept behind text table? How the text for a particular field is being fetched at runtime? We got this T685 table for condition types. I need to do an enhancement on Billing document. That is to assign Condition types to the Komv structure at runtime. The problem here is i am not getting the description of this condition type. How to go about it?

Prompt replies would be rewarded.

Regards,

Tamilarasan.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Tamil,

Use trace option, there you will have a clear picture what tables are being accessed and data are fetched.

Cheers

Kathir~

athavanraja
Active Contributor
0 Kudos

it would automatically get the text. because the relatioship between the t685 and t685t is maintained at table DD08L

to find out the associated text table for a table you can use the following function module.

DDUT_TEXTTABLE_GET

Regards

Raja

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos



data: begin of xt685,
       kschl type t685-kschl,
       vtext type t685t-vtext,
      end of xt685.


select single t685~kschl t685t~vtext
    into corresponding fields of xt685
       from t685
            inner join t685t
               on t685~kvewe = t685t~kvewe
              and t685~kappl = t685t~kappl
              and t685~kschl = t685t~kschl
                      where t685~kschl = 'PR01'
                        and t685t~spras = sy-langu.


check sy-subrc = 0 .




Regards,

Rich Heilman

former_member1330001
Participant
0 Kudos

Hi Durai,

I tried to change the condition type within the internal table used for the table control in the debug mode and it is reflecting in the result.. but iam not getting the corresponding text. Why this happens?.

Thanks

Tamilarasan.

athavanraja
Active Contributor
0 Kudos

Hi Tamil,

But you may not be changing the condition type at the right place .

Regards

Raja

former_member1330001
Participant
0 Kudos

Hi,

As i have already mentioned i am doing an enhancement on Billing Document. And i am using USER_FILL_VBRK_VBRP subroutine exit. The internal table used for the table control is XKOMV which is very much accessible from within this subroutine. So i got to use this internal table to add condition types based on certain conditions. To my knowledge this is the only way i can approach this issue i guess.

How to go about it?.

Thanks,

Tamilarasan.

krzysztof_konitz4
Contributor
0 Kudos

Hi,

Tou can find text table from transaction SE11 via menu

"go to"->"Text table".

For table T685 text table is T685T.

Krzys

Former Member
0 Kudos

Check out the setup of condition types in the IMG.

You should be asked for a description.

Most tables have a text table associated with them

ex t005 t005t

The text table is to achieve internationalization in ABAP.

This way you get the text corresponding to your logon language.

Enjoy

former_member1330001
Participant
0 Kudos

Hi Brandelik,

Thanks for your reply. We have one for T685 too. ie T685T-Vtext. But my doubt is .. is it automatically fetched in VF01 once you give a condition type?. Coz i couldnt track where this is getting assigned exactly in debug mode.

Thanks

Tamilarasan.