on 06-15-2008 10:49 AM
Hi Experts,
May I know about From Routines in Smartforms (which comes in Global Definitions). What is the Use of it. Hour to Use it.
Thanks & Regards.
Thank YOU
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
go through the link given below :
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
Hope it will helpful to you.
Rewards if useful.
Thanks and Regards
Nikunj shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You write your subroutines there. For ex if you have a table and u wanna print serial numbers for each row then u write a code for that text element, wherein everytime a new row is called the control goes to the subroutine and generates a new row number.
Reward if useful
Thanks
Nayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roman,
Form routines in Global definitions of a Smart form can be used as normal Subroutines , which we use in our Executable/Include etc. Programs.
You can write a Form Statement in the global definations part and you can call it any where in the form by using Perform Statement.
Please let me know if you have any queries regarding this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this area is just the space to put your form routines. If you need to encapsulate a part of the coding to reuse it several times or just to structure the coding part of the global definitions you can create forms there. It does not differ from creating a form in an include or report. The routines should be available in coding steps, too, i think.
But i have to admit that if i need more complex coding in smartforms i usually put it into static methods of a class. This is easier for testing as i can run the coding separate from the form and it's possible to put breakpoints just using the editor instead of changing the code and wirte break-point into it (so no transport for bugtracking on QS / Prod). In addition it allows to develop the coding separate from doing the layout stuff.
Best Rgds.
Roman Weise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.