Show TOC Start of Content Area

Procedure documentation Accessing the Forms Java API  Locate the document in its SAP Library structure

Use

To be able to use the functions provided by the Java API for form handling, you must first declare the use of the relevant public part in your development component. Then you must access the required interfaces using a public helper class.

Prerequisites

You must have set up your project as described in Setting Up Your Project.

Procedure

...

       1.      Instantiate the helper class.

The API functions are provided in a set of interfaces, which are accessed using the helper class com.sap.caf.eu.gp.forms.api.InteractiveFormsFacade.

       2.      Once you instantiate the class, you can use the getter methods it provides to access any of the interfaces.

Example

package com.sap.caf.eu.gp.api.test;

 

import com.sap.caf.eu.gp.forms.api.IFormProcessor;

import com.sap.caf.eu.gp.forms.api.InteractiveFormsFacade;

 

public class APITest {

 

   IFormProcessor formProcessor = InteractiveFormsFacade.getFormsProcessor();

...

}

 

End of Content Area