Skip to Content
0
Sep 08, 2010 at 09:42 AM

SAP Table Character Structure

40 Views

Dear ABAPers,

Did SAP create char structure for each table in data dictionary. For example char structure for table MARA, they have fields:

MATNR CHAR 18

ERSDA CHAR 8

ERNAM CHAR 12

LAEDA CHAR 8

AENAM CHAR 12

VPSTA CHAR 15

PSTAT_D CHAR 15

LVOMA CHAR 1

MTART CHAR 4

MBRSH CHAR 1

MATKL CHAR 9

BISMT CHAR 18

MEINS CHAR 3

BSTME CHAR 3

...

I need to generate internal table like table MARA but have all fields in char type. The purpose is to pass this internal table to unix file using syntax 'open dataset' 'transfer' 'close dataset'.

Thanks

Regards

Hadi