‎2006 Dec 13 6:37 PM
what is the use of program lines in Smartforms? after writing the program how u execute?
‎2006 Dec 15 4:23 AM
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
‎2006 Dec 15 4:27 AM
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.
‎2006 Dec 15 4:47 AM
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.
‎2006 Dec 15 7:43 AM
HI ,
Using Program lines u can do validations in ur form before display......