2013 Feb 24 3:42 PM
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name =
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
TABLES
t_outtab =
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0. ENDIF.we can't double click on 'SET_PF_STATUS', for genarateing form routine
we can't genarate the following code and we shouldn't write the perform statement for 'SET_PF_STATUS',
then how the following coloured code will genarate.
*&-----------------------------------------------------------------*
*& Form SET_PF_STATUS
*&-----------------------------------------------------------------*
* Setting custom PF-Status
*------------------------------------------------------------------*
* -->VT_ETAB Excluding table
*------------------------------------------------------------------*
FORM set_pf_status USING vt_etab TYPE slis_t_extab. SET PF-STATUS 'Zpf'.ENDFORM. "SET_PF_STATUS
2013 Feb 24 6:40 PM
2013 Feb 24 6:26 PM
Hello,
when you write i_callback_pf_status_set = 'SET_PF_STATUS'.
this means: this is the perform part. this is the actual parameter.......
when
'REUSE_ALV_LIST_DISPLAY' fm is triggered then it automatiacally triggered the actual paramater...when actual parameter triggerd then it find its processing block means form.....endform part.........
Thanks
Sabyasachi
2013 Feb 25 4:38 AM
i have seen in one website in alv program beore 'form' the following lines are there how it is possible
*&-----------------------------------------------------------------*
*& Form SET_PF_STATUS
*&-----------------------------------------------------------------*
* Setting custom PF-Status
*------------------------------------------------------------------*
* -->VT_ETAB Excluding table
*------------------------------------------------------------------*
Form SET_PF_STATUS using VT_ETAB type slis_t_extab.
----------------
---------------
----------------
--------------
endform.
2013 Feb 24 6:40 PM
2013 Feb 25 4:48 AM
*&-----------------------------------------------------------------*
*& Form SET_PF_STATUS
*&-----------------------------------------------------------------*
* Setting custom PF-Status
*------------------------------------------------------------------*
* -->VT_ETAB Excluding table
*------------------------------------------------------------------*
this is automatically genarated text how it can be done?
2013 Feb 25 4:20 AM
Hi ,
when you are setting pf-status to your report program try to copy the standard application tool bar to your zreport..in the tcode se41(menu painter).
And after call the pf-status to your zprogram..
Thanks.
2013 Feb 25 4:53 AM
are you sure the follwing text will appear at that time
*&-----------------------------------------------------------------*
*& Form SET_PF_STATUS
*&-----------------------------------------------------------------*
* Setting custom PF-Status
*------------------------------------------------------------------*
* -->VT_ETAB Excluding table
*------------------------------------------------------------------*
2013 Feb 25 4:57 AM
Hi,
Form SET_PF_STATUS using VT_ETAB type slis_t_extab.
endfrom.
after writing once you use pretty printer it will be automatically populated for u,,
Thanks
Pavan.
2013 Feb 25 4:58 AM
hi
after writing form set_pf_staus.
when you put pritty printer it will be coming ..
hope it helps,
Vinoth
2013 Feb 25 5:23 AM