Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


My requirement is from selection screen i have to selecting vbeln .

using this function module REUSE_ALV_POPUP_TO_SELECT,

I populated the checkbox and the three more fields in the popupscreen.

here you have 13 buttons will be displayed i need to close the popscreen without checking the checkbox.

i tried by using this code

if rs_selfield-tabindex is initial.

set screen 0.

leave screen.


case r_ucomm.

when '&ETA'.

read table it_vbap2 with key zcheck = 'X'.

if sy-subrc <> 0.

message i001(00) with 'Please select at least one line item'.

r_ucomm = space. "Clear UCOMM, so STD funct doesn't fire

  • else.

  • rs_selfield-exit = 'X'.


  • when '&AC1'.

when 'CANCEL'.

set screen '1000'.

leave screen.



please help me this solutions .points will be awarded.

after the selection screen i need to display the Smartforms line item.

if i close the button in the selection screen it goes into the printer attriubutes before to smartform displays.

please this is very urget help me , points will be awarded if any gives solutions.

Thanks in advance

Former Member
Not what you were looking for? View more on this topic or Ask a question