on 10-06-2007 5:44 PM
hi guru's
actly i knw wat is smart forms.,but in one interview they asked me tht how do we use smart forms in output determination cn u tell me.
Dear Rahul,
Forms, scripts and smart forms
SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
You can create smartforms using transaction SMARTFORMS.
SAPscripts is the standard SAP form design tools for user to developed customized form printing format such as purchase orders, invoices, checks, labels.
You can create scripts in SE71.
The diff. b/n scripts and forms are :
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated
f) Easier to debug in Scripts.
You can find the related documents on Smartforms in these links
DIFFERENCE BETWEEN SMARTFORMS AND SAPSCRIPTS ARE:
1).Smartforms are client independent and Sapscripts are client dependent.
2).Multiple page formats are possible in smartforms which is not the case in SAPScripts
3).It is possible to have a smartform without a main window .
4).Labels cannot be created in smartforms.
5).Routines can be written in smartforms tool.
6).Smartforms generates a function module when activated.
Functional spec is written by the fun consultants in the business/sap Language related to SAP functionality related to that particular module
A senior technical person can convert to Technical spec with tables etc
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smart-001.htm
-
Forms are useful in the foloowing areas...
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
& along with that the more applications in :
1. eError Control
2. billing
3. inbound dekliveries
4. sales activities
5. purchasing
6. entry sheet
7. procurement
8. automotive
9. jit call
10. labelling
11. handling unit
12. transport
13. visit list
14. allocation table
15. retail promotion
16. invoice list
17. sales document
18. delivery document
19. agency business
20. warranty
21. direct production
22. purchse rfq
23. purchase order etc.....
Smart Forms
we use Smart Forms to create and maintain forms for mass printing in SAP systems. Besides using the printer for standard output you can also select the Internet (by using a generated HTML output), a fax, or e-mail as the output medium.
In addition to the tool, SAP delivers a selection of forms for central business processes. This includes forms in Customer Relationship Management (CRM) as well as in the applications SD, FI, and HR.
Smart Forms offers the following advantages:
Creating and maintaining forms requiring half the time
Adapting forms without any programming knowledge due to entirely graphical user interface
Integrating input elements into the HTML output, which enables you to use a form in Internet applications as well
Note
Smart Forms replace SAPscript forms. SAPscript forms will still be supported in the future; you can use them without making any changes for years to come. You can even use SAPscript texts in the Smart Forms. Migration of SAPscript forms into Smart Forms is supported.
Forms in Business Workflow
You can use forms to enter data for processing in Business Workflow, or to display and edit data. Using forms also enables users who do not have a SAPGUI installed on their computer to use the SAP System.
Interactive Forms based on Adobe software
Several functions have been added to Interactive Forms based on Adobe software in SAP NetWeaver 2004s SPS 8. This Release Note lists the most important new features:
Changes to the Creation of Forms in ABAP Workbench
A link to the documentation environment in transaction SE61 has been added to Form Builder. You can now create F1 help documentation for each of your forms or form interfaces (form objects).
Runtime (ABAP)
Performance has been improved by removing the load on communication with Adobe document services when sending forms. For more detailed information, see the documentation on Interactive Forms based on Adobe software under Structure Bundling of PDF-Based Forms and Structure Caching Forms.
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Hi
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
URL Access to Smart Forms Objects
Use
Smart Forms uses the services of the Internet Communication Framework (ICF) when creating a Web form. You can use such a service to access Smart Forms objects - for example, Smart Styles, graphics, and texts - even independently of a complete Web form. To reference an object, simply use a URL. In this way, you can include a CSS style for a Smart Style or logos on your own Web pages, for example.
Integration
When you access a Smart Forms object using a URL, Smart Forms performs the following steps:
The object is read from the SAP system.
Smart Forms converts the object into a target format for display in the Web. Depending on the object, there may be more than one target format.
The converted target format is written in a cache in the SAP system. When accessed again (even by another user), the object does not need to be read and converted.
The object is usually transferred for display in a Web browser.
Features
To access objects, use a URL consisting of the address of your SAP Web Application Server (abbreviated to <WAS>), an appropriate directory path, and the object name. The target format is contained in the object name as a suffix.
http://<WAS>/sap/bc/smart_forms/<object type>/<object name>.<format suffix>
You can also append the BSP runtime to the URL parameters. In the case of text modules, you can use the parameter sap-language to control the language in which the text module is to be read from the SAP system. The parameter expects the language as a ISO language identifier (see also: System-Specific URL Parameters).
To access a text module with the name myMod, in language German, and in HTML format, you can use the following link:
http://<WAS>/sap/bc/smart_forms/sftext/myMod.htm?sap-language=de
The prefix "http://<WAS>/sap/bc/smartforms" is not included in the following overview because it is the same in each case:
URL Access to Smart Forms Objects
Object
Output format
URL structure (without prefix, see above)
Name space (with XML format)
Form description
XML
/sfform/<form name>.xml
urn:sap-com:SmartForms:2000:internal-structure
Smart Style
CSS
/sfstyle/<name of Smart Style>.css
BDS graphic
BMP
/gr/graphics/bmap/<type>/<name of graphic>.bmp
<type> can be either
BMON for black/white graphics, or
BCOL for color graphics
Text module
HTML
/sftext/<name of text module>.htm
Text module
XML
/sftext/<name of text module>.xml
urn:sap-com:SmartForms:2000:xsf
SAPscript text
HTML
/stdtext/<text object>/<text ID>/<language>/<text name>.htm
SAPscript text
XML
/stdtext/<text object>/<text ID>/<language>/<text name>.xml
urn:sap-com:SmartForms:2000:xsf
Example
You want to use the same fonts that you use on a form (when printing or using a Web form) on a different BSP page. Let us assume that your Smart Style has the name mystyle. You can download the relevant CSS style using the following URL:
http://<address of SAP Web AS>/sap/bc/smart_forms/sfstyle/mystyle.css
A paragraph format AS from the Smart Style could appear as follows in CSS style:
.MYSTYLE DIV#AS.par {
font-family : "Courier New" ;
font-size : 12pt ;
font-weight : bold ;
line-height : 1em ;
text-decoration : underline ;
text-align : left ;
}
If you now want to include the generated CSS in an HTML page, simply link to this style sheet in the header and use the tag <div> with the relevant attributes to access the formats:
In this example, the CSS style is used for the layout of a BSP page. Therefore, the prefix http://<WAS>; is missing.
<html>
<head>
<link rel="STYLESHEET"
href="/sap/bc/smart_forms/sfstyle/mystyle.css" />
</head>
<body>
<div class="MYSTYLE">
<div class="par" ID="AS">
Your formatted text:
</div>
</div>
</body>
HTML
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.