cancel
Showing results for 
Search instead for 
Did you mean: 

Barcode

Former Member
0 Kudos

Hi,

Iam creating barcode for Bin label(s) and Fixed bin label.Type of form is smartform.

Table fields is LAGP-LGPLA(bIN #)

LAGP-VERIF(Verification field).

Tcode is LM55.

Report name is RLBINPRI.

1)process is execute the tcode ZLM55.

2)Enter the bin number in the selection screen.

3) execute report(ZRLBINPRI).

4)program will use the same form to print bin label as well as fixed bin label(Barcode)

5.Check if Verification Field is populated:then print Bin number in Readable format(entered in selection screen) and the verification field in the bar-coded format,respecively(For Fixed Bin Label(s)).

6.Check if Verification Field is not populated:then print Bin number in barcoded format and also Bin number in the readable format,respectivey(For Binnumber(s)).

What my probelm is When i run this report

i want to desplay the based on this conditions

1) in case of Bin label,The Barcode(Bin number) apperas above the Bin number.

like |||||||||||||||||||||||||

12345678

2)in case of Fixed Bin Label,The Barcode(Verification Field) apperas below the Bin number.

like 12345678

In report What i have given the logic.Please explain me.It is very urgent.

Thanks & Regards,

sairam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

create a 2 character formats for the barcode.

for one character format assign the superscript and for another one subscript.

In smart styles--for the character format you will have checks click one among them.

Based on your condition call them .

Br,

Laxmi.

Former Member
0 Kudos

Hi lakshmi,

what logic i will write in the Report(ZRLBINPRI)?

Thanks & Regards,

sairam

Former Member
0 Kudos

Hi,

I have checked in debugging that your sap script name is LVSBINPRINT.

SO you need to make changes in the print program as well as in the script form also because in the form only LAGP-VERIF is getting printed but in requirement you need to print the BIN number also. You need to keep the condition in the form but not in the layout.

Write now it is printing the barcode, but i guess if is for &LAGP-VERIF&

barcode .

In the Main window you need to mention the following logic

if &LAGP-VERIF& is initial.

,,&LAGP-LGTYP&

,,<AN>&LAGP-LGTYP&

ELSE.

,,<AN>&LAGP-VERIF&

,, &LAGP-LGTYP&:

ENDIF.

Br,

Laxmi

Former Member
0 Kudos

Hi Lakshmi,

Thanks for ur reply.But my requirement is to develop this form is in the Smartform.So,where i have to write this logic in the smartform.Is this necessary

to any changes in the report(RLBINPRI)?And How many character formats created

for this barcode?

Thanks & Regards,

sairam

Former Member
0 Kudos

sorry... no need of making changes in the print program only in script you need to mention the above condition. As you are getting the data from GET LAGP.

IF you want keep a break poing at if not .... condition and in debugging pass it as empty value. and then check it again.

Br,

Laxmi

Former Member
0 Kudos

can you please check the above mentioned script and do accoringly.

you need to develop the barcode first and based on the above mentioned conditions you need to print it.

But as in the print program there is no smarform function module. so its better you retrieve the LAGP data into an lgtyp and verif feilds and pass these to form.

then mention the above condition as alternative condition in the form.

Br,

Laxmi

Former Member
0 Kudos

Hi laxmi,

I gave a forum points to u.I have one more doubt.

My requirement is Barcode size widhth is 6.00inches and height is 4.00.How

to give the dimensions when i create the barcode?

Thanks & Regards,

sairam

Former Member
0 Kudos

Hi,

In general barcodes will be designed by the Basis people as font and then we have to make use of it .

Br,

Laxmi.

Answers (0)