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

Barcode - 'DATA_LENGTH_TOO_LARGE' dump

Former Member
0 Likes
423

Hi experts,

We have created a barcode of following specifications:

Symbology : Code 128

Code128 Mode: A

When we input the string to be printed as barcode, we get a dump DATA_LENGTH_TOO_LARGE when print preview is issued.

The length of the string is 40 characters. But we are able to print more lengthy strings without any issue.

What is the necessary criteria for getting this printed? Is there any note which will avoid the dump. Your help is highly appreciated.

Thanks,

Sumanth

2 REPLIES 2
Read only

Former Member
0 Likes
335

Hi Sumanth,

Double check the following:

- the width of your barcode should be sufficient enough to fit 40 characters

Of course you need to do the actual barcode test in your SmartForm:

- in include program RLB_PRINT_FORMS, insert a break-point below. Here you can pinpoint what's going with your error in SmartForm, including the barcode.


* add smartform protocoll to nast protocoll
  LOOP AT LT_ERRORTAB ASSIGNING <FS_ERRORTAB>. ""INSERT BREAKPOINT
*   CLEAR LF_MSGNR.
*   LF_MSGNR = <FS_ERRORTAB>-ERRNUMBER.
    CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
         EXPORTING
              MSG_ARBGB = <FS_ERRORTAB>-MSGID
*             MSG_NR    = LF_MSGNR
              MSG_NR    = <FS_ERRORTAB>-MSGNO
              MSG_TY    = <FS_ERRORTAB>-MSGTY
              MSG_V1    = <FS_ERRORTAB>-MSGV1
              MSG_V2    = <FS_ERRORTAB>-MSGV2
              MSG_V3    = <FS_ERRORTAB>-MSGV3
              MSG_V4    = <FS_ERRORTAB>-MSGV4
         EXCEPTIONS
              OTHERS    = 1.
  ENDLOOP.

Please let me know if I can provide more details.

Read only

0 Likes
335

Thanks for your reply.

I set the breakpoint as you said but it didn't go there.

and also i extended the width of the bar code type to the max, it still doesn't work.

the string format is like (00 01111111111111 (11) 222 (555) 6666666666.

Please help me on this..

Thanks in advance.