on 12-17-2008 6:02 AM
Hello SDNers,
I have a character format named 'BC' of type BC_C128B.
Page1 -> Barcode window -> Text for Barcode.
Now how do I display the barcode on the window.
I have already searched the SDN but I dint find the syntax or the code to be included in the text element to display the barcode.
]
Help me with example screen shots or sample code to be included in smartforms.
Thanks and Regards,
Ranjith N
Hi all,
Still not working. I would explain once again.
Hi Kumar,
I was trying to print a barcode on a smartform and I was unable to do so.
could you please giv me some points to print a barcode.
I wil just explain you what I did.
On SE73 I have designed a new barcode called 'BAR_CODE' of type C128.
when I tested this new barcode I got the output.
I have also created a style called 'ZSTYLE_BARCODE' with 1 paragragh 'P1' and 1 character 'BC'.
Now I am using those styles in my smartform.
In my smartform there is only one window main.
MAIN WINDOW -> PROGRAM LINE -> LOOP -> TEXT
In my text editor I have mentioned the following code <bc>wa-matnr.
Nothing comes on the output screen.
could you give me some tips highly appreciated..
Regards,
Ranjith N
Regards,
Ranjith N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To display barcode on smartforms
u need to declare a character format eg BC1
and in the text element of the corresponding window
declare the barcode
eg <BC> &WA-MATNR& </>
I was unable to find the text element icon on my screen because it was hidden.
Regards,
Ranjith N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Issue solved
Regards,
Ranjith N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Dont hard code BC goto Change Editor <BC> &wa-matnr& </> write like this
Then it will print
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
I tried as you said in the text editor i wrote it as <BC> &wa-matnr&.
now when i execute the form in the print preview it display as <BC> 640
Thanks and regards,
Ranjith N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey ,
I am sorry .
it is actually
<BC> wa-matnr&
Hey i really dont know why i am not able to display the symbol
which i am trying to display as below
/ should be embraced between <> after &wa-matnr&. which marks the end of character format BC.
Hope u got what i am trying to tell
Regards,
Ravi Kiran
Edited by: Ravi Kiran Bherthepudi on Dec 17, 2008 9:13 AM
hello,
in the text editor give as follows .
<BC> &v_barcode& </>
where BC is your Bar code Format.
Regards,
Ravi kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Assign the Barcode character format to the variable print. It will print the same
No need of any code
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
For the field you want to print the Barcode...give that in the text element and in the character format for the field give the barcode character format.
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chech this out.
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_wiki&query=barcodeinsmartforms&adv=false&sortby=cm_rnd_rankvalue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.