cancel
Showing results for 
Search instead for 
Did you mean: 

Function ALV

FredericGirod
Active Contributor
0 Kudos

Hello,

I need a function that call a screen to enter a set of data.

Function like the REUSE_ALV_POPUP_TO_SELECT but where I could set data like SM30/31.

Anyone know something like that ?

(I'm running on 4.6C)

Regards

Frédéric

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try out the function module, POPUP_TO_GET_VALUE.

-


Input paramerter----

Field Name

Table Name

Title for the pop-up

Default value

-


For example...

Import parameters-----Value

FIELDNAME----


TCODE

TABNAME----


TSTC

TITEL----


GET TRANSACTION CODE

VALUEIN----


SM31

Try it out!!

Anand

FredericGirod
Active Contributor
0 Kudos

Hello

I don't understand your example, that just ask me SM31 ..

Thanks for reply

Frédéric

Former Member
0 Kudos

Hello ,

There's a class CL_RS_ALV_GRID_POPUP which seems to be exactly what you need. But unfortunately, it is available only in 4.7. Since you say that you are on 4.6C, one thing that you can probably consider is to copy this class into your system either globally (in SE24) or locally (in your program).

However, I have a feeling that you would say that it is not a viable alternative. If that's the case, then I think you should start creating your own Function Module / a subroutine (which can later be called from external programs, if need be), instead of spending any more time on trying to find out if there's already something available. I'm sure you would not find that too difficult, if your requirement (for a pop-up) is so rigid.

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi,

I was just examining the FM <b>REUSE_ALV_GRID_DISPLAY</b> and found that there are the following parameters which you must look at:

 I_SCREEN_START_COLUMN
 I_SCREEN_START_LINE
 I_SCREEN_END_COLUMN
 I_SCREEN_END_LINE

The Documentation says that these are to be used if we require the grid to be displayed in a dialog box (read POP-UP !!).

Hope this helps,

Regards,

Anand Mandalika.

FredericGirod
Active Contributor
0 Kudos

Hi Poomanand,

I don't have test, but I think you have good.

Thanks

Frédéric

Thanks for the reply of everyone !

Answers (2)

Answers (2)

Lakshmant1
Active Contributor
0 Kudos

Hi Frederic,

Try SHOW_SELECTION_LIST_MULTI function module.

Thanks

Lakshman

Former Member
0 Kudos

Hello ,

Could you please be a little more elaborate about your requirement? Of course you can have a screen with an editable ALV.

Are you looking for some kind of a pop-up FM which will just let you enter the values directly and get you them in an internal table in the program? If that's the case, I don't think there's one available yet. You might have to program it yourself.

Regards,

Anand Mandalika.

FredericGirod
Active Contributor
0 Kudos

Hello Anand,

Thanks for your reply

Yes I want a simple FM,

I know I have already play with the CL_GUI_ALV_GRID and input data, but I want something more simple.

Regards

Frédéric

Former Member
0 Kudos

How about FM POPUP_GET_VALUES or some of the other FMs in function group SPO4?

Let us know if this meets your needs.

FredericGirod
Active Contributor
0 Kudos

Hello,

that's an interesting function group, but, I need to ask for a sheet, not only one value by row.

Thanks for you reply

Frédéric