Académique Documents
Professionnel Documents
Culture Documents
Welcome to yet another post on ABAP interview questions. Here I have complied
a list of interview questions on Smartforms in SAP. This list is quite
comprehensive. Hope you find it useful. Cheers !!
Smartform is SAP's print form technology and is an alternative to SAP-Scripts.
Whenever you activate a Smartform , a function module is generated for that
Smartform. The program that calls this function module is called the Driver
Program for Smartform. The T.code for Smartforms is SMARTFORMS.
Unlike SAP-Scripts, Smartforms are client independent.
Here we go:
*An SAP R/3 system has 2 clients 800 & 810. You create an SAP Script
Z_Script and a Smartform Z_Smartform in client 800. Will both Z_Script
and Z_Smartform be available in client 810 as well?
Client 200 will have just the Smartform Z_Smartform and not the SAP Script
Z_Script.
SAP-Script is client dependent whereas SMARTFORM is client independent. Many
people don't understand what this is all about. The above answer should suffice.
However, if you still do not understand this, find an SAP system where you have
2 clients. Create a dummy Smartform / script in one client and check whether
they exist in the other client.
*You have created a Smartform in DEV environment. Then you migrated
the Smartform to PROD environment. Will the name of the function
module be same in DEV and PROD?
Once you transport the Smartform from DEV to PROD environment, a new
function module name for the Smartform in generated in the PROD
environment. For a particular Smartform , generated function module names are
different in different systems.One can get the name of the function module for
Smartform by passing the Smartform name to FM
SSF_FUNCTION_MODULE_NAME.
Hence in the driver program for Smartform, it is common practice to use FM
SSF_FUNCTION_MODULE_NAME and then calling the Smartform Function Module.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_SMARTFORM'
IMPORTING
fm_name = lv_fm_name
CALL FUNCTION lv_fm_name
Set the Print mode to duplex to print on both sides of the Smartform.
Note: You have Page-protection property only for Text Elements in the Main
Window.
Can you move a Smartform from one SAP system to another without using
transports ?
Yes, this can be achieved using the Upload/Download feature for Smartforms.
One can download the Smartform from one system and save it as an XML file.
Once that is done, the XML file can be used to upload the Smartform in another
system.