Barcode Generation in Adobe Forms
Barcode Generation in Adobe Forms
Here In this example, barcode generated is a combination of Personnel Number and Trip Number.
Go to Transaction SFP.
Select Interface, give the Interface Name and click on Interface.
Drag and Drop the GV_PERNR and GV_REINR Values from Interface on the left side to Context on the
right side.
Go to Layout Tab.
Go to Palettes -> Library.
Under Barcodes, select the type of Barcode I have selected Code 128.
Place it in the Form. Adjust the size of the barcode as required.
Drag and drop GV_PERNR and GV_REINR in the form.
For Barcode, maintain the Data length as 18 (Personnel number 8 & Trip Number - 10)
Barcode value is combination of Personnel Number and Trip Number. Form Calc Language is used to
generate the Barcode Number so the Value is selected as Calculated-Read Only
Form Calc Code is written to generate Barcode. It is written under Initialize Event.
Input:
Provide the inputs Personnel Number 00000001 & Trip Number - 0000001234
Click on Execute.
Output:
Barcode is generated which is a combination of Personnel Number and Trip Number.