Application Development 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: 

PUSHBUTTON ON CONTAINER

Former Member
0 Kudos

Hello,

How to add a PUSHBUTTON and an INPUT/OUTPUT field on the container(oops).

Plz explain the sequential process and the classes to be used..

thanx..

3 REPLIES 3

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

You can add push button in application toolbar and use the statement set pf-status 'zstatus'. in PBO of the screen.

anversha_s
Active Contributor
0 Kudos

hi,

u can do like this.

*------------------------------------------------------------------*
*       FORM SET_PF_STATUS                                         *
*------------------------------------------------------------------*
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
  SET PF-STATUS 'ZNEWSTATUS'. 
                  "Copy of 'STANDARD' pf_status from fgroup SALV
ENDFORM.

***********copy pf status***********

1)goto se80

2)open function group SALV

3) In that STANDARD gui-status will be there.

4)right click on that and ther is option of copy

5)just copy it and save it with ur name 'status_name'.

6) now in ur program SET PF-STATUS '(status_name)'.

7)don't forget to active it again

Regards

Anver

Former Member
0 Kudos

1.You can create one Pushbutton.and give the name of the function code(RETURN) of that pushbutton.

2.Then module PAI write a code.

For ex.

module pai_0101 input.

case ok_code.

when 'RETURN'.

leave to screen 0.

endcase.

clear ok_code.

endmodule.