2008 Nov 07 4:32 AM
hi all ,
i'm doing alv report in that i need to display pushbutton in application toolbars ... i did set pf status .
and i evn given AT USER-COMMAND
case sy-ucomm .
but now that push button is not displaying the apllication toolbars Pls can u help me out in this issue . thanks
2008 Nov 07 4:41 AM
Hi,
Open the PF Status editor screen(double click on the PF status name).Place the cursor on the required function code and click the push button 'Function Code' which is on the application toolbar of the PF Status Editor screen.
Regards,
Aravind JM.
Hi,
Open the PF Status editor screen(double click on the PF status name).Place the cursor on the required function code and click the push button 'Function Code' which is on the application toolbar of the PF Status Editor screen.
Regards,
Aravind JM.
2008 Nov 07 4:35 AM
2008 Nov 07 4:37 AM
ya i activated the pf-status even then push button is not displaying application toolbar. is there any decleration has to do . pls let me know . thanks
2008 Nov 07 4:37 AM
2008 Nov 07 4:40 AM
hi santhosh
the link which u sent tells me how to create export and import in internal table .. could u please give me relavant link .thanks
2008 Nov 07 4:41 AM
Hi,
Open the PF Status editor screen(double click on the PF status name).Place the cursor on the required function code and click the push button 'Function Code' which is on the application toolbar of the PF Status Editor screen.
Regards,
Aravind JM.
2008 Nov 07 4:48 AM
2008 Nov 07 4:53 AM
Hi,
Hope you have maintained the case of the letters....I have just created one and passed values like this...
*&---------------------------------------------------------------------*
*& Form SET_PF_STAT_F14
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM set_standard USING rt_extab TYPE slis_t_extab.
" SET_STANDARD should be passed in capital in i_callback_pf_status_set
SET PF-STATUS 'TEST'.
ENDFORM. " set_pf_status
*&---------------------------------------------------------------------*
*& Form user_command
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->RUCOMM text
*----------------------------------------------------------------------*
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
" USER_COMMAND should be passed as capital...
* break-point.
CASE r_ucomm.
WHEN 'GG'. " function code for the pushbutton
BREAK-POINT.
ENDCASE.
ENDFORM. " user_command
and in alv have passed like this...
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_STANDARD'
i_callback_user_command = 'USER_COMMAND'
Regards
Debarshi
2008 Nov 07 5:07 AM
hi debrashi ,
ya same way i did but what happening is no toolbars is displaying in application toolbar . please let me know why it was not coming .. thanks
2008 Nov 07 5:37 AM
Hi,
Have you generated standard toolbars ?
i.e. 'BACK' , 'SAVE' , 'CANCEL,....???
There should be no problems in generating the toolbars....go through it very carefully and give your code here for pf-status and user command...
Also you can copy standard pf status via se41 and use that ....
Regards
Debarshi
2008 Nov 07 7:01 AM
2008 Nov 07 5:17 AM
Look into the program "SALV_DEMO_TABLE_FUNCTIONS" which could be helpful to solve ur problem.
Regards
Sam
2008 Nov 07 6:04 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |