cancel
Showing results for 
Search instead for 
Did you mean: 

PDF417 Separator

former_member611006
Active Participant
0 Kudos

Hi Experts,

i'm using following data as PDF417 in SmartForms:

\0x5B\0x29\0x3E\0x1E06\0x1D20L&LABEL_DATA-ABLAD&\0x1D22L&LABEL_DATA-VBRST&\0x1D4W&GV_ABRVW&\0x1D16K&LABEL_DATA-VBELN&7Q\0x1D&GV_BRGEW(F0R10)&GT\0x1D7Q&GV_NTGEW(F0R10)&58\0x1DB&LABEL_DATA-VHMKU&\0x1D7Q&LABEL_DATA-ANZPK&PK\0x1DP&LABEL_DATA-KDMAT&\0x1D2P&LABEL_DATA-AESKD&\0x1D7Q&GV_VEMNG(F0R10)&PC\0x1DV&LABEL_DATA-EIKTO&\0x1D12D&GV_WADAT&\0x1D30T&LABEL_DATA-CHARG&\0x1D\0x1E\0x04

After scanning, separators are missing (0x1D => GS is missing, etc...)

[)>0612SGTLVWAG012L211LKOD656JUN341382615012641025P 01V 325 429Q18BVW0012V26198012S63778535

I've got only the head control data [)>

Do you have any idea ?

This is a correct scan result: ( GS = ^ EOT = $! )

[)>$0612SGTLVWAG012L26D1LMOT G6JUN331422654340056120P 06E 103 471 GQ72B216106PV013424100^12S7092510$!

Regards,

David

Accepted Solutions (1)

Accepted Solutions (1)

aidan_black
Active Contributor
0 Kudos

Hi,

Take a look at SAP note 658752 for a workaround.

Regards,

Aidan

Answers (2)

Answers (2)

tisha_dharod
Explorer
0 Kudos

Hello

I am facing similar issue .

Could you please let me know how did you resolve this issue .

Thanks

Former Member
0 Kudos

Hi

Here is the ABAP code I used to get the 2D GM barcode label to work :

DATA: 2d_record_separator TYPE char01,

2d_group_separator TYPE char01,

2d_end_of_transmission TYPE char01,

2d_rs TYPE x LENGTH 4,

2d_gs TYPE x LENGTH 4,

2d_eot TYPE x LENGTH 4.

FIELD-SYMBOLS: <2d_rs>,

<2d_gs>,

<2d_eot>.

*----


*

  • 2D Symbol *

*----


*

2d_rs = '001E'.

2d_gs = '001D'.

2d_eot = '0004'.

ASSIGN 2d_rs TO <2d_rs> CASTING TYPE char01.

ASSIGN 2d_gs TO <2d_gs> CASTING TYPE char01.

ASSIGN 2d_eot TO <2d_eot> CASTING TYPE char01.

2d_record_separator = <2d_rs>.

2d_group_separator = <2d_gs>.

2d_end_of_transmission = <2d_eot>.

CONCATENATE

'[)>'

2d_record_separator

'06'

2d_group_separator

'P'

ls_label_data_gm-part_number

2d_group_separator

'Q'

ls_label_data_gm-qty

2d_group_separator

'2S'

ls_label_data_gm-ship_id

2d_group_separator

'B'

ls_label_data_gm-cont_typ

2d_record_separator

2d_end_of_transmission

INTO

ls_label_data_gm-2d_symbol.

I hope that this helps you.

Peter Graham

former_member611006
Active Participant
0 Kudos

Hi,

thanks a lot for your answer. It was easy as expected ! Aidan, thanks for your info, it helps me a lot.

I just need to give the separator symbol directly :

DATA: 2d_rs     TYPE char01,
           2d_gs     TYPE char01,
           2d_eot    TYPE char01.

2d_rs     = '$'.
2d_gs    = '^'.
2d_eot   = '!'.

Rewards OK.

Regards,

David