Application Development and Automation 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: 
Read only

lables in smartforms

Former Member
0 Likes
693

Hi experts

can u give me step by step procedure to insert lables in smartforms

regards

Siri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
655

Hi Sireesha,

What do you mean by insert labels in the smartforms.I have created labels by using smartforms.The labels was getting printing using the Zebra printer.

5 REPLIES 5
Read only

Former Member
0 Likes
656

Hi Sireesha,

What do you mean by insert labels in the smartforms.I have created labels by using smartforms.The labels was getting printing using the Zebra printer.

Read only

0 Likes
655

Hi MUkesh

can u plz that procedure how u have created lables

regards

Siri

Read only

0 Likes
655

Hi Sireesha,

That is not at all a problem how to create the labels in your smartform.You have the layout.Create a smartform and create the same layout in your smartform using windows.Most important thing is that create separate windows for all the fields and their values.The main problem you will face in Printer setting that your Basis person will do and you have to do some printer specific setting in your print program.I am sending you that setting.

DATA : g_output TYPE ssfcompop,

g_control TYPE ssfctrlop,

g_printer TYPE rspoptype,

g_dest TYPE rspopname.

*FM to accept the device type and returns the short name of the output device

CALL FUNCTION 'EFG_GET_PRINTER'

EXPORTING

x_no_dialog = ' '

x_obligatory = 'X'

IMPORTING

y_tddest = g_dest

EXCEPTIONS

cancelled = 1

failed = 2

OTHERS = 3.

.

*device type name for the output device

SELECT SINGLE patype "#EC CI_NOFIELD

FROM tsp03d

INTO g_printer

WHERE padest = g_dest.

*printer setting

g_control-no_dialog = 'X'.

g_output-tdarmod = '1'.

g_output-tdcopies = '001'.

g_output-tddest = g_dest.

g_output-tdprinter = g_printer.

g_output-tdnewid = 'X'.

g_output-tdimmed = 'X'.

*Calling Smartform

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = g_form

IMPORTING

fm_name = g_fm_name

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

Message was edited by: mukesh kumar

Read only

0 Likes
655

Hi Mukesh

Thank u

Read only

Former Member
0 Likes
655

You mean to say that you want to use zebra printer for bar code labels. hope this helps.

Smart Forms provides an easy, fast way to print complex bar coded labels on demand on Zebra printers from

mySAP Business Suite. Users can count on complete data and application integrity because Smart Forms is a

complete label solution that is built into the core of mySAP Business Suite.

Labels are easier to design and maintain because they are managed within a familiar environment that requires

no specialist label or form skill sets. Labels can be printed on almost any native computer platform, directly

from the server, while still maintaining the features and performance normally only found in PC-based labeling

software. All of this Smart Forms functionality is now possible because SAP created its first true, native bar

code printer driver (for ZPL only) and has integrated the Zebra bar code rendering library within the core

mySAP Business Suite.

For more information on Zebra printers, SAP and other connectivity solutions, visit www.zebra.com/sap.