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

Selection screen pushbutton

Former Member
0 Likes
291

I have designed one push button on the selection screen below to input fields. If I press that button then I need to do some bdc programs after that I need to display log in the output screen. For this what I did is I have created perform statement in at selection screen event. And I am calling all the transactions inside of that form. But I am not able to display log in the output screen as it is under at selection screen event. So how to provide the log in the output screen after pressing push button.

What I did is under start of selection I am looping messtab internal tables. The log displaying after I press execute button but it is not displaying after I press push button.

Please help me what logic I have to build for this.

Thanks a lot in advance.

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
271

Try something like this.



REPORT  RICH_0001.

tables: sscrfields.

selection-screen PUSHBUTTON  1(20) pb_test user-command PB1.

at selection-screen.

  if sy-ucomm = 'PB1'.
     sscrfields-ucomm = 'ONLI'.
  endif.

start-of-selection.


 write:/ 'StartOfSelection has been executed'.

Regards,

Rich Heilman