Start of Content Area

Procedure documentation Building, Deploying, and Running the Table Tutorial Locate the document in its SAP Library structure

You have successfully completed the tutorial Developing with Tables in Web Dynpro.

Based on a predefined data structure, you have created the contexts of the component controller and the views and mapped them onto each other. You then bound the UI elements to the relevant view context and thus generated the required columns or fields.

For the table, you implemented the possibility to select several data records.

Based on this, you added the following functions:

·        Deletion of single or multiple rows

·        Sorting of data records in ascending and descending order

·        Calculation of subtotals and overall totals

·        Setting and changing of currency format

Procedure

...

       1.      In the Web Dynpro Explorer, open the context menu for TutWD_Table_Init and choose Rebuild Project.

       2.      Open the context menu for the application TableApp and choose Deploy New Archive and Run.

Result

Once your application has started, you see the following:

This graphic is explained in the accompanying text

The table displays the product data records. The selected data record is the lead selection and the corresponding detailed information is displayed in the details form.

You can select one or more data records and delete them by choosing Delete product.

Next to the column header Price, you see the symbol This graphic is explained in the accompanying textfor Sort ascending; this function also becomes available for other columns when you click on the relevant column header. After sorting the data records in ascending order, the symbol changes to This graphic is explained in the accompanying text for Sort descending.

If you enter a value in the Quantity field and then press ENTER, the system calculates and displays the total for the article and overall total.

Back to:

Tutorials overview.

 

End of Content Area