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: 

MY barcode is printed &wa_Display-matnr&

Former Member
0 Kudos

Hi to all experts

instead of bar code it is getting printed as &wa_display-matnr& what could be the reason for it

8 REPLIES 8

amit_khare
Active Contributor
0 Kudos

Check in Print Preview, if its showing the barcode then you need to check with BASIS for printer compatibility to the barcodes. Otherwise, there is some error with the format assignment.

0 Kudos

Hi Amit,

Need your help on this please

Thanks for the reply it is showing in the print preview . What could be the error in the format are you talking about the page format , bar code format . What i have done is changed the standard bar code BC_CD39 and used in the smart styles and assigned that character form at to the smartform, Is this the correct way should i create my own barcode format. I have created the page format in spad and assigned to device type . it is printing the main window of smartforms .

0 Kudos

Hi Amit,

Need your help on this please

Thanks for the reply it is showing in the print preview . What could be the error in the format are you talking about the page format , bar code format . What i have done is changed the standard bar code BC_CD39 and used in the smart styles and assigned that character form at to the smartform, Is this the correct way should i create my own barcode format. I have created the page format in spad and assigned to device type . it is printing the main window of smartforms .

Former Member
0 Kudos

hi....

it may be due to the reason 'wa_display-matnr' is not a variable or field so better check in the name and go again

regards

Former Member
0 Kudos

hi

check this documentation

http://help.sap.com/saphelp_47x200/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm

hope this helps

regards

Aakash Banga

Former Member
0 Kudos

Hi,

I think you might be typing it manually. Better not todo like that just drag the feild and place it where ever you need. Press CtrlShiftF4 you will get feild name tab there select the feild matnr drag and drop it .

or Click on Editor the editor will open then click on GOTO menu => click on ChangeEditor => then write

&wa_Display-matnr& there and go back then execute it and check.

If you type it manually the it will display like text i.e &wa_Display-matnr& , if you drag and drop it then it will display the feild in grey.

Thank U,

Jay....

Former Member
0 Kudos

You check the text element of the Barcode. I hope it is because of format assignment of the text element.

Regards,

Joan

0 Kudos

Hi Joan,

now the it is printing as <BC> 215.10.05.200.1(mat no) but in print preview the bar code can be seen.