Accessing Application Data

Use

You want to access data in your application to display or print it in a table.

Integration

You use the application program to read the data you want to display on the form as a table from the database and write it into an internal table. When calling the Smart Form, you pass this internal table to the form interface to be able to access it within the form description.

See also: Integrating the Smart Form into the Application

Prerequisites

You created a table node and declared an internal table at the form interface that you want to pass from within your application program.

Activities

  1. Access your internal table to display it on the form line by line.
  2. Use the sort criteria to sort the internal table before output. This is a prerequisite for displaying subtotals.
  3. To be able to access several internal table for table output whose entries are interdependent, SAP Smart Forms allows you to combine loop and table nodes.