SAPBEX - suppress system messages via VBA?

Hi All,
I've got a few queries embedded in a notebook where I need to refresh them and then process through a number of macros for formatting/processing. I've got the automatic logon and variable macro code working, and the only thing stopping me setting to run at 7am every morning when I'm not here is the System Messages which pop up on logon. Can anyone help me with a way to suppress these or click through them?
Image to make sure people know which messages I mean - [http://img294.imageshack.us/img294/2262/systemmessageqp2.png]
Thanks for any help in advance!
Matt
PS: I've tried searching on the forum and the wiki, but no joy.
Edited by: Matt White on Jun 17, 2008 2:32 PM - added PS.

anyone got any ideas, or even just advice that this isn't possible?

Similar Messages

  • Exit to suppress system messages in Crm

    Hi
    I need to know if there is a exit, badi or process in CRM 4 that can be used to suppress error messages.
    An annoying message appears in the Activity screen and the activity monitor screen.  I need to get rid of this
    Thanks for any help

    I don't believe that there is anyway to "get rid of" a standard SAP message.  I have heard of configuration which would allow you to change the message type, like from error to warning and so on, but then this wouldn't help you in your situation.
    The only way that I can think of to get rid of the message is to go directly into the SAP code and comment out that line, although this is not recommended.
    Regards,
    Rich Heilman

  • Suppressing Information messages

    Hi,
    I need to suppress the information messages which I was getting while creating the sales order in VA01 with reference to the Billing document.
    VA01 >> Order number >> CREATE WITH REF >> BILLING DOC NUMBER >> CLICK COPY >> getting Information Msg (Needs to suppress)
    Getting Information messages saying that  copying Items from Billing to Sales order is not defined.
    This is a copy control procedure . in VTAF transaction no line items were mentioned for the specific Order.
    I just want to suppress the messages which I was getting while copying the line items
    Thanks
    Abdul.

    Why are you doing this via BDC, since you can delete several tables in one go via the repository information system (SE90)?
    Thomas

  • How to pop up a system message for a specific user when She/He log on SAP

    Hi Friends,
    As we know SM02 setting will pop up a system message to all users in specific client in a specific period when the user log on SAP system; and we can do the same thing via using function module SM02_ADD_MESSAGE.
    But now we want to pop up a message to a specific user ID when somebody log on SAP via this ID, instead of all user IDs in the client. Please do we have any similar traction / function module / class method to to do this job??
    Thanks in advance.
    Joe

    Below code can be used to send a pop up message to all users who are logged on to the
    system.
    DATA: MESSAGE(128) VALUE 'Test message'.
    DATA: OPCODE TYPE X VALUE 2.
    DATA: BEGIN OF USR_TABL OCCURS 10.
    INCLUDE STRUCTURE UINFO.
    DATA: END OF USR_TABL.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
    ID 'TAB' FIELD USR_TABL-SYS.
    LOOP AT USR_TABL.
    CALL FUNCTION 'TH_POPUP'
    EXPORTING
    CLIENT = SY-MANDT
    USER = USR_TABL-BNAME
    MESSAGE = MESSAGE
    EXCEPTIONS
    USER_NOT_FOUND = 1.
    ENDLOOP.
    In the above code just pass the desired user ID instead of All user ID's
    Edited by: harsh bhalla on Mar 26, 2009 2:14 PM

  • Lumia .sms (text messages) via pc?

    hi all,
    its probably not the first one about this, but is there a way to send type sms messages via PC? i love my lumia 920 but if i had known in advance that pc suite would not work anymore this would affected my choice... its a feature i used allllot.... to understate it.
    are there no options to make this work or any alternatives?
    microsoft used to have a tool for this but it doesnt work with a lumia either,
    i thought you could run it via outlook2010 but then udd need to build a exchange server on the lumia... seems all a bit over the top. i wish you would kept the pc suite support...

    The operating system on the Lumia 920 is under Microsofts control, that is why it does not work with PC Suite. Microsoft hasn't added the option in the OS to do what you are wanting so at the moment it is not possible.
    You can suggest the feature to Microsoft here: http://windowsphone.uservoice.com/forums/101801-fe​ature-suggestions

  • Error in local system;message is not complete--- in Solman 4.0

    Hello Solman Gurus,
             After importing SP 13 in Solution Manager 4.0 , whenever i am trying from help--> create support message ; i am getting "ERROR IN LOCAL SYSTEM; MESSAGE <MSG NO> IS NOT COMPLETE "
    i have seen these threads
    ERROR when Trying to create support message in satellite system
    ERROR when Trying to Create Support Message in Satillite system
    create support message
    but they are saying about Satelliate system not solman
    Please help if you could
    regards
    Naveen

    Naveen,
      Check if the UserId that is creating the message in SolMan via Help->Create Support Message has roles SAP_SUPPDESK_CREATE and SAP_SV_FDB_NOTIF_BC_ADMIN (the profiles of the roles must be generated, all the authorization objects should be green).
      I have SolMan 4.0 SP 13 too, when I delete these authorizations from my userid, I have the same error.
    Let me know if you still have the error.
    Regards,
    Raquel.

  • Macbook sleeps with long delay and tons of system messages

    It takes my MacBook Pro a long time to go to sleep (4 minutes or more). During this time thousands of messages are produced in the System log.
    There are so many of them that some messages are discarded. Some of these messages:
    05/10/2014 16:31:08.000 kernel[0]: [0x445334a000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x445335c000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x4453372000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: [0x4453384000, 0x2000]
    05/10/2014 16:31:08.000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb737000, 0x3000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb84c000, 0x8000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb855000, 0xb000]
    05/10/2014 16:31:09.000 kernel[0]: [0x2cb862000, 0x3000]
    What do these messages mean?
    I have tried, without success, the following things:
    - reinstall the system
    - perform a disk verification
    - repair file permissions
    - boot in safe mode
    What I have not tried is a hardware check, because I couldn't. (Starting up with D pressed has no effect and starting up with option-D pressed initiates the check, but this is aborted because my machine doesn't support it.)
    The behavior takes place with hibernation, not with "unsafe sleep".
    Machine: MacBook Pro 15" mid-2014, 2.4 GHz Core i5, 8GB memory, with Mac OS 10.9.5.
    System messages at the start of the sleep:
    05/10/2014 16:30:58.114 loginwindow[39]: CGSSetWindowTags: Invalid window 0xffffffff
    05/10/2014 16:30:59.404 WindowServer[100]: _CGXHWCaptureWindowList: No capable active display found.
    05/10/2014 16:31:05.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
    05/10/2014 16:31:07.000 kernel[0]: hibernate image path: /var/vm/sleepimage
    05/10/2014 16:31:07.000 kernel[0]: efi pagecount 125
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall(preflight 1) start 0xffffff80e6133000, 0xffffff80e6173000
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall time: 258 ms
    05/10/2014 16:31:07.000 kernel[0]: pages 2044563, wire 264046, act 663382, inact 612315, cleaned 46 spec 1409, zf 27302, throt 0, compr 476063, xpmapped 40000
    05/10/2014 16:31:07.000 kernel[0]: could discard act 0 inact 0 purgeable 0 spec 0 cleaned 0
    05/10/2014 16:31:07.000 kernel[0]: WARNING: hibernate_page_list_setall skipped 87800 xpmapped pages
    05/10/2014 16:31:07.000 kernel[0]: hibernate_page_list_setall preflight pageCount 2044563 est comp 43 setfile 3898605568 min 4294967296
    05/10/2014 16:31:07.000 kernel[0]: [0x13b4cc3000, 0xbc9000]
    05/10/2014 16:31:07.000 kernel[0]: [0x13d0f85000, 0xbbc000]
    In between: thousands of these kernel messages
    System messages at the end of the sleep:
    05/10/2014 16:31:11.000 kernel[0]: [0x4624b20000, 0x1000]
    05/10/2014 16:31:11.000 kernel[0]: [0x4624b2c000, 0xe2000]
    05/10/2014 16:31:11.000 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff80e6133000, 0xffffff80e6173000
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall time: 296 ms
    05/10/2014 16:34:25.000 kernel[0]: pages 2048039, wire 266098, act 663683, inact 612389, cleaned 40 spec 1946, zf 27756, throt 0, compr 476127, xpmapped 40000
    05/10/2014 16:34:25.000 kernel[0]: could discard act 0 inact 0 purgeable 0 spec 0 cleaned 0
    05/10/2014 16:34:25.000 kernel[0]: WARNING: hibernate_page_list_setall skipped 87800 xpmapped pages
    05/10/2014 16:34:25.000 kernel[0]: hibernate_page_list_setall found pageCount 2048039
    05/10/2014 16:34:25.000 kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
    05/10/2014 16:34:25.000 kernel[0]: IOHibernatePollerOpen(0)
    05/10/2014 16:34:25.000 kernel[0]: encryptStart 9c190
    05/10/2014 16:34:25.000 kernel[0]: bitmap_size 0x3f784, previewSize 0x24f278, writing 2047182 pages @ 0x32ab8c
    05/10/2014 16:34:25.000 kernel[0]: encryptEnd 95f4600
    05/10/2014 16:34:25.000 kernel[0]: image1Size 0x1430d000, encryptStart1 0x9c190, End1 0x95f4600
    05/10/2014 16:34:25.000 kernel[0]: encryptStart 1430d000
    05/10/2014 16:34:25.000 kernel[0]: PMStats: Hibernate write took 192562 ms
    05/10/2014 16:34:25.000 kernel[0]: all time: 192562 ms, comp bytes: 6044094464 time: 5593 ms 1030 Mb/s, crypt bytes: 4112823408 time: 6386 ms 614 Mb/s,
    05/10/2014 16:34:25.000 kernel[0]: image 0 (0%), uncompressed 6044090368 (427032), compressed 4284058624 (70%), sum1 9a59058d, sum2 8143d3e0
    05/10/2014 16:34:25.000 kernel[0]: zeroPageCount 97178, wiredPagesEncrypted 155568, wiredPagesClear 109748, dirtyPagesEncrypted 1210326
    05/10/2014 16:34:25.000 kernel[0]: hibernate_write_image done(e00002e8)
    05/10/2014 16:34:25.000 kernel[0]: sleep
    05/10/2014 16:34:25.000 kernel[0]: Wake reason: EC LID0
    05/10/2014 16:34:25.000 kernel[0]: SMC::smcHandleInterruptEvent WARNING status=0x0 (0x40 not set) notif=0x0
    05/10/2014 16:34:38.000 kernel[0]: full wake (reason 1) 23 ms
    05/10/2014 16:34:38.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
    05/10/2014 16:34:38.000 kernel[0]: Previous Sleep Cause: 5
    05/10/2014 16:34:38.000 kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0
    05/10/2014 16:34:38.000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    05/10/2014 16:34:38.000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x1400 ****
    05/10/2014 16:34:38.616 WindowServer[100]: CGXDisplayDidWakeNotification [42269999693223]: posting kCGSDisplayDidWake
    05/10/2014 16:34:38.617 WindowServer[100]: handle_will_sleep_auth_and_shield_windows: Ordering out authw 0x7ff86b72bc70(2000), shield 0x7ff868f6d380(2001) (lock state: 2)
    05/10/2014 16:34:38.618 WindowServer[100]: handle_will_sleep_auth_and_shield_windows: errs 0x0, 0x0, 0x0
    05/10/2014 16:34:40.949 loginwindow[39]: ERROR | -[LWBuiltInScreenLockAuthLion closeAuthAndReset:] | Attempted to remove an observer when not observing
    05/10/2014 16:34:40.000 kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 5 on so 0xffffff8027164178
    05/10/2014 16:34:41.000 kernel[0]: AFP_VFS afpfs_DoReconnect:  doing reconnect on /Volumes/.TMBACKUP-1

    Thanks for the tip. I checked out the link. The issue is not that my log files are large but it's that log messages (the same message over and over again) are being constantly written to that Console application - I guess by syslogd - at a crazy rate per second which is causing the CPU to spike and causing my Free RAM to go from say 3GB to a few MB's within a matter of seconds. I actually can't find a log file on my system (via Spotlight search or Terminal "grep" searching) that has the hundreds and thousands of messages showing up in the Console log app. syslogd just gets "crazy" and pretty much takes over the CPU and depletes my computer free RAM when handling those:
    0x0-0x18018.com.apple.logic.pro358 ARGH: preNdx < 0 (-1073741821)
    messages.

  • How to set a sheet as Ad Hoc via VBA ...

    We keep trying to convert our existing workbooks for Smart View.
    As you can imagine this is a nightmare process but we keep trying ...
    There is some progress and we learnt a lot on the way but we still face some major issues - we find SV with VBA to be an unpredictible combo.
    Anyway ...
    In simple words I use a sequence of VBA SV API calls to create private connection (HypCreateConnection), to connect the sheet (HypConnect) and to retrieve data (HypRetrieveRange) - along the way I set up SV options and hide the Panel and the POV.
    All "by the book" - I wish such "a book" ever existed ... I mean the documentation is far from "in depth" ...
    The process works in c. 80% of cases (i.e. grids) but it fails on some (so far I found no correlation with anything else)
    I have tried and tried all sorts of tricks to debug it.
    It works with ALL grids in 1 in 20 tests but you can never predict when and why.
    So it can work but something somewhere causes the process to fail on some grids in most of the tests.
    I noticed one detail ...
    While the sheet gets connected and retrieved  with our process the Sheet Info still shows the sheet status as Empty ...
    When working from a blank worksheet and with the Panel open (i.e. NOT via VBA) one of the steps is to click on Ad Hoc Analysis button.
    It is unclear to me what exactly this one step does and it does not seem to be connecting or refreshing the grid.
    It seems it defines the grid to be an Ad Hoc one.
    Can the same be achieved programatically via VBA ?
    So far I have NOT found any equivalent API call.
    In desperation I am going to replace all HypRetrieveRange calls with HypMenuVRefresh call.
    Would it define the sheets as Adf Hoc ?
    I will find out ...
    Will it help with some odd grids ?
    Fingers crossed it will.
    Regards

    Hi Deiter,
    You can achieve this with below steps.. I am giving below steps considering you want
    to keep the condition type set as Obligatory always in your Pric Procedure
    -> Write a custome routine for "Requirement Routine" with the logic : When item category
        is ZAN, remove "Obligatory" check from KOMT1-KOBLI.
    -> Assign this routine to condition type ZZ00
    you are ready to go now.
    Why i am suggesting this...
    -> Industry best practise, to write minumum codes in user exits (in this case it will be sales user exit),
        as it increases system response time
    -> If we change someting in user exit, imagine, everytime you are creating a Sales Order, which does
        not call for this pricing procedure (with cond typ: ZZ00 ), still this part of user exit code written
        to check if item cat is ZAN or not will be called, so why to make system work more when
        actually not required
    Hope this helps !
    Regards
    Subhajit

  • Suppress the message do you want to save the changes you have made

    hi all
    i have written a rollback
    it clears my record
    but gives me the message
    do you want to save the changes you have made
    i have written
    :system.message_level :=25;
    rollback;
    :system.message_level=0;
    but still it is giveing me the message
    can you please tell me how to suppress this message
    please help me
    thanks
    mandar

    try in reverse

  • Suppress a message

    Hello,
    I use the triggers "ON MESSAGE" and "ON ERROR" and write null in the triggers to suppress the messages. So it works fine. But if I change for example make a an alter table I get the Message if I want to save the changes! How can I suppress this Message, too!
    thanks

    I'm not sure what you mean by null trigger, but here is a message handler I created that has proven effective for all my needs so far.
    At the form level...
    create trigger for 'ON-ERROR'
    PR_HANDLE_MESSAGE( 'ERROR' );
    create trigger for 'ON_MESSAGE'
    PR_HANDLE_MESSAGE( 'MESSAGE' );
    In the Program Units...
    .PROCEDURE PR_HANDLE_MESSAGE (MSG_TYPE VARCHAR2) IS
    . ALERT_BTN NUMBER;
    . errtype VARCHAR2(3) := MESSAGE_TYPE;
    . errcod NUMBER := MESSAGE_CODE;
    . errtxt VARCHAR2(80) := MESSAGE_TEXT;
    .BEGIN
    .--* Generic system and error messages handler.
    . IF errcod IN ( 40100, 40102, 41000, 40200, 41051 ) THEN
    . -- Suppress these user messages
    . ----------------------------------------------------------- -- ErrNo Message text
    . -- 40100 At first record.
    . -- 40102 Record must be entered or deleted first
    . -- 40200 Field is protected against update
    . -- 40212 Invalid value for field xxxx.
    . -- 40350 Query caused no records to be retreived
    . -- 40400 Transaction complete. N records saved.
    . -- 40401 No changes to save
    . -- 41000 This function not currently available
    . -- 41026 Field does not understand operation
    . -- 41045 Cannot find item: invalid ID.
    . -- 41051 You can't create records here
    . NULL;
    . ELSIF errcod IN (-1) THEN
    . -- Show these on status line
    . -- ErrNo Message text
    . MESSAGE(errtype||'-'||to_char(errcod)||': '||errtxt);
    . ELSE
    . IF MSG_TYPE = 'ERROR' THEN
    . MESSAGE( errtype||'-'||to_char(errcod)||': '||errtxt );
    . RAISE FORM_TRIGGER_FAILURE;
    . ELSE
    . MESSAGE( errtype||'-'||to_char(errcod)||': '||errtxt);
    . END IF;
    . END IF;
    .END;

  • Attributes system Message

    Hello,
    I am tryinng to change the Message status from warning to Error for the Message 06 056.
    "Purchase requisition 10003880, item 00010, has a different material number
    Message no. 06056"
    In SPRO I went to IMG -> MM -> Purchansing -> Environment -> Define system message
    I am not able to find this in it.
    Please advice,
    Thanks,
    Sam

    Hi
    Please check OSS note 315448.
    as per this note:
    You encounter various problems during reference processing of a purchase requisition in Transaction ME21N or ME22N.
    Solution
    Due to the scope of the correction, it can only be delivered via R/3 Support Packages.
    You have to implement the error messages listed below into Transaction OME0 manually.
    Configurable system messages:
    06057 "Purchase requisition &, item &, has a different plant".
    Default: Warning message
    06056 "Purchase requisition &, item &, has a different material number"
    Default: Warning message
    MEPO072 "Purchase requisition &, item &, has a different material group"
    DEFAULT: Warning message
    06050 "Purchase requisition & item & already deleted".
    Default: Warning message
    06076 "Materials of requisition & item & alr. ordered in full"
    Default: Warning message
    06400 "Materials/services for requisition & & already ordered with & &"
    Default: no message
    06876 "Requisition quantity & & open again"
    Default: Warning message
    hope this helps
    regards
    Srinivas

  • Suppressing error messages from stderr

    I am using JNI to connect to some C++ code (which I did not write myself) that has been compiled into DLLs. The writers of the C++ code found it necessary to spam a lot of status messages to stderr (using fprintf(stderr, "spam message")) and I want to suppress that output so that it doesn't show up in the console when my Java application is running. I have tried the following but it hasn't worked:
    PrintStream out = System.out;
    PrintStream err = System.err;
    System.setOut(new PrintStream(new OutputStream() {
    public void write(int arg0) throws IOException {}
    System.setErr(new PrintStream(new OutputStream() {
    public void write(int arg0) throws IOException {}
    // call native methods
    System.setOut(out);
    System.setErr(err);
    Does anyone else know how I can suppress the messages? Thanks

    redirect stderr to /dev/null ?

  • Avoiding system messages in oracle forms.

    Hi All,
    I'm Working with Oracle forms using oracle form builder in R12. I want to Avoid System message (Save message) so i'm using :system.message_level := 5; but i can't avoid Save message. how can i solve this.
    Thanks & Regards,
    Macks

    You could override on-message trigger and forms will fire this trigger instead of standard message. Whatever you write here will happen. You could suppress given message and let everything else go.

  • Dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.b

    from  journalctl -b, I get some warning messages like this.
    Oct 26 12:52:48 myhost dbus-daemon[359]: dbus[359]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
    Oct 26 12:52:48 myhost dbus[359]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
    Oct 26 12:52:48 myhost dbus-daemon[359]: dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.
    Oct 26 12:52:48 myhost dbus[359]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service fail
    Oct 26 12:52:48 myhost pulseaudio[1234]: [pulseaudio] bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.systemd1.Lo
    Oct 26 12:52:49 myhost rtkit-daemon[1235]: Successfully made thread 1260 of process 1260 (/usr/bin/pulseaudio) owned by '1000' high priority
    Oct 26 12:52:49 myhost rtkit-daemon[1235]: Supervising 2 threads of 2 processes of 1 users.
    Oct 26 12:52:49 myhost pulseaudio[1260]: [pulseaudio] pid.c: Daemon already running.
    I want to disalbe bluez.service,but failed,
    #systemctl disable dbus-org.bluez.service
    Failed to issue method call: No such file or directory
    I have no bluetooth device in my laptop, how to resolve this porblem?
    Thanks in advance.
    Last edited by eastpeace (2012-10-26 06:12:53)

    AND additional information
    # systemctl status dbus-org.bluez.service
    dbus-org.bluez.service
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)

  • Accessing ribbon via vba ApplicationOptionsDialog

    hi,
    I am using microsoft access 2010 project (adp). I need to disable the file menu when I distribute the ade to
    clients.
    the backstage disable has no effect. my customized ribbon below. I only need to a way via vba to turn off the
    ApplicationOptionsDialog button! thanks!
    Code:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <ribbon startFromScratch="true">
    <tabs>
    <tab idMso="TabExternalData" visible="false" /> <tab idMso="TabCreate" visible="false" />
    <tab idMso="TabDatabaseTools" visible="false" /> <tab idMso="TabHomeAccess" visible="false" />
    </tabs>
    </ribbon>
    <backstage>
    <tab idMso="TabInfo" visible="false"/>
    <button idMso="FileSave" visible="false"/>
    <button idMso="SaveObjectAs" visible="false"/>
    <button idMso="FileOpenDatabase" visible="false"/>
    <button idMso="FileCloseDatabase" visible="false"/>
    <tab idMso="TabRecent" visible="false"/>
    <tab idMso="TabNew" visible="false"/>
    <tab idMso="TabPrint" visible="false"/>

    One thing to remember is that backstage commands ONLY work for the system wide ribbon. In other words, you cannot place backstage commands in a ribbon assigned to a given form/report.
    And as noted here, your schema definition needs to be changed from:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    To
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    As a general rule, the older ribbon format will work, but not if you using new 2010 features. So backstage commands ONLY work in the application wide ribbon specified for startup. And you need to use the 2009 schema as opposed to 2006 schema.
    Regards,
    Albert D. Kallal (Access MVP)
    Edmonton, Alberta Canada

Maybe you are looking for