12-08-2004 11:38 AM
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
12-08-2004 11:44 AM
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.
12-08-2004 11:44 AM
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.