cancel
Showing results for 
Search instead for 
Did you mean: 

Abap screen - Tab as input

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

Sandra_Rossi
Active Contributor

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?

Jelena
Active Contributor
0 Kudos

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.

Former Member

Hi Sandra

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

Regards

Dinesh

Former Member
0 Kudos

Hi Jelena

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

Regards

Dinesh

Accepted Solutions (0)

Answers (4)

Answers (4)

matt
Active Contributor

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.

matt
Active Contributor
0 Kudos

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.

0 Kudos

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?

Former Member
0 Kudos

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 Kudos

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.

Former Member
0 Kudos

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