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

SAP console

Former Member
0 Likes
482

Hi All,

I am encountering an issue in SAP console. In a console, there is an editable field for storage bin(LTAP-NLPLA).

The data type is u2018CHARu2019 of length 10. I am defaulting it with a value DEFAUL_G<2 numeric characters>. User is scanning the barcode to change the default bin. Currently, the barcode bin is of length 8. In future there is a possibility for the bin to be of 9/10 characters.

When the barcode is scanned, only 8 characters are overwritten and the remaining characters are not cleared.

e.g. Before scanning the bar code

BIN : DEFAUL_G54

After scanning the bar code [bin : L02001RJ]

Expected o/p : L02001RJ

Actual o/p : L02001RJ54

Any pointers to fix this issue will be helpful. Thanks in advance.

Regards,

Kavitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
449

A correction in the question. The actual o/p is L01002RJ54.

Regards,

Kavitha

3 REPLIES 3
Read only

Former Member
0 Likes
450

A correction in the question. The actual o/p is L01002RJ54.

Regards,

Kavitha

Read only

0 Likes
449

Would it be possible to default it to 'DEF_G54' ( DEF_G<2 numeric> ), so that you will not have the additional numbers at the end if the scanned values is 8 characters or more as other options like taking first 8 characters or replacing the last two characters with space will not be future compatible.

Edited by: Suman Jagu on Oct 21, 2011 11:34 AM

Read only

Former Member
0 Likes
449

Hi Suman,

Thanks for your suggestion.But user is not agreeing to that solution. Is there any other way to solve this issue?