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

Managing Push Buttons in Screen Painter (Module Pool Program)

Former Member
0 Likes
989

Good Afternoon,

I've created a Push Button on a Screen.

On the Screen Painter i've defined the properties for the button as:

Name: COPY_BUTTON

Text: 'Copy_Data'

Icon Name: ICON_SYSTEM_COPY

Funtion Code: '&COPY'

The button appears in the screen when i run the program, but it looks like if it was inactive, and when i push it nothing happens...

How do i manage buttons on Module Pools, and how can i activate a function when pushing it?

Best Regards,

Pedro Gaspar

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
474

It should be coming thru as active. Are you doing any thing special in your PBO? Like excluding something from your GUI Status or maybe doing a LOOP at SCREEN, and changing some screen attributes?

Regards,

RIch Heilman

Read only

Former Member
0 Likes
474

Hi,

Define the function code as COPY and activate the screen. write the code in the PAI of the module pool program when sy-ucomm = 'COPY'.