Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with control characters and field width for customized label print

Hi Floks

Iu2019m working on FedEx interface development project on R/3 3.1i.

We are sending delivery info to carrier(FedEx) through customized interface, written in C language to generate tracking#. In response to the delivery info FedEx system will send reply , which contains various delivery information along with 3 barcodes. We store that reply message in Z table for customized shipping labels.

Here we have 2 problems to store reply message in Z tables.

1. 2D barcode column has many control characters as given below (C-string). All these controls characters are converting into u2018#u2019 when it is coming to SAP to store in Z table, as shown in Z table.

C - String:

[)>^01]0206033]840]11]9184782620090710]FDE]060663432]254^] ]1/1]2LB]N]628 HEBRON AVENUE]GLASTONBURY]CT]SYNCOR INTERNATIONAL CORP06]10ZED004]11ZSYNCOR INTERNATIONAL CORP]12Z2036572520]30Z30603357000083\041015]15Z6165]20Z0.00\0.00]28Z]K1080007081]26Zedbb\00]^^^D

Z table:

[)>#01#0206033#840#11#9184782620090710#FDE#060663432#254# #1/1#2LB#N#628 HEBRON AVENUE#GLASTONBURY#CT#SYNCOR INTERNATIONAL CORP#06#1#041015#15Z6165#20Z0.00#0.00#28Z#K1080007081#26Zedbb#00

2. Said 2D barcode has 350 characters, whereas SAP has maximum limit of 256 characters in one field.

Is there any possibility to store entire 350 character in single field instead of splitting into 2 and how can we get and store control characters as it is coming from interface, in SAP.

I appreciate your patience for going through this long message and for responding to me.

Thanks

KS

<Has nothing to do with ABAP Objects - moved to ABAP General. Please choose your forums more carefully in future>

Edited by: Mike Pokraka on Sep 11, 2008 11:34 PM

Tags:
Not what you were looking for? View more on this topic or Ask a question