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

Smartforms

Former Member
0 Likes
424

Hi, can any one help me out!

How to Use condition statements like IF in Smartforms?

Your replies would be highly appreciated

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
408

Hi Kumar,

In smartforms when u double click a window,u get three tabs ina tablecontrol on the screen. those three tabs are :

General attributes

Output options and

conditions

when u click on conditions tab , u get columns for field name and comparision value.

There u can writr ur conditions like IF statement.

Hope this answer helps u

reward if useful

thanks and regards

suma sailaja pvn

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
408
Read only

Former Member
0 Likes
408

*PROGRAMMING FLOW :-*

When an SAP Smart Form template is created, a user creates the form layout, defines the required fields, conditions, and special programming instructions in the Smart Form template using the Smart Form Builder.

After the form design is complete, the form needs to be activated before it can be tested or accessed by the print programs.Activating the form initiates the generation of a function module that handles all of the form’s processing.

This function module interacts with the application program/print program to create the output in the user-defined output media for the specified device.

In case of smart forms, we use 2 function modules for the processing of the smart form. To the first function module , we pass the name of the smart form as the import parameter. This then returns the name of the dynamically generated function module which will actually call the smartform.

For example :-

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

CALL FUNCTION '/1BCDWB/SF00000007'

Read only

Former Member
0 Likes
409

Hi Kumar,

In smartforms when u double click a window,u get three tabs ina tablecontrol on the screen. those three tabs are :

General attributes

Output options and

conditions

when u click on conditions tab , u get columns for field name and comparision value.

There u can writr ur conditions like IF statement.

Hope this answer helps u

reward if useful

thanks and regards

suma sailaja pvn