Application Development 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: 

ALV POP UP.

Former Member
0 Kudos

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.........

4 REPLIES 4

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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...