Using an "if not exists" command with a folder on an SMB share

I'm trying to use an "if not exists" command on a folder which is stored on a mounted smb share..
This part of my script is supposed to check if a folder exists and;
If it does - Skip to the next part of the script
If it doesn't - Create the folder.
At the moment it either errors saying that the folder doesn't exist or doesn't create the folder.
I can get this script to work fine using local folder paths but I want to do it on an SMB share..
Here's my script.
Many thanks in advance.
Martin
set username to (do shell script "whoami")
set Media to " Media Files"
mount volume "smb://172.22.8.23/macmedia$"
tell application "Finder"
if not (exists ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text) then
  make new folder at "macmedia$" with properties {name:(username as text) & Media as text}
end if
end tell
tell application "Finder"
set mnt to ("smb://172.22.8.23/macmedia$/" & username as text) & Media as text
try
  mount volume mnt
end try
eject "macmedia$"
end tell

Hi Camelot,
Thanks a lot for that the script's working as it should now..
I'm still having intermittent problems on some clients where it will only map the root volume "macmedia$" and freeze there.. This is a problem as they can then see and access everyone elses folders from there.
Do you know of a better/cleaner way to do what I'm trying to acheive? All i'm after is mapping an additional drive for student's so they can save larger files to our media server within their own folders.
Is there a way of checking if a folder exisits within an smb share without mounting the volume? Just trying to think outside of the box a bit..
Here's my new script;
set username to (do shell script "whoami") & " Media" as text
mount volume "smb://172.22.8.23/macmedia$"
tell application "Finder"
          if not (exists folder username of disk "macmedia$") then
  make new folder at disk "macmedia$" with properties {name:username as text}
          end if
end tell
tell application "Finder"
          set mnt to ("smb://172.22.8.23/macmedia$/" & username as text)
          try
  mount volume mnt
          end try
          eject "macmedia$"
end tell
Many thanks,
Martin

Similar Messages

  • There was a problem connecting to the server "Time Capsule".  The share does not exist on the server. Please check the share name, and then try again.

    The following error pop's up as an [OK] dialogue box after logging in the iMac,
    There was a problem connecting to the server "Time Capsule".
    The share does not exist on the server. Please check the share name, and then try again."
    As it happens, a connection to the Time Capsule is established usually, anyway. On occasion it doesn't.
    I have a Volume, Data, on the capsule, which similarly, usually mounts, but occassionally doesn't, with access permissions denied.
    Any suggestions on how begin to work out how to achieve networking seamlesness?

    First, restart the Time Capsule by disconnecting the power adapter and reconnecting it. If other devices on the network can see it, you can skip this step.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    Click the lock icon in the lower left corner of the window and authenticate to unlock the settings, if necessary. Click the Advanced button, then select the TCP/IP tab in the sheet that drops down. Click Renew DHCP lease.
    Try again to back up.
    If you still can't, open the Time Machine preference pane and delete the TC from the list of backup destinations. You may have to unlock the settings by clicking the lock icon in order to do this. Then add it back.

  • What is IS NULL doing in replacing NOT EXISTS operator with an outer join?

    DB version:10gR2
    An example from searchoracle.target.com
    The query which contains a NOT EXISTS operator
    SELECT M.ModulId, M.Modul FROM MODULE M
    WHERE NOT EXISTS
    ( SELECT PROJEKTMODUL.IdModul
      FROM PROJEKTMODUL
      WHERE M.ModulId = PROJEKTMODUL.IdModul
      AND PROJEKTMODUL.IdProjekt = 23 )is replaced by an equivalent outer join query
    select distinct
           M.ModulId
         , M.Modul
      from MODULE M
    left outer
      join PROJEKTMODUL
        on M.ModulId = PROJEKTMODUL.IdModul
       and PROJEKTMODUL.IdProjekt = 23
    where PROJEKTMODUL.IdProjekt is nullI don't understand what
    PROJEKTMODUL.IdProjekt is nullis doing in the above rewritten query.

    It is to perform an Anti-Join. As far as I know Oracle (starting with release 10g - I thought Release 1) rewrites your NOT EXISTS and NOT IN query to a Anti Join which looks like your second query.
    Look at the results of the query without the IS NULL predicate and see which records (from that set) should be selected to show the same results as the first query. The records of interest match the predicate IS NULL.

  • Creating a folder on an SMB share using a Mac

    Hi everyone,
    This is more of a question than a problem I'm trying to solve, really. Though the answer might help me better explain the issue to our security team.
    Our environment has multiple Windows file servers, both 2003 and 2008. If one of these SMB shares is accessed from a Mac and the user creates a folder, will the ACLs on the share that are set to cascade actually cascade to this newly created folder? We've had issues in the past where ACLs that are supposedly set to cascade on a shared folder are not present on sub-folders created from Macs.
    Next question: if the share resides on a netapp device, do the same rules apply? The Macs are still connecting to these shared folders using the SMB protocol.
    All Macs are bound to our 2008 AD domain and use network accounts with local homefolders. The issue seems to happen when one or both of the following things happen:
    1. A Mac user copies/creates a folder on a Netapp share and for some reason it doesn’t inherit rights correctly
    2. We move the folder from one share on an actual Windows server to the Netapp and it doesn’t take permissions correctly.
    Please let me know if you need any other information.

    Let's put it this way: I'm asking on a Mac site because the people on non-windows support sites are WAAAAY more interested in talking about problems and solutions involving things other than Windows.
    I'm fairly certain that the windows servers ARE respecting their own inheritance rules, barring any major bugs and the like which someone may know about...
    The isue isn't with Macs moving shares to a netapp, it's with a share being moved to a NetApp that has folders created by a Mac. Talking with our security team further, it seems the problem may be limited to shares resident on a NetApp or moved from a Windows server to a NetApp.
    I was primarily asking to see if anyone knew of any issues with these particular situations or had experienced something similar and had dug into it any deeper with F5 (NetApp vendor).

  • WHY---------???? WHY can't I use my bluetooth for voice commands with the driods?

    I purchased a droid1 and found out very quickly that my bluetooth COULD NOT BE USED WITH THE DROID OR VOICE COMMANDS-----IT IS NOT A HANDS FREE DEVICE!! I paired my bluetoot with the droid and expected to make calls as I did with my OLDER phone but NOPE-----IT WILL NOT WORK-------YOU HAVE TO "TOUCH" THE DROID TO MAKE A CALL BEFORE YOU CAN TALK VIA BLUETOOTH! WHAT ARE THESE PEOPLE THINKING? A basic function (AND LEGAL) like voice command calling wasn't put into these driods? PLeaase..........what--why-----how-----could they overlook such a basic and legal requirement (MOST STATS REQUIRE HANDS FREE OPERATION)..............I'm baffled and extremely disappointed because I can not use any of these 'smartphones'=droids.
    Be very careful before you buy one without being informed of this flaw--------the DROIDS are not HANDS FREE DEVICES--------sadly.

    I had the same shock when purchasing 2 new Droids less than a month ago. The store rep emphatically told me that Bluetooth dialing worked but of course that was wrong. The Froyo 2.2 version corrects that -- if you haven't received an update notice from Verizon you can get it here: http://www.droid-life.com/2010/08/03/manual-android-2-2-update-for-motorola-droid/  and do it yourself. it's pretty simple.

  • Adding a slideshow using apDivs - Will not center / clashes with images.

    Hey guys,
    I'll be as quick and to the point as possible. I'm new to Dreamweaver and am having some problems in my attempts to create a simple portfolio website.
    I'm trying to add in a basic image slide-show while making use of apDivs. I've had a look online and found some fantastic JQuery slide-shows, and I ended up adapting this one for use on my website;
    http://www.queness.com/post/923/create-a-simple-infinite-carousel-with-jquery
    I have images as the base of my website and I wanted to add the slide-show on top of them (and the same goes for a couple of embeded YouTube videos too.) I added in an apDiv and placed the code for the slide-show inside it. This created a layer that goes on top of the image, and I am able to put the code for the slide-show inside it with no problems (providing the position of the apDiv is set to absolute.)
    #apDiv1 {
        position:absolute;
        top:419px;
        left:400px;
        width:555px;
        height:480px;
        z-index:1;
    The problem I'm having is aligning the cursed thing. Obviously, setting the apDiv's positioning to absolute is a bad idea, as while it looked fine in one resolution, it doesn't in another. I've tried changing the position of the apDiv to relative, and then adding in some changes to my code;
    #apDiv1 {
        position:relative;
        width:555px;
        height:480px;
        margin-left: auto;
         margin-right:auto;
        z-index:1;
    This centers my slideshow (which is wonderful), however it is no longer layered on-top of the image (since this seems to only work when the position is set to absolute.) Instead, the slideshow appears underneath the image rather than on top.
    Is there any possible way I can keep the apDiv (which contains the slide-show) centered whilst remaining on-top of the image? Like I say, it'll layer on top of it fine when set to absolute, but wont center. When set to relative, it'll center but not layer on top. It's one or the other and I'm pulling my hair out over it at the moment.
    If anyone can give any help at all, please please let me know. I've included a notepad document including the whole of my code for the page (including my goofy comments) at the address below if it helps in any way;
    http://www.box.net/shared/5nufqc78jbg0mfkb00n5

    Of course mate. Like I mentioned before, I still don't have any of my web-pages online (since I've been trying to get it all fixed and working first.) I'm hoping to host with 1-2-3 Reg, so I'm waiting for pay day before I buy a years worth from them.
    The folder at the link below though contains the HTML document for the page along with all its images and CSS scripts;
    http://www.box.net/shared/lgqltz3i90ya8k3nyui9
    Despite them being in the folder, if you'd rather, I'll paste the main bodies HTML code below (and also the accoumpanying CSS document. If there's any problems, please let me know. Thanks again!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--Below is the title of the web page. This is what the user sees in the top of their web browser.-->
    <title>Info || Lee Sparkes BSc Games Design Graduate</title>
    <link href="styles/website_main.css" rel="stylesheet" type="text/css" />
    <!--Here is the code that loads the scripts- the two in this document being the Menu Bar and the JQuery for the slide show.-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/jquery.js"></script>
    <!--Below is the script for the image gallery. This script tells the image gallery how to work. So for example, if a user clicks clicks on the 'next' button, switch to the next image.-->
    <script>
    $(document).ready(function() {
        //rotation speed and timer
        var speed = 5000;
        var run = setInterval('rotate()', speed);   
        //grab the width and calculate left value
        var item_width = $('#slides li').outerWidth();
        var left_value = item_width * (-1);
        //move the last item before first item, just in case user click prev button
        $('#slides li:first').before($('#slides li:last'));
        //set the default item to the correct position
        $('#slides ul').css({'left' : left_value});
        //if user clicked on prev button
        $('#prev').click(function() {
            //get the right position           
            var left_indent = parseInt($('#slides ul').css('left')) + item_width;
            //slide the item           
            $('#slides ul:not(:animated)').animate({'left' : left_indent}, 200,function(){   
                //move the last item and put it as first item               
                $('#slides li:first').before($('#slides li:last'));          
                //set the default item to correct position
                $('#slides ul').css({'left' : left_value});
            //cancel the link behavior           
            return false;
        //if user clicked on next button
        $('#next').click(function() {
            //get the right position
            var left_indent = parseInt($('#slides ul').css('left')) - item_width;
            //slide the item
            $('#slides ul:not(:animated)').animate({'left' : left_indent}, 200, function () {
                //move the first item and put it as last item
                $('#slides li:last').after($('#slides li:first'));                    
                //set the default item to correct position
                $('#slides ul').css({'left' : left_value});
            //cancel the link behavior
            return false;
        //if mouse hover, pause the auto rotation, otherwise rotate it
        $('#slides').hover(
            function() {
                clearInterval(run);
            function() {
                run = setInterval('rotate()', speed);   
    //a simple function to click next link
    //a timer will call this function, and the rotation will begin.
    function rotate() {
        $('#next').click();
    </script>
    <!--The code below contains the CSS code for the slideshow and the background colour of the page.-->
    <link href="styles/website_menu.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
        background-color: #003d6a;
    #carousel {
        width:555px;
        height:480px; 
        margin:0 auto;
    #slides {
        overflow:hidden;
        position:relative;
        width:550px;
        height:440px;
        border:1px solid #ccc;
    #slides ul {
        position:relative;
        left:0;
        top:0;
        list-style:none;
        margin:0;
        padding:0;
        width:2200px;          
    #slides li {
        width:550px;
        height:440px; 
        float:left;
    #slides li img {
        padding:0px;
    #buttons {
        padding:0 0 5px 0;
        float:right;
    #buttons a {
        display:block;
        width:31px;
        height:32px;
        text-indent:-999em;
        float:left;
        outline:0;
    a#prev {
        background:url(arrow.gif) 0 -31px no-repeat;
    a#prev:hover {
        background:url(arrow.gif) 0 0 no-repeat;
    a#next {
        background:url(arrow.gif) -32px -31px no-repeat;
    a#next:hover {
        background:url(arrow.gif) -32px 0 no-repeat;
    .clear {clear:both}
    #apDiv1 {
        position:relative;
        width:555px;
        height:480px;
        margin-left: auto;
        margin-right:auto;
        z-index:100;
    </style>
    </head>
    <!--Below is the main bulk of the code for this page. Everything below here is what can be seen on the page, a container including several images, hotspots / links, a menu bar and an image slide show. The code begins by placing the banner at the top of the page...-->
    <body>
    <div id="container">
      <div id="banner"><img src="images/banner.gif" width="1163" height="109" alt="Lee Sparkes || BSc Games Design Graduate" />
        <ul id="website_menu" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a>      </li>
          <li><a href="info.html">Info</a></li>
          <li><a href="portfolio.html">Portfolio</a>      </li>
          <li><a href="downloads.html">Downloads</a></li>
        </ul>
      </div>
    <!--... and next is the start of the pages main images (along with the hopspot links for the three icons at the top...-->
    <img src="images/info01.jpg" alt="" width="1163" height="270" border="0" usemap="#Map" />
    <map name="Map" id="Map">
      <area shape="rect" coords="778,18,877,115" href="http://uk.linkedin.com/in/leesparkes" alt="Linkedin Profile" />
      <area shape="rect" coords="903,15,998,113" href="http://checkeredknight.tumblr.com/" alt="Tumblr Profile" />
      <area shape="rect" coords="1022,16,1121,113" href="http://www.youtube.com/lightning89" alt="YouTube Profile" />
    </map>
    <img src="images/info02.jpg" alt="" width="1163" height="522" border="0"/>
    <!--... and underneath the second image (althouth placed on top of) is the AP Div that contains the image slide show. This refers to the ID tag at the top of the page and is where the images are named, resized and linked. If an image size was to change here, the information at the top of the page under #container would also need changing.-->
    <div id="apDiv1"><div id="carousel">
        <div id="buttons">
            <a href="#" id="prev">prev</a>
            <a href="#" id="next">next</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <div id="slides">
            <ul>
                <li><img src="infoslide1.jpg" width="550" height="440" alt="Slide 1"/></li>
                <li><img src="infoslide2.jpg" width="550" height="440" alt="Slide 2"/></li>
                <li><img src="infoslide3.jpg" width="550" height="440" alt="Slide 3"/></li>
                <li><img src="infoslide4.jpg" width="550" height="440" alt="Slide 4"/></li>
            </ul>
            <div class="clear"></div>
        </div>
    </div></div>
    <!--Now that the AP Div and the slide show have been placed, we can continue on with the main page images and hotspots...-->
    <img src="images/info03.jpg" alt="" width="1163" height="416" /><img src="images/info04.jpg" alt="" width="1163" height="380" border="0" usemap="#Map4" />
    <map name="Map4" id="Map4">
      <area shape="rect" coords="374,122,561,149" href="mailto:[email protected]" alt="" />
      <area shape="rect" coords="374,152,572,181" href="mailto:[email protected]" alt="" />
    </map>
    <img src="images/info05.jpg" alt="" width="1163" height="282" /><img src="images/info06.jpg" alt="" width="1163" height="418" border="0" usemap="#Map2" />
    <map name="Map2" id="Map2">
      <area shape="rect" coords="736,202,940,228" href="http://www.iplay.com/" alt="iplay Website" />
    </map>
    <img src="images/info07.jpg" alt="" width="1163" height="362" border="0" usemap="#Map3" />
    <map name="Map3" id="Map3">
      <area shape="rect" coords="234,12,548,45" href="http://dyingfordaylight.com/" alt="Dying for Daylight Website" />
      <area shape="rect" coords="733,272,941,304" href="http://www.iplay.com/" alt="iplay Website" />
    </map>
    <img src="images/info08.jpg" alt="" width="1163" height="234" /><img src="images/info09.jpg" alt="" width="1163" height="56" /></div>
    <!--Last but not least is the script for the menu bar. Not sure if this is supposed to go at the bottom, but it works. Don't question this!-->
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("website_menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    CSS:
    @charset "utf-8";
    /* CSS Document */
    #container {
        width: 1163px;
        background: #001524;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
    }#banner {
        position: relative;
    #website_menu {
        position: absolute;
        top: 65px;
        right: 0px;
    #main_image {
        background-color: #001524;

  • Why use FNDCPASS and not Alter command

    FNDCPASS is used to change in application users' password
    I was told that if we logon to db and use "Alter user identified by password", this change wont be reflected to applications...
    Is this true? what exactly happens in these two cases?
    Need ur help....
    Regards
    Bipin

    Once You change the password using FNDCPASS...it will change the password in all
    places...it will take careWhen changing the password for APPS using FNDCPASS, you need to run AutoConfig
    If your system is NOT AutoConfig enabled, you need to change change the APPS password in the following files manually:
    1. $ORACLE_HOME/listener/cfg/wdbsvr.app file as well. (Otherwise users will not
    be able to login to the Personal Home Page or Self-service web apps.) This may also be necessary in the $IAS_ORACLE_HOME\Apache\modplsql\cfg\wdbsvr.app file
    2. Workflow Notification Mailer - $FND_TOP/resource/wfmail.cfg
    3. The concurrrent manager start script.
    4. $OA_HTML/bin/appsweb.cfg
    5. $AD_TOP/admin/template/CGIcmd.dat may contain the password if it is being used.

  • How to use FileVault on second internal drive with user-folder?!

    Hi there,
    I've a problem that has not solved yet.
    My MBP early 2011 with OS X Lion 10.7.5 has instead the SuperDrive two internal harddiskdrives:
    The "System"-Drive (128 GB SSD) for nothing else than the MacOSX installation/applications, and the "User"-Drive (500 GB classic HDD) for all my data and my user-folder. (Yes, I moved it via Terminal commands from "System" to "User").
    All works fine, but I am only allowed to encrypt the "System"-Drive via FileVault2. The "User"-Drive is not supported by FileVault2.
    I tried to encrypt it with the Terminal commands:
    diskutil cs convert /Volumes/WD-Blue -passphrase
    (Note: "WD-Blue" is the name of the "User"-Drive)
    After confirming the new passphrase, it should be encrypting my "User"-Drive. In the HardDiskDrive-Utility is this hdd converted into a "Mac OS Extended (Journaled, encrypted)". So far, so good
    But, now the big problem:
    After rebooting the MBP, it is not possible to login.
    "An error has occured with this user" (or similar)
    I have to reboot, hold CMD+R, and deselect in the HDD-Utility the HDD-Protection, and decrypt this drive with the known passphrase.
    After this "correction", all works fine, but without the encryption...
    So... any ideas, how to protect the second hdd with my user-folder, without losing my data, because I think, when the second one has been deleted and the new format is "Mac OS Extended (Journaled, encrypted)", it won't solve my problem, because my user-folder is not on the "System"-Drive.
    Thank you, and sorry for my english
    Regards.

    Hi there,
    I solved my problem by inform myself...
    Here is the solution to encrypt the second internal drive, without losing data, if your user-folder is on the second one (and not on SYSTEM). I will type "WD-Blue" in this example. You have to type in your drivename, that you want to encrypt.
    Please note, that modifying your system this way is at your own risk!
    Add new user in the ucp with admin-permissions
    logout your user
    login as new user (admin)
    be sure, that no file on the second drive is in use
    open terminal
    type diskutil list to see your drives
    type diskutil cs convert /Volumes/WD-Blue -passphrase YOURPASSWORD
    Terminal should encrypt your drive. To check the status type diskutil cs list
    If the amount of bytes the same, the drive has been encrypted
    So, now still use terminal and type (after encryption has been accomplished):
    curl https://raw.github.com/jridgewell/Unlock/master/install.sh | bash
    Follow the promts and enter your given password for the encrypted drive (i.e. for "WD-Blue")
    Exit terminal and reboot
    Done
    This way works fine. My user-folder is still on WD-Blue (2nd Drive) and the hdd is encrypted without losing my files.
    Regards,
    Marc.
    List of references:
    Encryption without formatting:
    http://www.macworld.com/article/1162999/complete_guide_to_filevault_2_in_lion.ht ml?page=2
    Mount second encrypted drive while boot-sequence:
    https://github.com/jridgewell/Unlock
    Please note, that modifying your system this way is at your own risk!

  • Photoshop not saving correctly with mcx folder redirection

    Students have network homes with their cache folders redirected to local drives as per:
    http://houseofmac.wordpress.com/2010/11/03/os-x-network-home-folder-redirection/
    Everything has been working fine, but lately several users are not able to save files in photoshop.
    Save As takes them to the invisible cache folder in tmp on the local drive.
    Photoshop allows them to select the desktop or documents folder as the destination for their saves, but their files are not visible or accessible there.
    When I log into the local machine as admin and check their cache folders, the files are not there either.
    Client machines are 10.7.5
    Server is 10.5.8
    Photoshop is CS6
    Any ideas?

    Correction:
    Photoshop's Save As... takes them to tmp in private at the root of the server's startup volume.
    This is sporadic, and seems to happen only when there is a "large" group (30!) of clients all logged in at the same time.
    Clients are connected to the server via 100 Mbs network.
    Server has 2GB SDRAM

  • Tune the query with join and not exists

    This is on 10g R2.
    I have a query similar to :
    Select A.*, C.*
    From A inner join B on A.id = B.id
    Left join C on A.kid = C.kid
    Where not exists
    (select * from D where A.fid = D.fid and A.stat = 2);
    I want avoiding to use the NOT EXISTS in the last part of the query
    I tried the autotrace explain of above and compared with others format and found no better execution plan than that. The explain plan indicated that there were long "table access full" operation on B, due to its little huge records, and a long operation of the "NESTED LOOPS OUTER". I had tried to replace the NOT EXISTS part with another LEFT JOIN in the FROM, but it went worse. So Anyone can suggest a better way? or it is the most efficient query I can get?

    Here is the tkprof output
    from baandb.ttfacr200201 a
       inner join baandb.ttfgld106201 c on (a.t$ttyp = c.t$otyp and a.t$ninv = c.t$odoc) and c.t$leac like :"SYS_B_0"
       left join baandb.ttfgld910201 d on c.t$dim2 = d.t$dimx and d.t$dtyp = :"SYS_B_1"
       where not exists
        (select * from baandb.tcisli205201 b
         where a.t$ttyp = b.t$ityp and a.t$ninv = b.t$idoc)
         and (a.t$trec = :"SYS_B_2" or a.t$trec = :"SYS_B_3" and t$tdoc = :"SYS_B_4")
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.01       0.01          0          0          0           0
    Fetch        5      1.06      52.11      29925      45943          0          54
    total        7      1.07      52.12      29925      45943          0          54
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 31
    Rows     Row Source Operation
         54  HASH JOIN RIGHT ANTI (cr=45943 pr=29925 pw=0 time=2317005 us)
       9957   INDEX FAST FULL SCAN TCISLI205201$IDX1 (cr=39 pr=0 pw=0 time=54 us)(object id 16639)
      10067   NESTED LOOPS OUTER (cr=45904 pr=29925 pw=0 time=68531937 us)
      10067    HASH JOIN  (cr=35837 pr=29925 pw=0 time=68471521 us)
      10420     TABLE ACCESS FULL TTFACR200201 (cr=2424 pr=0 pw=0 time=20894 us)
      33156     TABLE ACCESS FULL TTFGLD106201 (cr=33413 pr=29925 pw=0 time=117767552 us)
         51    INDEX UNIQUE SCAN TTFGLD910201$IDX1 (cr=10067 pr=0 pw=0 time=53177 us)(object id 20402)
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute      3      0.02       0.02          0          0          0           0
    Fetch        6      1.06      52.11      29925      45943          0          55
    total       11      1.08      52.14      29925      45943          0          55

  • BAPI_ACC_DOCUMENT_POST - Int.Order -E/KO/104/Order 400001234 does not exist

    Hi Experts,
    Am using BAPI_ACC_DOCUMENT_POST to post the docs, working fine, with populating min. fields in min. structures.
    But, in some cases, am populating INTERNAL ORDER into ACCOUNTGL-ORDERID field, but, am getting an error, saying
    E- KO-104--Order 400001234 does not exist
    But, with the same input data, the FB50 is working!!!!!!!!!!!
    So, pls. let me know How to fix it?
    Is there any other field I hv to populate along with ACCOUNTGL-ORDERID, when am using INTERNAL ORDER?
    thanq

    Srinivas,
       i am expecting the error might be converion problem. Please check for conversion routine for AUFNR(Internal Order) Field, before filling it to G/L Item table (before passing to Function module)
    CONVERSION_EXIT_ALPHA_INPUT
    CONVERSION_EXIT_ALPHA_OUTPUT
    Some time back i have similar problem. it was solved after using converion routine before filling the G/L Item internal Table. this might be helpful for you
    Thanks
    Sekhar.

  • ZR65MC camcorder does not turn on with battery in position unless the power adapter is plugged in

    Bought a ZR65MC camcorder in 2003.  Enjoyed it so much, but a couple of yrs. ago, the tape compartment stopped opening.  I just purchased another ZR65MC (used) on ebay in hopes that I could at least get the videos off & onto DVDs.  Also, we are planning trip to Yellowstone soon, so camera/camcorder will be nice.  Problem:  The used one does not turn on with a fully charged battery unless the power adapter is plugged in.  I assume battery is good because it turns on my older camera.  I do need backup batteries in both, but have not done this yet.  Please tell me I have not purchased a bad camera, maybe just doing something wrong?  Would have never purchased a used camera online, but did this time.  I have ordered a new battery BP-522 with wall charger.  It should arrive next week.  Any suggestions?

    Hi Sharon72064,
    If the new battery won't power the camcorder without the Compact Power Adapter, unfortunately, it's likely that an internal component has malfunctioned.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • SDA hdbsdautil does not exist in /usr/sap/ SID /home

    I am looking to test ODBC connections for SDA per this document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706d9725-7087-3110-6d9e-91be8ad377d6?QuickLink=index&overridelayout=true&59064390315971
    But hdbsdautil does not exist in my home folder.
    I am able to see that program under exe:
    /sapmnt/<SID>/exe/linuxx86_64/HDB_1.00.70.00.386119_1342680
    But when I execute there I see the following error:
    error while loading shared libraries: libhdbrskernel.so: cannot open shared object file: No such file or directory
    Any thoughts?

    Hi Sebastian,
    Of course the program hdbsdautil is not in the home directory, as it resides in the exe directory of the SAP HANA software.
    server:/usr/sap/HBW/HDB10> which hdbsdautil
    /usr/sap/HBW/HDB10/exe/hdbsdautil
    server:/usr/sap/HBW/HDB10>
    It seems it was not included in the initial SP07 release of HANA 1.0 and an update to the latest version on SP07, which is Rev. 73 is anyway recommended.
    Best Regards Roland

  • Update Retriever - HelloLevel_8_07_00.xml not existing in SSClientCommon folder

    Hello,
    Yesterday I installed a clean installation of the latest Update Retriever (updateretriever402-2011-07-27.exe) on our server and configured the latest System Update client (systemupdate401-2011-07-25.exe) to connect to it for automatic update retrieval.
    This worked out fine yesterday, client connecting to the internal server and retrieving the updates.
    This morning this does no longer worked, checked the tvsu_log file on the client reveals that this seems to be caused by the a file named HelloLevel_8_07_00.xml not existing in the SSClientCommon folder on the internal update retriever server. 
    Checking the content of the target dir on the internal server does indeed show that that file is not present, others are.
    Please advice as to what the reason and solution can be.
    Thanks.
    *** Partial content of the clients' tvsu_log file ***
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.Start()
     Message: HelloProcess Started
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.Start()
     Message: Client level: HelloLevel_8_07_00
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
     Message: The UDF will be downloaded from: S:\Lenovo\TVSU_Repository\SSClientCommon/HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
     Message: The UDF will be downloaded to-> C:\Program Files (x86)\Lenovo\System Update\session\system\SSClientCommon\HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.Gui.CustomComponents.Step.set_Image(StepImage value)
     Message: Setting PROCESSING status.
    Info 2011-08-17 , 11:44:16
     at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
     Message: Failed to find the file from server: S:\Lenovo\TVSU_Repository\SSClientCommon/HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
     Message: some error were found in LocalDownload.Init function
     Exception:
      Message: the file does not exist int the server path
      Type: System.Exception
         at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    *** Content of the SSClientCommon folder on the internal update retriever server ***
    26/04/2011  10:29                97 HelloLevel_8_00_00.xml
    11/08/2011  15:37             1.267 HelloLevel_8_00_00L.xml
    26/04/2011  10:29                97 HelloLevel_8_00_01.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_02.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_03.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_04.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_05.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_06.xml
    11/08/2011  15:39             1.266 HelloLevel_8_01_00.xml
    11/08/2011  15:39             1.125 HelloLevel_8_02_03.xml
    11/08/2011  15:39             1.125 HelloLevel_8_02_04.xml
    11/08/2011  15:39             1.125 HelloLevel_8_03_01.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_00.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_01.xml
    11/08/2011  15:39             1.126 HelloLevel_8_04_01D.xml
    11/08/2011  15:39             1.126 HelloLevel_8_04_01L.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_02.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_00.xml
    11/08/2011  15:41             1.126 HelloLevel_8_05_00A.xml
    11/08/2011  15:41             1.126 HelloLevel_8_05_00R.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_10.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_20.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_40.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_50.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_60.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_70.xml
    11/08/2011  15:41             1.127 HelloLevel_8_05_80.xml
    11/08/2011  15:43             1.129 HelloLevel_8_05_80_314.xml
    11/08/2011  15:44             1.127 HelloLevel_8_05_81.xml
    11/08/2011  15:44             1.127 HelloLevel_8_05_90.xml
    11/08/2011  15:42             1.127 HelloLevel_8_05_91.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_0.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_1.xml
    11/08/2011  15:45             1.321 SSClientCommon_7_00_10.xml
    11/08/2011  15:45             1.321 SSClientCommon_7_00_11.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_5.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_6.xml

    Hi ,
    Does your issue been fixed? if not, maybe you can post the full log so that  I can have a look to see if I can provide some advises,thanks.

  • Sender File adpter --don't raise alerts when file does not exist in folder

    Hi,
    My Scenario is File --- >XI ---> SAP.
    I must archieve the file after it got polled. and iam polling for every 60 mins, if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
    Is there any way i can avoid raising an alert if file does not exist in the source folder.
    we are on XI 3.0 sp23?
    Thanks
    Srini

    Hello,
    Your Subject:
    >Sender File adpter --don't raise alerts when file does not exist in folder
    is contradictory to your question.
    >if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
    > Is there any way i can avoid raising an alert if file does not exist in the source folder.
    I know you want to say "Don't Raise alerts when file does not exist in folder". Correct me if I am wrong.
    Some times it happens, when we write the right thing but it means something else and this is the reason many experts have replied, "how to raise an alert". So if you remove the word "Sender File adapter" from your subject then it will be easy to understand the exact meaning.
    Regards,
    Sarvesh

Maybe you are looking for