05-15-2008 2:38 PM
In a table control ,after entering some fields and pressing enter a row should appear as a pop up in a new screen for populating the remaining fields .
This should be a custom screen with an Ok and Cancel button and on screen load an ALV list with the contents of the table, jst a single row needed.
PLZZZZZZ HELP ME DOING THIS.........
05-15-2008 2:42 PM
There are 2 examples provide with SAP
BALV_POPUP_TO_SELECT
BALV_POPUP_TO_SELECT_2
One of these should provide you a solution.
If not, then using ALV OO and a Container on your custom screen, you can create whatever you specifically need.
05-15-2008 2:50 PM
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY_OK'
EXPORTING
ENDPOS_COL = 50
ENDPOS_ROW = 20
STARTPOS_COL = 20
STARTPOS_ROW = 10
TITLETEXT = TEXT-019
TABLES
VALUETAB = I_LAST_EXTRCT_DATES
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
05-15-2008 2:57 PM
Hi,
You can do this by using this Function Module In ALV.
Here You need to It_popup and it_fieldcat according to your requirements.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = text-003
i_allow_no_selection = 'X'
i_scroll_to_sel_line = 'X'
i_tabname = 'IT_POPUP'
it_fieldcat = it_fieldcat
i_callback_program = sy-repid
TABLES
t_outtab = it_popup
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards
Sandeep Reddy
05-16-2008 12:10 PM
I dont want to select it from tabale... Iam populating it by some other way.. just popup have to display and ask whether to populate or not.......after pressing enter...