on 06-13-2013 1:16 PM
Hello experts,
I need to prepare a complex print format. The driver program will send a table to the smart form with which the form will be initialised and would be available for printing.
Can anyone guide me for this ?
Regards,
Shubhendu
Do You want a help on Driver program ?
Or
Do You want a help on Smartform?
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shubhendu,
You can use this step by step guide as example:
http://wiki.sdn.sap.com/wiki/display/ABAP/SMART+FORM+guide
Regards,
Alex
Hi Shubhendu,
Do you mean it needs to be printed in hierarchy format? If so, Smartforms doesn't support this format natively and some users have tried to insert left spaces without success.
http://scn.sap.com/message/14099594
You can use nested tables inside rows of a parent table. Not a great solution and so static but might solve your requirement. Let me know more detail about.
On the other hand, if you want convert your print form to pdf file you should use the OTF table returned by the Smartform function module in driver program. Then call to function module SX_OBJECT_CONVERT_OTF_PDF.
Regards,
Alex
Hello Alex,
I have a table ready from the calling program.
The struct type of this table is defined in the data dictionary.
It has Work station, Post, Name.
And the table which I require in the smart form will be like this
+-------------------------------------------------------------------------------+
| Work station | |
+-------------------------------------------------------------------------------+
| Post 1 | Name |
| Post 2 | Name2 |
| ................ so on | .... |
+-------------------------------------------------------------------------------+
| Work Station 2 | |
+-------------------------------------------------------------------------------+
| Post | Name |
...............continues like this.
Hi Shubhendu,
You can solved your requeriment using a smartform table with two different types of row.
Include your post/name data in a nested table and for each iteration of the main table, print the first type of row and then loop over the nested table with the second type of row.
Ex. Data type
Regards,
Alex
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.