Skip to Content
0

Abap screen - Tab as input

Dec 01, 2017 at 09:49 AM

114

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded

I don't understand. A tab strip may contain multiple tabs (like the tabs of worksheets in an Excel workbook). Or are you talking about the tab key from the keyboard?

1
Former Member
Sandra Rossi

Hi Sandra

Apologies for the confusion. It is tab key from the keyboard as input.

Regards

Dinesh

1

I'm also very much confused by this question. Might want to clarify what you meant. Also what kind of "screen application" and what exactly are you trying to achieve.

0
Former Member
Jelena Perfiljeva

Hi Jelena

Apologies for the confusion. It is tab key from the keyboard as input.

Regards

Dinesh

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Matthew Billingham
Dec 05, 2017 at 08:54 AM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 01, 2017 at 11:24 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Matthew Billingham
Dec 05, 2017 at 08:54 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Jörgen Lindqvist Dec 05, 2017 at 07:31 AM
0

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?

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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.

0