Excel Macro "Memory exhausted"

I try to start an Excel Macro and everytime when i started it, comes a message like that: Solver: An unexspected internal error occurred, or available memory was exhausted"
I try to start the Excel Solver Function with a macro from Labview. I use Excel 2003 and Labview 7.1.
Thx for help
Torsten

Solver is an AddIn that is not installed in a typical Excel installation. If you attempt to run it from the menu, it will prompt that it needs to be installed. This could be what is causing this error. Run the Solver from the menu and check that it is able to run manually.
After that, check the parameters carefully to make sure that you are not giving the Solver a bad cell reference or an invalid parameter.
Michael Munroe
www.abcdef.biz
Michael Munroe, ABCDEF
Certified LabVIEW Developer, MCP
Find and fix bad VI Properties with Property Inspector

Similar Messages

  • Cause of CodeBuffer memory exhaustion?

    We have had a JASIG uPortal application running under Tomcat with JVM 1.5.0_05-b05 for over a year without any JVM crashes. But now, twice within the last 2 weeks, the JVM has crashed because it has run out of CodeBuffer space. There is a bug report on this (6487381), but the bug evaluation section says "VM Crash due to exhaustion of CodeBuffer space, need to provide a softer landing." This tells me that even if the bug is fixed, there will still be an error of some kind.
    What is bothering me is that I can see no reason for the CodeBuffer memory exhaustion in the hs_err_pid15701.log file. How can I find out what caused the memory exhaustion? Both of the crashes occurred during periods of light applicaiton load, and the GC stats seem to indicate that there is plenty of memory available.
    Any help would be greatly appreciated. The hs_err_pid15701.log output is below. Thanks!
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (434F44452255464645520E4350500060 01), pid=15701, tid=15
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode)
    --------------- T H R E A D ---------------
    Current thread (0x00341318): JavaThread "CompilerThread1" daemon [_thread_in_native, id=15]
    Stack: [0x33b02000,0x33b81d70), sp=0x33b7fde0, free space=503k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x6d2704]
    V [libjvm.so+0x42b80c]
    V [libjvm.so+0x1b1de0]
    V [libjvm.so+0x218688]
    V [libjvm.so+0x224330]
    V [libjvm.so+0x221abc]
    V [libjvm.so+0x217950]
    V [libjvm.so+0x27fd24]
    V [libjvm.so+0x275c1c]
    V [libjvm.so+0x2768d8]
    V [libjvm.so+0x332140]
    V [libjvm.so+0x2da83c]
    V [libjvm.so+0x652d58]
    Current CompileTask:
    opto:9407 ! org.jasig.portal.UserInstance.renderState(Ljavax/servlet/http/HttpServletRequest;Ljav
    ax/servlet/http/HttpServletResponse;Lorg/jasig/portal/ChannelManager;Lorg/jasig/portal/i18n/LocaleMa
    nager;Lorg/jasig/portal/IUserPreferencesManager;Ljava/lang/Object;)V (2521 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0135ccd8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266284]
    0x014cef80 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266277]
    0x02773088 JavaThread "Thread-163071" daemon [_thread_in_native, id=266269]
    0x02796250 JavaThread "Thread-163061" daemon [_thread_in_native, id=266254]
    0x02d18ae8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266248]
    0x03a1b100 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266246]
    0x01b8cb30 JavaThread "Thread-163051" daemon [_thread_in_native, id=266235]
    0x03a23768 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266227]
    0x03a1af40 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266226]
    0x00ac6d78 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266190]
    0x010bc690 JavaThread "Thread-162977" daemon [_thread_in_native, id=266093]
    0x01e1e0f8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266064]
    0x01b8ccf0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=266035]
    0x00fe6530 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265937]
    0x010b9070 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265930]
    0x022073a8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265893]
    0x02d236f8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265853]
    0x0275d630 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265809]
    0x02778240 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265716]
    0x025ff428 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265583]
    0x02337088 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265549]
    0x00ac8d80 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265548]
    0x01b88dc8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265185]
    0x02227808 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265140]
    0x0097f438 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265139]
    0x02773248 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265057]
    0x014c5910 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265024]
    0x01e5add8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=265002]
    0x0249e028 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264988]
    0x012d6f98 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264914]
    0x04571230 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264887]
    0x015f81f0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264745]
    0x0158c258 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264739]
    0x00fe5508 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264694]
    0x007d4380 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264637]
    0x0222ca80 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264623]
    0x025c50d0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264606]
    0x0249de68 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264596]
    0x00f12570 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264565]
    0x02606c78 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264548]
    0x016ab908 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264481]
    0x02d1fa08 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264464]
    0x0076c200 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264463]
    0x025a6360 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264312]
    0x0249fcb0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264293]
    0x025a5b98 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264131]
    0x0146b9e8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=264110]
    0x005c0530 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263911]
    0x017713f0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263605]
    0x00acb630 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263604]
    0x03a02b58 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263564]
    0x014c87e8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263563]
    0x0264cc18 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263525]
    0x025ea728 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263252]
    0x03a01250 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263251]
    0x022c51c8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263148]
    0x03a01090 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263131]
    0x00e8d520 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263092]
    0x014bff18 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263082]
    0x01591e90 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263079]
    0x015a8aa0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=263078]
    0x02388198 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262738]
    0x0235e598 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262712]
    0x03a235a8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262540]
    0x02e7ac58 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262393]
    0x025e70c0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262392]
    0x03a00d10 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262358]
    0x03a00ed0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262268]
    0x010b3658 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262223]
    0x025ed920 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262197]
    0x01070268 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262196]
    0x025e0328 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262011]
    0x0222ffd0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=262002]
    0x0276c578 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261965]
    0x02333d48 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261889]
    0x01874f28 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261841]
    0x0096a3f0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261777]
    0x025eb758 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261755]
    0x010b19d0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261651]
    0x01e5f058 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261625]
    0x0221a1f0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261543]
    0x0062e008 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261542]
    0x01b8c970 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261534]
    0x01580e80 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261435]
    0x025e6f00 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261359]
    0x00fe92b8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261285]
    0x025cd6d8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261264]
    0x007912f0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261236]
    0x027590c8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=261102]
    0x02748138 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=259036]
    0x023373c8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=258276]
    0x00983b50 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=258096]
    0x01e780d0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=258019]
    0x02192890 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=257928]
    0x002e42a0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=257881]
    0x009e23a0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=257856]
    0x025f26c0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=257708]
    0x02b29128 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=257172]
    0x022b5890 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=255735]
    0x01baddf8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=255151]
    0x022058f8 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=255049]
    0x02d47640 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=254806]
    0x015d0448 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=253812]
    0x025adeb0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=252183]
    0x00ed9080 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=250280]
    0x00e87c58 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=249544]
    0x005ee2a0 JavaThread "JavaMail-EventQueue" daemon [_thread_blocked, id=243050]
    0x00510940 JavaThread "TP-Processor160" daemon [_thread_in_native, id=169567]
    0x00fcbc48 JavaThread "TP-Processor159" daemon [_thread_blocked, id=169566]
    0x01111668 JavaThread "TP-Processor158" daemon [_thread_blocked, id=169565]
    0x0212e6e8 JavaThread "TP-Processor157" daemon [_thread_blocked, id=169564]
    0x0182ae50 JavaThread "TP-Processor156" daemon [_thread_in_native, id=169558]
    0x013c4960 JavaThread "TP-Processor155" daemon [_thread_blocked, id=169557]
    0x02359fc8 JavaThread "TP-Processor154" daemon [_thread_blocked, id=169556]
    0x010b3498 JavaThread "TP-Processor153" daemon [_thread_in_native, id=169555]
    0x00d54918 JavaThread "TP-Processor152" daemon [_thread_blocked, id=169553]
    0x01a07020 JavaThread "TP-Processor151" daemon [_thread_in_native, id=169552]
    0x012565e8 JavaThread "TP-Processor149" daemon [_thread_blocked, id=169550]
    0x00d02d40 JavaThread "TP-Processor148" daemon [_thread_blocked, id=169544]
    0x023dab68 JavaThread "TP-Processor146" daemon [_thread_blocked, id=169542]
    0x006b0cd8 JavaThread "TP-Processor144" daemon [_thread_in_native, id=169538]
    0x012dd0e8 JavaThread "TP-Processor143" daemon [_thread_blocked, id=169537]
    0x00774cd8 JavaThread "TP-Processor142" daemon [_thread_blocked, id=169536]
    0x02122d78 JavaThread "TP-Processor141" daemon [_thread_blocked, id=169535]
    0x01ea2140 JavaThread "TP-Processor133" daemon [_thread_blocked, id=168754]
    0x00801200 JavaThread "TP-Processor132" daemon [_thread_in_native, id=168751]
    0x017b88b0 JavaThread "TP-Processor126" daemon [_thread_in_native, id=168722]
    0x008a8aa8 JavaThread "TP-Processor125" daemon [_thread_in_native, id=168721]
    0x011f6bf0 JavaThread "TP-Processor123" daemon [_thread_blocked, id=168703]
    0x00d62440 JavaThread "TP-Processor121" daemon [_thread_blocked, id=168701]
    0x005423a8 JavaThread "TP-Processor120" daemon [_thread_in_native, id=168511]
    0x005f4868 JavaThread "TP-Processor119" daemon [_thread_in_native, id=168510]
    0x00fb2308 JavaThread "TP-Processor116" daemon [_thread_blocked, id=168494]
    0x00780b38 JavaThread "TP-Processor112" daemon [_thread_blocked, id=168471]
    0x018e6d50 JavaThread "TP-Processor111" daemon [_thread_blocked, id=168470]
    0x01867210 JavaThread "TP-Processor109" daemon [_thread_blocked, id=168468]
    0x024367c0 JavaThread "TP-Processor104" daemon [_thread_blocked, id=167922]
    0x019d6b68 JavaThread "TP-Processor103" daemon [_thread_in_native, id=167921]
    0x0229f620 JavaThread "TP-Processor100" daemon [_thread_in_native, id=167917]
    0x012b2d78 JavaThread "TP-Processor95" daemon [_thread_in_native, id=167912]
    0x01071a20 JavaThread "TP-Processor91" daemon [_thread_blocked, id=167908]
    0x0299bbe8 JavaThread "TP-Processor86" daemon [_thread_in_native, id=167903]
    0x00c77a38 JavaThread "TP-Processor85" daemon [_thread_blocked, id=167902]
    0x01910c58 JavaThread "TP-Processor84" daemon [_thread_in_native, id=167901]
    0x024b6318 JavaThread "TP-Processor83" daemon [_thread_in_native, id=167900]
    0x00e76850 JavaThread "TP-Processor72" daemon [_thread_blocked, id=167889]
    0x008771d0 JavaThread "TP-Processor70" daemon [_thread_in_native, id=167887]
    0x006b7bf0 JavaThread "TP-Processor68" daemon [_thread_in_native, id=167861]
    0x027edd10 JavaThread "TP-Processor59" daemon [_thread_blocked, id=167842]
    0x018b0b98 JavaThread "TP-Processor58" daemon [_thread_blocked, id=167841]
    0x00ef4690 JavaThread "TP-Processor57" daemon [_thread_blocked, id=167840]
    0x017b9078 JavaThread "TP-Processor55" daemon [_thread_blocked, id=167628]
    0x00878e58 JavaThread "TP-Processor53" daemon [_thread_blocked, id=167626]
    0x007a6950 JavaThread "TP-Processor46" daemon [_thread_in_native, id=160765]
    0x010d30a0 JavaThread "TP-Processor41" daemon [_thread_blocked, id=160748]
    0x00cdd850 JavaThread "TP-Processor37" daemon [_thread_in_native, id=160723]
    0x004061f0 JavaThread "TP-Processor34" daemon [_thread_blocked, id=160687]
    0x0116e0e8 JavaThread "Thread-88672" daemon [_thread_blocked, id=143122]
    0x0128a780 JavaThread "Thread-88671" daemon [_thread_blocked, id=143121]
    0x01b6c758 JavaThread "Thread-88670" daemon [_thread_blocked, id=143120]
    0x01749d70 JavaThread "Thread-88669" daemon [_thread_blocked, id=143119]
    0x00e23440 JavaThread "Thread-88667" daemon [_thread_blocked, id=143116]
    0x019ec860 JavaThread "Thread-88666" daemon [_thread_blocked, id=143115]
    0x00e49e20 JavaThread "Thread-88665" daemon [_thread_blocked, id=143114]
    0x01239b98 JavaThread "Thread-88663" daemon [_thread_blocked, id=143109]
    0x0076d678 JavaThread "Thread-88662" daemon [_thread_blocked, id=143108]
    0x00b3b278 JavaThread "Thread-88661" daemon [_thread_blocked, id=143107]
    0x00b920c8 JavaThread "Thread-88660" daemon [_thread_blocked, id=143106]
    0x00759e18 JavaThread "Thread-88659" daemon [_thread_blocked, id=143105]
    0x0234a640 JavaThread "Thread-88658" daemon [_thread_blocked, id=143104]
    0x013411f0 JavaThread "Thread-88657" daemon [_thread_blocked, id=143103]
    0x00606778 JavaThread "Thread-88656" daemon [_thread_blocked, id=143102]
    0x0114f470 JavaThread "Thread-88655" daemon [_thread_blocked, id=143101]
    0x0040b588 JavaThread "Thread-88654" daemon [_thread_blocked, id=143100]
    0x01aefbf0 JavaThread "Thread-88653" daemon [_thread_blocked, id=143099]
    0x02439270 JavaThread "Thread-88652" daemon [_thread_blocked, id=143098]
    0x005fec38 JavaThread "Thread-88651" daemon [_thread_blocked, id=143097]
    0x01965138 JavaThread "TP-Processor32" daemon [_thread_in_native, id=65561]
    0x014196e0 JavaThread "TP-Processor31" daemon [_thread_blocked, id=65560]
    0x013d7dc8 JavaThread "TP-Processor29" daemon [_thread_blocked, id=65558]
    0x007031e8 JavaThread "Timer-0" daemon [_thread_blocked, id=581]
    0x005ecc90 JavaThread "TP-Processor26" daemon [_thread_in_native, id=267]
    0x005ecad0 JavaThread "TP-Processor25" daemon [_thread_blocked, id=266]
    0x02446190 JavaThread "TP-Processor17" daemon [_thread_blocked, id=121]
    0x01130a60 JavaThread "TP-Processor14" daemon [_thread_in_native, id=99]
    0x004fd2e8 JavaThread "Thread-47" daemon [_thread_blocked, id=89]
    0x00c2a418 JavaThread "Thread-46" daemon [_thread_blocked, id=88]
    0x01b489c0 JavaThread "Thread-45" daemon [_thread_blocked, id=87]
    0x01acf2e0 JavaThread "TP-Processor10" daemon [_thread_in_native, id=80]
    0x00897a18 JavaThread "Thread-39" daemon [_thread_blocked, id=76]
    0x009006c0 JavaThread "Thread-38" daemon [_thread_blocked, id=75]
    0x008ffc60 JavaThread "Thread-37" daemon [_thread_blocked, id=74]
    0x027b8f00 JavaThread "Thread-36" daemon [_thread_blocked, id=73]
    0x003f8ce8 JavaThread "Thread-35" daemon [_thread_blocked, id=72]
    0x01338c40 JavaThread "Thread-33" daemon [_thread_blocked, id=70]
    0x02594ad8 JavaThread "Thread-32" daemon [_thread_blocked, id=69]
    0x00d08950 JavaThread "Thread-31" daemon [_thread_blocked, id=68]
    0x0185fb98 JavaThread "Thread-30" daemon [_thread_blocked, id=67]
    0x00771160 JavaThread "Thread-28" daemon [_thread_blocked, id=52]
    0x00cc65b0 JavaThread "Thread-27" daemon [_thread_blocked, id=51]
    0x009d50c0 JavaThread "Thread-26" daemon [_thread_blocked, id=50]
    0x00ab6318 JavaThread "Thread-25" daemon [_thread_blocked, id=49]
    0x009edab8 JavaThread "Thread-24" daemon [_thread_blocked, id=48]
    0x00a990d0 JavaThread "Thread-23" daemon [_thread_blocked, id=47]
    0x01b4d918 JavaThread "Thread-18" daemon [_thread_blocked, id=40]
    0x003a00a0 JavaThread "Thread-16" daemon [_thread_blocked, id=37]
    0x017f22c0 JavaThread "Thread-15" daemon [_thread_blocked, id=36]
    0x01ac6660 JavaThread "Thread-14" daemon [_thread_blocked, id=35]
    0x01ac6440 JavaThread "Thread-13" daemon [_thread_blocked, id=34]
    0x003b9c08 JavaThread "Thread-12" daemon [_thread_blocked, id=33]
    0x01176860 JavaThread "uPortal ReferenceEntityCache sweeper thread #4" daemon [_thread_blocked, id
    =31]
    0x01a36580 JavaThread "uPortal ReferenceEntityCache sweeper thread #3" daemon [_thread_blocked, id
    =30]
    0x010467e8 JavaThread "uPortal ReferenceEntityCache sweeper thread #2" daemon [_thread_blocked, id
    =29]
    0x01421aa0 JavaThread "Thread-10" daemon [_thread_blocked, id=28]
    0x009b3240 JavaThread "uPortal ReferenceEntityCache sweeper thread #1" daemon [_thread_blocked, id
    =27]
    0x00da46f0 JavaThread "TP-Monitor" daemon [_thread_blocked, id=26]
    0x01986f60 JavaThread "TP-Processor4" daemon [_thread_in_native, id=25]
    0x011f0808 JavaThread "TP-Processor3" daemon [_thread_blocked, id=24]
    0x011f0648 JavaThread "TP-Processor2" daemon [_thread_blocked, id=23]
    0x014ec510 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blo
    cked, id=21]
    0x011ef460 JavaThread "Whirlycache Tuner ( userInfoCache )" daemon [_thread_blocked, id=20]
    0x0236d6c8 JavaThread "Whirlycache Tuner ( principalCache )" daemon [_thread_blocked, id=19]
    0x02598310 JavaThread "Whirlycache Tuner ( default )" daemon [_thread_blocked, id=18]
    0x00342490 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=16]
    =>0x00341318 JavaThread "CompilerThread1" daemon [_thread_in_native, id=15]
    0x003403e0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=14]
    0x0033f4a8 JavaThread "AdapterThread" daemon [_thread_blocked, id=13]
    0x003383a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=12]
    0x0032b860 JavaThread "YJPAgent-CPUSampler" daemon [_thread_blocked, id=11]
    0x00323220 JavaThread "YJPAgent-RequestListener" daemon [_thread_in_native, id=10]
    0x00331d20 JavaThread "YJPAgent-Telemetry" daemon [_thread_blocked, id=9]
    0x00312880 JavaThread "Finalizer" daemon [_thread_blocked, id=8]
    0x001bf9b0 JavaThread "Reference Handler" daemon [_thread_blocked, id=7]
    0x001fe030 JavaThread "main" [_thread_in_native, id=1]
    Other Threads:
    0x0030af68 VMThread [id=6]
    0x00343fe8 WatcherThread [id=17]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 310016K, used 250106K [0xc7c00000, 0xdbc00000, 0xf7c00000)
    eden space 292352K, 81% used [0xc7c00000,0xd634e4b8,0xd9980000)
    from space 17664K, 75% used [0xd9980000,0xda670460,0xdaac0000)
    to space 17344K, 0% used [0xdab10000,0xdab10000,0xdbc00000)
    PSOldGen total 1647808K, used 1572315K [0x37c00000, 0x9c530000, 0xc7c00000)
    object space 1647808K, 95% used [0x37c00000,0x97b76df0,0x9c530000)
    PSPermGen total 46848K, used 31224K [0x33c00000, 0x369c0000, 0x37c00000)
    object space 46848K, 66% used [0x33c00000,0x35a7e190,0x369c0000)
    0x00010000 /usr/java/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff350000 /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
    0xfdc00000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/server/libjvm.so
    0xff220000 /usr/lib/libsocket.so.1
    0xff200000 /usr/lib/libsched.so.1
    0xff1d0000 /usr/lib/libCrun.so.1
    0xff1a0000 /usr/lib/libm.so.1
    0xff080000 /usr/lib/libnsl.so.1
    0xff240000 /usr/lib/libw.so.1
    0xff160000 /usr/lib/libmp.so.2
    0xff060000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/native_threads/libhpi.so
    0xfe680000 /nau/local/opt/yourkit/yjp-5.5.4/bin/solaris-sparc-32/libyjpagent.so
    0xfe650000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/libverify.so
    0xfe610000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/libjava.so
    0xfe5f0000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/libzip.so
    0xfe4a0000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/libnet.so
    0xfe480000 /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/libmanagement.so
    0xf7c30000 /usr/lib/nss_nis.so.1
    0x33be0000 /usr/lib/nss_files.so.1
    VM Arguments:
    jvm_args: -Xms1536m -Xmx3072m -XX:+UseParallelGC -XX:NewSize=320m -XX:NewRatio=3 -verbose:gc -XX:+Pr
    intGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintHeapAtGC -agentpath:/na
    u/local/opt/yourkit/yjp-5.5.4/bin/solaris-sparc-32/libyjpagent.so=disablealloc,disablecounts,port=10
    111,dir=/nau/local/opt/yourkit -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dj
    ava.endorsed.dirs=/nau/local/opt/tomcat/common/endorsed -Dcatalina.base=/nau/local/opt/tomcat -Dcata
    lina.home=/nau/local/opt/tomcat -Djava.io.tmpdir=/nau/local/opt/tomcat/temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Environment Variables:
    JAVA_HOME=/usr/java
    PATH=/nau/local/opt/uportal/bin:.:/nau/local/bin:/nau/share/bin:/usr/sbin:/usr/bin:/usr/ucb:/opt/bin
    :/usr/ccs/bin:/opt/RICHPse/bin:/nau/share/oracle:/nau/share/oracle/product/920/bin:/nau/share/oracle
    /product/920/OPatch:/nau/local/opt/ant/bin:/nau/local/opt/ant/bin
    LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.5.0/jre/lib/sparc/server:/usr/jdk/instances/jdk1.5.0/jre/lib
    /sparc:/usr/jdk/instances/jdk1.5.0/jre/../lib/sparc
    SHELL=/bin/ksh
    HOSTTYPE=sun4
    OSTYPE=solaris
    MACHTYPE=sparc
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x6d3178], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGBUS: [libjvm.so+0x6d3178], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGFPE: [libjvm.so+0x273260], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x273260], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x273260], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: [libjvm.so+0x655038], sa_mask[0]=0x00008000, sa_flags=0x00000008
    SIGUSR2: [libjvm.so+0x273260], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGHUP: [libjvm.so+0x653eb8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x653eb8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x653eb8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    --------------- S Y S T E M ---------------
    OS: Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Assembled 12 December 2002
    uname:SunOS 5.8 Generic_108528-23 sun4u (T1 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 4096, AS infinity
    load average:0.08 0.03 0.03
    CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 6291456k(3143232k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_05-b05) for solaris-sparc, built on Aug 26 2005 16:11:55
    by unknown with unknown Workshop:0x550

    I suspect that you've run out of C malloc space for VM data structures for the CodeBuffer and not Java object heap memory. You could use ps to watch the virtual memory usage of the process.
    You are running the 32-bit JVM, and have -Xmx3072m reserving 3GB of the available address space for the heap. You are running 200+ threads, whose stacks also use up address space. You could try shrinking the thread stack size with the -XX:ThreadStackSize= command line option. That might cause StackOverflowError's if you need deep stacks. With tuning, one can run thousands of threads.
    At the point of the crash you were using 95% of the Java object heap (the PSOldGen), but if that isn't all live data, you could try shrinking your -Xmx a little to leave room for other VM data structures. You can tell what your live data size is by looking at the GC logs after a full collection. You want the PSOldGen to be at least that large, plus at least enough room for a young generation (being somewhat conservative), plus you need space for the young generation itself. You might have to shrink your young generation a little to make it all fit. (I haven't done the math.) Shrinking your young generation will give you more frequent, but probably shorter, young collection pauses.

  • Running Excel macros from ABAP

    Hello everyone,
    I am trying to execute an Excel macro from an ABAP program.  We are currently on a 46C system.  While doing some research on help.sap.com I came across the method execute_macro in class i_oi_document_proxy.  I’ve never used methods in ABAP before and I’m not really sure what I’m doing.  Has anyone got this to work?  When I try to run the program it dumps with error OBJECTS_OBJREF_NOT_ASSIGNED.
    Thanks,
    Becky
    Here is the program:
    REPORT ztest_program.
    INCLUDE ole2incl.
    DATA gs_excel TYPE ole2_object .
    DATA gs_wbooks TYPE ole2_object .
    DATA gs_wbook TYPE ole2_object .
    DATA gs_application TYPE ole2_object .
    DATA: h_sheet TYPE ole2_object.
    DATA: document TYPE REF TO i_oi_document_proxy.
    *Name of the macro in Excel
    DATA: macro_string(50) TYPE c
                     VALUE 'FB03process.FromTheBeginning',
          no_flush TYPE c,
          param_count TYPE i VALUE 0,
          script_name TYPE c VALUE 'X',
          error TYPE REF TO i_oi_error
                OCCURS 0 WITH HEADER LINE,
          retcode TYPE soi_ret_string,
          error_string(50) TYPE c,
          retvalue(30) TYPE c.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
             text       = text-007
         EXCEPTIONS
              OTHERS     = 1.
    CREATE OBJECT gs_excel 'EXCEL.APPLICATION' .
    SET PROPERTY OF gs_excel 'Visible' = 1 .
    GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooks .
    GET PROPERTY OF gs_wbooks 'Application' = gs_application .
    *--Opening the existing document
    CALL METHOD OF gs_wbooks 'Open' = gs_wbook
         EXPORTING #1 = 'D:\temp\FB03process.xls' .
    tell user what is going on
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
              PERCENTAGE = 0
             text       = text-009
         EXCEPTIONS
              OTHERS     = 1.
    GET PROPERTY OF gs_excel 'ACTIVESHEET' = h_sheet.
    CALL METHOD document->execute_macro
         EXPORTING macro_string  = macro_string
                   param_count   = param_count
                   script_name   = script_name
                   no_flush      = no_flush
         IMPORTING error         = error
                   retcode       = retcode
         CHANGING  error_string  = error_string
                   retvalue      = retvalue.
    disconnect from Excel
    FREE OBJECT gs_excel.
    PERFORM err_hdl.
    FORM err_hdl.
      IF sy-subrc <> 0.
        WRITE: / 'Fehler bei OLE-Automation:'(010), sy-subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " ERR_HDL

    Hi,
    Please correct me if I am wrong but it seems that you have not fetched a handle to the document object before issuing the statement CALL METHOD document->execute_macro. Hence the error OBJECTS_OBJREF_NOT_ASSIGNED is being dislayed. If you want to use SAP Desktop Office Integration using ABAP Objects, take a look at this article at http://www.intelligenterp.com/feature/archive/ or http://www.sapinfo.net/public/en/index.php4/article/comvArticle-193333c63b4bd807d2/en/articleStatistic
    Hope this helps.
    Regards
    Message was edited by: Shehryar Khan

  • How to call excel macros programmatically in C#?

    Hi,
    I have a requirement where i need to call excel (2003) macros in C# program. Can anyone help me with a code snippet to do the same?
    The excel macro function takes two input parameters? how can the parameters be passed?
    Any code snippet to do the same in C# would be helpful.
    Thanks.

    Hey there, Sid.  I am tryin gto run your code, but I couldn't even gte it to fire.  Here's what I ahve now:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Excel = Microsoft.Office.Interop.Excel;
    namespace WindowsFormsApplication2
        public partial class Form1 : Form
            private void button1_Click(object sender, EventArgs e)
                //~~> Define your Excel Objects
                Excel.Application xlApp = new Excel.Application();
                Excel.Workbook xlWorkBook;
                //~~> Start Excel and open the workbook.
                xlWorkBook = xlApp.Workbooks.Open("C:\\Users\\Ryan\\Desktop\\Coding\\Microsoft Excel\\Work Samples\\Work Samples\\Historical Stock Prices.xlsb");
                //~~> Run the macros by supplying the necessary arguments
                xlApp.Run("ShowMsg", "Hello from C# Client", "Demo to run Excel macros from C#");
                //~~> Clean-up: Close the workbook
                xlWorkBook.Close(false);
                //~~> Quit the Excel Application
                xlApp.Quit();
                //~~> Clean Up
                releaseObject(xlApp);
                releaseObject(xlWorkBook);
            //~~> Release the objects
            private void releaseObject(object obj)
                try
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
                    obj = null;
                catch (Exception ex)
                    obj = null;
                finally
                    GC.Collect();
    When I hit the play button nothing happens.  When I hot F5 nothing happens.  Do you ahve any idea what I'm doing wrong.  I'd appreciate any advice with this!! 
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • STORAGE_PARAMETERS_WRONG_SET (EM-Memory exhausted) error in NW04

    Hello experts,
    We are having the following issue in our NW04 running on 32-bit Windows & Oracle 9.2 - report execution on the Portal, in BEx, or in RSRT frequently ends with the ST22 error STORAGE_PARAMETERS_WRONG_SET and text as copied below. At the same time our current parameters (also listed below) appear to be in line or even higher with SAP recommendations. Report design has also been optimized as per SAP suggestions and the overall data volume does not appear to be an issue as well. Have anyone experienced anything like that in BW or would have any suggestions? We have already gone through SAP note 779123 and related notes (546361, 552209, 110172) with no success. I have also seen some SDN posts regarding the error message, but so far nothing seems to apply to our case.
    Any advice is greatly appreciated!
    Profile parameter     Value          Unit
    ztta/roll_area     2,000,000.00     Byte
    ztta/roll_first     1.00          Byte
    ztta/short_area     3,200,000.00     Byte
    rdisp/ROLL_SHM     7,500.00          8 kB
    rdisp/PG_SHM     7,500.00          8 kB
    rdisp/PG_LOCAL     150.00          8 kB
    em/initial_size_MB     6,500.00          MB
    em/blocksize_KB     1,024.00          kB
    em/address_space_MB     512.00     MB
    ztta/roll_extension     2,000,683,008.00     Byte
    abap/heap_area_dia     2,000,683,008.00     Byte
    abap/heap_area_nondia     2,000,683,008.00          Byte
    abap/heap_area_total                     2,000,683,008.00          Byte
    abap/heaplimit     40,894,464.00          Byte
    abap/use_paging     0.00          
    ShrtText
        &INCLUDE INCL_INSTALLATION_ERROR
    What happened?
        The current program had to be terminated because of an
        error when installing the R/3 System.
        The program had already requested 242172048 bytes from the operating
        system with 'malloc' when the operating system reported after a
        further memory request that there was no more memory space
        available.
    What can you do?
        Make a note of the actions and input which caused the error.
        To resolve the problem, contact your SAP system administrator.
        You can use transaction ST22 (ABAP Dump Analysis) to view and administer
        termination messages, especially those beyond their normal deletion
        date.
        Set the system profile parameters
        - abap/heap_area_dia
        - abap/heap_area_nondia
        to a maximum of 242172048. Then reduce the value by 10.000.000 to be on the
        safe side.
        Then restart the SAP System.
        abap/heap_area_nondia and abap/heap_area_dia:
    Set smaller than the memory achieved for each process
    with 'malloc' and smaller than abap/heap_area_total
    You should also check whether the available memory (file system
    swap and main memory) is sufficient for the started program
    and its data.
    r analysis
    When the program was running, it was established that more
    memory was needed than the operating system is able to provide save
    To avoid a system crash, you must prevent this
    situation.
               Last error logged in SAP kernel
    Component............ "EM"
    Place................ "SAP-Server SAP-PBD_PBD_00 on host SAP-PBD (w
    Version.............. 37
    Error code........... 7
    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV'
    Description.......... " "
    System call.......... " "
    Module............... "emxx.c"
    Line................. 1886

    Hi Sudhir,
    These settings need to be done by basis people. Anyhow, you can go to the tcode RZ11 and put in these parameters mentioned in the error message. There will be documentation available for these parameters. Try to see if the defaults are not met for any of these parameters. If you find something strange, report it to the basis. The documentations in this are very helpful. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Excel macro error after deploying in Weblogic

    Halo,
    I have written excel macros and it is working fine.
    but if the same file if i try to open from hyperlink after deploying in Weblogic server , I get the error
    "error occured initializing the VBA libraries.
    If Microsoft Visual Basic for Applications (VBA) was not installed, or was set to Install on first use,
    (advertised, or set to install on demand) you may receive this error message.
    Depending on the mode of installation used and the rights of the user to change current settings,
    it is possible to install VBA through Control Panel, Add/Remove Programs, Microsoft Office, Add or Remove
    features. If Visual Basic for Applications is not listed as an installable feature of Office, the administrator
    of your system may have disabled it so it is impossible for you to install it. If VBA is not installed,
    it is impossible to run VBA applications/projects on this computer. "
    1. Even though Excel VBA application is installed in my machine , why am i getting this error.??
    2. I would like to know is there any way to open the excel file even though if the excel software is not installed in client machine??
    Appreciate your help.
    Thanks.

    Hi,
    I do not see any reason for this to not work.
    Is there any difference between the preferences for RX and RXI. Please go to "edit" -> "Preferences" -> "Security(Enhanced)" and uncheck "Enable protected mode at startup".
    Are you able to open any pdf from command line with the same command:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"  <<PDF_FILE>>
    Thanks,
    Amish.

  • Using Excel macros & change properties

    Hi,
    1) my program use Excel macro via a runtime.exec(cmd). I want to use JWS to deliver new versions of application but if I have to put my macros in a jar file how can I reach them (no problem with a file propertie or with gif ressources).
    2) how can I change default properties ("Dossier des applications" in French maybe Applications dir in advanced) wich is enabled in the window.
    thanks a lot
    Sophie

    1) my program use Excel macro via a runtime.exec(cmd).
    I want to use JWS to deliver new versions of
    application but if I have to put my macros in a jar
    file how can I reach them (no problem with a file
    propertie or with gif ressources).You have a lot of options how to do this.
    I would try to use the I/O APIs that reads the macro file
    from a web server (InputStream is = url.openStream()) and put it
    in a local file (FileOutputStream = new FileOutputStream(file)).
    Of course you would need a local location where to store it, could
    be hardwired, or asked from the user.
    2) how can I change default properties ("Dossier des
    applications" in French maybe Applications dir in
    advanced) wich is enabled in the window.I do not understand what you want to do. Explain again.
    Regards,
    Marc

  • How do I make an Excel macro and Labview push to copy Labview calculated data into a cell on demand?

    Hey there, I am a chemist so Labview and programming aren't exactly my strong point. 
    We have a Labview program that we run to control and automated valve manifold that has a thermocouple and pressure transducer that displays the temperature and pressure on the "front panel" of the labview file we run.  The temperature and pressure of the manifold changes in real time while the labview is running.  We must attach a sample to the manifold, take the pressure and temperature, then record those values in an excel spread sheet, one at a time.
    What I would like to do is make a key board macro in excel to automatically type in the current read out of the temperature (and another for pressure) into which ever selected excel cell you are on, so that you don't have to switch back to the labview window to look at it.  I have a very basic understanding of macros in VB but I don't know how to get the labview to make the read outs available for the excel macros to find it.
    Thanks for the help, Here is a screen shot of the block layout of the program.
    Attachments:
    back.JPG ‏79 KB

    Why not have LV put the data in Excel for you?  You can use Actvie X to do this.  There is plenty of information on the forum and knowledge base on how to use Active X and reporting to Excel.  Plus you have the example finder.  Do you have the Report Generation Toolkit?  LV7 is quite old, so I don't know if this is an option for you.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • 'Edit in Place' for XLSM-files (Excel Macro-Enabled)

    Hi,
    is it possible to activate 'Edit in Place' for xlsm-files (Excel Macro-Enabled Workbook file)?
    For xls(x)-files there is the link 'Edit This File', but not for files of type 'xlsm' allthough they could be dealt the same way with Excel.
    I know I can edit this files using the 'Add-in for MS Office' and via the 'Vibe Desktop', but it would be nice to deal them like other Excel-files.
    thx
    Martin

    Originally Posted by mschuhmann
    RTFM helps I admit:
    Novell Vibe 3.3 Administration Guide > Site Setup > Setting Up Site-Wide Customizations > Configuring File Associations for Edit in Place Applications
    Novell Doc: Novell Vibe 3.3 Administration Guide - Configuring File Associations for Edit in Place Applications
    Append ".xlsm" for the variable edit.in.place.file.applet.extensions, edit.in.place.file.webdav.extensions
    Hi Martin,
    Yeah, the Vibe docs can help on occasion
    Still, thanks for feeding it back to the forums as it can be quicker finding a hit in the forums than having to go through the docs!
    Cheers,
    Willem

  • Export to Excel - Macro problems

    I have moved this to the Discoverer forum. Exporting to Excel - Macro Problems
    Message was edited by:
    user385142

    Hello Denes.
    Excuse me for send you a message in this way , but I dont find other way to contact with you.
    Im using the export_excel_pkg, and really it work good.
    I have only one problem, I tell you.
    When, in one item, data is very long and numeric, by example a EAN code, without any class of format, by default it give me the value ###, Im studing the package and trying to resolve this, but if you can send me any idea it can help me a lot.
    Thanks in advanced.
    You are doing a great work for us.

  • Execute Infopackage Through BAPI Using Excel Macro (BAPI_IPAK_START)

    Hi everyone,
    I have a problem when execute infopackage through BAPI using excel macro. I have create a button in macro. When this button is clicked, BAPI for trigger InfoPackage will executed (BAPI_IPAK_START) and this button will disabled.
    After this process completely done (traffic indicator for the request is green in update rules), the button will enabled again.
    Here the subroutine or pseudocode that i will write :
    Private Sub ClickButton()
    Begin
    1. ThisButton.Activated = False   --> Disabled Button
    2. Call BAPI/custom Function Module to execute InfoPackage (BAPI_IPAK_START)
    4. ThisButton.Activated = True   --> Enabled Button
    End
    The problem is i need some statement like this between statement no 2 and statement no 4
    Statement That I Want :
    3. Wait Until BAPI Execute Completely
    So user can click this button again only after the process is finished completely. I don't know how to do this in macro (in ABAP i know i can use "WAIT ... SECOND"), others said this can be done using event in schedule option at infopackage. Anyone,please help me.
    Thank you.
    Regards,
    Satria B

    Enter that req number in RSRQ and monitor the load
    or  right click on the DS - manage - you will req in yellow status which is in progress and you can click on the ...takes you monitor screen
    Edited by: Srinivas on Jul 6, 2010 7:51 AM

  • Excel macro on SharePoint 2013

    Hi,
    I know that SharePoint doesn't support Excel macro but in the next future will it change anything?
    Thanks

    Hi,
     I don't think so it may happen. May be in next release of SharePoint version we can expect some extra features like this. Let's wait and see
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Excel Macro to click on publish button of Master Data Services Add-in

    I am creating an excel macro to perform extra validation and defaults whilst the user is editing the MDS entity. It will be added as a workbook add-in. At the end of the macro I would like to be able to launch publish. The MDS addin is a ribbon.
    Does anyone have an example of how I can simulate a click on the Publish button or what the call that the button does is?
    David Roseneder

    Hi David
    here is a code sample to add mds actions with excel Buttons
    you can find the connection class separately, by downloading my sample project (C#) on codeplex :
    http://mdsmanager.codeplex.com
    (I use this MDS connection class for many projects)
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Xml.Linq;
    using Microsoft.VisualStudio.Tools.Applications.Runtime;
    using Excel = Microsoft.Office.Interop.Excel;
    using Office = Microsoft.Office.Core;
    using System.Xml;
    using System.Collections.ObjectModel;
    using Common.ServiceReference1;
    namespace ExcelToMDS
    public partial class Sheet1
    public const string mdsEndPoint = "http://yourMDSEndpointUrl:4040/Service/Service.svc";
    ServiceClient c = null;
    International intl = new International();
    OperationResult or = new OperationResult();
    Metadata md = null;
    private void Sheet1_Startup(object sender, System.EventArgs e)
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    International intl = new International();
    OperationResult or = new OperationResult();
    md = GetMetaData(intl, ref or);
    cbModels.Items.Clear();
    foreach (Model mo in md.Models)
    cbModels.Items.Add(mo.Identifier);
    cbModels.DisplayMember = "Name";
    cbEntities.Visible = true;
    private Metadata GetMetaData(International intl, ref OperationResult or)
    MetadataResultOptions mro = new MetadataResultOptions();
    MetadataSearchCriteria msc = new MetadataSearchCriteria();
    msc.Models = new Collection<Identifier>() { new Identifier() };
    msc.Versions = new Collection<Identifier>() { new Identifier() };
    msc.SearchOption = SearchOption.UserDefinedObjectsOnly;
    mro.Models = ResultType.Identifiers;
    mro.Versions = ResultType.Identifiers;
    cbModels.Items.Clear();
    Metadata md = c.MetadataGet(intl, mro, msc, out or);
    return md;
    private void Sheet1_Shutdown(object sender, System.EventArgs e)
    if (c != null && c.State != System.ServiceModel.CommunicationState.Closed)
    c.Close();
    #region VSTO Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InternalStartup()
    this.btGetMDSData.Click += new System.EventHandler(this.btGetMDSData_Click);
    this.btGetTransactions.Click += new System.EventHandler(this.btGetTransactions_Click);
    this.btUpdateAttribute.Click += new System.EventHandler(this.btUpdateAttribute_Click);
    this.cbModels.SelectedIndexChanged += new System.EventHandler(this.cbModels_SelectedIndexChanged);
    this.cbMembers.SelectedIndexChanged += new System.EventHandler(this.cbMembers_SelectedIndexChanged);
    this.cbEntities.SelectedIndexChanged += new System.EventHandler(this.cbEntities_SelectedIndexChanged);
    this.cbVersions.SelectedIndexChanged += new System.EventHandler(this.cbVersions_SelectedIndexChanged);
    this.cbAttributes.SelectedIndexChanged += new System.EventHandler(this.cbAttributes_SelectedIndexChanged);
    this.btReverseTran.Click += new System.EventHandler(this.btReverseTran_Click);
    this.Shutdown += new System.EventHandler(this.Sheet1_Shutdown);
    this.Startup += new System.EventHandler(this.Sheet1_Startup);
    #endregion
    private void btGetMDSData_Click(object sender, EventArgs e)
    Cursor.Current = Cursors.WaitCursor;
    DisplayEntityMembers(c);
    Cursor.Current = Cursors.Default;
    private void DisplayEntityMembers(ServiceClient c)
    EntityMembers em = GetEntityMembers(c);
    if (em != null)
    Member[] members = em.Members.ToArray();
    ((Excel.Range)this.Cells[2, 2]).Value2 = "MemberName";
    ((Excel.Range)this.Cells[2, 3]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[2, 4]).Value2 = "AttributeValue";
    for (int i = 0; i < members.Length; i++)
    ((Excel.Range)this.Cells[i + 3, 2]).Value2 = members[i].MemberId.Name;
    int cptAtt = 0;
    foreach (Common.ServiceReference1.Attribute att in members[i].Attributes)
    ((Excel.Range)this.Cells[i + 3, cptAtt + 3]).Value2 = att.Identifier.Name.ToString();
    ((Excel.Range)this.Cells[i + 3, cptAtt + 4]).Value2 = att.Value != null ? att.Value.ToString() : "";
    cptAtt += members[i].Attributes.Count();
    private EntityMembers GetEntityMembers(ServiceClient c)
    if (cbModels.SelectedItem != null && cbEntities.SelectedItem != null && cbVersions.SelectedItem != null)
    EntityMembersGetCriteria emGetCrit = new EntityMembersGetCriteria();
    emGetCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    emGetCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    emGetCrit.VersionId = new Identifier() { Name = ((Identifier)cbVersions.SelectedItem).Name };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    emGetCrit.DisplayType = DisplayType.CodeName;
    EntityMembers em = c.EntityMembersGet(intl, emGetCrit, out emi, out or);
    return em;
    else
    MessageBox.Show("Please select model, version and entity in comboboxes");
    return null;
    private void btGetTransactions_Click(object sender, EventArgs e)
    if (cbModels.SelectedItem != null)
    this.Rows.Clear();
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    DisplayTransactions(c);
    c.Close();
    else
    MessageBox.Show("Please select Model in combos");
    private void DisplayTransactions(ServiceClient c)
    string versionName = "VERSION_1";
    if (cbVersions.SelectedItem != null)
    versionName = ((Identifier)cbVersions.SelectedItem).Name;
    TransactionSearchCriteria trSrchCrit = new TransactionSearchCriteria();
    trSrchCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    //trSrchCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    trSrchCrit.EntityId = new Identifier();
    trSrchCrit.VersionId = new Identifier() { Name = versionName };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    int totalTranCount = 0;
    Collection<Transaction> transactions = new Collection<Transaction>();
    OperationResult or = c.TransactionsGet(intl, trSrchCrit, out totalTranCount, out transactions);
    int startY = 4;
    int startDataY = startY + 1;
    int startX = 4;
    ((Excel.Range)this.Cells[startY, startX]).Value2 = "TransactionID";
    ((Excel.Range)this.Cells[startY, startX + 1]).Value2 = "Code";
    ((Excel.Range)this.Cells[startY, startX + 2]).Value2 = "Name";
    ((Excel.Range)this.Cells[startY, startX + 3]).Value2 = "MemberType";
    ((Excel.Range)this.Cells[startY, startX + 4]).Value2 = "Date";
    ((Excel.Range)this.Cells[startY, startX + 5]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[startY, startX + 6]).Value2 = "PriorValue";
    ((Excel.Range)this.Cells[startY, startX + 7]).Value2 = "NewValue";
    for (int i = 0; i < transactions.Count(); i++)
    ((Excel.Range)this.Cells[i + startDataY, startX]).Value2 = transactions[i].Id.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 1]).Value2 = transactions[i].MemberId.Code;
    ((Excel.Range)this.Cells[i + startDataY, startX + 2]).Value2 = transactions[i].MemberId.Name;
    ((Excel.Range)this.Cells[i + startDataY, startX + 3]).Value2 = transactions[i].MemberId.MemberType.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 4]).Value2 = transactions[i].Date.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 5]).Value2 = transactions[i].AttributeId.Name;
    ((Excel.Range)this.Cells[i + startDataY, startX + 6]).Value2 = transactions[i].PriorValue;
    ((Excel.Range)this.Cells[i + startDataY, startX + 7]).Value2 = transactions[i].NewValue;
    private void btUpdateAttribute_Click(object sender, EventArgs e)
    Cursor.Current = Cursors.WaitCursor;
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    for (int i = 0; i < members.Length; i++)
    ((Excel.Range)this.Cells[i + 3, 2]).Value2 = members[i].MemberId.Name;
    foreach (Common.ServiceReference1.Attribute att in members[i].Attributes)
    if (att.Identifier.Name == "ValidDandT")
    att.Value = DateTime.Now;
    c.EntityMembersUpdate(intl, em);
    DisplayEntityMembers(c);
    c.Close();
    Cursor.Current = Cursors.Default;
    private void cbModels_SelectedIndexChanged(object sender, EventArgs e)
    Identifier i = (Identifier)cbModels.SelectedItem;
    if (md != null)
    cbVersions.Items.Clear();
    foreach (Common.ServiceReference1.Version v in md.Versions)
    if (v.Identifier.ModelId.Id == i.Id)
    cbVersions.Items.Add(v.Identifier);
    cbVersions.DisplayMember = "Name";
    private void cbVersions_SelectedIndexChanged(object sender, EventArgs e)
    Identifier iVer = (Identifier)cbVersions.SelectedItem;
    ModelMembersGetCriteria mmgc = new ModelMembersGetCriteria();
    mmgc.Models = new Collection<Identifier>() { new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name } };
    ModelMembersResultCriteria mmrc = new ModelMembersResultCriteria();
    mmgc.Versions = new Collection<Identifier>() { new Identifier() { Id = iVer.Id } };
    mmrc.IncludeLeafMembers = true;
    cbEntities.Items.Clear();
    cbMembers.Items.Clear();
    Collection<EntityMembers> colEm = c.ModelMembersGet(intl, mmgc, mmrc, out or);
    foreach (EntityMembers em in colEm)
    cbEntities.Items.Add(em.EntityId);
    cbEntities.DisplayMember = "Name";
    private void cbEntities_SelectedIndexChanged(object sender, EventArgs e)
    DisplayEntityAttributesCombo(c);
    DisplayEntityAttributesAndMembersInSheet();
    private void DisplayEntityAttributesAndMembersInSheet()
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    ((Excel.Range)this.Cells[2, 2]).Value2 = "MemberName";
    ((Excel.Range)this.Cells[2, 3]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[2, 4]).Value2 = "AttributeValue";
    if (members.Count() > 0)
    int ii = 0;
    //attributes name on header line
    foreach (Common.ServiceReference1.Attribute att in members[0].Attributes)
    ((Excel.Range)this.Cells[3, ii + 3]).Value2 = att.Identifier.Name.ToString();
    ii++;
    //members Data
    int cptnbAttributes = members[0].Attributes.Count();
    for (int i = 0; i < members.Length; i++)
    for (int j = 0; j < cptnbAttributes - 1; j++)
    ((Excel.Range)this.Cells[i + 4, j + 3]).Value2 = members[i].MemberId.MemberType;
    private void DisplayEntityAttributesCombo(ServiceClient c)
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    if (members.Count() > 0)
    cbAttributes.Items.Clear();
    foreach (Common.ServiceReference1.Attribute a in members[0].Attributes)
    cbAttributes.Items.Add(a.Identifier);
    cbAttributes.DisplayMember = "Name";
    cbAttributes.Visible = true;
    private void cbMembers_SelectedIndexChanged(object sender, EventArgs e)
    Identifier idMember = (Identifier)cbMembers.SelectedItem;
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    Member m = members.FirstOrDefault(p => p.MemberId.Id == idMember.Id);
    cbAttributes.Items.Clear();
    foreach (Common.ServiceReference1.Attribute att in m.Attributes)
    cbAttributes.Items.Add(att.Identifier);
    cbAttributes.DisplayMember = "Name";
    cbAttributes.Visible = true;
    private void cbAttributes_SelectedIndexChanged(object sender, EventArgs e)
    private void btReverseTran_Click(object sender, EventArgs e)
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    UpdateTransaction(c);
    DisplayTransactions(c);
    c.Close();
    private void UpdateTransaction(ServiceClient c)
    string versionName = "VERSION_1";
    if (cbVersions.SelectedItem != null)
    versionName = ((Identifier)cbVersions.SelectedItem).Name;
    TransactionSearchCriteria trSrchCrit = new TransactionSearchCriteria();
    trSrchCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    //trSrchCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    trSrchCrit.EntityId = new Identifier();
    trSrchCrit.VersionId = new Identifier() { Name = versionName };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    int totalTranCount = 0;
    Collection<Transaction> transactions = new Collection<Transaction>();
    OperationResult or = c.TransactionsGet(intl, trSrchCrit, out totalTranCount, out transactions);
    Collection<ReplacementId> transactionReversed = new Collection<ReplacementId>();
    or = c.TransactionsReverse(intl, new Collection<int>() { transactions.First().Id }, out transactionReversed);
    Xavier Averbouch
    Microsoft Community Contributor
    Avanade , FRANCE
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful".

  • How to run excel macros using lookout

    Hi,
    I want use Excel macros for generating custom reports.Is it possible to run macros using run object in lookout
    thanks

    Hi,
    I am pretty sure you can activate macros in Excel using the Run object in Lookout. I can think of two ways you can do this:
    1. You can setup your Excel to run macros on startup using the Auto_Activate method. In this case, you will just launch excel with your workbook using the Run object and that should run the macros automatically. No brainer!
    2. To better control as to when the macros are run we can assign in Excel some shortcut keys for their launching. We then would need to simulate these keystrokes to launch our macros. This can be done using the SendKeys method and some scripting, WHS Scripting for instance. See this pos
    t for a scripting example which simulates Alt+Tab keys to bring-to-front an app.
    You will launch the script from the Run object and this in turn launches Excel and then simulates the keys for luanching the appropriate macros. I admit this is kinda involved, but hey it works!
    Hope this helps,
    Khalid

  • How to run Excel Macros using JDBC-ODBC

    Hi,
    I want to run the excel macros in the excel file, after I connected to excel file, using JDBC-ODBC bridge.
    How macros treated here?
    Help needed please..........
    - Ramesh

    How to run Excel Macros using JDBC-ODBCYou don't.
    As my fuzzy understanding goes.....
    Macros (excel, word, etc) run via a "OLE" extension of the script host system.
    So the only way to run them is via the OLE interface. That has nothing to do with ODBC. You can write your own JNI to do that, or you might get lucky and find that someone else has written a java library to do it for you.

Maybe you are looking for

  • How to remove an image that is stuck on my page?

    Hi there, An image instance used in an accordion widget is displaying outside of one of my pages in my site. Since my site is not yet coded to resize it is seen sitting just below the footer of my page. If I shrink the zoom in Chrome browser it is ac

  • Hyperlinks not exporting to pdf.

    We have a report that has hyperlinks to different pages in the report. I did this by formatting text as a hyperlink and using a formula to generate the link in the format #page=5 when this was exported to pdf, the links worked perfectly and linked ba

  • HT4890 How do I view pictures in photo stream online?

    How do I view pictures online for photostream? I am so frustrated that I can't figure it out. Does anyone know?

  • Can we create a table in temp tablespace?

    Hi Support , I have confused about on point that Can we create a table in temp tablespace. thanks

  • My DVD/CD disc tray opens at start up

    Hi Just bought a new Logitech Illuminated Keyboard. works & looks great! However, my CD/DVD tray now opens whenever i startup/restart OS 10.5.7, PowerMac G5 PPC ps: it is a windows keyboard, so i didn't/ couldn't use the logitech install CD that came