SlideShare ist ein Scribd-Unternehmen logo
1 von 129

 SAP Smart Forms is used to create and maintain forms
for mass printing in SAP Systems.As output medium
SAP Smart Forms support a printer, a fax, e-mail, or the
Internet (by using the generated XML output).
 The transaction code is SMARTFORMS.
 Smartforms are client independent objects.
 Smartforms are advanced version of SAP Scripts.
 It is a GUI tool and it is user friendly.

 Smartform architecture:


 There are two main nodes in Smartforms.
 1.Global Settings Form Attribute.
Form Interface.
Global Definition.
2.Pages and Windows.
COMPONENTS OF SMARTFORMS.

 Global settings:
 It is used to provide the basic settings for the smartform.
 Form Attributes:
 It specifies the general attributes like who created,Date,time,
package,translate options, default smartstyle, Page format
(DINA4/DINA5).
 Form interface:
 It acts as a mediator between a driver program and a smart
form.
 The main functionality of form interface is, it will import the
parameters which are exported by driver program.
 The parameters can be variables, work areas, internal
tables..etc.
 Global definition:
 It will contain the variables to be used within the smart form.
 We can define variables, user defined data types, field symbols,
initialization code,Subroutine, currency/quantity fields.
 It is mainly used for declaring or defining the above variables.

 Page.
 Window.
 Graphic.
 Address.
 Text.
 Table.
 Header.
 Body.
 Footer.
 Template.
 Folder.
 Program Lines.
 Alternative.
 Command.
 Loop.
Pages and Windows

Pages and windows :
This will contain all the pages and the
windows, which are used in the smartform.
By default, a page will be created by name
%page1.
By default, a window will be created by
name 'Main' under the page1.
For each page, we need to specify the next
page.
Eg: page = %page1
Next page = %page1 or %page2

 Page : It is used to define the layout of a smartform.
 We can have different pages with different layouts.
 Window : it is used to display information or text at
a particular place on a page.
 Graphic : it is used to display logos or images on the
smartforms.
 Address : It is used to display the address of
customer or vendor or employee, organization
address , workplace address etc.
 Just provide address no, it will automatically display
the address as per the country formats.
Nodes under pages

 Text : it is used to display the information or text in a
window.
 Table : It is used to display the information in the form of
table.
 When ever we create table by default HEADER, MAIN
AREA, FOOTER will be displayed.
 The main functionality of a table is, it expands
automatically depending on the internal table data.
 We need to provide the name of the internal table for a
table.
 Template : template is also like a table which does not
expand. That means it will have fixed number of rows
and columns.
 Program lines : it is used to write some lines of abap
code.
Nodes under the window

 Main window: For continuous output .
 Secondary window: For output with a fixed length.
 Final window: Special type of secondary window for
outputting the information that is not known until
the end of form processing .
 Copies window: Special type of secondary window
for marking pages as copy or original.
Window Types in Smartforms

 Steps :
 Transaction : SMARTFORMS .
 Enter the Form name and click on create.

 Enter the description.

 Click on Form Painter.

 Click on Page and rename.

 To Create windows.
 Right click on page -> create -> window.


 To define Paragraph and Character formats.
 Click on Style and enter the name and click on
create.

 Paragraph formats.
 Right Click on paragraph formats -> create node->
enter name.



 Character Format :
 Right click character format -> create node



 Bar code character format .

 Click on HEADER DATA.
 Enter default paragraph (standard).
 Save , check and activate.

 Forms: To style in form.
 Go to form attributes .
 Enter the style name.

 Right click on Heading Window-> Create -> Text.

 Click on text.
 And go to general attributes.

 Enter the heading and select paragraph format.

 Upload logo image using SE78.

 Click on Logo Window.


 Whenever we are activate the SMARTDORMS,
SAP generates a Function module.

 Click on execute.


 SE38.


 Save , check and activate and execute.
 Copy the function module name.

 In SE 38.
perform call_smartform.
Call the function module name.



 Enter ADRNR in address number , paragraph format
and number of lines to be used and click on save.

 Active the program and execute.

 To Get Payer adress.


 Right click on ADD2 ->create ->address.



 Details Window :




 Column Heading.

 Click on DETAILS icon.

 Mention height and width of column.

 Right click on template -> create -> text.


 Mention the Line and column position for each text.


 To get item details.


 Right click on MAIN -> create -> Table.










 Click on Editor.


 Right click on 2nd cell ->create ->Text.













 To get Remit to address.










 Condition Window :



 To Transfer condition text : SO10.
 Go to transaction SE38.
 Run the program RSTXTRANS.


 Select Text.
 And click on trnsfr texts to corr.

 Click on yes and enter the transport request.

 Getting Text objects from standard Transaction code
into Smartforms.
 Ex : Billing documents Header text.
 VF03.


 Click on Header.

 Click on detail Icon.

 Goto->Header.


 Goto Smartforms.
 Declare a global Variable for vbeln. (G_VBELN).



 To Trigger Smart forms in Transaction.
 Go to Transaction ‘NACE’.
 Select Billing and click on output types.



 Click on processing routines.

 Copy SAP Standard program
 SE38
 Paste program name and click on display.


 Comment the existing code inside form.

 Copy data declaration from your program and paste
it in z drivr prog


 Copy all form and endform code and save it in end
new z drv prog.





 Go to Transaction NACE.
 Click on edit .
 Enter z driver program name and smartform name.

 Goto VF03 and click on print.

Weitere ähnliche Inhalte

Was ist angesagt?

Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questions
Pradipta Mohanty
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
Kranthi Kumar
 
0106 debugging
0106 debugging0106 debugging
0106 debugging
vkyecc1
 
Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questions
kssr99
 
Oo abap-sap-1206973306636228-5
Oo abap-sap-1206973306636228-5Oo abap-sap-1206973306636228-5
Oo abap-sap-1206973306636228-5
prakash185645
 

Was ist angesagt? (20)

smartforms training | SAP SMART FORMS online training
smartforms training | SAP SMART FORMS online trainingsmartforms training | SAP SMART FORMS online training
smartforms training | SAP SMART FORMS online training
 
Oops abap fundamental
Oops abap fundamentalOops abap fundamental
Oops abap fundamental
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answers
 
Object oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPObject oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAP
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
Sap abap modularization interview questions
Sap abap modularization interview questionsSap abap modularization interview questions
Sap abap modularization interview questions
 
Basic Debugging
Basic DebuggingBasic Debugging
Basic Debugging
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
Badis
Badis Badis
Badis
 
Reports
ReportsReports
Reports
 
0106 debugging
0106 debugging0106 debugging
0106 debugging
 
Dialog programming ABAP
Dialog programming ABAPDialog programming ABAP
Dialog programming ABAP
 
Sap abap
Sap abapSap abap
Sap abap
 
Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questions
 
Oo abap-sap-1206973306636228-5
Oo abap-sap-1206973306636228-5Oo abap-sap-1206973306636228-5
Oo abap-sap-1206973306636228-5
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
Field symbols
Field symbolsField symbols
Field symbols
 

Andere mochten auch

Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
Bunty Jain
 
ASAP methodology overview
ASAP methodology overviewASAP methodology overview
ASAP methodology overview
Bogdan Gorka
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
Kranthi Kumar
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
Amit Khari
 
Fire Water Demand for Tank Protection
Fire Water Demand for Tank ProtectionFire Water Demand for Tank Protection
Fire Water Demand for Tank Protection
hamidreza Forutan
 

Andere mochten auch (16)

Smart form
Smart formSmart form
Smart form
 
SAP ALE Idoc
SAP ALE IdocSAP ALE Idoc
SAP ALE Idoc
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Sap abap
Sap abapSap abap
Sap abap
 
Asap methodology
Asap methodologyAsap methodology
Asap methodology
 
ASAP methodology overview
ASAP methodology overviewASAP methodology overview
ASAP methodology overview
 
Adobe Interactive Forms- Get Acquainted In Material Master Scenario
Adobe Interactive Forms- Get Acquainted In Material Master ScenarioAdobe Interactive Forms- Get Acquainted In Material Master Scenario
Adobe Interactive Forms- Get Acquainted In Material Master Scenario
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
Fire Water Demand for Tank Protection
Fire Water Demand for Tank ProtectionFire Water Demand for Tank Protection
Fire Water Demand for Tank Protection
 
SAP Batch data communication
SAP Batch data communicationSAP Batch data communication
SAP Batch data communication
 

Ähnlich wie SAP Smart forms

Ähnlich wie SAP Smart forms (20)

How to develop_smart_forms_01
How to develop_smart_forms_01How to develop_smart_forms_01
How to develop_smart_forms_01
 
12 Smartforms. .pptx
12 Smartforms.                     .pptx12 Smartforms.                     .pptx
12 Smartforms. .pptx
 
CRUD with Dojo
CRUD with DojoCRUD with Dojo
CRUD with Dojo
 
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
 
AIA101.3.Access Reports And Forms
AIA101.3.Access Reports And FormsAIA101.3.Access Reports And Forms
AIA101.3.Access Reports And Forms
 
Manual word 2007 ingles
Manual word 2007 inglesManual word 2007 ingles
Manual word 2007 ingles
 
006.report
006.report006.report
006.report
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting tool
 
ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
 
Dmee sap online_help
Dmee sap online_helpDmee sap online_help
Dmee sap online_help
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
Ms word, access, powerpoint and internet
Ms word, access, powerpoint and internet Ms word, access, powerpoint and internet
Ms word, access, powerpoint and internet
 
Vb introduction.
Vb introduction.Vb introduction.
Vb introduction.
 
COM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxCOM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptx
 
Adobe demo1 by robin thakral
Adobe demo1 by robin thakralAdobe demo1 by robin thakral
Adobe demo1 by robin thakral
 
Ms vb
Ms vbMs vb
Ms vb
 
Spool Admin
Spool AdminSpool Admin
Spool Admin
 
Marketo instructions (2)
Marketo instructions (2)Marketo instructions (2)
Marketo instructions (2)
 
Orcad Capture - Schematic Design Tutorial
Orcad Capture - Schematic Design TutorialOrcad Capture - Schematic Design Tutorial
Orcad Capture - Schematic Design Tutorial
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

SAP Smart forms