SAP - ABAP
SAP BAPI Tutorial - Step by Step Guide to Create BAPI in ABAP
What is BAPI? Business Application Programming Interface(BAPI) are standardized programming...
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).
SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts. SmartForms are easier to develop, maintain and transport than SAP Script.
In this tutorial you will learn:
Lets go through it in SAP system-
The next screen is divided into three sections-
Navigation window consist of nodes and sub nodes. They contain all the elements (text, window etc) that belong to sap forms
Whenever we create smart forms, SAP creates/generates a function module.Unlike SAPscripts , SAP FORMS allow you to change language.
In the navigation window you will find
Global Data Declarations : The Data defined here can be used throughout the smartform for coding purposes.
Form Interface : Here all the data which will be passed to the smartform from the Print program is defined.
Right-Clicking on the Pages will allow creation of New Page, Window, Graphic or Address.
Printing will take place on the basis of 'next page' field.
But processing will happen as per the sequence in navigation window!
For background picture and graphics you can pick up either black and white or color bitmap images and are stored in the form of standard texts. You may take a detour from the smartform screen and open Form Graphics screen. Transaction code: Se78
Setting in the Graphics in Smart Form Window-
There are two types of Windows
Important Points to Note
Inside the main window we can add text as introduction to customize the form output.
The Output options on each window determine the Line size, Width, Colors and background to be put.
Smartforms gives the option of giving the address number which is maintained in the central address management. The address will be directly taken from ADRC table and will be populated in the form.
The two different editors are available in Smartforms viz. Normal Editor
and the Graphics Editor.
This setting can be changed using the Configure editor in Utilities.
In Table painter, you can draw the format as per client requirement (e.g. Heading, Sub Heading, Item, Sub Total, Grand Total etc.)
You can use the table layout to determine:
The Table shows the different line types which will be used in the table. The Line types define the size of each cell and the number of cells in each line.
When an SAP Smart Form template is created, a user creates the form layout, defines the required fields, conditions, and special programming instructions in the Smart Form template using the Smart Form Builder.
After the form design is complete, the form needs to be activated before it can be tested or accessed by the print programs.Activating the form initiates the generation of a function module that handles all of the form's processing.
This function module interacts with the application program/print program to create the output in the user-defined output media for the specified device.
In case of smart forms, we use 2 function modules for the processing of the smart form. To the first function module , we pass the name of the smart form as the import parameter. This then returns the name of the dynamically generated function module which will actually call the smartform.
The smartform name can be passed on to the function Module - 'SSF_FUNCTION_MODULE_NAME'
Template can be used when you know the exact size of the output or the output is in a fixed format.
E.g. Tax form/ cheques /airline form/railway ticket: all these use templates.
The big between table and template is that in a Table the height changes dynamically.We call a row a 'line' in template.
A Smart Style contains:
You can use the transaction 'smartforms' / 'smartstyles' to create a smart style.
That's all to this tutorial
What is BAPI? Business Application Programming Interface(BAPI) are standardized programming...
A standard DSO has three transparent tables on the database. Activation Queue : Holds the records...
What is SAP HANA Studio? SAP HANA Studio is an Eclipse based, integrated development environment (IDE) for...
What is OSS Notes? OSS NOTES is an online SAP service portal that provides up to date information on...
Step 1) Creating a Generic Data Source for Text InfoObject Right click on the BI Source System ->...
Course Summary SAP has the largest market share of all ERP systems & commands unparalleled premium in...