2005 Dec 29 5:39 PM
Hello everyone,
I have a Form that will output a bar code. That bar code is composed of 4 fields from a table that are concatenated into a string. The problem is that the client wants to read the bar code and have an output with 4 distinct lines on screen.
So, i need to add to my result string 3 carriage returns/line feeds. How do i do that ?
2005 Dec 29 5:45 PM
Hi Nuno,
When you concatenate try using the abap char utility for newline as well.
i.e CL_ABAP_CHAR_UTILITIES=>NEWLINE.
concatenate field1
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field2
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field3
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field4
into v_result.
Regards,
Ravi
Hello everyone,
I have a Form that will output a bar code. That bar code is composed of 4 fields from a table that are concatenated into a string. The problem is that the client wants to read the bar code and have an output with 4 distinct lines on screen.
So, i need to add to my result string 3 carriage returns/line feeds. How do i do that ?
2005 Dec 29 5:45 PM
Hi Nuno,
When you concatenate try using the abap char utility for newline as well.
i.e CL_ABAP_CHAR_UTILITIES=>NEWLINE.
concatenate field1
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field2
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field3
CL_ABAP_CHAR_UTILITIES=>NEWLINE
field4
into v_result.
Regards,
Ravi
2005 Dec 29 5:48 PM
Hi
See the BARCODE you need by trx SE73.
So you should use that barcode as chararcter type when you print your output.
Max
2005 Dec 29 6:00 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |