We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Popup Internal Table And Select Through Radio Button

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from ksantuk on Aug 7 at 8:43 AM
Hi,

Please try this report. It is allowing to select only one record. I used the same function Module.

REPORT zs_test NO STANDARD PAGE HEADING.

TYPE-POOLS: slis.

DATA: sel TYPE slis_selfield.
DATA: it001 TYPE TABLE OF t001 WITH HEADER LINE.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it001
FROM t001.

CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
* I_TITLE =
i_selection = 'X'
* I_ZEBRA = ' '
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_CHECKBOX_FIELDNAME =
* I_LINEMARK_FIELDNAME =
* I_SCROLL_TO_SEL_LINE = 'X'
i_tabname = 'T001'
i_structure_name = 'T001'
* IT_FIELDCAT =
* IT_EXCLUDING =
* I_CALLBACK_PROGRAM =
* I_CALLBACK_USER_COMMAND =
* IS_PRIVATE =
IMPORTING
es_selfield = sel
* E_EXIT =
TABLES
t_outtab = it001
* 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.

---------------Original Message---------------
From: abinathsiva
Sent: Wednesday, August 05, 2015 7:52 AM
Subject: Popup Internal Table And Select Through Radio Button

Dear All,

My requirement is one popup window should show the Internal table data user should select only one record from that.

I tried with FM 'REUSE_ALV_POPUP_TO_SELECT'
but it has multiple selection option.

Regards,
Abinath. S.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
ksantuk  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language