Application Development and Automation 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: 
Read only

Steploop with Buttons

Former Member
0 Likes
913

Hi all,

I want to build a RF screen where there is a list of items shown and with the possibility of navigating to the details of an item by clicking it.

I would like to get a variable amount of items (which may be more than a screen can handle).

I think of using a step-loop with buttons to realise this.

Is this a good option and is it possible to do, or do I need another approach?

Greetings Fred.

Hi all,

I want to build a RF screen where there is a list of items shown and with the possibility of navigating to the details of an item by clicking it.

I would like to get a variable amount of items (which may be more than a screen can handle).

I think of using a step-loop with buttons to realise this.

Is this a good option and is it possible to do, or do I need another approach?

Greetings Fred.

4 REPLIES 4
Read only

former_member182371
Active Contributor
0 Likes
752

Hi,

i think it´s a very reasonable option and it´s possible to do.

To start with do have a look at the following SAP HELP link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbacac35c111d1829f0000e829fbfe/content.htm

here you´ll find a very good example that will help to provide a clear idea of the process.

Best regards

Read only

0 Likes
752

Hi Pablo,

Thanks for the info.

I am able to create the buttons in the steploop.

The only problem is this one:

How do I know which button has been pressed?

All buttons defined in the steploop have the same functioncode.....

Please help.

Greetings Fred.

Read only

former_member182371
Active Contributor
0 Likes
752

Hi,

i´ve just used two buttons for a Z sapconsole transaction:

one for button ">" with function code "NEXT_LINE"

and the other for button "<" with function code "PREV_LINE"

Just assign the required function code for the button in question

try it.

Best regards.

Read only

former_member182371
Active Contributor
0 Likes
752

Hi,

have a look for instance to screen 0101 (Select Storage Units – Clustered) in program SAPLLMOB.

here you´ll find two buttons that can help:

Page up (Call up the next item)

Page down (Call up the previous item)

Best regards