how to cal driver program in smart forms??

Answer Posted / ashish

You cannot call Driver program [Print Program] in a FORM.

SSF_FUNCTION_MODULE_NAME. is a standard function module which is used to get the name of FUNCTION MODULE generated by the SMARTFORM.

SYNTAX:

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSMARTFORM'

IMPORTING
fm_name = form_name

EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.

Then use form_name obtained as follows:

CALL FUNTION form_name..

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sap script? Describe its components.

837


How do you populate data into a multiple line field?

807


What is table attribute? : abap data dictionary

818


What is an Unpack command?

857


What is the differrences between structure and table in data dictionary in abap? : abap hr

953


What is difference between dependent and independent data?

791


What are the client dependant objects in abap / sap?

744


What are the function module in bdc?

912


What is the use of the raising exception?

779


Can you print decimals in type n? What is difference between float and packed data type?

1008


Explain the session method? : abap bdc

862


What is a currency factoring technique?

942


Can you show multiple alvs on a single screen?

827


1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?

6947


Explain what is sap script? What is the purpose of sap script? Difference between sap script and report?

818