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

Multiple selection tab on Custom F4 of select option in report

Former Member
0 Kudos
1,917

Hi folks ,

how to get MULTIPLE SELECTION tab on extension of my selec option of report screen.

If i pass Multiple_choice = 'X' in fm 'F4IF_INT_TABLE_VALUE_REQUEST' check boxes are appearing of each my f4 values when i press f4, i dnt want like this i want it my extension as Multiple selection as how it appears for standard 4 helps.

<removed by moderator>

Thanks,

Shwetha

Edited by: Thomas Zloch on Jan 7, 2012 10:32 PM

12 REPLIES 12
Read only

Former Member
0 Kudos
1,433

create a collective search help and attach it to your parameter.

Read only

0 Kudos
1,433

Hi Soumya,

Thanks for your reply..

But i cannot create search help since my F4 is based on other selecion screen element (above input).

Please suggest me.

Thanks,

Shwetha

Read only

0 Kudos
1,433

swetha,

you can. define a custom SET/GET parameter. read the dynpro value and in search help default you can use that parameter.

you can also use import export.

if nothing works out for you then go for a new screen...

Read only

0 Kudos
1,433

Hi soumya,

i may select multiple values based on that again need to fetch f4 cna you suggest me other way..

can you explain me what do you mean by " go for new screen".

Thanks,

Shwetha

Read only

0 Kudos
1,433

create a modal dialog screen with tabstrips and table control. and call that screen in the at selection-screen on value request for event.

Read only

Clemenss
Active Contributor
0 Kudos
1,433

Hi swetha rishi,

may be I do not fully understand, also regarding the other answers.

- Can you give an example for "Multiple selection as how it appears for standard 4 helps"? The standard F4 helps I know never allow multiple selection, result is always exactly one value.

- You said you gave "Multiple_choice = 'X' in fm 'F4IF_INT_TABLE_VALUE_REQUEST' ". That looks like a self-programmed F4. The values marked are returned in internal table an must be appended as new lines to your select-options table with SIGN ='I' and OPTION = 'EQ'. Then they will appear in the multiple selection tab of your select-option.

- A collective search help is a start screen allowing you to choose of a couple of simple search helps- finally using one simple search help. Maybe not what you are talking about.

- I don't know what a "dialog screen with tabstrips and table control" may be good for.

Please explain in other words what you try to get.

Regards

Clemens

Read only

Former Member
0 Kudos
1,433

Clemens,

let me try to explain what i understood..

when she clicks F4 drop down button.

1. she needs search screens to be tabbed(as in collective search help)

2. she needs result to be coming with option of multiple selection (as in custom call to F4 FM with multi select)

3. she needs to pass values from other selection screen parameters to be passed to this F4 help.

i dont see any standard way of doing that... do you have anything in mind?

Read only

Former Member
0 Kudos
1,433

Hi Clemen,

Any selectin screens element(select-option) if we click on extension we will get a pop up window with SINGLE VALUES,SELECT RANGES,EXCLUDE SINGLE VALUES, EXCLUDE RANGES bottome of this window we are having some icons along with it we have MULTIPLE SELECTION Tab.if we click on multiple selection tab we will be getting our all values with checkboxes each front of it so that we can select multiple vlaues at a time for the particular f4 .

i want this multiple selection tab for my custome F4, iam not getting this MULTIPLE SELECTION tab.

for example you can check for select-option of account group(T077D-KTOKD).

in F4 function module if iam using paramter MULTIPLE_CHOICE = 'X', iam not getting the extension pop window with singlevalues, select ranges etc ., instead of it iam getting all my f4 fields with the checkboxes infront of each of it.

please throw some light it is very urgent.

please tell me iam using following parameters in function module please let me know if i need to use any other to get it..

with the following if iam selecting multiple also i am able to see only last value in selection(inpopup window)

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'ATWRT'

dynpprog = sy-cprog

dynpnr = sy-dynnr

dynprofield = 'S_CHVAL1-HIGH'

display = c_sp

value_org = c_s

multiple_choice = 'X'

callback_program = sy-repid

TABLES

value_tab = t_finals

return_tab = t_return4

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

IF sy-subrc = 0.

READ TABLE t_return4." WITH KEY retfield = 'S_CHVAL1'.

IF sy-subrc EQ 0.

s_chval1-high = t_return4-fieldval.

ENDIF.

ENDIF.

Thanks,

Shwetha

Edited by: swetha rishi on Jan 8, 2012 11:15 AM

Read only

Former Member
0 Kudos
1,433

Hi Folks,

any help on this

Thanks,

shwetha

Read only

Former Member
0 Kudos
1,433

have you tried creating a new screen for this?

Read only

Former Member
0 Kudos
1,433

Hi Soumya,

what do you mean by new screen can you tell me in breif..

I am doing this in selection screen of a report program.

Thanks,

Shwetha

Read only

Former Member
0 Kudos
1,433

did you go through my previous post!!

what i am asking you to do is in the at selection-screen for value request event.

do the call screen '123' with position coordinates..

here 123 is a modal dialog screen.. in this you create the required type of screen you require