cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt regarding templates/tables in Smart Forms

Former Member
0 Kudos
41

Hi all ,

I'am into Technical (ABAP) as well as functional module - Plant & Maintenance(PM). Now, in our company, Plant level isn't digitalised, so the company has planned to implement SAP ,by entering plant data/reading intp SAP using PM module. Our consultant wants us to develop reports and printouts of those readings (of PM) to be generated in ABAP. For that, he has advised us to use "Templates" in smartforms (rather than "Tables"). Now suggest me a method so that I get to use Tables instead of Templates. If i use Templates, it has a tedious method of using loop and flow logic to fetch the data from the PM module, where as the "tables" method has a simple method of using the table name and field name which needs to be written in the Program.

Can i create a table of those readings which i made in the PM Module so that i use the same instead of using templates? If so, then how do i proceed ?

Points will be rewarded for best answers

View Entire Topic
naimesh_patel
Active Contributor
0 Kudos

You can use both Templates and Tables in a more efficient way.

Use Tables to print your data.

Use Templates to draw borders, lines, boxes .... etc.

E.g. If you use Tables and in your line types you have activated the borders but those borders will not come where system will not print any data. TO avoid that you need to use the Templates.

Regards,

Naimesh Patel

Former Member
0 Kudos

The output /data will never appear if u execute it through Smart Forms . Data (hard coded ) will appear if i use templates, coz as mentioned it's written hard coded in the template . Where as in tables it fetches data from the SAP standard table . And yes i do know that if i use tables the data will not appear . For the data to be displayed i need to execute it from SE38. Table use ,i feel is much more effecient than templates when we need data ( live) to be displayed, coz it isn't hard coded compared to Templates.