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

F4 Value Field editable in Module Pool Program

former_member207480
Participant
0 Likes
2,834

Hi,

I am populating 5 fields in F4 events in module pool program. I want two of them editable.

I am using  F4IF_INT_TABLE_VALUE_REQUEST function module to get pop-up. Also, I am passing field catalog.

But, there is no option to keep fields editable.

Please suggest the same if any other solution on this.

Thanks and Regards

Amol Khochare

8 REPLIES 8
Read only

LukaszPegiel
SAP Champion
SAP Champion
0 Likes
2,250

As far as I know standard F4 functions does not allow to modify entries directly at their screen, as they allow you to select an existing entry. The user always can change the value in the field from which F4 was called (as long as there is no other logic behind).

If you really want to have F4 screen with grid which is partially editable you would need to create own screen with container for cl_gui_alv_grid, or you could use REAUSE_ALV_GRID_DISPLAY_LVC as a popup and then you could manage to do it.

Read only

Former Member
0 Likes
2,250

Dont use F4IF_INT_TABLE_VALUE_REQUEST, instead call your custom screen from POV module and display editable ALV there.

Read only

Former Member
0 Likes
2,250

Hi Amol,

1)how to make editable ?

double click on the input field.a pop up will be displayed.

make in as input as show below.

2) F4 Help you need for the field?

In the report for f4 we write logic under at selection screen on value request (EVENT).

in MPP Write logic under Process on Value Request (Module).

Thanks & Regards.

Manoj.

Read only

Former Member
0 Likes
2,250

Amol, Try copying F4IF_INT_TABLE_VALUE_REQUEST to Z FM and change the screen accordingly.

Otherwise i hope you have to create another screen (Display as grid) and use it as F4 in your module pool.

Thanks !

Read only

VenkatRamesh_V
Active Contributor
0 Likes
2,250

Hi,

Try

FM REUSE_ALV_POPUP_TO_SELECT, In Field catalog declare the field as editable.

Hope it helpful,

Regards,

Venkat.V

Read only

0 Likes
2,250

Can I use F4 value request in table control?

Regards

Amol Khochare

Read only

0 Likes
2,250

Hi Amol,

this link may be help full. Check it once .

Filtering F4 Help values in Table control, based on other field value - ABAP Development - SCN Wiki

Thanks & Regards,

Manoj.

Read only

ipravir
Active Contributor
0 Likes
2,250

Hi Amol,

What is the requirement to edit F4 help values?

For F4 help in Table control, i would say use CL_GUI_ALV_GRID class to display or update information through F4 Help. You can refer below standard program.

Program: BCALV_EDIT_08

Regards,

Praveer.