‎2007 Apr 26 9:59 AM
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
‎2007 Apr 26 10:06 AM
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>.
‎2007 Apr 26 10:06 AM
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>.
‎2007 Apr 26 10:07 AM
‎2007 Apr 26 10:08 AM
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
‎2007 Apr 26 10:11 AM
‎2007 Apr 26 10:14 AM
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^