SAP Database - The Unofficial SAP Knowledge Base

Hi Guest!
You can contribute to SAP Database on any topic. SAP Database might be the right place for your Ideas/Opinions to reach a larger audience.

SAP Forums

New to SAP Database? Register Now
Already a member? Login
Social Bookmarks:

ABAP Programs: Working with Field symbols

Print This Post Email This Post Written by admin on Jan 28th, 2008 | Filed under: SAP General

REPORT CHAP2401.
* Defining a Field Symbol
FIELD-SYMBOLS < FS>.
* Variable for later use
DATA FIELD VALUE 'X'.
* Assigning a field to a Field Symbol
ASSIGN FIELD TO < FS>.
* Using a Field Symbol which has an assigned field
WRITE < FS>.

If you like this post, you may as well like these too:

  1. ABAP Programs: Simple examples of field conversion REPORT ZSOURCE0702. * Conv
  2. ABAP Programs: Using Symbols and Icons REPORT ZSOURCE0806. * Decl
  3. ABAP Programs :Using Field Symbols for variable parts of fields REPORT ZSOURCE2402. DATA:
  4. ABAP Programs:Using Field Symbols for components of a structure REPORT ZSOURCE2403. * Tabl
  5. ABAP Program : Working with Temporary Programs Ever had a need to create



Leave a Reply