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: 

Text table for a DB table

0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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

0 Kudos

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

0 Kudos

Hi,

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

please let me know if you have any problem.

regards

vijay