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

Text table for a DB table

0 Likes
709

Hi,

Is there a FM that can give me the text table of a DB table or how can I find the text table for a DB table programatically?

Thanks,

Saurabh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
665

Hi,

use this FM DDUT_TEXTTABLE_GET to get the text table.

of a dictionary table.pass the table name and get the text table

regards

vijay

3 REPLIES 3
Read only

Former Member
0 Likes
666

Hi,

use this FM DDUT_TEXTTABLE_GET to get the text table.

of a dictionary table.pass the table name and get the text table

regards

vijay

Read only

0 Likes
665

Here is the sample code for that..

REPORT  ztable_find_texttable.

DATA: texttable TYPE dd08v-tabname.
CALL FUNCTION 'DDUT_TEXTTABLE_GET'
  EXPORTING
    tabname   = 'MARA'
  IMPORTING
    texttable = texttable.

IF sy-subrc = 0.

  WRITE: 'text table is ' , texttable.

ENDIF.

out put is MAKT. "this is text table for mara

Read only

0 Likes
665

Hi,

If your problem solved, please reward and close the thread.

please let me know if you have any problem.

regards

vijay