Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PDF417 and Smartforms

tanju_lise3
Participant
0 Likes
636

Dear All,

I am studying on PDF417 in SAP Smartforms.

I need help.

I was asked to show a PDF417 barcode in the output I was studying on.

This is my pdf files.

When I check barcode, I am receiving ‘ No barcode message’.

In SAP Smartforms ,

I coded;

DATA :

lf_hex_rs TYPE x LENGTH 4 VALUE '001E',

lf_hex_gs TYPE x LENGTH 4 VALUE '001D',

lf_hex_eot TYPE x LENGTH 4 VALUE '0004',

lf_char_rs TYPE c,

lf_char_gs TYPE c,

lf_char_eot TYPE c.

FIELD-SYMBOLS: <lfs_rs>,

<lfs_gs>,

<lfs_eot>.

* Get non-printing control characters set

ASSIGN lf_hex_rs TO <lfs_rs> CASTING TYPE c.

ASSIGN lf_hex_gs TO <lfs_gs> CASTING TYPE c.

ASSIGN lf_hex_eot TO <lfs_eot> CASTING TYPE c.

lf_char_rs = <lfs_rs>.

lf_char_gs = <lfs_gs>.

lf_char_eot = <lfs_eot>.

CONCATENATE

'[)>'

lf_char_rs

'06'

lf_char_gs

'P' lv_kdmat lf_char_gs

'Q' lv_menget lf_char_gs

'V' lv_eikto lf_char_gs

'D' lv_sevk_tarih lf_char_gs

'S' lv_etiketno lf_char_gs

'N' lv_irsaliye

lf_char_eot

INTO gv_pdf417.

I did not find my mistake.

I am really appreciate , I need help.

Regarsd

Tanju

Dear All,

I am studying on PDF417 in SAP Smartforms.

I need help.

I was asked to show a PDF417 barcode in the output I was studying on.

This is my pdf files.

When I check barcode, I am receiving ‘ No barcode message’.

In SAP Smartforms ,

I coded;

DATA :

lf_hex_rs TYPE x LENGTH 4 VALUE '001E',

lf_hex_gs TYPE x LENGTH 4 VALUE '001D',

lf_hex_eot TYPE x LENGTH 4 VALUE '0004',

lf_char_rs TYPE c,

lf_char_gs TYPE c,

lf_char_eot TYPE c.

FIELD-SYMBOLS: <lfs_rs>,

<lfs_gs>,

<lfs_eot>.

* Get non-printing control characters set

ASSIGN lf_hex_rs TO <lfs_rs> CASTING TYPE c.

ASSIGN lf_hex_gs TO <lfs_gs> CASTING TYPE c.

ASSIGN lf_hex_eot TO <lfs_eot> CASTING TYPE c.

lf_char_rs = <lfs_rs>.

lf_char_gs = <lfs_gs>.

lf_char_eot = <lfs_eot>.

CONCATENATE

'[)>'

lf_char_rs

'06'

lf_char_gs

'P' lv_kdmat lf_char_gs

'Q' lv_menget lf_char_gs

'V' lv_eikto lf_char_gs

'D' lv_sevk_tarih lf_char_gs

'S' lv_etiketno lf_char_gs

'N' lv_irsaliye

lf_char_eot

INTO gv_pdf417.

I did not find my mistake.

I am really appreciate , I need help.

Regarsd

Tanju

0 REPLIES 0