Skip to Content
0
Apr 01, 2010 at 08:38 AM

2D Barcode (PDF417) in Smartforms

1570 Views

Hi Gurus,

I have a Smartforms with 2D-Barcode (PDF417).

I have to use header, field separators and foot into the barcode ( [)>, RS, GS, EOT...).

I define these separators like this:

CONSTANTS:
c_head VALUE '\0X5B\0X29\0X3E',       " Complience Indicator
c_rs   VALUE '\0X1E',                 " Format Trailer Character
c_gs   VALUE '\0X1D',                 " Data Field Separator
c_eot  VALUE '\0X04'.                 " Message Trailer

and then fill my barcode variable like this:

CONCATENATE
c_head c_rs '06'               
c_gs '12SGTLVWAG01'       
c_gs '2L'   gv_werk_empf     
c_gs '1L'   label_data-ablad  
c_gs        gv_license_plate   
c_gs 'P'    label_data-kdmat    
c_gs 'Q'    gv_vemng        
c_gs 'B'    label_data-vhmku   
c_gs 'V'    label_data-eikto    
c_gs '12S'  label_data-vbeln   
*c_gs '1T'   label_data-charg   
c_gs c_rs c_eot  
INTO gv_pdf.

The problem is, when I scan my barcode I have the \ separator, and I can't delete it...

\06\12SGTLVWAG01\2L22\1L001X1\1JUN341382615100348063\P 0B1 200 345 E\Q1\B106925\V261988\12S0063397339\\

Any idea how I can delete this \ ?

Regards,

David