‎2007 Oct 13 10:44 AM
hi experts,
plz explain me what is field string with your own eg.........
thnx in advance.
‎2007 Oct 13 10:50 AM
Hi
Field string is nothing but the group of fields
You can call it as Structure also
example:
types: begin of x_str
kunnr type kunnr,
lifnr type lifnr,
name1 type name1,
land1 type land1,
end of x_str.
this stores one record at run time.
Regards
Anji
‎2007 Oct 13 11:35 AM
hi!
did u mean datatype SRING.
if so
data : str type string.
SSTRING 1-255 Character string string
STRING 256-... Character string string
The type SSTRING is available as of release 6.10 and it has a variable length. Its maximum length must be specified and is limited to 255. The advantage of this type compared with CHAR, is that it is assigned to the ABAP type string.
Regards,
Nagulan
‎2008 Jan 12 1:41 PM
Hi,
Field string is like a structure but it used for only one program or report. It can be used many time with different name in a same program.
For ex.
Data:Begin of salary,
Basic type n,
da type i,
hra type i,
end of salary.