Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding smartforms

former_member223446
Active Participant
0 Likes
498

what is the use of

form interface and

global defition

in smartforms.?

what is the use of ssf_function_module_name.?

i want more than 2 usages of FM

kiran j

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
471

Global definitions apply for the entire form. You can use any objects defined there in all nodes of the tree.

You define the form interface to pass data to the form. You use the interface to define import and export parameters, tables, and exceptions

The application program provides the data you want to include into the form. Therefore, you know the types of the corresponding variables.

If the form is not active, SSF_FUNCTION_MODULE_NAME triggers the exception NO_FORM . There are two cases in which the function module generates an active version by itself:

After a transport into another system

After you changed the form interface of a previously activated form

3 REPLIES 3
Read only

Former Member
0 Likes
472

Global definitions apply for the entire form. You can use any objects defined there in all nodes of the tree.

You define the form interface to pass data to the form. You use the interface to define import and export parameters, tables, and exceptions

The application program provides the data you want to include into the form. Therefore, you know the types of the corresponding variables.

If the form is not active, SSF_FUNCTION_MODULE_NAME triggers the exception NO_FORM . There are two cases in which the function module generates an active version by itself:

After a transport into another system

After you changed the form interface of a previously activated form

Read only

Former Member
0 Likes
471

Hi

Form Interface is where you get your internal tables, variables and all necessary information from the driver program. You specify the required data here.

Pls note that if you need to pass internal tables from the driver program to the SF then you need to create a structure with the similar fields in your internal table and give a reference to the same here in Form interface.

The import and export are nothing but same like a Function module, for variable to be passed from the driver program add them in the import tab. Export you can just let it remain as it is.

In the tables tab add the tables what you require from the driver program.

Global definitions are nothing but where you declare variables, work areas required to be used further in you program.

To do coding in SF, you need to add program lines. This you can do by creating any window and then on the left hand tree of the main window, right click and then you can find the options to create various things like table, window, program lines, command et.al.

Hope this helps you to build a brief idea about Smartforms.

There will be various links in sap help, blogs and also in this forum where you can find loadsa information!!

chk out the following links as well:

here is a link which will teach you step by step

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

More links

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

Step by Step creation of Smartforms

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-img.com/smartforms/smart-006.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html

How to trace smartform

http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

FAQs

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

also see

http://www.saptechnical.com/InterviewQ/interviewQ.htm

http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm

http://www.techinterviews.com/?p=198

http://www.techinterviews.com/?p=326

http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm

http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm

http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP

http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240

http://www.sap-img.com/abap/abap-interview-question.htm

http://www.allinterview.com/Interview-Questions/ABAP.html

check most imp link

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

*************************************

SSF_FUNCTION_MODULE_NAME is used to get the function module name of the smartform dynamically.

In real time you will develop the smartform in development system.

but the generated function module names may vary from client to client and system to system.

So it is better to get the FM names by dynamically only.

while generating smartform it generates its own FM the name of that function module is system dependent , i.e. if u develop that smart in development system then suppose it generated FM with name /BCD/00023.

it may differ in quality system and it also difeers in production system so instead of giving that FM name we give smartform name to the FM ssf_function_module_name and we will import FM name and then proceed further

this is the use of the FM

Regards

Vasu

Read only

Former Member
0 Likes
471

Hi,

what is the use of ssf_function_module_name.?

i want more than 2 usages of FM

Sadly, there is only one use of the function module, it determines the name of the generated function module for a smartform.

That's all.

Regards,

Nick