what is field string ?
& where we are using field strings?
Answers were Sorted based on User's Feedback
Answer / ashutosh rai
A field string is a type of variable, and is the equivalent
of a structure in the DDIC but is defined within an ABAP/4
program. Like a structure, a field string is a series of
fields grouped together under a common name. The difference
lies mainly in where the definition resides. The term
structure in R/3 applies only to a Data Dictionary object
containing a collection of fields. The term field string
applies to a collection of fields defined in an ABAP/4 program.
Two statements are usually used to define field strings in
an ABAP/4 program:
* data
* tables
The following is the syntax for defining a field string
using the data statement.
data: begin of fs1,
f1[(l)] [type t] [decimals d] [value 'xxx'],
f2[(l)] [type t] [decimals d] [value 'xxx'],
...
end of fs1.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / kartikeya bommuluri
Field strings are a special form of dynamic string, which
have all the capabilities of a dynamic string, but may also
represent a defined part of a random file buffer or a
defined part of a dynamic string.
Field strings must always be declared using LOCAL.They may
be used in the same manner as a dynamic string variable, or
they can be bound to a file buffer for an open random-
access file or a dynamic string using a corresponding FIELD
statement. Each field string occupies sixteen bytes of
memory, and requires slightly more general overhead than a
regular dynamic string variable
The TABLES statement automatically defines a field string .
they are mainly used in screen painter.
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / amith
Field Strings can be used as work areas.
They are similar to structures
We can use field strings In reports .
Field strings can be defined both using the DATA and Tables
statement
Is This Answer Correct ? | 9 Yes | 1 No |
What is difference between dialog program and a report?
while running bdc for call transaction method, in gui_upload function we use filetype 'ASC' for tab delimited seperated data. like that for csv(comma delimited) data what we have to use as filetype??? ie FILETYPE = ?????
what is a package is SAP
what is itcsy structure? what is the importance of it? give me the detailed information of it ?
Can i Have Some Examples on Enhancements.
Pls someone answer me this, Can we acheive everything using OOPs? If not? What cant be acheived? Have you encountered any scenario liike, you cannot acheive it using Function modules & can be acheived using Oops? What is the advantage of BADI over UserExit? Difference between BAPI and RFC? Thanks in advance.
Elements of Main window and is Main window compulsory in Sap script ?
Does SAP handle multiple currencies? Multiple languages?
i have a problem in report which is at production server what will i do?
how to send the form to mail?
4 Answers Bristle Cone, Cap Gemini, HP, Satyam, Wipro,
1) How to maintain lists in dialog programming? 2)How to send greeting with different languages to different regions in smartforms? 3)Can we transfer 100 screen data to pass 200 screen? 4)In reports 1st list o/p can be consider as i/p of 2nd list how it maintains? 5) In lsmw data length 20 chars only but there is 24 chars field how can u manage? 6)What is the diff b/w OK_CODE n SY_UCOMM?
how can you make select options as a parameter?