PL/SQL transaction boundries and CR blocks

I have this scenario:
DBMS_SQL is used to build a select statement, within the statement only select is done is against the primary table. The results of the select are then used to do a summary and the summary is inserted into a second table. After X number of inserts there is a commit.
If all of this is within a BEGIN/END block in PL/SQL and multiple threads are used to do various sections of the primary table (30) if there is block overlap in the selects will CR blocks be required? Remember, even though the SELECT is part of a larger transaction as defined by the BEGIN/END no actual IUD is done against the primary table.
MIke

I'm not sure If I understood your CR abbreviation correctly. but I think it depends on the isolation mode that is used. Usually a select should not read the changes from other transactions. However it would read all changes from the current transaction. If the transaction isolation level is set to serialize this is different.
Also your pseudo code example is a little problematic since it doesn't include when the cursor is closed and if there is a loop to select other rows.
Remember that commits inside an opened cursor are "forbidden". For such constructs oracle can't guarantee read consistency for the full life of the cursor.
example of bad code (pseudo)
BEGIN
Create a SQL statement to fetch a range of base table rows
OPEN the SQL cursor created 
fetch
loop until EOF
  Summarize the returns
  INSERT summary rows into a second table
  COMMIT;
  fetch
end loop;
END;
close cursor;Furthermore the undo-retention time might influence how long a long running query can still select the original data set.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_sqlproc.htm#i1024718

Similar Messages

  • Transaction ME21N and ME22N - blocking orders

    We're implementing SAP ECC 6.0.
    We had implemented the user exit USEREXIT(EXIT_SAPMM06E_013). This user
    exit checks the order condition once you had saved the order nad it
    blocks all the order positions.
    For some days this user exit has worked out with no problems but,
    suddenly, this user exit stopped working. In order to try to solve the
    problem, we implemented the BADI(ME_PROCESS_PO_CUST) event POST, but
    the problem is not solved. Both the user exit and the badi changes the
    value for the field which blocks all the order positions but, when you
    record the order the file with the order positions still remains
    unblocked (table EKPO).
    We include the code implemented for this issue:
    DATA char(50) VALUE '(SAPLMEPO)POT[]'.
    DATA itab LIKE bekpo OCCURS 0 WITH HEADER LINE.
    FIELD-SYMBOLS <f1> TYPE ANY.
    ASSIGN (char) TO <f1>.
    itab[] = <f1> .
    LOOP AT itab.
       itab-loekz = 'S'.
       MODIFY ITAB.
    ENDLOOP.
    <f1> = itab[].
    Thanks in advance

    Hi,
    Please check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer's Own Data in Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 are the best place to change line item. I used in both places again it depends on your requirement for PBO or PAI.
    By the way, what do you mean by actualization?
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Block size in tt for writing data to transaction log and checkpoint files

    Hello,
    what block size is TimesTen using when its writing data to transaction log and checkpoint files? Does it use some fixed block size during filesystem writes?

    Although in theory logging can write 2 KB blocks in almost all circumstances it will write 4 KB or larger so yes a filesystem with a 4 KB block size is fine for both checkpointing and logging.
    Chris

  • JTA File and SQL Transactions

    I am trying to find some examples of how I might use JTA to solve a programming problem. I need the ability to wrap a transaction around two distinct events: a File write and a SQL transaction. I have a file that needs to be copied to a particular place and a corresponding SQL update statement to be executed. If either fails, I need to be able to rollback both events.
    I have tried to use the free Astrel IO Atomic, but it appears to be buggy. The Apache Transaction package almost works, but it only support File IO on the same drive. I was hoping that I could find some examples on how I might implement my own transaction.
    Thanks

    You need to force sqlplus to exit with an non-zero return code. All processes upon termination, return an exit code to the operating system. This allows it to inform other processes of its exit state - e.g. successful, failed, partially successful with warnings, etc. On most operating systems the exit code is a byte int value, ranging from 0 to 255.
    In Windows console scripts, you can user the ERRORLEVEL variable to view the last process's exit code.
    So.. you get sqlplus to exit with a 1 (usually means fail) and not a 0 (usually means successful) and then test the exit code using ERRORLEVEL.
    Have a look at SQL*Plus command "+WHENEVER SQLERROR"+ to force an exit with an error exit code.
    In your Windows console, use the HELP command for how the IF command and ERRORLEVEL variable works.
    Sorry - no Windows here so I cannot be more specific with an example.. (in Linux the approach is exactly the same, except the variable +$?+ is used in scripts for the exit code)

  • More Guru Winners for February 2015 in the SQL Server category and many others!

    It's been a busy week that also saw the
    TECHNET WIKI SUMMIT 2015
    Then we had the results for
    February's TechNet Guru competition ALSO posted!
    http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx
    Below is a summary of the medal winners for December. The last column being a few of the comments from the judges.
    Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki in the link above.
    Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
     BizTalk Technical Guru - February 2015  
    Steef-Jan Wiggers
    BizTalk Server 2013 R2 Instrumenting a custom pipeline component with ETW
    Mandi Ohlinger: "Always a fan of helping our custom pipeline users. Great addition to this group."
    Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
    Vignesh Sukumar
    BizTalk BAM (Business Activity Monitoring)
    Sandro Pereira: "Great job on this article! Well explained and nice pictures, however the article format need to be improved and some proofreading is need"
    Mandi Ohlinger: "Welcome to the 'I heart BAM' fan club. Nice job on this topic. A MUST read for new-to-BAM users. "
    Steef-Jan Wiggers
    BizTalk Server 2013 R2 Instrumenting BAM Activity Tracking with ETW
    Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
    Mandi Ohlinger: "ETW for BAM Activities - LOVE it. Nice use of the Framework. "
     Forefront Identity Manager Technical Guru - February 2015  
    Wim Beck
    FIM2010: Filter objects on export
    PG: "Simple, targeted but nice article, nice layout. "
    Søren Granfeldt: "Nice. Would be perfect with a complete code sample."
     Microsoft Azure Technical Guru - February 2015  
    saramgsilva
    Azure Mobile Services: How to see the log files in server
    JH: "Log files are one of the most important things in a production environment. This article shows hows you can do that for the Azure Mobile Services in a nice and easy way."
    Alan Carlos: "Great article!"
    Ed Price: "Very useful topic! These are a great set of articles!"
    saramgsilva
    Azure Mobile Services: How to see the WebConfig file published
    Ed Price: "Great detail and fantastic use of images! I love all the in-line links!"
    JH: "Sometimes it is hard to tell when working in a multi-environment what configuration was published to the Server. The article shows short and easy how to do that for the Azure Mobile Services."
     Miscellaneous Technical Guru - February 2015  
    Arleta Wanat
    Retrieve all site mailboxes in your Office 365 tenant
    Durval Ramos: "This article has a well content, images and code that help to understand the solution. It has References and was Translated into more two languages. Good job!"
    Richard Mueller: "Good links. A great tutorial."
    Andy ONeill
    Silverlight: No Need to BringIntoView
    Durval Ramos: "A well formatted article is easier and more pleasant to read. This script is useful"
    Richard Mueller: "Good demonstration of a new feature."
    Chen V
    PowerShell : Enable Auto Reply for Shared Mail Box
    Durval Ramos: " A good solution originated of TechNet Forum. The script and images make it easy to understand and ensure you get the best interest to reader."
    Richard Mueller: "Good documentation of this feature."
     SharePoint 2010 / 2013 Technical Guru - February 2015  
    Geetanjali Arora
    SharePoint Online : Performing Batch Operations using REST API
    KB: "Very well explained article on a new and much awaited feature. Although Andrew Connell already explained this topic in several posts, this article still contains added value."
    Ed Price: "I love the History section. The formatting is amazing. And the References and See Also sections at the bottom are great icing on the cake. This is an important topic that's done incredibly well!"
    Matthew Yarlett
    Using the SpellCheck Webservice with the TinyMCE Richtext Editor and
    AngularJS in Office 365
    KB: "I read this article with growing interest, it contains a lot of added value. Very well and in-depth explanation. "
    Ed Price: "Great scenario! Good use of images, code, detail, and References! Could possibly use a greater breakdown and explanation of the code. This article just gets more and more interesting and valuable as you read it! Great job!"
    Arleta Wanat
    SharePoint Online: Turn on support for multiple content types
    in a list or library using Powershell
    KB: "Really nice, interesting and detailed article!"
    Ed Price: "The Content Types section helps explain this a lot! I also love the downloads at the end. What a fantastic resource!"
     Small Basic Technical Guru - February 2015  
    Nonki Takahashi
    Small Basic: Key Input
    Michiel Van Hoorn: "Great improvement."
    RZ: "Very nice explanation and examples of key input handling"
    Ed Price - MSFT
    Small Basic: The History of the Logo Turtle
    RZ: "Turtle (Logo) was the first programming language for many, including perhaps some of the Small Basic prorammers. Nice article explaining the history."
    Michiel Van Hoorn: "A nice background article and hopefull inspiration for those who want to start in robotics"
    Nonki Takahashi
    Small Basic: TechNet Wiki Article List
    Michiel Van Hoorn: "This is great! Perfect as a local cache of the articles. "
    RZ: "A good example"
     SQL BI and Power BI Technical Guru - February 2015  
    Sylvain PONTOREAU
    PowerBI API in .Net
    RB: "Great walkthrough. Looking forward for the WP8 version of the app ;)"
    PT: "Sylvain, very nice job with this. This is a timely topic about an emerging product that has great potential. This is a very good example of a well-written post on an interesting subject with enough information to be valuable to a
    solution developer. I will personally take time to explore the Power BI API and use your examples. "
     SQL Server General and Database Engine Technical Guru - February 2015  
    Ronen Ariely
    SQL Server Books Online
    AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
    Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
    Durval Ramos
    How to Collect Events and Errors on SQL Server
    Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
    AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
     System Center Technical Guru - February 2015  
    MarkusEliasson
    Troubleshoot ID 32008: DPM cannot
    protect this SharePoint farm...
    Ed Price: "An important topic that's very clear with great formatting and a good use of an image!"
    t.c.rich
    Managing Priorities of Client Polices and A/V Policies in SCCM
    Ed Price: "I love the descriptions, breakdown of sections, and code formatting! Great article!" 
    Mr X
    How to copy SMSTS.log when a Task Sequence fails in SCCM
    Ed Price: "A very helpful table and a good contribution to the community! Mr X again thinks of important content gaps to fill!"
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
     Visual Basic Technical Guru - February 2015  
    Emiliano Musso
    Genetic algorithm to solve 2D Mazes in Visual Basic
    MR: "Great article! Love to see an application for AI in a simple game"
    Durval Ramos: "This article is well documented with images and your code clarifying important details. It also has References, a very useful video and your project available for download in "MSDN Code" !"
    Richard Mueller: "Incredible concept and code. Grammar needs work."
    Paul Ishak
    MultiHeadedTrackBar Control
    Durval Ramos: "Very interesting article, with methods and properties well documented. Your project was available in "MSDN Code" which facilitates the understanding of solution."
    Richard Mueller: "Amazing work. Extensive code but with lots of comments. Needs a TOC"
    tommytwotrain
    Using Trigonometry to draw graphic curves in VB.NET part 2.
    MR: "Great continuation. Love the usage of the code for circle text"
    Durval Ramos: "The article is interesting, but It's need to work better commenting about assemblies referenced on project and also structure your content into sections."
    Richard Mueller: "Good tutorial and example code demonstrating basic concepts. Avoid first person."
     Visual C# Technical Guru - February 2015  
    Magnus (MM8)
    C#: Enumerating collections that change
    Jaliya Udagedara: "Great article. Has a thorough and to the point explanation of problem and the solution with code samples. Loved it!"
    Carmelo La Monica: "Very useful and exhaustive about errors at runtime in these circumstances. Congratulations"
    Andy ONeill
    c#: Practical Poly
    Carmelo La Monica: "Fantastic artcle. Very detailed and exhaustive, congratulations ."
    Jaliya Udagedara: "Definitely worth reading this. Explains somewhat advance topic along with a fundamental concept of programming. "
     Wiki and Portals Technical Guru - February 2015  
    Durval Ramos
    Wiki: Microsoft Short URLs Personalized by SXP
    PG: "Nice idea, lots of potential to grow, really needs some more community attention."
    Richard Mueller: "An excellent idea. Good use of Wiki guidelines."
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
     Windows PowerShell Technical Guru - February 2015  
    Richard Mueller
    Document Your Active Directory Organization
    Alan Carlos: "Wow! Great article, congratulations!!! Very detailed!"
    Chen V: "Excellent Article - I liked return to top as well."
    Ed Price: "Wow! It's like a professional whitepaper! It's a valuable topic that's done with intricate detail! I love the images, diagrams, code blocks, and it ends very well with more resources and Wiki articles! The article just keeps
    digging deeper and deeper! Awesome job on this!"
    DexterPOSH
    PowerShell + REST API : Invoke-RestMethod Gotcha
    Chen V: "Good Article. TOC might have made this more rich! "
    Ed Price: "This is a good topic with some great content. It could benefit from sections and a TOC, as well as a References and See Also sections at the end. The inline links are helpful. Could "
    DexterPOSH
    PowerShell Trick : Search & highlight text in MS Word
    Ed Price: "This is a great solution, with some helpful Q&A in the comments!"
     Windows Presentation Foundation (WPF) Technical Guru - February 2015  
    Andy ONeill
    Lookless Controls
    KJ: "WPF can definitely be confusing when devs first encounter it. Like the way you break it down."
    Ed Price: "Wow! Fantastic explanations that are very clear and deep! The images and code bring it to life!"
    Andy ONeill
    Only One Parent
    KJ: "Same iwith this one, good 101 intro"
    Ed Price: "Another great tip! I love the detail here as well! Those snippets help a lot!"
    Andy ONeill
    Bind to Current Item of Collection
    KJ: "Feel like this topic has a lot of coverage out there, but it can't hurt to hammer on databinding yet one more time :) "
    Ed Price: "Fantastic topic with great execution! Although these could benefit from References and See Also wiki sections at the end, the Inline links help a lot!"
     Windows Server Technical Guru - February 2015  
    Mr X
    Ping for Beginners
    Mark Parris: "A good introduction with additional content."
    JM: "Great article idea and an excellent article that will be useful to many, thanks for your contribution."
    Philippe Levesque: "Good article that show a usefull utility for basic troubleshooting"
    Richard Mueller
    Active Directory: Get-ADFineGrainedPasswordPolicy Default and Extended Properties
    Mark Parris: "An Interesting insight on FGPP and their extended properties."
    JM: "This is a good piece of detailed information about this PowerShell cmdlet, thanks for sharing."
    Philippe Levesque: "Great article ! Illustrating some cmdlet's output when a user got assigned policy versus a user with the default domain policy could be a good idea."
    Richard Mueller
    Active Directory: Get-ADServiceAccount Default and Extended Properties
    Mark Parris: "A useful nugget of information."
    JM: "More very useful information about an AD cmdlet, thanks!"
    Philippe Levesque: "Good article !"
    As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
    You will find the complete post, comments and feedback on the
    main announcement post.
    Please join the discussion, add a comment, or suggest future categories.
    If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
    THERE'S STILL TIME! :D
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
    TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
    you could win weekly awards!
    Have you got what it takes o become this month's
    TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

    Congrats to Ronen and Durval!
     SQL Server General and Database Engine Technical Guru - February 2015  
    Ronen Ariely
    SQL Server Books Online
    AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
    Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
    Durval Ramos
    How to Collect Events and Errors on SQL Server
    Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
    AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • New to PL\SQL from Sybase and need an answer to a question please

    Hi,
    I want to read a row on table 'One' and caputure the values of 6 columns. So I will have values "A", "B","C", "D", "E" & "F". Then I want to use these 6 key values in a sub query to select rows from Table 'Two'. From table 'Two' I want want to splilt a varchar column that has multiple values that are delimited by '|'.
    In Sybase I would of stuck the 6 values into variables from Table 'One'. Then inserted them into a temp table and used that temp table in the join to get the rows from table 'Two' that I wanted. Then stuck those results in a temp table and lopped around the rows and split the data out into another temp table. Then just selected the temp table to uotput the results. Now that may seem long winded but very simple to build.
    So can someone give me some help in how to structure this in Oracle. Also I cannot created global temp tables in my session.
    Thanks in Advance

    912982 wrote:
    In Sybase I would of stuck the 6 values into variables from Table 'One'. Then inserted them into a temp table and used that temp table in the join to get the rows from table 'Two' that I wanted. Then stuck those results in a temp table and lopped around the rows and split the data out into another temp table. Then just selected the temp table to uotput the results. Now that may seem long winded but very simple to build.The reason for that in Sybase/SQL-Server is to minimise locking. So grab data as quickly as possible (minimise the time needed for the read or write lock) and stuff it into a temp table that is session local and cannot cause lock contention with other sessions.
    A monolithic lock manager is used. This means means that every single lock requires memory to manager. That is why lock escalation exists. Memory starts getting low and a bunch of row locks are changed into fewer page locks, thus freeing memory. Or a bunch of page locks are changed into a table lock, thus freeing memory.
    Locks are expensive.
    In Oracle that is not the case. A single lock cost as much as a billion locks. Nothing. Not a single byte of memory is required as there is no monolithic lock manager in memory (Oracle has transaction slots in data blocks). In Oracle, a reader (with read locks) does not block another reader or another writer. Even to the same rows. A writer does not block a reader - even to the same rows (and the reader does a consistent and not dirty read). The only times there is a block is when writers attempt to lock the same rows.
    Thus in Oracle, there is no need for the long winded temp table work-around of Sybase. It is not only unnecessary, but you will seriously impact Oracle performance and scalability by doing that.
    Oracle is not Sybase. So be careful of using your Sybase technical expertise and approaches to Oracle. It will be wrong most of the time.

  • How do I create a new Work Center for the transaction launcher and links

    Hi
    The requirement here is for me to find out if I can create a new Work Center that will contain up to 6 assignment blocks and each block having either links to websites and BW reports, or triggers to R/3 applications via the transaction launcher.
    Can I do this purely through customising or do I need to create a new view using BSPs? If I can do it through customising please could I have a few pointers to what component I would need to use/copy?
    Regards
    Declan

    Hi Robert,
    Thanks again for taking the time to reply.
    Just so I understand, if I want to show a work center I need to link it to a component / view? I think this was the original query - do I need a developer to create the view that contains the 6 blocks with their links to reports, transactions and websites? I think when I talk about blocks I mean 1 viewset containing 6 views. There is no SAP standard view that would suit my requirements is there? Even if the work center had 8 views, I can always hide the two views in configuration.
    After the developer has created the view, I then reference that component in the target Id in the define logical links section of my work center.
    If my understanding is right, then it follows that it is not possible to create a user specific work center without some development.
    Is this correct?
    Cheers
    Declan

  • Monitoring of remote system's Transactional RFC and Queued RFC

    Hello,
    In our production system, in rz20- CCMS monitor templates- Communication-Transactional RFC and Queued RFc- outbound queues- Queues otherwise not monitored we can see blocked queues for each client.
    System is connected to solution manager and we wish the central auto reaction is implemented in solution manager
    However i am unable to find Transactional RFC and Queued RFC for the remote system, they exist only for solution manager itself
    Tell me how can i do the central monitoring

    Hello,
    First you need to check with your Landscape in solman in order to monitor any kind of activities to do so pls follow these steps.
    Go to SMSY in solman under Landscape components>Product systemsselect you satellite system example SAP ECC.
    On the main screen you will find client for which you have generated RFC connection. Please check though connection are working fine, Go to edit mode and try to click on generate button there will be a pop-up, which gives a clear picture of RFC connection which already exists, and you can also re-generate this RFC connection by clean it up when you re-generate pls select under Actions after generation assign RFC dest for system monitoring.
    But make sure there is no project impact on this RFC, like they are not using any logical components and already have some projects running on this RFC connection.
    I would advise you to first you the option of assign and check RFC button which is next to generate icon.
    Regards
    JUDE

  • SQL Server Express and Visual Studio 2013

    In February I installed Visual Studio 2013 Professional. Looking in the Control Panel at all my installed programs, I see that I have a bunch of SQL server-related programs loaded, from the 2013 install and also from installs of previous Visual Studio versions.
    I've never done a thing with SQL server express, and am completely clueless about using it. I've already wanted to take a crack at it but it always seemed too daunting, so I backed off. It seems, however, that over the years the integration of SQL Server Express
    with Visual Studio is getting more and more seamless. Here is a list of all the SQL Server-related programs on my computer, with the ones installed automatically from the Visual Studio 2013 install bolded so they'll stand out. What I'm wondering is if I have
    everything I need to use SQL Server Express with Visual Studio 2013:
    Microsoft SQL Server 2005                                                  
    Microsoft Corporation   11/4/2013
    Microsoft SQL Server 2005 Mobile [ENU] De...                     
    Microsoft Corporation   4/29/2007
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Se1Ver 2008 R2 Management ...                   
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Transact-SQL ...                    
    Microsoft Corporation   12/7/2011
    Microsoft SQL Server 2012 Command Line ...                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Data-Tier App Fr...              
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Express LocalDB                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Management Ob...               
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Native Client                        
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Transact-SQL Co...                    
    Microsoft Corporation   9/21/2012
    Microsoft SQL Server 2012 Transact-SQL Ser...            
    Microsoft  Corporation 2/10/2014
    Microsoft SQL Server 2012 T-SQL Language ...             
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server Compact 3.5 Design T...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Compact 3.5 SP2 ENU                       
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Compact 4.0SP1 ENU                        
    Microsoft Corporation   9/21/2012
     Microsoft SQL Se1Ver Data Tools - enu (11.1....                 
    Microsoft Corporation   5/19/2013
     Microsoft SQL Server Data Tools - enu (12.0....            
    Microsoft Corporation  2/10/2014
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...              
    Microsoft Corporation   5/19/2013
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...         
    Microsoft  Corporation 2/10/2014
     Microsoft SQL Server Database Publishing ...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Database Publishing ...                      
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Native Client                                      
    Microsoft Corporation   4/1/2011
    Microsoft SQL Server Setup Support Files (E...                    
    Microsoft Corporation   4/1/2011
    Microsoft SQL Se1Ver System CLR Types                             
    Microsoft Corporation   1217/2011
    Microsoft SQL Server VSS Writer                                         
    Microsoft Corporation   4/1/2011

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Using SQL Transactions in a JSF page

    Hi,
    I have got a problem implementing SQL Transactions into a JSF page.
    Here is my problem:
    I have go an object named "database" which contains the connection and the necessary method to launch queries, connection,...
    the database object is instantiated in the constructor of the page.
    I will name as "the process", this :
    database.connectTo(); //the instantiation of the connection
    database.connection.setAutoCommit(false);
    database.executeNonQuery("any insertion query");
    database.executeNonQuery("any insertion query2");
    database.executeNonQuery("any insertion query3");
    database.executeNonQuery("COMMIT");
    (As you can see, it's just a preliminary test, the rollback is not tested yet)
    If I put the entire process in a single method, everything works fine.
    If I split the queries and the commit query, the commit is not launched because the connection of my object "database" is null. I mean by "splitting", the launch of the 3 insertion queries is in a method (of a button for example) and the launch of the commit query is in another method (another button).
    It appears that the attribute connection is set to null after the launch of the three queries...
    Moreover, nothing is inserted in the database (this logical since the commit is not launched).
    Has anyone a clue?

    Your database transaction should not span two buttons. The two buttons will be called on separate requests -- that is, separate calls to the server -- and you'll have a database connection dangling out there, potentially locking other people out of certain tables/rows until the user clicks the right button.
    Note also that there is a commit() method in the JDBC API.
    You might want to spend some time studying some example applications.

  • MR42 and Invoice Block

    Hi,
    How can we block Invoice manually after posting MIRO..I mean payment block for that Invoice and wat for is transaction MR42 for in SAP 4.0 B version
    Thanks
    Sachin D C

    Hi,
    You can block it in vendor master itself. In vendor master you will have one filed that payment transaction there you can block the payment as you like.
    after verification you can release the block through MRBR transaction code.
    Sudarsan SR

  • ME22 and ME22N (Blocking PO's)

    Hi,
    I am trying to block PO line items and all assets in the PO's are deactivated.
    When I enter the PO in ME22N, select all items, and select block, it gives me error "asset is deactivated, changes cannot be saved"
    However, when I take the same PO and go in ME22, edit and block PO, all the line itmes get saved. It does not give me any error
    Does anybody know why is this? what is different between the two transaction as it gives error in one and and not in another.
    Thanks,
    JR

    i am not clear this might be the reason
    Restrictions
    With this function module, it is not possible to:
    Create subcontracting components (you can only use existing ones)
    Create configurations (you can only use existing ones)
    Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
    Attach documents to the purchase order
    Change foreign trade data
    Change service data
    Change or reexplode BOMs
    A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
    PO items with an invoicing plan cannot be created or changed using the BAPIs
    Edited by: shan palani on Jan 8, 2009 4:21 PM

  • Reg Price block and Qty block in MM Invoice docs Tolerence Keys adjustment

    Hi Friends,
    Related to MM Invoice documents gets blocked with Price block and Qty block,based on this FI doc also gets blocked with Payment block indicator"R".As per Std SAP we can remove these blocks thru MRBR. Right now my users are asking not required to remove these blocks with MRBR Tcode.
    So i checked the Tolerence Limits defined for the co code and Tolerence keys.
    As per my understanding Tolerence Keys "PP-Price variance",  "DQ-Exceed amount: quantity variance" need to adjust with upper llimits and Lower Limits.
    here i can see Upper and Lower check limit Tolerance limit 5.00%  for  Tolerence Key "PP-Price variance"
    Tolerence limit 0.01%  for  Tolerence key "DQ-Exceed amount: quantity :quantity variance         
    Instead of changing the Tolerence Limits can i select the DO NOT CHECK Radio button for the bothe Price and Qty block.
    If i selected the DO NOT check button what will happen,how it works.
    How i can maintain the Tolerence keys,is there any other Tolerence keys also need to maintain.  
    Please suggest me with your valuable inputs.  
    Brgds,
    RK
    Edited by: RK.SAP on Nov 17, 2010 7:02 AM

    hi,
    If you do not want to check the Invoice for tolerance keys like quantity variance and price varaince then tick on don't check .In this case system will not block any invoice and invoice will post Automatically without any error.
    Please check other tolerance keys in SPRO: OMR6
    One more blocking is defined in the vendor master also under payment transactions accounting screen.There you are defining the tolerance group for Invoice Verification.
    Regards,
    Amit

  • Quantity and Price block on MM docs not appearingin MRBR list

    Hi Gurus
    Even if there are quantity and prices blocks in the MM doument , the MRBR list doesnot display the blocked documents.
    As a result we are not able to release the documents and remove the block.
    What could be the possible reason for this?
    And is there any other way to remove the block on MM document without going through MRBR.?
    Early Response is highly Appreciated
    Thanks a Lot
    Rgds

    hi,
    If you do not want to check the Invoice for tolerance keys like quantity variance and price varaince then tick on don't check .In this case system will not block any invoice and invoice will post Automatically without any error.
    Please check other tolerance keys in SPRO: OMR6
    One more blocking is defined in the vendor master also under payment transactions accounting screen.There you are defining the tolerance group for Invoice Verification.
    Regards,
    Amit

  • Release Invoice Price Block and Quantity Block

    Hi,
    How can I release the Invoice Price and Quantity block at the same time? I need to create a Step in a work flow to release all blocks of a two-way match block invoice.
    I've already tried to have a BDC for transaction MRBR but it is not working.
    Can anyone help?

    Hi Simi,
    This type of behaviour is documented in SAP note 394370:
    "A document generated with MIRO was blocked for payment.You cancel the
    payment block from the vendor line item in the FI follow-up
    document.Transaction MRBR then displays the invoice document
    nevertheless. Why?
    The invoice document itself cannot be changed by changes to the
    follow-up documents; this is not programmed.Transaction MRBR therefore
    continues to display the document as blocked. If this document is
    released from an MM point of view, the FI follow-up document remains
    released.Thus the damage caused is restricted to unnecessary work by the
    user.
    SAP recommends that you only use the release transactions for releasing
    invoices."
    MRBR generates its list of blocked invoices from table RBKP_BLOCKED and is the
    only transaction which deletes entries from this table thats why when your report
    calls FB02 to remove the payent block MRBR will still show the invoice as blocked.
    You could code in a pop up message in your report that prevents the user from
    deleting the payment block and to advise using MRBR instead to delete the block.
    Hope this helps,
    Adam.

Maybe you are looking for

  • Problem with WSRV4400N and L2TP

    Hi I have just bought this router and i am trying to replace a good working router but with no VPN support. I upgraded this router to Firmware Version:  V2.0.2.1-ETSI and problem still continue I only set the L2TP Server , user and password. I also t

  • Creative Cloud- Renewing License with Activation Code

    Creative Cloud is telling me that my license needs to be renewed. I renewed it a week ago. I have  MacBook Pro and I have redeemed my activation code for creative cloud already, but nothing seems to recognize that. Not the application on my commuter

  • The iPhone cannot be synced. An unknown error occurred (-40)

    My iPhone cannot synced with iTunes. What can I do? It happen after I deleted Mobile Applications folder in my itunes library folder. I have implemented File menu - Devices - transfer purchases from iPhone. But it still cannot synced with the error.

  • How to open multi-windows to operate a remote compute using socket

    hi, please help me. I want to develop a program, it can open multi-windows to operate the remote comput at one time just like NetTerm. It use socket to setup connection with remote computer. Now I am using a Thread class to setup socket connection wi

  • Rule Based distribution of leads

    Hi For maintaining the rules for rule- based distribution of leads, which business roles are relevant? Can we do it by using roles marketpro or salespro ?? Please guide. Regards Aakshi Suri