Q

TYPE statement and DATA statement

The TYPE statement and the DATA statement are two fields required while declaring SAP data. Their definitions and roles are describes in this response.

Can you please describe the difference between the TYPES STATEMENT and the DATA STATEMENT while declaring data?
TYPES describes what data should look like. DATA defines an area to put data into. The DATA statement has similar forms to TYPE, so that you don't always have to define the TYPE before you declare the data.
This was first published in September 2006

Dig deeper on SAP ABAP

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close