on 2017 Oct 29 3:02 PM
Hello Community,
I tried creating UPS MAXI Barcode in the Adobeforms using the below SAP SCN post.
https://wiki.scn.sap.com/wiki/display/Community/UPS+maxicode+on+SAP+Adobe+forms
UPS maxicode on SAP Adobe forms.
But i could not able to get the required barcode. I don't know where i went wrong.
Kindly let me know the procedure on how to display the required barcode in adobeforms.
I applied the below code but still could not able to achieve it:
data.Master_Segment.Carrier_Segment.QR_Segment.UPSMaxicodeBarcode2::initialize - (FormCalc, server)
var gs = "\u001D"
var rs = "\u001E"
var eot = "\u0004"
$.rawValue = concat( [)>rs01gs96gs1Z14647438gsUPSNgs410E1Wgs195gsgs1/1gs16gsNgsgs17gsrseot ).
Thanks in advance.
Regards
Sai Kumar P
Request clarification before answering.
in java script:
1. Create new field - text field (in my example NAME2) and set it invisible (in case of this data not needed in printlabel a set is visible for testing) without binding


1 variant. Using for concatenation + (without any oher separators) .
data.Page1.head.NAME2::initialize - (JavaScript, server)
var gs = '\u001D';
var rs = '\u001E';
var fn = '\u00E8';
var eot = '\u0004';
const str = '[)>';
this.editValue = str + rs + '01' + gs + '96' + gs + '1Z14647438' +
gs + 'UPSN' + gs + '410E1W' + gs + '195'+ gs + '' + gs
+ '1/1' + gs + '16' + gs + 'N' + gs + '' + gs +'17'+ gs + rs + eot;
this.rawValue = this.editValue;
2 variant. Using function concat allways with separator comma ',' . In your case it was wrong. It is string function. There have to be another coding, for example using constant for prepearing string data
data.Page1.head.NAME2::initialize - (JavaScript, server)
var gs = '\u001D';
var rs = '\u001E';
var fn = '\u00E8';
var eot = '\u0004';
const str = '[)>';
this.editValue = str.concat(
rs , '01',
gs , '96',
gs , '1Z14647438',
gs , 'UPSN',
gs , '410E1W',
gs , '195',
gs , '',
gs , '1/1',
gs , '16',
gs , 'N',
gs , '' ,
gs , '17',
gs , '',
rs , '',
eot,);
this.rawValue = this.editValue;
2. Input data-matrix object. Don't forget to clear the default values

for DataMatrix Barcode object set coding
data.Page1.head.DataMatrixBarCode2::initialize - (JavaScript, server)
this.rawValue = data.Page1.head.NAME2.rawValue;
This is test data 1

This is test data 2

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.