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

Smart forms

anupam_srivastava2
Participant
0 Likes
539

Hi all

How can we use standard smart forms, and once the changes are done, how can we execute it.

regards

AJ

4 REPLIES 4
Read only

Former Member
0 Likes
521

Go to the transaction SMARTFORMS.

Give the standard source form name

Click the copy button on the application toolbar

This will give a popup, which asks for target form.

change it and execute normally.

after activating your smart form in menu environment select function module name you will get a name like

/1BCDWB/SF00000087 which is the name of function module generated for your form

copy paste this name in tcode se37 you can check for lay out you have created.

normally this is called in your driver program , a report where you write all the business logic & pass data in a table or parameter which you display using smart form.

so genrally create a driver program for your requirements call the smart form using call function '/1BCDWB/SF00000087' or use

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'ZSMART_FORM1'

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = FM_NAME

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

pass name of your smart form to this function & a parameter fm_name.

then use CALL FUNCTION FM_NAME

EXPORTING

  • ARCHIVE_INDEX =

Read only

0 Likes
521

Hi Vasu

I have copied the form , activated it and excuted it, but if I want to fetch the data and execute it, what I need to do.

Read only

Former Member
0 Likes
521

Hi AJ,

Genearally standard smartforms assigned in some transactions like NACE and you can assign smartforms and its Driver program there. SO when you copy the Smartform and made changes to it then again assign in the same transaction modifying the smartform. Then it will work as it as.

Thanks

Lincon

Read only

ferry_lianto
Active Contributor
0 Likes
521

Hi,

You can go to transaction SE37 to execute the Smartform function module by fecthing the data (import parameter).

Regards,

Ferry Lianto