Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Implicit Enhancement – It is the type of enhancement in which there is no pre-

preparation done by SAP.

You can start this enhancement from anywhere. It can at the start of code, end of code,
Start of function module, End of function module.

You can see what are available by going into editor and go to edit -> Enhancement
Operations -> Show Implicit Enhancement Option.

Is it necessary for Main Window in Smartforms?

Ans – It is not necessary - Main Window in Smartforms.

Is it necessary for Main Window in SAPScript?

Ans – It is necessary - Main Window in SAPScript.

Which Function Module is used to get name of function module when smartform is
activated?

Ans - SSF_FUNCTION_MODULE_NAME – When the SMARTFORM is activated, this function


module is used to get the function module generated automatically by the smartform.

How would you convert smartform output to PDF format?

Ans –

 Function Module CONVERT_OTF is used to convert the OTF format to PDF

CALL FUNCTION 'CONVERT_OTF'


EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = W_bin_filesize
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5.

 To display File SAVE dialog window

CALL METHOD cl_gui_frontend_services=>file_save_dialog

 Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
presentation server.
Explain the program flow of BADI?

Program flow of BADI is:

 First, define the BADI with the help of transaction code SE18
 Then declare the objects, classes, and methods.
 Then with the help of t-code SE19 Implement BADI
 At last, defining the Classes and methods as per as requirements of the end-user.

In which table the material master data is stored?

You might also like