on 02-04-2007 8:18 PM
Hai
Iam new to smatforms, can any one explain what is form interface and global definitions,and how to declare them in a smartform
Hi Pavan,
Smartform works like a Function module.
Form interface provides interface between Smatform & print program. Here you can delcare a structures & tables to be imported form print program. Tables will be defined in tables tab of form interface. These structure you can directly use in smartform & Internal tables can be used in loop & table control. You can also read the data of structure & tables by using program lines like read table or loop & endloop.
Global defination are use to declare local variables, sturcutes, types etc.
These variabls & structure or Work area can be filled by the strucutes or tables you have imported in from interface. Initialization section you can initialze the values of variables etc.
For more details check out the following links:
http://www.zebra.com/id/zebra/na/en/index/industry_solutions/alliances/sap_new/sapsmartforms.html
Reward points if usepful answers.
Ashvender
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>global definations</b> are all those declarations which u r going to use in u r different windows
eg for form interface
in u driver program u have
parameter:p_vbeln type vbap-vbeln.
u r smartform needs this parameter.
go to ur smartform . in form interface write <name>(which u desire) type vbap-vbeln.
hence u r smart form will take that parameter in driver program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
form interface is required when u r calling u r smartform through driver program .
example :
all u r select queries are in a report program ,then u call the function module of u r smart form
now the smart form should understand what data needs to be printed which u selected through u r select queries. hence u declare all those parameters in u r form interface .
award pts if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are passing some variable or internal tables from print program,then you should include it in form interface.
If you are declaring the variables or internal tables which is to be used inside the smartform,declare it in global definitions.
Kindly reward points by clicking the star on the left of reply,if it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.