Application Development and Automation 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: 
Read only

data objects

Former Member
0 Likes
577

what are data objects suppose if i write a statement

data:vbeln like vbak-vbeln.is this statement is a data object statement ?plz give reply

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
549

HI..

Data Objects are nothing but variables for which <b>memory is allocated</b> in the data declaration.

now..vbeln is a data object which has the memory allocated and whose

<b>type is of vbap-vbeln</b>.

5 REPLIES 5
Read only

Former Member
0 Likes
550

HI..

Data Objects are nothing but variables for which <b>memory is allocated</b> in the data declaration.

now..vbeln is a data object which has the memory allocated and whose

<b>type is of vbap-vbeln</b>.

Read only

0 Likes
549

thank u rammohan

Read only

shishupalreddy
Active Contributor
0 Likes
549

Hello,

Data Objects are 4 types .

1. internal

2.external.

3.special.

4.system defined .

Internal data objects are nothing but the literals declared n programs .

external is as follows.

data : x type i . x is internal

specail data objects are the variables declared which allows the user to provide input . these will be declared using

parameters

select-options

system defined are nothng but sy-subrc . sy-index etc....

regards

Read only

Former Member
0 Likes
549

hi,

Refer to this related thread

Regards,

Santosh

Read only

Former Member
0 Likes
549

hi

good

A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.

Declaring Data Objects

Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.

The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.

thanks

mrutyun^