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-pgm lines

Former Member
0 Likes
492

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

4 REPLIES 4
Read only

sourabhshah
Product and Topic Expert
Product and Topic Expert
0 Likes
465

Hi,

Just execute that is press f8 then a function module is generated and then execute again to display the form

Link for more info

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

Regards,

Sourabh

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
465

Hi,

Program lines are like ABAP editor.You can write coding there.After you activated the smartform,you need print program to execute the smartform.But if you are not passing data from print program,you can see the output of the smartform by simply executing that.

Check this link for simple examples.

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

Read only

Former Member
0 Likes
465

Well, how are u displaying the contents of the smartform. Well if the data that need to displayed are static, meaning there is no data retreival then there is no need to write any program, but if say that you need to print out the delivery doument for a particular delivery number as desired by the client then the data is not static, you may need to use many data retreivals for that delivery document no. . So the program is mainly written so that the data passed onto the smartform is dynamic. I hope this answers your query.

Read only

Former Member
0 Likes
465

HI ,

Using Program lines u can do validations in ur form before display......