on 03-07-2007 10:30 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.