Skip to Content

ALV-Local file Disable

Hi

How to disable option available in Local File Button in a ALV Output List . That is When is Run a Report output is diaplayed

then i click LOCAL File Button . It display following option (Unconverted ,Spredsheet,Richtext format,Html Format,In the Clipboard),Here i want to disable spread sheet ,Unconverted and others option expect Html format.

I tired checking PF Status of ALV using SALV Package But no function code for individual options

Kindly provide some idea to proceed.

with regards

Anand kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2010 at 06:43 AM

    Hi,

    You can create the Internal table IT_EXCLUDE to be passed to the ALV display function module and append the function codes of the buttons you want to exclude from the alv display.

    Just try to find the function code while debugging.

    Thanks

    Jatender

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 22, 2010 at 06:51 AM

    Hello,

    If you debug, you can check that SAP has used the FM: POPUP_TO_DECIDE_LIST to decide the user input. There is no Function Code attached to the selection.

    If you want to keep only the HTML you need to code separately for this.

    BR,

    Suhas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2010 at 07:19 AM

    Hi Anand,

    Follow these steps:

    1: Copy the standard PF status of the ALV in your report from Function Group SLVC_FULLSCREEN

    Under the GUI Status-> STANDARD_FULLSCREEN

    2: Modify the custom PF Status as per ur requirement.

    3:Call a subroutine in your FM in export parameter : I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' "subroutine name'

    and write this subroutine

    form set_pf_status using rt_extab type slis_t_extab.

    set pf-status 'ZPF_STATUS' EXCLUDING rt_extab..

    endform.

    If any problem, reply

    Thanks

    Rohit G

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2010 at 11:17 AM

    Hi,

    You can create the Internal table IT_EXCLUDE to be passed to the ALV display function module and append the function codes of the buttons you want to exclude from the alv display.

    Just try to find the function code while debugging.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2010 at 01:15 PM

    resolved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.