2013 Feb 23 11:44 AM
Hi SDN's ,
i am facing a problem in modulepool screen for hiding a barcode scanned content after scnning.........
My require ment is : i have a hardcopy prints invoices( In Encrypted format) with barcode fromat....for this i developed the dailog screen to insert scanned invoices into Z table.....So, to scan invoices i created the screen field with char40.....& i am placing the cursor on that field & scanning it's scnned correctly and updating in table successfully....
So the problem is ,there is a chance to user can copy the scanned content & saved in othe sources like notepad & after that he copied the content from other source & entering into my screen field ...it will allow to furthe procedure.....
so now i want to restrict to enter the content manually , allow to scan through barcode reader.......
Is there any possibility ...? Plaese help me it's an important for me ..............
Thanks & Regards,
Subba.
hi suba,
Anyway you gonna scan the datas in the output box only right,
it ll work fine if we read it from scanner..
thanks,
Mathan R.
2013 Feb 23 11:56 AM
In the dynpro definition and PBO define the field as active, input, output and invisible. Like passwords field, user input will be masked by asterisks. Read documentation like Setting Attributes Dynamically or navigate from MODIFY SCREEN help on Abap source/F1 to find it.
Regards,
Raymond
2013 Feb 25 4:30 AM
Hi Giuseppi,
Thank u for ur reply.....
i tried what you said ....even in this case also it's allowing to user manual entry.......copy from other source.....
I want restrict the content enter manually in this field ,..only through scanner read content only i have to allow .....any identification for data entered by scanner in SAP....
Please help me.......
Thanks & Regards,
Subba.
2013 Feb 25 12:35 PM
AFAIK that should not be possible,
Else you have to install/use another application on front end to input from scanner like some security devices. (But then going outside of Abap development space)
Regards,
Raymond
2013 Feb 26 5:00 AM
Hi Raymond,
Thank you for your reply......
if we go in outside of ABAP.......how to get that data in SAP any BAPI to connect with other Sources like .net ,java.....
or else any other way to get solution for this requirement.....................
Thanks & regards,
Subba
2013 Feb 27 3:40 AM
Hi Raymond,
To resolve this issue any other solution , i have one more doubt if iadd special character '#' in barcode print,while scanning it will read or not & if i scanned same in notepad waht will happen?....
Regards,
Suba.
2013 Feb 27 7:40 AM
Well, you could try, but not much hope, as SAPGUI use Microsoft Visual Studio routines so same as office or many windows tools, so will have same behavior. Also don't use # but an actual not-displayable char.
As i already wrote, did you search for Barcode Reader AddOn ?
Regards,
Raymond
2013 Feb 25 4:56 AM
hi ,
for doing it,
in attributes window, use the parameters like invisible and asterisk for making it as a password field..
so that your contents ll have security..
Thanks,
Mathan R.
2013 Feb 25 5:08 AM
Hi Gopalan,
Thank you for your reply......
But ,
I want restrict the content enter manually in this field ,..only through scanner read content only i have to allow .....any identification for data entered by scanner in SAP....
Please help me.......
Thanks & Regards,
Subba.
2013 Feb 25 5:19 AM
hi ,
then try like this,
in the display attributes output only check box would be their..
if you set it means , manual input ll be restricted for that input field..
hope this helps,
Thanks,
Mathan R.
2013 Feb 25 5:37 AM
Hi Gopalan,
But if we chech that checkbox it will show data in display mode only,but when i want to scan any data in field that field should be enable........
Any other solution to identify the data from scanner only...............
Thanks & Regards,
Subba.
2013 Feb 25 5:37 AM
Hi Gopalan,
But if we chech that checkbox it will show data in display mode only,but when i want to scan any data in field that field should be enable........
Any other solution to identify the data from scanner only...............
Thanks & Regards,
Subba.
2013 Feb 25 5:37 AM
Hi Gopalan,
But if we chech that checkbox it will show data in display mode only,but when i want to scan any data in field that field should be enable........
Any other solution to identify the data from scanner only...............
Thanks & Regards,
Subba.
2013 Feb 25 6:03 AM
hi suba,
Anyway you gonna scan the datas in the output box only right,
it ll work fine if we read it from scanner..
thanks,
Mathan R.
2013 Feb 25 6:10 AM
hi,
try like this,
dont check output only check box,
check output field box and input not possible..
i think now the user cant enter field datas manually.. but you can read it via scanner..
hope it helps,,
thanks,
Mathan R.
2013 Feb 25 9:05 AM
Hi Mathan,
I tried, what you daid but if we do like that that field displaying in disable mode only ,then if we scnned data on that field it 's not scanning...........
any other solution...........
Thanks & Regards,
Subba
2013 Feb 25 11:16 AM
hi subba,
check input field and output field then input recommended..
may be this ll solve your issue.. even em working on it..
ll post soon with better solution..
hope it helps,
Mathan R.
2013 Feb 25 11:25 AM
Hi Mathan,
i am very thankful to you..........
If we geive both input & output checks ,that field will be enable so user can enter text manual also it will allow .....
but in my requirement i have to identify the data from barcode scanner or from keyboard .....
Thanks,
Subba.
2013 Feb 26 5:10 AM
hi,
i tried a lot, I think its not possible with the codes..
better this screen setting is the only way of doing it..
check input field and output field then input recommended, and check the field.
up to my knowledge. this is the way.
thanks,
Mathan R.
2013 Feb 26 5:22 AM
Hi,
See the link
http://scn.sap.com/thread/1688977
you can try by first checking whether the bar code scnanner is attach to com port or not, and accept the data from comm port only as you will attach the scanner to your com port.
regards,
zafar
2013 Feb 26 5:45 AM
This is not possible. Scanner places the value only to the visible area and we cannot differentiate if it was the scanner or the user who did the entry.
2013 Feb 26 6:10 AM
Hi kesavdas,
finally i understood ,no possible for identification for getting data from scanner or enter by keyboard in ABAP...........right...........
Any other way to resolve this issue from other sources to SAp........
Thanks .
Subba.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |