Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

seeking help

Former Member
0 Kudos

Hello Members,

This is my very first posting here. I am working on smartforms and i want to make form for Label which comprises fields GOITEM-MAKTX,GOITEM-CHARG,GOITEM-VFDAT AND GOHEAD-BLDAT. can anybody guide me how to print data in form using above structures.

Thanks and Regards,

Pritesh

7 REPLIES 7

Former Member
0 Kudos

Hai,

Get the required data in the print program then pass that internal table to the Function module.

So you will get the data in the smartform.

Here you can pass the values to your form.

Cheers,

Umasankar

Former Member
0 Kudos

Hi

You should insert a table as interface with those data and use a template for the output.

Max

Former Member
0 Kudos

Hi Pritesh,

Follow these step.

1.Select all the required data from the database table into the internal table in the print program itself.

2.In the smartform in the interface pass that internal table to the form.

3.Create windows for the Differen variables and in the text of the window pass the variables from the internal table.

0 Kudos

Hi Mukesh,

Thanks for your valuable guidance. I got the form output. Now i want one more help i want to print data as a label of size 7.5cm * 3.5cm so how can i do that?

Pritesh

Former Member
0 Kudos

Welcome to SDN!

You can take those values to an internal table and loop it for printing. For further examples see the link below.

http://www.sapgenie.com/abap/smartforms.htm

rgds,

TM.

Please mark points if helpful.

Former Member
0 Kudos

First take the data in a internal table then data be in your smart form. Now print it inwhich form you want.