on 02-10-2006 2:13 PM
Dear All,
We are generating a PDF417 (2D) barcode through SAP script.
The barcode contains data having more than one fields i.e. 5 fields.
Each field needs to be <<tab>> separated followed by an <<enter>> delimiter after the last field.
We are not able to pass the tab value through SAP in a variable where we are concatenating the four fields.
We are able to do so using a VB script with chr(9) as the tab value to be substituted, but this does not work through SAP.
Can you please help as to how do we generate a tab value and an enter value through SAP.
Regards,
Rahul Shukla
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello rahul,
you can generate a TAB by using the ABAP class CL_ABAP_CHAR_UTILITIES.
For your TAB delimiter you can do the following coding:
concatenate field1 fields2 into field3 separated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
For Enter you can use CL_ABAP_CHAR_UTILITIES=>CR_LF.
If you need more samples please check the class or enter CL_ABAP_CHAR_UTILITIES in the forum search.
Hope this helps.
Frank
Message was edited by: Frank Brackmann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.