Application Development 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: 

RF Transaction Programming -

Former Member
0 Kudos
756

Hi,

I am creating a bespoke RF transaction for WebSAPConsole. I would like to scan in a number (transfer order number in my case) and then have the system automatically jump to the next screen instead of the user having to click a button on the screen or hit the enter button on the handheld terminal to acknowledge entry.

Can I do this in ABAP or is it a console setting?

Cheers,

N

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
327

We've had the same problem when we first developed our shop floor system. We use intermec handheld units and stationary units. What we did solve the problem, was set a postamble in the units themselves. So that everytime something is scanned, the unit would hit "ENTER" automatically. In the stationary units, it was done with the postamble code. In the handheld units it was done with a built in setting in the TE program. Both have been working good for us for the past 5 years. I don't think that there is anything in ABAP that can be done to help you in this situation. What kind of units are you dealing with? There has to be something built in that allows for "Automatic Enter" when something is scanned.

Regards,

RIch Heilman

10 REPLIES 10

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
328

We've had the same problem when we first developed our shop floor system. We use intermec handheld units and stationary units. What we did solve the problem, was set a postamble in the units themselves. So that everytime something is scanned, the unit would hit "ENTER" automatically. In the stationary units, it was done with the postamble code. In the handheld units it was done with a built in setting in the TE program. Both have been working good for us for the past 5 years. I don't think that there is anything in ABAP that can be done to help you in this situation. What kind of units are you dealing with? There has to be something built in that allows for "Automatic Enter" when something is scanned.

Regards,

RIch Heilman

0 Kudos
327

Hi,

for RF scanning it will behave like that only, and why do you want to give explicit button click, that RF program will take care of that. This is a feature of RF transaction i guess,

regards

vijay

0 Kudos
327

Hi,

Presently the user will have to click ENTER to continue. I would like the user to scan a number and have the scanner automatically ENTER after the scan.

Thanks,

N

0 Kudos
327

I am not familiar with the units or the window CE os. First place that I would check would be the "Scanner settings in the control panel". Hopefully there is a setting in there to force the unit to press "Enter" when something is scanned.

Please check it and get back.

Regards,

Rich Heilman

0 Kudos
327

My test system is down for awhile, we are replacing a disk, so I will be looking for some documentation for you about your scanners. First, this document looks interesting, maybe we could use the Keyboard Macros, not sure if these get fired when something is scanned or not. Do you have internal or external scanners for these units. Meaning, is the scanner built directly into the unit?

http://www.psionteklogix.com/assets/downloadable/developer/Teklogix_753x_readme.txt

Regards,

Rich Heilman

0 Kudos
327

Hi,

FYI...In a Module pool program to jump from PBO to PAI without having any user interaction is to use the FM - "SAPGUI_SET_FUNCTIONCODE" in the PBO...

However, there is a chance that the "CL_GUI_OBJECT" that this FM looks for (in case of a RF program) can result in a short dump....

The correct way should be for this to be done by the scanner(if possible)...

Thanks,

Renjith.

0 Kudos
327

Niall, I have something that looks promising. Please email me, and I can send the PDF file that I've downloaded which explains what we need to do. You can find my email on my business card.

Regards,

Rich Heilman

Former Member
0 Kudos
327

Hi Rich,

Thanks for the reply. Add a postamble to the unit itself?

I am not too sure how to do this. Perhaps you would be kind enough to give a few pointers... we are using Psion Teklogix 7535 units running WIndows CE with Teklogic Scanner settings in the control panel.

Thanks,

N.

Former Member
0 Kudos
327

Hi Rich,

I have sent you an email.

Cheers,

Niall

Former Member
0 Kudos
327

Hi Rich,

Have it working now... for posterity: it is made in the 'teklogix scanners' settings in the windows CE control panel on the teklogix hand-held computer 7535. You can add ASCII/Unicode characters after the scan e.g. ENTER.

It is set at individual barcode type level in the control panel scanner settings e.g. Barcodes -> Code39 -> Field Size/Chars -> Suffix Char = 'enter'.

I set this and now when I scan it gives an auto enter.

Many thanks for the pointer!!

Cheers,

Niall