Removing default selected format

Hi all,
When I run the report FBL1N, and click on List - Export - Spreadsheet,  I get a selection box to choose the format. When I choose a particular format and check the box "Always use selected format", the system always uses the same format to save the exported file.
Now the question is:  I want the selection box to choose the format back.
If we go to table "SALV_BS_ADMIN" and delete the entry we can get back the selection box back, but I came to know that there is a programme for the same. Can any body help me with the programme.
Hope I made myself clear with what I am after.
Kevin.

Hi,
I think that note 1080608 answers this re entries in table SALV_BS_ADMIN
Summary
Symptom
You export data from an ALV version into a format for the spreadsheet:
GUI ALV: as of Release 6.40/Support Package 21 or Release 7.00/Support Package 13
ALV Fullscreen(Grid)/ALV Classic(List): menu option 'List -> Export -> Spreadsheet'
ALV Grid: menu option 'List -> Export -> Spreadsheet'
Currently, supported formats are:
Excel (in MHTML format)
Excel (in MHTML format for 2000/97)
Star Office 8 Calc / OpenOffice.org 2.0 Calc only as of Release 6.40/Support Package 21 and Release 7.00/Support Package 14
Excel (in Office 2003 XML format)
SAP internal XML format
SAP Standard (internal table)
Excel (in previous XXL format)
Web Dynpro ALV: as of Release 7.0
Pushbutton 'Export'
Currently, supported formats are:
Excel (in MHTML format)
Excel (in MHTML format for 2000/97)
You can change this only by using the report SALV_BS_ADMIN_MAINTAIN. You cannot select which format you want to use. The default value is Excel (in MHTML format).
In general, the format into which the data is to be exported can be specified at user level or at client level. It can be specified as follows:
GUI ALV:
a) At user level:
In the dialog box 'Select Spreadsheet',
set the indicator 'Always Use Selected Format' (creating an entry in the table SALV_BS_ADMIN),
or
Maintain the table SALV_BS_ADMIN using the report SALV_BS_ADMIN_MAINTAIN.
b) At client level:
Maintain the table SALV_BS_ADMIN using the report SALV_BS_ADMIN_MAINTAIN.
Web Dynpro ALV:
a) At user level:
Maintain the table SALV_BS_ADMIN using the report SALV_BS_ADMIN_MAINTAIN.
b) At client level:
Maintain the table SALV_BS_ADMIN using the report SALV_BS_ADMIN_MAINTAIN.
The entries in the table SALV_BS_ADMIN for individual users generally have priority over those at client level.
In the GUI ALV, an entry in the table SALV_BS_ADMIN means that you skip the dialog box 'Select Spreadsheet' and you directly go to the screen where you save the file. In the context menu of the list, choose 'Spreadsheet' so that the system displays the dialog box 'Select Spreadsheet' again for the export.
The entry in the table SALV_BS_ADMIN is also deleted,
which otherwise is only possible using report SALV_BS_ADMIN_MAINTAIN.
In addition, the system opens the dialog box and the indicator 'Always Use Selected Format' is not set.
In general, the identical dialog boxes can only be provided in two cases. Calling it using the menu is used for creation,
calling it nusing the context menu is used for deletion.
In the ALV list display, you can use Note 1157927 to enter the function code "&RESET_EXCEL" in the command field to reset the parameter in the ALV list. As a workaround to Note 1157927, you can either execute the application with an ALV Grid, or you can use the report SALV_BS_ADMIN_MAINTAIN to remove the entry.
In the Web Dynpro ALV, the system automatically exports the data into Excel (in MHTML format) if there is no entry in the table SALV_BS_ADMIN. You can make changes only using the report SALV_BS_ADMIN_MAINTAIN.
Comments about the report SALV_BS_ADMIN_MAINTAIN:
In general, you can maintain only one parameter (either for each user and client, cross-client or for all clients):
1. Specify whether you want to display, create, change, or delete the entries in the table.
2. Specify whether you want to make the specification for the entire client or for an individual user. Make the relevant specifications in the area 'General Data'. In this area, set the indicator 'All' if you want to maintain the parameter for all the clients.
3. As of Release 7.0, the parameter 'ALV_Webdynpro' also exists for specifying the ALV version in addition to the parameter 'ALV_GUI'. Specify for which ALV version the specification is to be valid. Make the relevant specifications in the area 'ALV Data'.
Comment: The indicator 'All' is available only in display mode and in delete mode.
4. Execute the report.
Other terms
ABAP, ALV
Export:
SALV_BS_ADMIN, SALV_BS_ADMIN_MAINTAIN
Export: XML format, settings
Thanks
Aravind

Similar Messages

  • [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Revision: 3148
    Author: [email protected]
    Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
    Log Message:
    You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
    SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
    Reviewer: Glenn
    Bugs: -
    QA: Lots of new stuff to test!
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • How can I tell that a default numeric format has been applied to a numeric limit step?

    I am working on generating custom HTML code for our test systems in order to reduce the 'footprint' of the standard HTML entries for numeric limits, multiple-numeric limit steps etc....
    For a Numeric Limit step, I can set the Numeric Format via the 'Limits' tab and select the pulldown arrow to select any format.  Does TestStand actually save this information with the step so I could possibly use this later?   I ask this because my modifications are within the 'ModifyReportEntry' Callback.   When I am modifying the code to generate new HTML within this callback, I have no idea if the developer has selected a Numeric Format for a given step OR simply left it as DEFAULT.
    To make matters more confusing, here is some more information....
    When I pause the execution in the callback I notice the following:
    Case 1:  User has selected a Numeric Format ( this example I will say 3 digits of precision ) %.3f. for a numeric limit step.
    Parameters.Result.Limits.Low = 10.000
    Parameters.Result.Limits.High = 20.000
    Parameters.Result.Numeric = 15.657
    Notice the numeric data is ALREADY formatted! Great, I can simply use this to generate my custom HTML table for the numeric limit step.
    Case 2 : User has left the numeric format to <Default> for the step.
    Parameters.Result.Limits.Low = 10
    Paramters.Result.Limits.High = 20
    Parameters.Result.Numeric = 15.65713515155
    Numeric data is NOT formatted.  I know that TestStand will apply the Default Numeric Format that is configured in the report options when it writes the report but since I am doing a custom report I am stuck.
    My question is how can I possibly tell that the data has already been formatted by TestStand in the ModifyReportEntry callback?  Is there some flag that I could check or anything?
    I do notice that the Parameters.ReportEntry string contains TestStand's default HTML code for the step and this is already properly formatted.. so as a possible workaround I could 'pick out' the data from this string but this is slow and time consuming.
    Thanks
    PH

    PH,
    You can find out if the numeric format has changed using the TestStand API. I use the following statement in my step's post-expression to find out the numeric format that TestStand uses for the step.
    Step.Limits.Low.NumericFormat
    If the string returned is an empty string, then it is the default format, otherwise, it's the one specified in the string.
    Hope this helps.
    Raj
    National Instruments
    Applications Engineer

  • "Always Use Selected Format" check box in line items report

    Hi Experts,
    I have an issue in ECC 6.0.
    From the transaction code FBL1N (Vendor Line Items) I am trying to export the report to spreadsheet by selecting the option  List> Export>Spreadsheet  then I have selected "Always Use Selected Format" check box.  But if I execute the same report again I am not getting this option "Always Use Selected Format". Please let me how can we retrieve that option. Is there any possibility to get that option again either functionally or technically. I would like to know all the possible ways to get this option again.
    Please do the needful.

    Hello,
    In one my thread Mr. Frank has replied as follows. I believe he has solved this.
    Hope this may be really helpful.
    The problem with the spreadsheet download is at one point, users have selected their default file type.
    That said, SAPGUI is working as it should. (gui710)
    Question though is how do we reset the values so they get the ?Select Spreadsheet Format? popup again.
    The following steps should be performed :
    - Call transaction SE38, enter program SALV_BS_ADMIN_MAINTAIN, and press F8.
    - Follow the parameters below :
    - Select ?DELETE? on the Actions Group
    - Select ?DETAILED SELECTION? on the General Data :
    - On Client - your number
    - User : <user name>
    -Hit EXECUTE.
    -Press ENTER on the POPUP
    - If there is an entry in the report that will need to be deleted. Also, make sure that the entry you will delete (for the user) has a value of GUI_ALV_XML_VER on field ?Parameter? .
    - Select the line and hit the DELETE icon .
    - Press ?Y? to continue delete. Press ENTER on the popup.
    - Then EXIT all the way out of the program.
    NOTE : When you run program SALV_BS_ADMIN_MAINTAIN, make sure they are out of any program that they are using for download.
    Re: "Always Use Selected Format" check box in line items report
    Regards,
    Ravi
    Edited by: Ravi Sankar Venna on May 15, 2009 2:31 PM

  • Remove ":" from select option label(description)

    Hello All
    I have a requirement to remove the select option description (which SAP displays by default from the field label maintained in the data element),
    I thought the best way to achieve that requirement is by passing "space" to the parameter  'I_DESCRIPTION' to the method IF_WD_SELECT_OPTIONS->ADD_SELECTION_FIELD, however, it turned out that SAP still displays the label from the data element inspite of passing space(blank) to the parameter 'I_DESCRIPTION', to overcome this limitation I have created a data element without maintaining any labels this approach worked expect that SAP still displays ":"(colon) as the label, is there any way to get rid of this ":" too?
    As shown above, ":" is still displayed as the label of the date select option. I'm also looking for a way to reduce the distance between the last radio button and the select option, any pointers would be appreciated.
    Thanks for looking into this.
    -Vikram.

    You could use the below methods to recursively scan all elements of the view and set the design of all labels to light.
    method adjust_view .
    * IO_VIEW Importing RefTo IF_WD_VIEW
      data lo_container type ref to cl_wd_uielement_container.
      check io_view is bound.
      lo_container ?= io_view->get_root_element( ).
      process_elements( io_container = lo_container ).
    endmethod.
    method PROCESS_ELEMENTS .
    * IO_CONTAINER Importing RefTo CL_WD_UIELEMENT_CONTAINER
      data lo_container type ref to cl_wd_uielement_container.
      data lt_elements  type        cl_wd_uielement=>tt_uielement.
      data ls_elements  type ref to cl_wd_uielement.
      data lo_lbl       type ref to cl_wd_label.
      lt_elements = io_container->get_children( ).
      loop at lt_elements into ls_elements.
        try.
            lo_container ?= ls_elements.
            process_elements( io_container = lo_container ).
          catch cx_sy_move_cast_error .
            if ls_elements->_definition_name eq 'LABEL'.
              lo_lbl ?= ls_elements.
              lo_lbl->set_design( value = '01' ).
            endif.
        endtry.
      endloop.
    endmethod.

  • Issue in Default selection in Dashboard prompt

    Dear All,
    I have a dashboard prompt with columns year and month.month column i kept as slider in that default selection i kept 45 days backward from current date,since my requirement is the end user have the option to selection the day backward instead of 45 they need to selection either 45 or 30 15 15 based on that they have to run the report.can any help in this regards.
    appreaciate the immediate response !!!!
    Regards
    GN

    Hi GN,
    Create an variable prompt ( Eg: v_days ) and add custom values as 15,30,45,100 into it and keep the default as 45.
    Use v_days variable in another column prompt (Eg: Period) with the format MON-YYYY.
    Now when user selects no of days , period will get the corresponding change.
    Thanks,
    Haree

  • How can I change the default file format in PSE 10?

    I just upgraded from PSE 6 to PSE 10. In the former, the default file format when saving an edited image in the editor was psd. In 10, it is jpg. I prefer to save in psd, which means I have to select psd from the format drop-down menu for each save. I've looked for a way to change the default but can't find one. Is there a way?

    Ah, I see that you're right -- editing that doesn't require adding a layer defaults to saving as the original image's file type.  Adding a layer causes the default "Save As" file type to switch to PSD.
    I don't know of any way to change that.
    Ken

  • Date Format in Zreport similar to the default date format set using su01.

    Dear All,
                I have a requirement as to change the date format in Zreport as the one which is set in default date format for the user in Su01 tcode.
    Ex.. If the user has set the default date format in SU01 as ' YYYY-MM-DD' , in report also, date should appear as '2009-12-24'.
    Is there any code  or  Function Module to change the date format in report as in the default Date format?
    Can u help me in this?
    Bye.....
    Cheers
    Christina.

    Try the following code.
    select the format of current user from usr01 table.
        SELECT SINGLE datfm FROM usr01
        INTO w_datfm
        WHERE bname = sy-uname.
    Format based upon the current user settings. put this total code inside one form for reusability.
        IF w_datfm = '1'.
          CONCATENATE w_date6(2) c_dot w_date4(2) c_dot w_date+0(4) INTO outtab-value.
          CONDENSE outtab-value NO-GAPS.
          CONCATENATE w_rundate6(4) w_rundate3(2) w_rundate+0(2) INTO w_date.
          CONDENSE w_date NO-GAPS.
        ELSEIF w_datfm = '2'.
          CONCATENATE w_date4(2) '/' w_date6(2) '/' w_date+0(4) INTO outtab-value.
          CONDENSE outtab-value NO-GAPS.
          CONCATENATE w_rundate6(4) w_rundate0(2) w_rundate+3(2) INTO w_date.
          CONDENSE w_date.
        ELSEIF w_datfm = '3'.
          CONCATENATE w_date4(2) '-' w_date6(2) '-' w_date+0(4) INTO outtab-value.
          CONDENSE outtab-value NO-GAPS.
          CONCATENATE w_rundate6(4) w_rundate0(2) w_rundate+3(2) INTO w_date.
          CONDENSE w_date.
        ELSEIF w_datfm = '4'.
          CONCATENATE w_date0(4) '-' w_date4(2) '-' w_date+6(2) INTO outtab-value.
          CONDENSE outtab-value NO-GAPS.
          CONCATENATE w_rundate0(4) w_rundate5(2) w_rundate+8(2) INTO w_date.
          CONDENSE w_date NO-GAPS.
        ELSEIF w_datfm = '5'.
          CONCATENATE w_date0(4) '/' w_date4(2) '/' w_date+6(2) INTO outtab-value.
          CONDENSE outtab-value NO-GAPS.
          CONCATENATE w_rundate0(4) w_rundate5(2) w_rundate+8(2) INTO w_date.
          CONDENSE w_date NO-GAPS.
        ENDIF.

  • Regarding TO_DATE function and Default Date Format DD-MON-YY

    I am using oracle 10.2 version. As far as my knowledge default date format is 'DD-MON-YY'. I want to know that why first query is not giving result.
    SQL> select sysdate from dual
    2 where sysdate = to_date('06-JUL-11','DD-MON-YY');
    no rows selected
    SQL> select sysdate from dual
    2 where to_date(to_char(sysdate),'DD-MON-YY') = to_date('06-JUL-11','DD-MON-YY');
    SYSDATE
    06-JUL-11
    Thanks,
    Rohit

    A date in Oracle always contains hours, minutes and seconds. These values can optionally all evaluate to zeroes, at midnight.
    TO_DATE('06-JUL-11','DD-MON-YY') means midnight of the sixth of july 2011.
    So
    sysdate = to_date('06-JUL-11','DD-MON-YY') only at midnight of the sixth of july 2011...
    While during the day, after midnight,
    trunc(sysdate) = to_date('06-JUL-11','DD-MON-YY')and
    sysdate > to_date('06-JUL-11','DD-MON-YY')Max

  • How to set default export format in CrystalReports Viewer

    When Viewing Crystal Reports in InfoView, the top left button can choose export file format, how to set it default to Excel?

    Hi Jennie Xiang,
    You can set the default export format in Crystal designer before publishing in infoview.
    Open the report in Crystal designer and go to file>export>export options--> select the export option to xls and check the options that you want and click on OK.
    Now try exporting the report by clicking on export button then you can see the first option as xls with all format options that you have selected before by default.
    By saving this report at server (infoview) you can get the same options while exporting from viewer.
    Regards,
    Ragahvendra

  • .rpt  default setting  Format not working?

    I login to the administrator portal and right cilck on one of the report *.rpt and right click on it and properties, I see the default setting and format. So under format I choose format option, I choose Microsoft Excel 2003. and saved it. I then login as the user and ran the report, but by default it doesn't keep the setting, when I do a export I am prompt as my default .rpt format. I need it to be excel format. Even though I choose export to excel, but the setting are default, I need the setting i set . Anyone what I'm doing wrong?
    Here is a screen shot of the format setting I need. When I login as the user and run the report, I am given an option to export to excel 2003, but I don't get the other print option. like Detail, and show gridlines?
    Anyone know why? please advice..
    http://img543.imageshack.us/i/56643353.jpg/
    Edited by: songv888 on Oct 5, 2010 11:29 PM

    Merlin128 wrote:
    NLS_DATE_FORMAT is DD-MON-RR
    Where is it set to that? NLS_DATE_FORMAT can be set in various places .... OS environment, oracle session level, db initialization ....
    but when I select sysdate, or do an insert.. thats not the format..
    select sysdate from dual; shows 4/27/2010..
    inserts dont work with 27-APR-10 they only work with 4/27/10 or 04/27/10..
    I dont get it..

  • Default Date format

    The book "OCA Oracle Database 11g SQL Fundamentals I Exam Guide (Exam 1Z0-051)" says
    select employee_id, start_date from job_history;in HR schema will yield
    101     21/SEP/89 00:00:00
    101     28/OCT/93 00:00:00
    102     13/JAN/93 00:00:00
    114     24/MAR/98 00:00:00
    122     01/JAN/99 00:00:00
    176     24/MAR/98 00:00:00
    176     01/JAN/99 00:00:00
    200     17/SEP/87 00:00:00
    200     01/JUL/94 00:00:00
    201     17/FEB/96 00:00:00but I get
    101     21-SEP-89
    101     28-OCT-93
    102     13-JAN-93
    114     24-MAR-98
    122     01-JAN-99
    176     24-MAR-98
    176     01-JAN-99
    200     17-SEP-87
    200     01-JUL-94
    201     17-FEB-96Does it depend on any other factors or parameters or flags? Please clarify. I am using Oracle 11g and the exam guide is also for 11g.

    Hi It depends upon the NLS_DATE_FORMAT parameter value
    it may be different
    for me its
    SQL> SELECT value FROM v$nls_parameters WHERE parameter ='NLS_DATE_FORMAT';
    VALUE
    DD-MON-RRDD-MON-YYYY is the default date format given by oralce if you want to change it use
    SQL> alter session set NLS_DATE_FORMAT='YOUR FORMAT'Edited by: Qwerty on Aug 17, 2009 12:41 PM

  • Default saving format

    Hi guys!
    I have searched the forum, but with no luck for finding an answer to my question. I can´t save my work in psd format. Yesterday I needed something
    to save in pdf and by mistake I clicked on the window that appears, not show up again and now is pdf format my default saving format. Is there anything I can do to switch back to psd? or is the only option to re-install the software
    I thank you in advance for any help I can get.

    Edit --> Preferences --> General --> Reset all Warnings and Dialogs. Failing that, a simple reset/ removal of the prefs as per this forum's FAQ should suffice.
    Mylenium

  • How to set default dateTime format ?

    Hi..All
    when I query data in date field. I need it show on 'yyyy-mm-dd hh24:mi:ss' format, How I should do?
    it not means using
    SQL>select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') from dual;
    But I want to using only:
    SQL>select sysdate from dual;
    and it show me in format 'yyyy-mm-dd hh24:mi:ss' ,and I nedd this one to default format for all user;
    Thanks
    Chutchai

    Here is quote from on-line oracle 9i documentation:
    The default date format for an Oracle date literal is specified by the initialization parameter NLS_DATE_FORMAT.
    I hope it helps you.

  • Default selection on programmatically created UIPickerView

    I'm learning Obj-C for iOS 4 apps. This's what I've done so far...
    Created a TextField. At 'textFieldShouldBeginEditing' event, I'm creating a dynamic PickerView with my entries, and returning NO to skip the default keyboard.
    I've also made my UIViewController as <UIPickerViewDelegate, UIPickerViewDataSource>.
    Till here, I'm good. The pickerview is showing up and on selecting a record, I'm removing it after setting the textfield with the selected key.
    The problem now is as follows:
    During initial load, my textfield has some text, and I'd like to set the pickerview created to the default selection of that same text. I know I can do a selectRow call, but what I'm not able to figure out is when?
    While the pickerview is being created, it doesn't have any values. The values are filled in later in the DataSource (titleForRow) method, one by one. Now when (at what event/point) should I be able to set the selected row of the dynamic pickerview?

    > See last sentence of: http://help.sap.com/saphelp_nwpi71/helpdata/en/e3/960a1aeb0711d194d100a0c94260a5/content.htm
    If it cannot find the relevant text symbols in that pool, it displays the default text specified in the program source code
    Hi.,
    This means, If is is not able to find text  symbol it will  display the default specified in program source code.,
    So., as for DE the text symbol is not there so it displays the parameter name in program source code.,
    maintain it in DE through translation as described above in my earlier reply.,
    hope you got now..
    Thanks & Regards,
    Kiran

Maybe you are looking for