cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform

0 Kudos

Hi All,

I have a question regarding SAP Smart-form. I also have attached a snapshot what i want to print.

smartform-issue.png

Can somebody please tell me How to print this with fetched values.?

For example. If fetch a name from Infotype 0001 as employee name ex. JOHN and show every character of name in separate box. like this

Answers would be highly appreciated.

Thanks in advance 🙂

Accepted Solutions (1)

Accepted Solutions (1)

DoanManhQuynh
Active Contributor

i dont think there is direct way to achive this. I have an ideal about this, you may try: split name character by character into internal table ( using offset), loop through that itab and display it horizontally in a template ( which have shading as you want). like below:

https://archive.sap.com/discussions/thread/3899785

0 Kudos

Hi Quynh Doan Manh,

Thanks for you reply.

I also thought about it. But it is not just about Name field. I have other fields also and it will be so hectic.

But i can consider your answer if there not any other way.

DoanManhQuynh
Active Contributor

Well, i have 1 more suggestion, maybe it easier to do: in drive program, you split and concat "|" between each character of your field (like this: |J|O|H|N| ), then in smartform make a template with all around border. when you send data there i think it could be close to what you want (i hope so).

Answers (1)

Answers (1)

former_member378318
Contributor

Are you printing on pre-printed stationery? If yes then it is just a matter of getting the alignment correct. If not then you could use the concept of a Template (right click -> Create -> Template) and print each letter of the name in a separate box of the Template. If you have multiple lines to print (like Address) then you could use a Table or a Template with multiple lines.

0 Kudos

Hi Surbjeet,

Thanks for you reply.

will it be possible on pre-printed stationery.

I will try to do that.

Because I have 6-7 pages in smartform but values in only 8-9 fields that needs to fill.