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

ALV report

Former Member
0 Likes
835

Hi,

I have created an ALV report.

Now I want there should be a small pop-up window with customer information when a user double clicks on a particular field.

How I will create the screen in se51 and how to link with the current program?

Pls help me out.

Thanks.

Hi,

I have created an ALV report.

Now I want there should be a small pop-up window with customer information when a user double clicks on a particular field.

How I will create the screen in se51 and how to link with the current program?

Pls help me out.

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
819

Hi,

U could create a normal screen in the SE51 and in the program use call screen starting at and ending at statement to do the pop-up.

Hope this helps.

Bob

Read only

Former Member
0 Likes
819

refer to prgm BCALV_GRID_05 in this when u click on details btn while selecting one line frm list other screen is displayed with it's details.

regds

Read only

Former Member
0 Likes
819

Hi Mahendra,

while creating screen through SE51 it would ask you for the progam to link screen with.

Hope so you find this answer useful.

Regards,

Rajashree

Read only

Former Member
0 Likes
819

hi,

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' Or grid display

EXPORTING

I_CALLBACK_PROGRAM = sy-REPID

:

I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND' " FORM NAME

:

:

IT_FIELDCAT = GT_FIELDCAT "your field catalogue

.....................................

TABLES

T_OUTTAB = ITAB

...........................

here comes your double click interactive list

FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM

RS_SELFIELD TYPE SLIS_SELFIELD.

CASE R_UCOMM.

When '&IC1'.

if rs_selfield-fieldname = '<your field name>'

:

Write your code here..

you can use "REUSE_ALV_POPUP_TO_SELECT" and pass the table filled with your customer details..

to show the details in a small window new screen..

:

endif.

endcase.

ENDFORM.

rewards if useful

regards,

nazeer

Read only

0 Likes
819

Thanks for the answer.

Can u tell a little about REUSE_ALV_POPUP_TO_SELECT function.

Which fields in this function are to be filled with what data?

Read only

Former Member
0 Likes
819

Hi,

Try with the following program:

REPORT ZPOPUPCONFIRM.

DATA: X_ANS(1) TYPE C.

call function 'POPUP_TO_CONFIRM_STEP'

exporting

  • DEFAULTOPTION = 'Y'

textline1 = 'Do you want to continue'

  • TEXTLINE2 = ' '

titel = 'Please Confirm'

  • START_COLUMN = 25

  • START_ROW = 6

  • CANCEL_DISPLAY = 'X'

IMPORTING

ANSWER = X_ANS.

WRITE: / X_ANS.

Regards,

Bhaskar