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

Smartform-pgm lines

Former Member
0 Likes
458

what is the use of program lines in Smartforms? after writing the program how u execute?

what is the use of program lines in Smartforms? after writing the program how u execute?

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
432

Hi,

Program lines can be included in Smartforms. The following could be some of the reasons to include the program lines in smartforms.

1. If any validation is required. for example, If you want to print a value based on one input field, which has more than one value, then you can include IF or CASE Statements in the form.

2. COde can be include to execute the converison routine for certain type of fields.

3. Sometimes select statements can be included to fetch values based on the input parameters.

Execution of Program lines in SAP SMARTFORMS.

The code in the SMARTFORM is executed when the smartform is called by the smartform function module.

The Program lines are included as separate nodes. Click the link below to know more about program lines.

http://help.sap.com/saphelp_nw04/helpdata/en/a3/80bae2dfd911d3b576006094192fe3/content.htm

Regards,

Vara