2007 May 28 7:34 AM
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.
2007 May 28 7:40 AM
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
2007 May 28 7:41 AM
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
2007 May 28 7:42 AM
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
2007 May 28 7:45 AM
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
2007 May 28 8:11 AM
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?
2007 May 28 12:25 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |