Help with my research! Need you!

I am writing a report on improving performance in relational databases, for my primary research I need to gather information straight from some experienced DBAs. I am going to be visiting a few companies in person but thought some extra research online would be really good!
I need some DBAs with good experience of oracle databases. My report topic is improving performance in databases.
There are a few questions below that I would like you to fill out! Please copy and paste the questions into an e-mail and e-mail the answers to [email protected] with subject: Oracle research
If you could also reply to this thread once you have sent the email so that it bumps the thread and also allows me to keep an eye on how good we are doing.
Thank you! and your time is much appreciated!
Questionnaire
Name
Country
Job title
Years of oracle experience
Qualifications
e.g. degree, oracle certification
Company
Size of database (users)
Most common performance problems in your database(details)
How often is your database tuned?
What are the biggest causes of poor performance in your database?
Poor database design
Poor SQL
Poor use of triggers/procedures/functions
Choose one
Does your company use any third party tools to help increase performance?
If yes please provide details
For each of the following please state weather or not you use these and how much of an impact they have on the overall performance of your database.
Normalization
Indexes
Clusters
Tablespaces
Chaining
Hashing
Hints

Performance in database applications is down to -
Application design, including logical data model
Application implementation
If these two are got right then putting it into any Oracle database with default parameters should require zero tuning.
Tuning on a regular basis suggests either the application design or implementation was sub-optimal, but "cannot be changed" or you are suffereing from Compulsive Tuning Disorder. In any event it is an exercise in twiddling futility.

Similar Messages

  • I need to use my iMac to run some Windows software and was thinking of using Parallels Desktop 9 to help with this. Do you still have to partition your drive with Parallels and does this leave you open to viruses?

    I need to use my iMac to run some Windows software not available for Mac and was thinking of obtaining Parrallels Desktop 9 to help with this. If I use Parrallels do you still have to partitian your drive and does this leave you open to viruses?

    You do not have to partition your drive - Parallels creates a disk image which contains your Windows installation. You do have to exercise anti-virus measures in the Windows partition, although such malware cannot affect the Mac filesystem.
    Matt

  • Help with display settings needed urgently

    Graphics and icons that are supposed to be round appear oval. For instance the Safari and App icons on the dock appear very oval. Logos on websites I've visited before and I know are round appear oval.
    I've tried all display settings and nothing helps. I'm a designer and this is causing a major hinderance. Everything appears condenced / squashed sideways. I'd be very grateful if someone could help with this.
    I've just purchased the laptop. I have been using Mac for a few years and I've always selected the "stretched" option from the Display settings which sorted out the problem completely. A circle looked a proper circle. But in this version the option is not available.
    Badly hoping someone can help with this.
    Thanks.
    Version Details - OS X Lion 10.7.4

    It sounds like you have selected an incorrect resolution.  For starters, are you talking about your Air's display or an external display?  You haven't said which Air you have.  If you have an 11" model, make sure your display resolution is set to 1366x768.  If you have a 13" model, it should be set to 1440x900.  These are the proper resolutions for the built in displays.  Chosing anything other than the referenced "native" display resolutions will result in distortions or clarity problems. 

  • I need help with installation.  Can you help?

    I have installed adobe flash with confirmation that it is installed and ready to  run.  However, when I try to access the site, it still tells me I need to install Flash.  Can you help?

    http://forums.adobe.com/thread/1195540

  • Urgent Help With Connections File Needed Please

    Hello All!
    I am getting the following error when I attempt to test my
    live site. I am testing database connectivity within my site that
    is hosted by GoDaddy. All pages are ASP and the database is stored
    in the root directory in GoDaddy's folder called "access_db". The
    folder has read/write access.
    Here is the error:
    Microsoft JET Database Engine error '80040e4d'
    Cannot start your application. The workgroup information file
    is missing or opened exclusively by another user.
    /sitename/requestquote/index.asp, line 130
    Here is the code from the connections file:
    <%
    ' FileName="Connection_ado_conn_string.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="false"
    ' Catalog=""
    ' Schema=""
    Dim MM_connNAME_STRING
    MM_connNAME_STRING =
    "Provider=Microsoft.Jet.OLEDB.4.0;DataSource=username\access_db\filename.mdb;UserId=usern ame;Password=password;"
    %>
    The error above refrences "/sitename/requestquote/index.asp,
    line 130", and here is the code:
    rs_quote.ActiveConnection = MM_connNAME_STRING
    Please help.
    Thanks - Matt

    Sorry Tim? This is Dave. Did you read what said? I'm not
    Matt.
    Dave
    "TC2112" <[email protected]> wrote in message
    news:[email protected]...
    > It could be, you'd have to check in the control panel to
    make sure
    > permissions are set to read and write.
    > Have you tried changing the path in your connection
    string to the GoDaddy
    > path and uploading the file?
    > The info I posted tells you how to find out what the
    path on GoDaddy is.
    >
    > Tim
    >
    >
    > "Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote
    in message
    > news:[email protected]...
    > > Tim,
    > > Very good reply! I have no experience with GD other
    than the complaints
    I
    > > have read here about connections to databases etc.
    I think that if his
    > > connection test is ok that it has to be a
    permissions issue? What do you
    > > think?
    > > Dave
    > > "TC2112" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> Hello,
    > >>
    > >> Sorry if some of this is repetitive in respect
    to what others have
    > >> advised
    > >> in this thread.
    > >> It's an answer I gave someone with similar
    problems a while ago.
    > >> It does answer your question about the
    successful path on your local
    > > server
    > >> being different than the path on GDs server.
    > >> There are also instructions on how to find the
    path on GD's server if
    > > needed
    > >> for DNS-Less connection.
    > >>
    > >>
    > >> Option 1:
    > >> You can try using a map path function like this
    in your connection
    > >> string:
    > >> access_db is the folder the database is in and
    mydatabase.mdb is the
    > > access
    > >> file.
    > >> Substitute your names.
    > >>
    > >> STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=" &
    > >> Server.MapPath("access_db") &
    "\mydatabase.mdb;User Id=admin;Password="
    > >>
    > >> -or-
    > >>
    > >> Option 2:
    > >> You could try an OLEDB DSN-Less connection
    instead of using a DSN. It's
    > > not
    > >> hard to do.
    > >>
    > >> Step 1 is to figure out the location of the
    root directory on the
    host's
    > >> server..That's very easy to do yourself.
    > >>
    > >> Just make an asp page (I named mine
    "findit.asp"), and put the
    following
    > >> code between the <body> tags, like so:
    > >> <body>
    > >> <%
    > >> Response.Write("The location of this page
    is:<br>")
    > >>
    Response.Write(Request.ServerVariables("PATH_TRANSLATED") &
    "<br>")
    > >> Response.Write("The location of my root
    directory is:<br>")
    > >> Response.Write(Server.MapPath("\"))
    > >> Response.Write Path
    > >> %>
    > >> </body>
    > >>
    > >>
    > >> Upload it to the same location as your site's
    home page.
    > >> Once your new asp page is uploaded, just
    navigate to that page in your
    > >> browser.
    > >>
    > >> For a site on GD the "findit.asp" page displays
    something like this:
    > >>
    > >> The location of this page is:
    > >> d:\hosting\mysite\findit.asp
    > >> The location of my root directory is:
    > >> d:\hosting\mysite
    > >>
    > >> Now that you know the root directory location
    on their server, you can
    > >> figure out the path to your database.
    > >> Let's say that the folder your database is in
    is named _private, and
    it
    > >> happens to be in the root
    > >> directory along with your home page.
    > >>
    > >> Next, just add the database folder name
    (_private) and the database
    > >> inside's name (mydatabase.mdb) to the root
    directory location:
    > >>
    > >> d:hosting\mysite\_private\mydatabase.mdb
    > >>
    > >> That's your Data Source path.
    > >>
    > >> The connection string would look something like
    this:
    > >>
    > >> = "Provider=Microsoft.Jet.OLEDB.4.0;Data
    > >>
    Source=d:hosting\mysite\_private\mydatabase.mdb;User
    ID=;Password=;"
    > >>
    > >> (the code above may appear wrapped (two lines)
    in the forum/ng but it's
    > > one
    > >> line with no return within)
    > >>
    > >> IMPORTANT: If you are using a local testing
    server, make a copy of your
    > >> connection asp page as a backup.
    > >> The reason? The connection information you are
    going to put in this
    file
    > >> will only work on the host's server.
    > >> Once you upload the new connection.asp page
    with the changes for the
    > >> host,
    > >> you'll need to change your local copy back to
    your local connection so
    it
    > >> will work on
    > >> your local testing server.
    > >>
    > >> Upload to server.
    > >>
    > >> Please note: From now on, when you upload (or
    "put" if you're using DW)
    > >> files that refer to your connection asp page
    you're going to get a
    > >> warning
    > >> that your connection asp on the host is
    different than your local copy.
    > >> Always say "No" to updating it, or you'll
    replace the GD DSN-Less
    > > connection
    > >> with your local one.
    > >>
    > >>
    > >> Did you set the appropriate read/write
    permissions on the
    > > directory(folder)
    > >> your database is in?
    > >> You can do that in GD's control panel.
    Hosting> Select your site >
    Manage
    > > to
    > >> open it.
    > >>
    > >> I hope this helps.
    > >>
    > >> For what it's worth, I only use GD for domain
    names now.
    > >> I had numerous problems with some sites hosted
    there, switched them to
    > >> HostMySite and haven't had any.
    > >>
    > >> Take care,
    > >> Tim
    > >>
    > >>
    > >>
    > >>
    > >>
    > >> "Baxter" <baxter(RemoveThe
    :-)@gtlakes.com> wrote in message
    > >> news:[email protected]...
    > >> > Baxter - I get "Connection was Made
    Successfully" if connection to
    the
    > >> > database was made Successfully not sure
    what's going on here? When
    you
    > >> > look
    > >> > at your site files in Dreamwerer on the
    server is there a folder
    named
    > >> > access_db? If so is your data base in that
    folder? The database needs
    > >> > permissions set to read and write to that
    file. Have you checked
    > >> > permissions
    > >> > on the site? does GD give you a control
    panel so that you can set the
    > >> > permissions your self? I have never used
    GD but have seen where
    people
    > >> > have
    > >> > had lots of problems with them when using
    a scripting language. I
    don't
    > >> > know
    > >> > what else it could be at this point.
    > >> > Dave
    > >> > "mtrueblood"
    <[email protected]> wrote in message
    > >> > news:[email protected]...
    > >> >> Baxter - I get "Connection was Made
    Successfully" with the
    credentials
    > >> >> you
    > >> > gave
    > >> >> me. My site works just fine on my
    local machine with
    > > access_trueblood.dsn
    > >> > (it
    > >> >> also worked with the dsn I initally
    created for the site). All pages
    > >> > display
    > >> >> and I get no errors. I think where the
    issue may be, now I am
    guessing
    > >> > here, is
    > >> >> that my connection refrences a
    database located in the folder
    > >> >>
    C:\Users\Administrator\Websites\Sitename\access_db, but once I
    upload
    > > my
    > >> > site,
    > >> >> the database still sits in access_db,
    but the root folder possibly
    has
    > >> > changed
    > >> >> (maybe causing the connection to
    fail).
    > >> >>
    > >> >> Dooza - I don't understand how I can
    use "c:myDsnFile.dsn", when
    once
    > > I
    > >> > upload
    > >> >> my site, "c:myDsnFile.dsn" would then
    not be the location of my dsn.
    > >> >> "c:myDsnFile.dsn" refrences a file on
    my computer. I am using an
    > >> >> online
    > >> > hosting
    > >> >> company. Am I not understanding you
    correctly? See note above. I did
    > > use
    > >> > your
    > >> >> information and got the following
    browser error:
    > >> >>
    > >> >> Microsoft OLE DB Provider for ODBC
    Drivers error '80004005'
    > >> >> General error: Invalid file dsn ''
    > >> >> /sitename/contactus/index.asp, line
    130
    > >> >>
    > >> >> line 130 -
    rs_contactus.ActiveConnection = MM_connTrueblood_STRING
    > >> >>
    > >> >> I am researching on how to do a
    dsn-less connection, unless I can
    get
    > >> > this
    > >> >> figured out.
    > >> >>
    > >> >> Thanks - Matt
    > >> >>
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    >
    >

  • I need some help with my video - need to blur some footage.

    Hi!
    I was wondering if somebody could help me out with my video. I've got some video footage downloaded from the internet (with permission, of course) and I was wondering if there is any way I could blur the clip and then have it slowly fade into focus. I know how to blur the video (the Gaussian blur effect), but I basically want it to look like I've filmed the footage myself and I'm slowly turning the focus wheel until the image is in focus.
    Obviously it's quite easy to do in-camera but for my film I needed footage of animals and wasn't able to film any of my own so I needed to source footage online. It's really imperative to my production that I get this blur thing working so if anyone can please explain to me the easiest way to do it then I would be extremely thankful! (That's if it is possible at all... I sure hope so)
    I've searched online but so far I've only been able to find videos explaining how to blur a small section of the image (e.g. blurring out logos, faces, etc)
    Thanks a lot

    For what you want to do, the 'Camera Blur' effect (Windows only)
    will work much better than Gaussian Blur.
    Add the effect to the clip (or to an Adjustment Layer above to the clip),
    then use keyframes to change the amount of blur over a specified
    period of time.
    Camera Blur effect (Windows only)
    http://help.adobe.com/en_US/premierepro/cs/using/WS1E7C690B-2342-43c3-9253-2BAAFF4168EF.ht ml#WS1c9bc5c2e465a58a91cf0b1038518aef7-7deaa
    Adjustment Layers - Pr
    http://helpx.adobe.com/premiere-pro/using/help-tutorials-adjustment-layers.html#id_1358
    Adding, navigating, and setting keyframes - Pr
    http://help.adobe.com/en_US/premierepro/cs/using/WS1c9bc5c2e465a58a91cf0b1038518aef7-7e63a .html
    WS3878526689cb91655866c1103906c6dea-7df0a.html

  • Help with a prog needed - program thats outputs a triangle

    Hello!!!!!
    How are we all this fine evening?
    Hopefully someone out there can help me. I have been working on this for ages but keep getting stuck. I am trying to make a program that prints out a triangle such as:
    The first task was to creat a program that prints a box like this:
    The code for which I have sussed to be:
    import java.util.*;
    public class sess11
         public static void main(String[] args)
              // setup data input and declare variables
              Scanner dataInput = new Scanner(System.in);                    
              int size, x, y;
              System.out.print("Enter the size of the square: ");
              size = dataInput.nextInt();
              while ((size < 2) || (size > 10))
                   System.out.printf("The size must be 2 or greater and less than or equal to 10!%n");
                   System.out.print("Enter the size of the square: ");
                   size = dataInput.nextInt();
              for (y=0; y<size; y++)
                   for (x=0; x<size; x++)
                        System.out.print("*");
                   System.out.printf("%n");
    }the next task was to make it do this:
    which modifying the above with this does:
    if ( y>0 && y<(size-1) && x>0 && x<(size-1) )
                             System.out.printf(" ");
                        else
                             System.out.print("*");However, no matter what I try to do to change the code
    to output the
    I cant seem to get it to work, I can get every other combination but the one i need.
    I would be greatful of any helo at all.
    Cheers

    woo! the lightbulb has lit!
    import java.util.*;
    public class lecture11b
         public static void main(String[] args)
              // setup data input and declare variables
              Scanner dataInput = new Scanner(System.in);                    
              int size, x, y;
              System.out.print("Please enter the size of the square: ");
              size = dataInput.nextInt();
              while ((size < 2) || (size > 10))
                   System.out.printf("The size must be 2 or greater and less than or equal to 10!%n");
                   System.out.print("Please enter the size of the square: ");
                   size = dataInput.nextInt();
              for (y=0; y<size; y++)
                   for (x=-1; x<y; x++)
                             System.out.print("*");
                   System.out.printf("%n");
    }done it! thanks for the nudge. I think the problem was i have been trying to do this for hours now so all logical thought has gone.
    thankyou thankyou thankyou, if you were here id kiss you! :)

  • Help with (Error-1) needed please

    OK Here goes...... I setup a new iMac for my wife, (In the process I Had to replace the hard disk in her old iMac) Which I took for myself. Now I basically used carbon copy cloner to create the new machine Therefore they probably have the same machine name or something. I set up my account, and installed My software, etc...
    Heres the problem: Her machine can backup to the 1 TB Time Capsule no problem, but when I try I get This message:
    The Backup disk image "/Volumes/Time Capsule/._Lisa ****'s Computer_001b63976362.sparsebundle" could not be accessed (error -1_).
    Is there a way to change this machines Name or ID somewhere in the preferences or at the terminal?
    Please help. Thanks

    I'm not exactly clear on what you did.
    Her iMac has a new internal HD, with a "clone" of your Mac, and can back up ok, right?
    Your Mac (also an iMac?) can no longer back up? Did you install her old internal HD in your Mac?
    Time Machine keeps track of which computer is which by a hardware identifier, not the Computer Name. But for your own purposes, you might want to change one or both Computer Names, via +System Preferences > Sharing.+ See #P1 in [Using Time Machine with a Time Capsule|http://web.me.com/pondini/TimeMachine/TimeCapsule.html] (or use the link in *User Tips* at the top of this forum), for details and limitations on the format of the names. (Sometimes Time Machine will change the name of the sparse bundle on the first backup after you do that, sometimes it won't.)
    Time Machine puts each Mac's backups in a separate sparse bundle, so there should be two on your Time Capsule. The one made under Leopard will include the hardware address in the name; the one made under Snow Leopard won't.
    If you double-click the Time Capsule in a Finder window's sidebar, then click the Data folder, you should see something like this (in +Column View):+
    |
    You may need to just select the proper sparse bundle via +Time Machine Preferences.+
    If that doesn't help, try repairing your sparse bundle, per #A5 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    If that doesn't work, please correct anything I misunderstood, or if you see something different than the sample.

  • Need help with Macbook Resources needed

    Hi,
    I would like to buy a new laptop (probably a Macbook) and I would like to know if
    1 Go is enough to make personnal video (via video capture with my digital 8 video camera)
    Thank you very much for your help.

    .. So I'm not going to yell after my "futur" macbook because it's too slow (video and/or CPU) because I just have 1 Go for the RAM....
    define 'slow' ...
    I know, in the 'PC' world, speed is a huge issue.. I'm using Macs since '86, and used Windows at work... speed was never an issue for me... probably, I'm a slow man ... responsiveness, 'snappy' - yes, THIS is important, that's why I'm allways recommending to use at last 1GB of RAM.. the 'min. recommendations' of Apple for OsX are, imho, too low...
    OsX/iM makes widely use of the 'speed' of the built in graphic-cards.. e.g. older Macs don't support that 'Quartz' thing... just read the specs of the apps... compare to the hardware you like to buy...
    but, as said: iM is a consumer product; it fullfills consumer needs; if you want HiDef imports rendered faster than realtime, and encoding of a 2h videoDVD in less than 65min.. a MacBook is too 'slow'... if you want to edit family video, burn some nice 24min onto a DVD with good looking menus, and you're finishline is next Xmas... get any Mac ...
    ... the hardware needs of forthcoming (next week) 10.5. nobody can tell you, speculations are not allowed on this board...

  • Help with Delta Values needed

    Below is an example of the output from a “show access-list” command on the Cisco PIX/ASA.
    NDC-FW-01# show access-list
    access-list allow-in line 1 extended permit tcp any host <IP_1> eq www (hitcnt=186) 0x67305930
    access-list allow-in line 2 extended permit tcp any host <IP_1> eq https (hitcnt=0) 0x4612a177
    access-list allow-in line 11 extended permit tcp any host <IP_2> eq www (hitcnt=480) 0xce0a6156
    access-list allow-in line 12 extended permit tcp any host <IP_2> eq https (hitcnt=64) 0xf530e0aa
    access-list allow-in line 20 extended permit tcp any host <IP_3> eq www (hitcnt=7671) 0xea971ac0
    access-list allow-in line 21 extended permit tcp any host <IP_3> eq https (hitcnt=41920) 0x8d30dc38
    access-list allow-in line 22 extended permit tcp any host <IP_4> eq https (hitcnt=34) 0xbf7c0975
    What I want to be able to do is monitor the delta value of the hit count between polling intervals. I want to do this, ideally, for only some access-list, and for only some of the access-list entries within those access-lists.
    Is this something I can do directly or do I need to use a third party piece of software to do this and if so, can anyone suggest which software to use ?
    Thanks very much
    DavidT

    That's nothing the ASA can do native. But if you have a linux-Box, it shouldn't be to hard to script with some lines of AWK:  http://www.gnu.org/software/gawk/manual/gawk.html
    BTW: You should move this Thread to "Firewalling" as it has nothing to do with IPS ...
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • Should I delete all my .MTS files? Help with workflow desperately needed

    I use a Sony NEX 6 to film a lot of personal projects. My workflow has so far been
    Film Import to lightroom Export as H.264 to hardrive Import to iMovie
    But now I am going to start using final cut pro x. Apparently Final Cut X is unable to import .MTS files so again, workflow at the moment is
    Film Import to lightroom Export as H.264 Import to Final Cut Pro X and convert to ProRes
    My hardrive has quickly filled up and I've realised that I stupidly have my footage saved in 3 different locations. Lightrooms catalogue (.MTS), the file on my hardrive that I export the footage from lightroom to (export as H.264 but file type says it's mp4?) and Final Cut Pro's catalogue (ProRes).
    I want a system where my footage is saved in one place on my laptops hardrive, then I will back my computer up with an external hardrive.
    How does this workflow sound?
    Film Import to lightroom Export as H.264 Import to Final Cut Pro X Delete footage from lightroom Delete exported file on computer Backup laptop on external hardrive
    Can anyone suggest a better workflow?
    Will I come across any problems in the future by deleting everything except the ProRes files?
    Is lightroom a good enough program to be exporting my footage from or should I use a dedicated converter?

    Thank you for your help, yes I will be backing up elsewhere. I'm a massive noob at all this and after an afternoon of searching I think I've got my head around it.  Best option for future footage
    Import AVCHD directly from camera into Final Cut Pro. Convert it to ProRes if I have the space or if I'm not happy with the speed of working with native footage. 
    For all the footage that I have in lightroom but no longer have on a memory card my plan is to 
    Rewrap the files (I'm using a trial of clipwrap which changes the .MTS to .MOV). 
    Import the .Mov files into FCP, transfer file into FCP catalogue
    Delete the movies from lightroom and the lightroom catalogue

  • Hardware or software to help with tremor-- suggestions needed

    Hello, my dad is trying to use an intel imac, and he's having a lot of trouble, partly due to a tremor that makes it difficult to manipulate the mouse and keyboard. Does anyone know of any solutions to such a problem? I would think there might be a mouse or trackball and a keyboard that are designed to help, or perhaps a software solution for a shaky mouse, but I thought I'd throw the question out there to see what can be found.
    Like it or not, many of us will be facing this problem eventually, and I'm learning that the mac requires more dexterity than the average 85-year-old has.

    There occurred to me that I should have mentioned that I am assuming that you are using the trackpad and keyboard of the Mac Book which I can understand your Dad really disliking. My suggestion is that you blow a few bucks and get the extra keyboard and trackball as a present for your dad and plug it into the Mac Book USB port. You might also find it handy to hook up a monitor (20" or so). It will be so much easier to read the larger screen. You might also be aware that with mouse, keyboard and display hooked up you can close the lid on the Mac Book and the display will look a bit better not having to share the video processor with the Mac Book display.
    The other thing I would mention is that it might be wise to download one of the programs that make an audible click through the speaker with each keyclick, mouse click and scroll wheel turn. I use a little Preference Pane called "Keyclick" which gives you many options on how you want it to sound (I make my keyboard sound like an old fashioned typewriter - which is a sound your Dad would be quite familiar with!) With this installed, your Dad will have much more feedback and it will make typing and mousing much easier for him.
    Griff

  • Help with SE37 code needed - create sales order

    Hi Guurus,
    Can you please help? I finally finished with function creation (I just adopted the function, which I found in the system and it works ok, YEAH!!!)
    BUT!!! It is working just for the sales order creation with one item.
    Is it a big deal if you adopt my code that the function will have possibility to add more then one item?
    Thanks in advance
    Sašo
    Here is the code:
    *FUNCTION Z_RFC_SD_SIMO_SALES_ORDER2.
    *""Local interface:
    **"  IMPORTING
    **"     VALUE(P_AUART) TYPE  AUART DEFAULT 'zhp'
    **"     VALUE(P_VKORG) TYPE  VKORG DEFAULT 0001
    **"     VALUE(P_VTWEG) TYPE  VTWEG DEFAULT 07
    **"     VALUE(P_SPART) TYPE  SPART DEFAULT 01
    **"     VALUE(P_AUGRU) TYPE  AUGRU DEFAULT 001
    **"     VALUE(P_BSTKD) TYPE  BSTKD DEFAULT 'test si order avtom'
    **"     VALUE(P_SOLD) TYPE  KUNNR DEFAULT 21000069
    **"     VALUE(P_SHIP) TYPE  KUNNR DEFAULT 21000069
    **"     VALUE(P_MATNR) TYPE  MATNR DEFAULT 'SIOBRACUN'
    **"     VALUE(P_MENGE) TYPE  KWMENG DEFAULT 1
    **"     VALUE(P_PLANT) TYPE  WERKS_D DEFAULT 0001
    **"     VALUE(P_ITCAT) TYPE  PSTYV DEFAULT 'ZG2W'
    **"     VALUE(P_LGORT) TYPE  LGORT_D DEFAULT 0001
    **"  EXPORTING
    **"     VALUE(V_VBELN) TYPE  VBELN
    **"     VALUE(RESULT) TYPE  CHAR01
    DATA DECLARATIONS.
    **DATA: v_vbeln LIKE vbak-vbeln.
    *DATA: header LIKE bapisdhead1.
    *DATA: headerx LIKE bapisdhead1x.
    *DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
    *DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    *DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
    *DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    *DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
    *WITH HEADER LINE.
    *DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
    *WITH HEADER LINE.
    HEADER DATA
    *header-doc_type = p_auart.
    *headerx-doc_type = 'X'.
    *header-sales_org = p_vkorg.
    *headerx-sales_org = 'X'.
    *header-distr_chan = p_vtweg.
    *headerx-distr_chan = 'X'.
    *header-division = p_spart.
    *headerx-division = 'X'.
    **order reason
    *header-ord_reason = p_augru.
    *headerx-ord_reason = 'X'.
    **PO number from MAX
    *header-PURCH_NO_C = p_BSTKD.
    *headerx-PURCH_NO_C = 'X'.
    *headerx-updateflag = 'I'.
    PARTNER DATA
    *partner-partn_role = 'AG'.
    *partner-partn_numb = p_sold.
    *APPEND partner.
    *partner-partn_role = 'WE'.
    *partner-partn_numb = p_ship.
    *APPEND partner.
    ITEM DATA
    *itemx-updateflag = 'I'.
    *item-itm_number = '000010'.
    *itemx-itm_number = 'X'.
    *item-material = p_matnr.
    *itemx-material = 'X'.
    *item-plant = p_plant.
    *itemx-plant = 'X'.
    *item-target_qty = p_menge.
    *itemx-target_qty = 'X'.
    *item-target_qu = ' '.
    *itemx-target_qu = 'X'.
    *item-item_categ = p_itcat.
    *itemx-item_categ = 'X'.
    **item-STORE_LOC = p_LGORT.
    **itemx-STORE_LOC = 'X'.
    *APPEND item.
    *APPEND itemx.
    Fill schedule lines
    *lt_schedules_in-itm_number = '000010'.
    *lt_schedules_in-sched_line = '0001'.
    *lt_schedules_in-req_qty = p_menge.
    *APPEND lt_schedules_in.
    Fill schedule line flags
    *lt_schedules_inx-itm_number = '000010'.
    *lt_schedules_inx-sched_line = '0001'.
    *lt_schedules_inx-updateflag = 'X'.
    *lt_schedules_inx-req_qty = 'X'.
    *APPEND lt_schedules_inx.
    Call the BAPI
    *CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
    *EXPORTING
    *sales_header_in = header
    *sales_header_inx = headerx
    *IMPORTING
    *salesdocument_ex = v_vbeln
    *TABLES
    *return = return
    *sales_items_in = item
    *sales_items_inx = itemx
    *sales_schedules_in = lt_schedules_in
    *sales_schedules_inx = lt_schedules_inx
    *sales_partners = partner.
    Check the return table.
    *LOOP AT return WHERE type = 'E' OR type = 'A'.
    *EXIT.
    *ENDLOOP.
    *IF sy-subrc = 0.
    *result = 'E'.
    *ELSE.
    *COMMIT WORK AND WAIT.
    *result = 'S'.
    *ENDIF.
    *ENDFUNCTION.
    Edited by: Saso Poljansek on Jan 22, 2008 10:23 AM

    Hi,,
        Include           YCL_CREATE_SALES_DOCU                         *
         Form  salesdocu
         This Subroutine is used to create Sales Order
         -->P_HEADER           Document Header Data
         -->P_HEADERX          Checkbox for Header Data
         -->P_ITEM             Item Data
         -->P_ITEMX            Item Data Checkboxes
         -->P_LT_SCHEDULES_IN  Schedule Line Data
         -->P_LT_SCHEDULES_INX Checkbox Schedule Line Data
         -->P_PARTNER  text    Document Partner
         <--P_w_vbeln  text    Sales Document Number
    DATA:
      lfs_return like line of t_return.
    FORM create_sales_document changing P_HEADER  like fs_header
                                       P_HEADERX like fs_headerx
                                       Pt_ITEM   like t_item[]
                                       Pt_ITEMX  like t_itemx[]
                                       P_LT_SCHEDULES_IN  like t_schedules_in[]
                                       P_LT_SCHEDULES_INX like t_schedules_inx[]
                                       Pt_PARTNER  like t_partner[]
                                       P_w_vbeln  like w_vbeln.
    This Perform is used to fill required data for Sales order creation
      perform sales_fill_data changing p_header
                                       p_headerx
                                       pt_item
                                       pt_itemx
                                       p_lt_schedules_in
                                       p_lt_schedules_inx
                                       pt_partner.
    Function Module to Create Sales and Distribution Document
      perform sales_order_creation using p_header
                                         p_headerx
                                         pt_item
                                         pt_itemx
                                         p_lt_schedules_in
                                         p_lt_schedules_inx
                                         pt_partner.
      perform return_check using p_w_vbeln .
    ENDFORM.                                 " salesdocu
        Form  commit_work
        To execute external commit                                    *
    FORM commit_work .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = c_x
    ENDFORM.                                 " Commit_work
    Include ycl_sales_order_header          " To Fill Header data and Item data
    Include ycl_sales_order_header.
         Form  return_check
        To validate the sales order creation
    FORM return_check using pr_vbeln type vbeln.
    if pr_vbeln is initial.
        LOOP AT t_return into lfs_return .
          WRITE / lfs_return-message.
          clear lfs_return.
        ENDLOOP.                             " Loop at return
      else.
        perform commit_work.                 " External Commit
        Refresh t_return.
        fs_disp-text = text-003.
        fs_disp-number = pr_vbeln.
        append fs_disp to it_disp.
      if p_del eq c_x or p_torder eq c_x or
        p_pgi eq c_x or p_bill eq c_x.
        perform delivery_creation.           " Delivery order creation
        endif.                               " If p_del eq 'X'......
      endif.                                 " If p_w_vbeln is initial
    ENDFORM.                                 " Return_check
    *&      Form  sales_order_creation
          text
         -->P_P_HEADER  text
         -->P_P_HEADERX  text
         -->P_PT_ITEM  text
         -->P_PT_ITEMX  text
         -->P_P_LT_SCHEDULES_IN  text
         -->P_P_LT_SCHEDULES_INX  text
         -->P_PT_PARTNER  text
    FORM sales_order_creation  USING    P_P_HEADER like fs_header
                                        P_P_HEADERX like fs_headerx
                                        P_PT_ITEM like t_item[]
                                        P_PT_ITEMX like t_itemx[]
                                        P_P_LT_SCHEDULES_IN like t_schedules_in[]
                                        P_P_LT_SCHEDULES_INX like t_schedules_inx[]
                                        P_PT_PARTNER like t_partner[].
        CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
        EXPORTING
          sales_header_in     = p_p_header
          sales_header_inx    = p_p_headerx
        IMPORTING
          salesdocument_ex    = w_vbeln
        TABLES
          return              = t_return
          sales_items_in      = p_pt_item
          sales_items_inx     = p_pt_itemx
          sales_schedules_in  = p_p_lt_schedules_in
          sales_schedules_inx = p_p_lt_schedules_inx
          sales_partners      = p_pt_partner.
    ENDFORM.                    " sales_order_creation
    this is code to create sales document
    plzz reward if it is usefull...
    plzz dont forget to reward......

  • Help with IPSEC? Can you apply crypto map to SVI?

    Hi All,
    Got a problem with a site-to-site IPSEC vpn implementation where one end is using SVI (eg: interface vlan 10).
    Does any body know if a crypto map can be applied to a SVI to bring up the IPSEC tunnel? It accepts the command but I can't pass any traffic to/from it.
    interface vlan 10
    crypto map MY-MAP
    Or do you need to apply the crypto map to a physical interface?
    I've gotten it working on a sub-interface (eg: interface GigabitEthernet0/0.11) but can't find any documentation that talks about applying it to a SVI and whether this will work. Anybody tried it using SVI's before?
    This is to be done on a Cisco 7606 (sup720).
    Thanks.
    Andy

    Hi Jerry,
    I'm not that cluey with all the hardware on the box itself, but here's what we have on the box.
    core1#sh ver
    Cisco Internetwork Operating System Software
    IOS (tm) s72033_rp Software (s72033_rp-IPSERVICESK9_WAN-M), Version 12.2(18)SXF16, RELEASE SOFTWARE (fc2)
    cisco CISCO7606 (R7000) processor (revision 1.0) with 983008K/65536K bytes of memory.
    Processor board ID FOX092502NB
    SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
    Last reset from power-on
    SuperLAT software (copyright 1990 by Meridian Technology Corp).
    X.25 software, Version 3.0.0.
    Bridging software.
    TN3270 Emulation software.
    228 Virtual Ethernet/IEEE 802.3 interfaces
    124 Gigabit Ethernet/IEEE 802.3 interfaces
    4 Ten Gigabit Ethernet/IEEE 802.3 interfaces
    1917K bytes of non-volatile configuration memory.
    8192K bytes of packet buffer memory.
    65536K bytes of Flash internal SIMM (Sector size 512K).
    Configuration register is 0x2102
    core1#sh mod
    Mod Ports Card Type Model
    1 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX
    2 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX
    3 24 CEF720 24 port 1000mb SFP WS-X6724-SFP
    4 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE
    5 2 Supervisor Engine 720 (Active) WS-SUP720-3B
    6 2 Supervisor Engine 720 (Hot) WS-SUP720-3B
    Mod Sub-Module Model Hw Status
    1 Centralized Forwarding Card WS-F6700-CFC 4.0 Ok
    2 Centralized Forwarding Card WS-F6700-CFC 2.1 Ok
    3 Centralized Forwarding Card WS-F6700-CFC 4.0 Ok
    4 Centralized Forwarding Card WS-F6700-CFC 4.1 Ok
    5 Policy Feature Card 3 WS-F6K-PFC3B 2.1 Ok
    5 MSFC3 Daughterboard WS-SUP720 2.3 Ok
    6 Policy Feature Card 3 WS-F6K-PFC3B 2.3 Ok
    6 MSFC3 Daughterboard WS-SUP720 3.0 Ok
    Based on the specs above, is this box capable of establishing a IPSEC tunnel by applying the crypto map to the SVI???
    Thanks.
    Andy

  • Help with regular expression needed

    Hi,
    Perhaps someone here can help me with my regular expression I'm trying to build in my Java code.
    The regular expression that I'm looking to build consists of any non-whitespace character up until it finds one or two <>= symbols and then any character thereafter. So both these Strings would match the expression:
    City 1==London
    Age>=18
    The regular expression that I'm using is as follows:
    (\\S+)([><=]){1,2}(.+)However, group 1 always retrieves the first <>= symbol as in "City 1=". How can I make the <>= part greedy so that it retrieves both operator symbols?
    Thanks.

    Make the first group, the non-spaces, reluctant:
    "(\\S+?)([<>=]{1,2})(.+)"

Maybe you are looking for

  • Issue "error while  completing a  document"

    friends the prob is there  was  order created. order contained 5 line items (5 different items) goods got  damaged in transit so a sdf  doc  is created , which is created  with reference to actual order. 1st material it takes as it is like the origin

  • Skype To Go ... Area Codes

    I would like to have different Area Codes for my Skype To Go Numbers ... is this possible ?? It seems the Nearest Location (Area Code) is applied to all my Skype To Go Numbers ... I would prefer to set the Area Codes individually.

  • History of Explain Plan

    hi I wanted to know if it is possible to get the old explain plans(not the current) for a sql statement . Thank you Jonu

  • Max. Bildzahl für PS-Album 2.0

    Weiss jemand, wieviel PS Album 2.0 max. bearbeiten kann. Wir haben derzeit damit rund 20 000 Bilddateien gespeichert. Beim Start des Programms kann man sich in Ruhe einen Kaffee bereiten gehen, bis das gesamte Album geladen ist vergehen Minuten, auch

  • Probleme mit der Installation, Adobe CC und CC Packager

    Hallo! Habe mittels CC Packager ein Package gebastelt welche Illustrator CC, Photoshop CC, InDesign CC und Acrobat XI beinhaltet. Ich installiere dies direkt lokal an den Rechnern. Am Testsystem mit OSX 10.8 lief der  installer wunderbar perfekt durc