Application Development and Automation 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: 
Read only

Object BELEG

Former Member
0 Likes
7,745

Hello to everyone!

Please help me with such question! 

How to find from wich field of database or transaction code below get the long text

  CALL FUNCTION 'READ_TEXT'

        EXPORTING

             ID                      = '0001'

             LANGUAGE                = SY-LANGU

             NAME                    = TDNAME1

             OBJECT                  = 'BELEG'

       IMPORTING

            HEADER                   = THEADER

        TABLES

             LINES                   = TLINES

        EXCEPTIONS

             ID                      = 1

             LANGUAGE                = 2

             NAME                    = 3

             NOT_FOUND               = 4

             OBJECT                  = 5

             REFERENCE_CHECK         = 6

             WRONG_ACCESS_TO_ARCHIVE = 7

             OTHERS                  = 8.

As I understood I can search in transaction FB03 but where I don't see. For Example in VA43 if we go to long potion text we can see in which object it is store and by which ID we can find it. In future with fuction READ_TEXT we can get it

But how to know only object name to find out in which transaction long text is ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,972

Hi

go to FB03 ,give your document no , company code & year . Press enter.

Then on this screen, goto extras & then texts. then double click on Correspondence & here you comes ur screen . you can check the text there . Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
3,973

Hi

go to FB03 ,give your document no , company code & year . Press enter.

Then on this screen, goto extras & then texts. then double click on Correspondence & here you comes ur screen . you can check the text there . Thanks

Read only

former_member282968
Contributor
0 Likes
3,972

Hi Maria,

If you go to the include top of the function group STXD ( Which is the function group of READ_TEXT) you can find the the tables declaration which will give you an idea from which table it is picking up.

Tables are as below:

TABLES: T000,     
        T002,                          
        T002C,                   
        TTXCT,                       
        TTXOB,                      
        TTXID,                       
        THEAD,                     
        TLINE,           
        *STXH,                       
        STXH,                  
        STXL,              
        STXB,                     
        TFDIR,             

        PSTXT.

With regards,

Read only

Former Member
0 Likes
3,972

Thank you Naveen and Nishant!!