Question:
Hi All !!
I am developing a ABAP program to post goods receipt for the Bar code scanned data.
In my program I am having one field in which the string of data obtained from scanning of 2D label is entered as and when the label is scanned.
For capturing the 2D Barcode data I have designed dialog screen with tab sequence.
After scanning I found there r some leading character is getting truncated. This is random behavior of the scanning the barcode.
Apart from the dialog program I tried below options.
1. We also trying the same thing in a parameter 132 char long even though I found that there is some character are missing.
2. I also tried this with setting cursor through program as our barcode has a carriage return after each field the problem remain the same.
3. When we try to scan into the notepad or text edit control of SAP it gives the proper result.
_________________
hardwork never killed anyone but why take risks.
Answer:
You don't want a cr at the end of each field as this causes a round trip from the pc back to SAP for each field that is entered. You'll probably find that this slight timelag is whats losing you your leading characters on the next field.
Change this CR to a Tab character (Ascii 09) which is the default 'move to next field' character. and try that.
_________________
Regards
R
Abap KC
SFMDR
Answer:
Thanks R....
after changing CR to TAB character (Ascii 09) my problem is solved........
_________________
hardwork never killed anyone but why take risks.
Answer:
There you go
Could you do me a favour and change the title so that it's got [Resolved] at the end ?
Ta!
_________________
Regards
R
Abap KC
SFMDR