‎2007 Nov 01 1:25 PM
‎2007 Nov 01 1:27 PM
program lines in the smartform provide provision of writing ABAP code in SMARTFORMs...
one of the example for it can be use of counter.. you can define a variable in these program lines.. and increment it the loop so that you can have a count of the loop .. or record...
‎2007 Nov 01 2:07 PM
the program lines in smartforms are use in the same way as we use ABAP editor...the only thing whatever variables or internal tables u are using in that program lines u need to mention thta in imput and output above...
if u want a particular variable or internal table to be used in future define that in output...else u define it in input....
see the thread
‎2007 Nov 01 2:13 PM
hi
good
You can use the PROGRAM LINES node to calculate the page totals in Table node.
Table Node has three sections:
Header: (Triggered once in the beginning of a page)
Create a Program lines node to reset the value of TOTAL to 0.
Main Area (For each row of internal table)
Create a Program lines node to add the Value to TOTAL
Footer (Triggered once in the End of a page)
Display the TOTAL
Note: 1) You can declare the TOTAL variable in the GLOBAL Definitions under GLOBAL DATA.
2) In the PROGRAM lines always pass the TOTAL in both INPUT and OUTPUT parameters
reward point if helpful.
thanks
mrutyun^
‎2007 Nov 01 2:59 PM