‎2007 Sep 12 9:47 PM
Why we use function module SSF_FUNCTION_MODULE_NAME in smartform driver program?
‎2007 Sep 12 10:16 PM
Forum Search
Use the form below to search the forum content. You can choose to search all content or restrict it to certain forums or dates. Also, you can filter the results by a username or user ID.
Search Forum Content
Search Terms: Search Tips
Category or Forum:
Date Range:
Results Per Page:
Welcome, Clemens Li Help
Your Control Panel Your Control Panel
Your Reward Points Your Reward Points
Your Questions Your Questions
Search Results » Messages: 271 - Search Terms: why we require form interface section in smartform? Sort by:
Pages: 19 1 2 3 4 5 6 7 8 9 10
1. Why we require FORM INTERFACE section in smartform?
Posted on: Sep 12, 2007 10:47 PM, by user: p d -- Relevance: 100% -- Show all results within this thread
Why we require FORM INTERFACE section in smartform?
2. What is the driver program & why we require driver program?
Posted on: Sep 12, 2007 10:48 PM, by user: p d -- Relevance: 17% -- Show all results within this thread
What is the driver program & why we require driver program?
3. Re: form interface in smartform
Posted on: Feb 21, 2006 11:51 AM, by user: Hasmath -- Relevance: 14% -- Show all results within this thread
hard-coded driver program in the tables section. for this u have to define the same structure in the form interface of the smartforms and can use the same structure for sending the data to the smartform ...
4. Smartform: Form Interface
Posted on: Aug 24, 2007 2:34 PM, by user: vivek pandey -- Relevance: 13% -- Show all results within this thread
Hi, If we want to use a workarea/internaltable in the form interface of Smartform of a user defined structure ...
5. Form Interface in Smartforms ?
Posted on: Oct 27, 2006 5:32 PM, by user: SAP BEE -- Relevance: 12% -- Show all results within this thread
ztest ) on the table and print the value : &gs_vbap-total&. I activate the form ...it is fine ...as well as program !! Now , when i do the print preview of the form , It gives an error : Reference ...
6. SmartForms form interface - tables
Posted on: May 18, 2005 2:44 PM, by user: Diliip Gupchup -- Relevance: 12% -- Show all results within this thread
Hi All, In smart forms how to declare our internal table in form interface? By using types in global itried but it is ...
7. Calling thru Form Interface of Smartforms
Posted on: May 4, 2007 3:03 AM, by user: Subhasish Ganguly -- Relevance: 11% -- Show all results within this thread
In a Smartforms, how can I call a internal table thru 'Form interface' which has been declared in the driver program? ...
8. Form Interface in SMARTFORMS
Posted on: Jun 1, 2006 10:56 AM, by user: Rams V -- Relevance: 11% -- Show all results within this thread
Hi There, Is it mandatory to create a custom structure in ABAP dictionary to use it in SMARTFORM interface? regards, Rams. ...
9. Line Types and Table types & Smartform form interface
Posted on: Sep 21, 2005 3:38 PM, by user: Aadarsh K -- Relevance: 10% -- Show all results within this thread
types ?? 2. In smartforms form interface, in the importing parameter, can tables be passed ?? [we use tables parameter generally, but even if passed in export parameter, no error is being given and ...
10. regarding complex section in smartforms
Posted on: Aug 25, 2007 7:49 AM, by user: ravi -- Relevance: 10% -- Show all results within this thread
learning smartforms on 5.0ecc and i got the documents which is showing the complex section but in 5.0 ecc we have no complex section cud u plz let me know where sud i add the contents of the complex section ...
11. why is it that some function module require an endselect
Posted on: Aug 8, 2007 3:40 PM, by user: mathias Mbizvo -- Relevance: 10% -- Show all results within this thread
why is it that some function module require an endselect and some can work without the endselect...
12. Complex section in smartforms
Posted on: Aug 11, 2007 7:29 PM, by user: narendra veduru -- Relevance: 9% -- Show all results within this thread
Hi I am practicing smartforms in 4.7. I have a tutorial based on 4.6c and they have complex section in the nodes. How do i ...
13. form interface using currency fields - smartforms urgent!!!!
Posted on: Aug 17, 2005 1:11 AM, by user: skmysore -- Relevance: 9% -- Show all results within this thread
called function module. what is the error here? How can i correct this to display data into the form? Please help me it is urgent!!! Thanks Santhosh ...
14. why do we activate a program
Posted on: Feb 28, 2007 5:50 AM, by user: Rose -- Relevance: 8% -- Show all results within this thread
hi, why do we activate a program or tables in sap.Though there is a option known as save why do we activate? ...
15. Re: what is form interface and global definitions
Posted on: Jun 5, 2007 8:25 AM, by user: Venkatesh -- Relevance: 8% -- Show all results within this thread
Function modules. and global definitions are the variable or tables declared with in the smartform. we can pass values to the smartform from the driver programme through the form interface. if helpful ...
Pages: 19 [ 1 2 3 4 5 6 7 8 9 10 | Next
‎2007 Oct 25 12:00 PM
Use of this function module is that when we activate the smartform, a function module is automatically generated.
But if we directly call this function module in our program, it will work... But when we transfer this smartform to Quality Server and Activate this smartform again, we get different function module name. So, our program code will not work and abap Dump would be come.....
Thats why we use Function Module 'SSF_FUNCTION_MODULE_NAME'.
Plz rewards if ur doubt is clear.
Regards
Sachin Gupta
‎2007 Oct 25 12:05 PM
Hi
function module SSF_FUNCTION_MODULE_NAME will returns the name of the generated function module
Regards
Raghav
‎2007 Oct 25 12:07 PM
hi
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = '<form name>'
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
<error handling>
ENDIF.
Refer http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm
Reward if useful
Regards
Ragghav
‎2007 Oct 25 12:25 PM
Hi Pd.,.,
Actually the function Module for the smart form is generated by the System itself.,.,
So If we change any Importing and exporting variable in the FORM.,.,we need to again n again check the Function Module created.,.,and accordingly call that Function Module.,.,and Pass the Required Information.,.,
So insteead of We Hard coding the Function Module Name .,.,we call thye function Module 'SSF_FUNCTION_MODULE NAME' .,.,to get the function module name captured in a variable(in the below example.,.,lwfm_name)
and we call the function Module.,.,based on the value captured in the Variable.,.,
Function module 'SSF_FUNCTION_MODULE _NAME' to get the function module
name of the smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_dig_per (FORM name)
IMPORTING
fm_name = lw_fm_name (Function Module Name)
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> c_0.
ENDIF.
CALL FUNCTION lw_fm_name
EXPORTING
control_parameters = l_cntrl_param
output_options = l_outpt_param
user_settings = space
fiw_wapinr = p_wapinr
fiw_desc = w_stxt
fiw_langu = w_spras
TABLES
fti_lines = i_long_text
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc = c_0.
Displaying the Message "Digging permit printed"
MESSAGE s000 WITH text-003 space space space.
LEAVE LIST-PROCESSING.
ENDIF.
Regards
Debasish
‎2007 Oct 25 12:32 PM
hi,
the function module SSF_FUNCTION_MODULE_NAME returns the name of the function which will call the smart form.
u can check by following path in smartforms.
Environment-->Function Module Name.
this will show u the name of the function corresponding to the smart form .
the same name is returned by the function. SSF_FUNCTION_MODULE_NAME .
regards,
Sohi
‎2007 Oct 25 5:50 PM