on 12-01-2017 9:49 AM
Hi folks.
I am working on a screen application for which I need to handle Tab as input. I have learned that tab is not an input in Abap, but there go to be a work around for the same.
We have to Simulate a web-based SAP application :
- We have a Z-Screen. User provides Barcode input via a scanner.
- The input is accompanied by a tab - there is no option of enter or any other input. We have to simulate this input.
- We need to trigger PAI at this point.
Is it possible to achieve this?
Many thanks
1. Ask your scanner manufacturer how to change the tab to a cr/lf. Unless you're using 1980s technology this should be possible.If not, consider changing suppliers.
or
2. Don't use SAPGui as your front end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Ask your scanner manufacturer how to change the tab to a cr/lf. Unless you're using 1980s technology this should be possible.If not, consider changing suppliers.
or
2. Don't use SAPGui as your front end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so you want the user to be able to enter a "tab" character in your application. Yes, well, pressing that key moves between fields in the SAP GUI so I see the issue here.
What would be the reason behind this requirement? Is it for formatting (like for instance in a long text area) or is the user to select a delimiter for an input or output file (i.e choose from space, tab, semicolon, etc).
Or do you really really need the user to place a tab character inside one line of free text?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes, thanks for the answer. Here is the requirement.
- Simulate a web-based SAP application : We have a Z-Screen. User provides Barcode input via a scanner.
- The input is accompanied by a tab - there is no option of enter or any other input. We have to simulate this input.
- We need to trigger PAI at this point.
Is it possible to achieve this?
Regards
Too bad you could not change the behavior of the scanner... I have not encountered this issue and it was a long time since I did screen programming, so I don't really know unfortunately.
You also asked about Fiori. There I know for sure are more options. For many components there is an onChange event which will trigger after something is entered into a field and the field is left, for instance with a tab key.
Hi there,
I'm not sure what you talking about. Why don't you put a input field above the tabstrip? This is the way SAP deal with, like REBDRO t-code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.