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 Help

Former Member
0 Likes
467

Hi Guru,

I am using F4 help using class.

In f4 I get the popup and vaues but when I select I am not able to select.

for that I am using this code

FIELD-SYMBOLS: <lt_f4> TYPE lvc_t_modi.

DATA: ls_f4 TYPE lvc_s_modi.

ASSIGN p_er_event_data->m_data->* TO <lt_f4>.

ls_f4-fieldname = p_e_fieldname.

ls_f4-row_id = p_row_id.

ls_f4-value = lv_matnr.

APPEND ls_f4 TO <lt_f4>.

But it is not helping.

Can u sugget

Use meaningful subject for your future questions

Edited by: Vijay Babu Dudla on Feb 12, 2009 8:01 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
426

Hi,

Use At selection-screen for value-request for <FIELD>.

PARAMETERS: Bukrs TYPE spfli-carrid,

name1 TYPE spfli-carrid.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR name1.

CALL SCREEN 100 STARTING AT 10 5

ENDING AT 50 10.

MODULE value_list OUTPUT.

SUPPRESS DIALOG.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

SET PF-STATUS space.

NEW-PAGE NO-TITLE.

select single bukrs from <Databasetable> into <ITAB>-BUkrs

where name1 = name1.

Write : / Itab-bukrs.

hide bukrs.

Endselect.

ENDMODULE.

AT LINE-SELECTION.

CHECK NOT name1 IS INITIAL.

LEAVE TO SCREEN 0.

The Above codes are sample.

Use this will work.

Regards,

Gurpreet

2 REPLIES 2
Read only

Former Member
0 Likes
427

Hi,

Use At selection-screen for value-request for <FIELD>.

PARAMETERS: Bukrs TYPE spfli-carrid,

name1 TYPE spfli-carrid.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR name1.

CALL SCREEN 100 STARTING AT 10 5

ENDING AT 50 10.

MODULE value_list OUTPUT.

SUPPRESS DIALOG.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

SET PF-STATUS space.

NEW-PAGE NO-TITLE.

select single bukrs from <Databasetable> into <ITAB>-BUkrs

where name1 = name1.

Write : / Itab-bukrs.

hide bukrs.

Endselect.

ENDMODULE.

AT LINE-SELECTION.

CHECK NOT name1 IS INITIAL.

LEAVE TO SCREEN 0.

The Above codes are sample.

Use this will work.

Regards,

Gurpreet

Read only

Former Member
0 Likes
426

Hi Sandeep,

Check whether you have any return field in this. Try to populate it and see whether it works. Or else try to use the Function module 'F4IF_INT_TABLE_VALUE_REQUEST'.

Regards,

Swapna.