2006 Jul 21 12:57 PM
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.
2006 Jul 21 1:16 PM
Can you try the flush method with will remove everything and then use the create.
call method cl_gui_cfw=>flush.
Regds
Manohar
2006 Jul 21 1:58 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |