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 in Dialog Programming for Calendar

Former Member
0 Likes
540

Hi all,

My Zdialog program has 3 screens. In the first screen there is a F4 help for date. In the first instance when u try its working fine. In the 3 screen there is a custom container and ALV grid and table control embedded in it. When u go to this screen and if u select r dont select any values and if u come back to the initial screen and click F4 for date it is showing the 3rd Screen ALV data but the screen size is that of normal F4 Calendar Size not of the 3 rd screen size. When u do F4 it goes only into Std Programs but still returning earlier data. I have done all clear okcode and sy-ucomm etc. Have u faced this issue if can u plz help me out.

Hi all,

My Zdialog program has 3 screens. In the first screen there is a F4 help for date. In the first instance when u try its working fine. In the 3 screen there is a custom container and ALV grid and table control embedded in it. When u go to this screen and if u select r dont select any values and if u come back to the initial screen and click F4 for date it is showing the 3rd Screen ALV data but the screen size is that of normal F4 Calendar Size not of the 3 rd screen size. When u do F4 it goes only into Std Programs but still returning earlier data. I have done all clear okcode and sy-ucomm etc. Have u faced this issue if can u plz help me out.

2 REPLIES 2
Read only

Manohar2u
Active Contributor
0 Likes
479

Can you try the flush method with will remove everything and then use the create.

call method cl_gui_cfw=>flush.

Regds

Manohar

Read only

Former Member
0 Likes
479

Hai Madhu

Check the following Code

DATA : C_P_EX2 LIKE DISEXTRACT-EXNAME VALUE(C_P_EXT2).

DATA : CS_EXTRACT2 LIKE DISEXTRACT

DATA: LS_EXTRACT_SAV LIKE DISEXTRACT.

DATA: L_EXIT TYPE C.

CS_EXTRACT2-EXNAME = C_P_EX2.

CALL FUNCTION 'REUSE_ALV_EXTRACT_F4'

EXPORTING

IS_EXTRACT = CS_EXTRACT2

IMPORTING

ES_EXTRACT = LS_EXTRACT_SAV

E_EXIT = L_EXIT

EXCEPTIONS

NOT_FOUND = 2

OTHERS = 2.

Regards

Sreeni