Vous êtes sur la page 1sur 3

Adobe forms:- Tcode- SFP

1. Create interface:

interface is nothing but form interface in smart form.

Interface is mandatory to every form

Interface contains 4 nodes.


1. Form Interface- Import, Export, Exceptions
2. Global defintions- Globaldata, Types, Field symbols
3. Initialization- Code initialization, Form Routines
4. Currency / Quantity Fields- Currency and Quantity Fields

2. Form : Create the form


1. Bind Form interface with Form name- Then we can use the parameters of
the form
interface parameter
2. Form Contains 3 tabs
1. Properties
2. Context
3. Layout
Context:- Context is used for form interface variable drag and drop to form
context.
Layout:- 1. Used for design the layout
2. Has 2 tabs --> 1. Body pages --> Design layout
2. Pdf preview--> View the design in pdf formate
Req 1- Displaying Heading and Display the value in the adobe form
Displaying Heading:1. Click on Palettes(Menu bar)--> Library ( Contains all the UI elements )
2. Click on(Drag and drop) TEXT ELEMENT for displaying heading
3. Now double click on TEXT ELEMENT object in the layout
4. Enter the text--> "Welcome To Adobe Forms"

Displaying Value:1. Click on palettes(Menu Bar)--> Library


2. Drag and drop TEXT FIELD UI element to layout
3. To see the Properties of any UI element --> right click on the UI element on
the
layout --> Goto palettes--> Object--> 3 tabs 1. Field, 2. Value, 3.
Binding
Field Tab- ( Caption, Appearence, Field pattern, Display pattern)
Value Tab- Type( User entered -Optional, Recomonded, Required.
CalculatedRead only, User can override. Read only))
Binding Tab- UI element Bind with Form Variable( Normal, Global,
Form(Variable)
save and Activate .
When you activate the form system generates one unique function module.
to see the function module Goto Environment(Menu bar)--> click on
function module
Run it.
Note : Palette contains different tabs-->Layout, Border, Object, Font, Paragraph,
Accessibility.
__________________________________________________________________________________
Req2 - Working with Floatting Field.
Ex:- Dynamically display the text
If i pass kalyan --> this is to certify that Mr Kalyan is working with reliance
If i pass raju --> this is to certify that Mr raju is working with reliance
1. Create form interface with one variable with type string
2. Bind form interface with form
3. Drag and drop form interface variable to form context. Now form contains that
variable.
4. Create one ui element as TEXT FIELD to drag to layout
5. Expand the text field. Using corner buttons of text ui element.

6. Enter the Text as This is to certify that Mr. name is working with reliance.
7. select only the name (Which will be highlighted) from the whichever entered the
text.
8. Right click on name.
9. in the popup box select the property as floating filed --> Now name field is
converted to
Text field UI elt
10. Now Text field bind with form variable. GOTO Object--> Binding tab-->
1. select binding and rename it from {TEXT field} to {Name}.
2. to binding Goto Default binding select the F4 Help on Select UI Element
name(IV_NAME). automatically bind to the UI elt.
11.Save and Activate the Form and Execute the Form.
Ex:- Scenarion-1 :
INPUT:IV_NAME = SATHISH
OUTPUT:This is to certify that Mr. Sathish is working with Reliance.
Ex: Scenario-2:
INPUT:IV_NAME = SATHISH Kumar
OUTPUT:This is to certify that Mr. Sathish Kumar is working with Reliance.

Vous aimerez peut-être aussi