6. Sample Application Installation
Overview:
There are a number of sample applications that can be imported to assist developers with design patterns and control usage. These will eventually get installed along with the development framework but at this time they will need to be installed manually.
Available Sample Apps:
- IQX_SAMPLES
- SAMPLE_ATTACHMENTS
- SAMPLE_IMPL_CLASS_METHODS
- SAMPLE_SEARCH_HELPS
- SAMPLE_EXCEL_DROP
Installation Method:
- Open the FAB workbench via transaction code /IQX/FAB.
Create a new application
The name of the application must be the same name as the file that is used for import. e.g. For IQX_SAMPLES.XML the application name in FAB should be IQX_SAMPLES
- Click the Import from File button.
Locate the relevant XML file in the download section below.
- The application should reload with the data from the import.
Creating the Implementation Class
Some of the sample applications have an implementation class that must be created in order for the application to function correctly. Applications with corresponding _SOURCE.TXT files in the download section indicate that an implementation class is required.
- Go to transaction code SE24.
- Enter the new class name as the name of the file. e.g. ZCL_IQX_SAMPLES_Source.txt should result in a class names ZCL_IQX_SAMPLES.
- Click the Create button.
- Enter any description and proceed.
- Provide any package or assign to a local object.
- Click the Source Code-Based button on the toolbar.
- Go into Edit/Change mode.
- Copy the contents of the TXT file and replace what currently exists.
- Click the activate button.
Downloads:
Sample Name | Description | Application Import File | Implementation Class Import File | Example Files |
---|---|---|---|---|
IQX_SAMPLES | Gives examples of a wide range of controls and functionality. | |||
SAMPLE_ATTACHMENTS | Shows the different types of attachment controls and their usage. | |||
SAMPLE_IMPL_CLASS_METHODS | Demonstrates the usage of the different implementation class methods. | ZCL_SAMPLE_IMPL_CLASS_METHODS_Source.txt | ||
SAMPLE_SEARCH_HELPS | Demonstrates search help usage and configuration. | |||
SAMPLE_EXCEL_DROP | Demonstrates how to use the Excel Drop control. |
IQX Business Solutions - FAB 3.10