Setting a default for the Table Headings

Hi all,
the users are asking me if it's possible to set in the Table View of Answer the Display Column & Table Headings = As Table.Column as default. This option can be found in the Table View Properties and you can set the value just for the current request...
Is there a way to set a default value for this option for all the requests?
Thanks in advance.
Nazza

it's stupid, but it works in 9 & 10. probably v8 also, but I can't remember that far back. and it might not work in future releases.
add this to the top of your script:
set termout off echo off feed off pages 0 timing off verify off
rem Determine if parameter 1 is defined. If not, default to "XXX"
spool temp1.sql
select 'select decode(instr(''-' from dual;
def 1
select ''',''symbol 1 is UNDEFINED''||chr(10)),0,''rem fine'',''define 1 = XXX'') from dual;' from dual;
spool off
spool temp2.sql
@temp1
spool off
@temp2
set termout on
put your code here
and of course, it leaves two files (temp1 and temp2) in the current directory. so, you can add o/s dependent delete statements via a host command. or just leave them. you're call.
Message was edited by:
shoblock
forgot the "set" commands at the top
AND...
set termout back on at the end (along with echo or whatever else you want).
and I changed from defaulting &1 to a value of "1", to a value of "XXX". should make it easier to follow (I hope).
and finally, thanks to Ron who helped me figure this one out (many years ago)

Similar Messages

  • Setting a particular value as default for the Grouping Range at BP Creation

    Hi,
    I am trying to set certain default for the Grouping Range when I create a new Bp using Tcode BP. For this i have changed the PBC fucntion for the view BUP020 ( TCode : BUS3). The Z function module attached is Z_FBSBP_SET_DEFAULT_GROUPING
    FUNCTION z_fbsbp_set_default_grouping.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(IV_ACTION) LIKE  BUS000FLDS-CHAR1
    *"     REFERENCE(IV_SICHT) TYPE  BU_SICHT
      DATA: lv_bu_group TYPE bu_group VALUE 'GR01'.
    Set the Grouping Range with a default value for all roles, each time
    when transaction BP is called
      SET PARAMETER ID 'BPP' FIELD lv_bu_group.
    Call the standard PBC fucntion module for BP Creation
      CALL FUNCTION 'BUP_BUPA_PBC_MISC'
        EXPORTING
          i_action = iv_action
          i_sicht  = iv_sicht.
    ENDFUNCTION.
    As per my notion this fucntion module should get triggered once I open the transaction BP and try to create a new BP, but such a thing is not happening.
    Can someone help me in this?
    Regards
    Priyanka

    Yes we did,
    But its not a very good solution though it serves the purpose.
    See what I did was:
    1. Read the authorization object's values for the logged on user using SUSR_USER_AUTH_FOR_OBJ_GET. From here I retrieve the Grouping Range required for the user.
    2. Keep this value in a variable say gv_grouping_range.
    3. SET PARAMETER ID 'BPP' FIELD gv_grouping_range.
    4. CALL TRANSACTION 'BP'.
    The four steps above have been enclosed in a report which has been attached to a new transaction code. We from now on allow user an access to this new transaction and not the standard BP transaction(which of course calls for a major change in roles).
    Secondly, the first three steps which have been enclosed in a subroutine set_default_grouping are also called from the BDT view BUP050, where the PBO has been changed to ZBUP_BUPA_PBO_MISC
    FUNCTION zbup_bupa_pbo_misc .
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_SICHT) TYPE  BU_SICHT
    PERFORM get_set_def_grouping IN PROGRAM zrpbsbp_create_businesspartner.
      CALL FUNCTION 'BUP_BUPA_PBO_MISC'
        EXPORTING
          i_sicht = i_sicht.
    ENDFUNCTION.
    Hope this helps.
    Regards
    Priyanka

  • Process open items: how to set defaults for the additional selections

    Hi FI experts,
    Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
    I am using transaction F-04 (or F-06 or F-07) to post with clearing.
    When processing the open items I can use additional selection parameters. In my case I need to use the document type.  I would like to save this selection as a default but this doesn't seem to be possible.
    1. it is not possible to save a variant for the processing of open items
    2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
    Do you see another way to store defaults for the additional selections in open item processing?
    Thanks a lot.
    Dimitri

    Hi,
    When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable.  Hence SHD0 is not going to help.
    As said above, either you can change the additional selection screen parameters, but here again you can't default the value.  You can only reduce the number of entries on the screen.
    Else you can create a custom transaction code by copying the standard.  Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements. 
    Please check this link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    In the above link, in navigation choose clearing -- Specifications for processing open items
    If it is a custom transaction then you can default document number.
    Regards,
    Ravi

  • What is the default for the "Display PDF in Browser" setting?

    What is the default for the "Display PDF in Browser" setting in Adobe Reader 9 and X?
    Also, are any statistics available on what proportion of users have this setting set to on?

    For all three the default is "checked".
    Be well...

  • Is there a way to set an email mailbox so that mail from many months are stored, but the general default for the other mailboxes is a few days?

    Is there a way to set an email mailbox so that mail from many months are stored, but the general default for the other mailboxes is a few days?

    The only thing I can think of is to set the number of days to sync messages, shown below. But I'm not sure if this is what you're after. If it is go to Settings > Mail, Contacts, Calendars select the email account you wish to change.
    This will then only sync emails from the last week for example. In the screenshot all email messages would be synced to the iPhone.
    Message was edited by: Michael Bratley

  • How can I set a default for webpages to expand to full screen?

    How can I set a default for webpages to expand to full screen? Every webpage I go to does not expand to a full screen which causes me to have to ctrl+++ each time. How can I set my preference to expand to full screen automatically?
    Thanks.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Set as default value the Item Category in the Maintenance Order

    Hello everyone,
    We are trying to find a user exit in order to set as default value the item category in the Maintenance Order once the Material has been introduced (Tag Components).
    SAP Customizing let the user set the Item Category automatically per Material Type, but we need to set different Item Categories to materials belonging to the same material type.
    We would really appreciate any help relating this issue.
    Thank you very much,
    Víctor Liedo

    Dear Paul,
    Thank you very much for your response.
    I had already tried customizing mentioned by Pithan, but it did not work because we need to set different Item Categories for Materials with same Material Type.
    We have been searching for exits which may let us set Item Category in the Maintenance Order, but it does not seem to be possible.
    What you say about adding some custom validation through user exit, not to set item category as default value, but to check if the one entered is valid, sounds the best way of achieving our commitments.
    I have tried to look for CNEX0037 & CNEX0038, by using transactions SE37 and SE38, search for programs and functions modules, but it did not work. Could you please tell us what kind of objects are?
    Thank you very much in advance.
    Víctor Liedo

  • Vertical scroll bar for the table

    Hi,
    I have a table which will contain more than 100 rows. First Visible rows will be 10.
    i want a vertical scroll bar for the table, so that i can see all the rows using vertical scroll bar. While scrolling down, the header row, which contain names of the column should be static (ie visible even scroll down) and the footer of the table should be visible even goes up.
    If I use Scroll container, it will take whole table and the header row, row with name of column will move up invisible when i scroll down. So it is not useful if i use scroll contatiner.
    I need a fnctionality were table has a vertical scroll bar to it.
    Thanks
    Maha

    Hi,
    Your requirement is one of the default properties of the Table UI element in NWDS CE version.
    Regards,
    Alka.

  • Scroll bar  for the table

    hi
          i  have  a scenatio  where  the table need
            scroll bar  ,  so ihave  used  scroll container 
            for the table   and  i am able to view   both 
          horizontal  and  vertical scroll var  , but  i need 
           only  verticle  scroll var  .
              how can this be achieved ?

    hi
      thanks  for the quick response ,
           but  its not helping me  .
                i have  set the width of the table less than
             scroll container  . 
                  i need just  vertical  scroll  bar  to be visible
                   no  horizontal scroll bars  
                      iam able to view both .

  • How to set DDL lock for a table

    OCI,how to set DDL lock for a table?

    Oracle acquires a dictionary lock automatically on behalf of any DDL transaction requiring it. Users cannot explicitly request DDL locks. Only individual schema objects that are modified or referenced are locked during DDL operations. The whole data dictionary is never locked
    DDL locks fall into three categories: exclusive DDL locks, share DDL locks, and breakable parse locks.
    see this link
    http://www.sc.ehu.es/siwebso/KZCC/Oracle_10g_Documentacion/server.101/b10743/consist.htm#i5281

  • IDM with SQL server Error: Cannot find columns for the table...

    Hi all,
    I am Configuring IDM with SQL Server repository and ran into this error.
    'Cannot find columns for the table 'object'
    .....jdbc...[SQL Server]Invalid object name 'object'
    Can anybody please help me!!
    G

    Yes, permissions are very important. I ran into a similar problem because I didn't have the correct permissions. Make sure the user has the following permissions:
    CREATE ANY TABLE
    ALTER ANY TABLE
    DROP ANY TABLE
    CREATE ANY PROCEDURE
    EXECUTE ANY PROCEDURE
    DROP ANY PROCEDURE
    Also, make sure there is enough space in the default tablespace of that user.
    HTH
    ~Suvesh

  • Anyway to set an event for the fifth Monday of the month?

    I have an event that happens rarely. Is there anyway to set an event for the fifth Monday of the month?

    Hi Kevin,
    This should be similar to behaviour in my response to this thread, but iCal seems a bit off on this one. If you attempt to set an event on the 5th Monday iCal adds events to the first Monday on the month after if the month only has four weeks. I'd say this is a bug in iCal.
    Try the script below which should add an event to the 5th Monday only to see what I mean:
    (Copy blue text into Script Editor (Applications > Applescript > Script Editor) , press Run and follow prompts.)
    tell application "iCal"
    set myCal to first calendar whose title is (item 1 of (choose from list (title of (every calendar) as list) with prompt "Choose calendar"))
    set myName to text returned of (display dialog "What is the event's name?" default answer "5th Monday of month?")
    set myStart to my date "Monday, January 30, 2006 10:00:00"
    set myEnd to myStart + 1 * hours
    make new event at the end of events of myCal with properties {summary:myName, start date:myStart, end date:myEnd, recurrence:"FREQ=MONTHLY;BYDAY=5MO"}
    end tell
    Best wishes
    John M

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • How to look for the Table Name

    Hi Friends,
    Sometimes we need to download the table for the desired information if the same is not available from a particular report. How to look for the table name? Is there a report or a particular feild, where we can find the name of the particular table?
    Thanks for the assistance.
    Regards

    Hi Friend,
    If you want to see the structures then go to SE11. Sometimes it happens that you cannot find the table names but only fields. In such case, if you want to find the Table names which is not available, then go to SE90.
    Abap Dictionary > Fields > Table Fields.
    Now Enter the Field name in Right Hand Side of the screen then Execute. You will see the all tables by which that Fields are used.
    Regards,
    Jigar

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

Maybe you are looking for

  • My ipod is not recognized by my itunes and tells me to uninstall itunes and reinstall. will this erase all of my music?

    my ipod is not recognized by my itunes and tells me to uninstall itunes and reinstall it.  will this erase all of my music?

  • After upgrading to osx 10.9 computer restarts with kernel error

    Here the message which I receive after restart: Fri Oct 25 09:18:22 2013 panic(cpu 5 caller 0xffffff80080dc19e): Kernel trap at 0xffffff80080a3af0, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0xffffff800c656f50, CR3: 0x00000000204260

  • Db Table for STATUS

    Hi, In IQ09 we will give Status Included and Status Excluded . In what table that status is storing ? that status belongs to serial number. Bye, Satya.

  • Message Popup crashes TestStand

    Hello, Our sequence executes under TestStand 3.5 ; steps call dlls written with LabWindows/CVI 7.1.1. Everything is going fine except some calls to the "Message Popup" step of TestStand : sometimes TestStand crashes on such calls (we have to stop it

  • Slow startup of logic

    when i first started using logic it would open up right away it now can take up to two minutes to open. it seems as though the more projects i create, the longer logic takes to start. is this the norm? is there a better way to organize projects to pr