cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate a barcode in sapui5 using xsjs services

Former Member
0 Kudos

hi

i am tried to generate a barcode in sapui5.

so plz lets know how to proceed.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos
former_member321811
Participant
0 Kudos

Hi,

You can use the following library to generate the barcode in your ui5 app: https://github.com/lindell/JsBarcode

Here's an example on how to use it: http://codepen.io/lindell/pen/eZKBdO?editors=1010

Cheers,

Pierre

0 Kudos

Unfortunately, it failed.Can you give me some advice?

0 Kudos

View code:

<Page title="Sales Order Detail" showNavButton="true" navButtonPress="gotoHeader">
				<content>
				    <VBox width="100%" direction="Column" id="H_detail">
				        <items>
				            <Text id="__text1" text="SO:{Vbeln}"/>
				            <Image width="140px" height="140px" id="barcode"/>
				            <Image width="140px" height="140px" id="ean-13"/>