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: 

Question on internal tables

Former Member
0 Kudos

Hello

my code is like this.

select * into table gt_tkeb

from tkeb. (standard tkeb)

select * into table gt_tkefe

from tkefe. (standard tkefe)

select * into table gt_refd_copa

from refd_copa (my own z table)

table refd_copa has the follwing

Tech Name Fld Type min.Field Length

WWRET CHAR 2

WWREV CHAR 4

WWCUC CHAR 3

WWGCN CHAR 10

I want to write a code to check wether the fields wwret,WWREV,WWCUC,WWGCN has their Field type and min.Field lenth are correctly according to the table

Thanks

Oli

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You want to compare the fields of table refd_copa with which table/structure ???

Use FM <b>DDIF_TABL_GET</b>, to get the fields of a DDIC table and its characterisitics.

Use FM <b>DDIF_FIELDINFO_GET</b> to get characteristics of a field of a DDIC table/structure.

Regards,

Subramanian V.

1 REPLY 1

Former Member
0 Kudos

You want to compare the fields of table refd_copa with which table/structure ???

Use FM <b>DDIF_TABL_GET</b>, to get the fields of a DDIC table and its characterisitics.

Use FM <b>DDIF_FIELDINFO_GET</b> to get characteristics of a field of a DDIC table/structure.

Regards,

Subramanian V.