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

A small doubt on interactive list navigation

Former Member
0 Likes
1,274

Is it possible to code some kind of input box in the secondary lists so that the user can directly navigate to a particular secondary list depending on his choice? Am away from office & couldn't answer back when one of my friends asked me that. Please advise me over any possibilities.

10 REPLIES 10
Read only

Former Member
0 Likes
1,242

Hi Uday,

It's not possible to create the input box in the secondary list. U can create an application in the tool bar and from there u can select the choice.

Regards

Kannaiah

Read only

0 Likes
1,242

Thanks for replying. Is it possible to code in such a way that some window pops up on my screen when I press on a particular button in the toolbar prompting me to enter a list index number? And then if the lsind is ok then that particular list should be displayed

Read only

0 Likes
1,242

Hi,

you can create a sub-screen, and put a text box for list index.

and when the button is clicked use

call sub-screan ...

it should solve ur problem.

Regards,

Hardik

Read only

Former Member
0 Likes
1,242

Uday,

We can do it .See the below concept

INPUT.

This key word will only be supported for a limited period (for the sake of compatibility with R/2). Instead, please use FORMAT INPUT (see FORMAT ) or the addition ... INPUT of the WRITE statement.

Ex :

REPORT demo_list_format_input.

WRITE 'Please fill in your name before printing:'.

WRITE / ' Enter name here ' INPUT ON.

ULINE.

WRITE 'You can overwrite the following line:'.

FORMAT INPUT ON INTENSIFIED OFF.

ULINE.

FORMAT INPUT OFF INTENSIFIED ON.

This will work for your requirement.

Don't forget to give marks

Read only

0 Likes
1,242

Hello Murali,

Thank you for your reply. I think that the "INPUT ON" does make the o/p look like a parameter statement. Right? So if I code 1 WRITE statement with INPUT ON then wouldnt it show me just that statement like in a different screen? (selection screen) Coz as how I said I wanted there to be some provision on all the secondary pages where the user could select a particular number and directly go to that particular list. I mean suppose am in 3rd secondary list & if the user selects an option there he should be able to directly traverse to any list number. Can you please provide me any code for the method you suggested? All helpful answers would be duly rewarded.

Read only

Former Member
0 Likes
1,242

You can see it from the following Ex:

Parameter: P_date like sy-datum.

Data: lv_add.

End-of-selection.

Write: p_date,

lv_add input.

At line-selection.

read line 3 field value lv_add into lv_add.

read line 3 field value p_date into p_date.

p_date = p_date + lv_add.

Write: p_date.

Do reward points.

Read only

Former Member
0 Likes
1,242

Hi Uday,

Use the function module:

POPUP_WITH_2_BUTTONS_TO_CHOOSE

Regards

Kannaiah

Read only

0 Likes
1,242

Hi Kannaiah, does the POPUP_WITH_2_BUTTONS_TO_CHOOSE accept user input? I think that it is used to display a message with continue & cancel options. Right? Sorry if am wrong, its just that am away from my PC so cant see the help for the FM

Read only

0 Likes
1,242

Hi Uday,

The function module generates a popup window, in which 2 buttons will be there for selection. U can place the list numbers in them and can generate the output.

Regards

Kannaiah

Read only

0 Likes
1,242

you can use

POPUP_TO_GET_ONE_VALUE

POPUP_TO_GET_VALUE

regards

shiba dutta