PL/SQL Generation Mode by default

Hello
We are switching to OWB 11.1, so I have a simple question I can't find a simple answer. I have to check all properties of modules and mappings. My simple question is: On module level -> Configutre ... 'PL/SQL Generation Mode' beside of some Oracle DB version I also can choose 'Default'. What does 'Default' mean in that case? Is thie 'Default' related to the default Location set in modules Location (Identification)? On creating a new Location you can set the DB version behind it, so the module could get that DB version over the associated location(?).
We are also switchting the DB to 11.1 and the version set in the Location is then 11.1, what makes sense. If I associate this Location inside the module's configuration and will set the PL/SQL Generation Mode in the module configuration to 'Default', how will the PL/SQL Generation Mode act?
Any hint is appreciated.
Tyger

The Default value will use the version defined for the module's configured location. It impacts code generation in some scenarios.
Leaving to default is fine in general.
Cheers
David

Similar Messages

  • Using the Unpivot Operator when in Oracle8i PL/SQL Generation Mode

    Hi,
    when you are validating a mapping with contains an unpivot operator and the PL/SQL Generation Mode is set to Oracle8i (because you're using an Oracle8i 8.1.7. target database) the following error is raised:
    VLD-3127: Cannot generate code for UNPIVOT because the unpivot operator is only supported starting with the Oracle9i version of the database.","The unpivot operator is only supported starting with the Oracle9i version of the database. To resolve this, set the PL/SQL Generation Mode to Oracle9i in the configuration of the Oracle module that contains this mapping.
    When you set the PL/SQL Generation Mode to Oracle9i and after successfully validating the mapping generate the code you can see that within the generated code case-statements are used for the unpivot translation.
    like:
    MIN(CASE WHEN "AGG_YEAR_MONTH" = 200301 THEN "NO_CALLS" ELSE NULL END) "JAN2003_CALLS"
    And as Oracle8i doesn't support the case-statement, the raised validation error is understandable. But the generated code can be easily modified using decode-classes instead of the case-statements.
    results in:
    MIN(DECODE("AGG_YEAR_MONTH",''200301'',"NO_CALLS",NULL)) "JAN2003_CALLS"
    And the generated code works fine in the Oracle8i 8.1.7 target database.
    But now my question:
    Does someone know if it is possible to create a custom unpivot operator in OWB9.2.0 which will generate the code using the decode-class instead of using the case-statements. And if so, how I can create such custom operator.
    Many Thx in advantage!
    Remco

    Hi,
    The reason why OWB does not generate decode statements is that the generated code needs to support both set-based and row-based operation modes. Decodes are valid in SQL (set based), but not in PL/SQL (row based)
    Oracle 8i (8.1.7) does in fact support CASE, but only in SQL statements, not PL/SQL
    Have you considered creating a view to perform the unpivot operation using decode? It should also be possible solve your problem using a function
    Regards,
    Roald

  • Internal memory error during SQL generation. (QP0002)

    Post Author: Rajesh Kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I developed one Report in BO 5.1 version (Report size à 13 MB) and I Migrated this Report to BO XIR2,
    After I Migrated this Report to BO XI R2 this Report was worked perfectly in DESKI & also in WEBI
    But now for the past few Days (nearly 1 week) this Report is not working in WEBI, but itu2019s perfectly working in DESKI. In WEBI itu2019s showing error message à u201CInternal memory error during SQL generation. (QP0002)u201D
    Iu2019m having one PDF documentation for BO Error Messages Listing, in that Documentation I have found the below à
    Internal memory error during SQL generation. (QP0002)
    Cause This error occurs when there is no longer enough memory to generate the SQL.
    Action You should close other applications and then rerun the query.
    I tried this alsou2026.
    I closed all other applications and I Refreshed this Report, but again the same error is coming in WEBI
    Report is working in DESKI but itu2019s not working in WEBI, I donu2019t know how to rectify this problem
    Can anyone help me in this to rectify.. please
    Thanks in advance
    Rajesh Kumar

    Hi,
    I investigated further and if the previous solution doesn't help you to resolve the issue please test the below mentioned solution.
    When several contexts are possible for a query, the system tests if they produce the same set of tables. If they are identical, it is not necessary to prompt the user. It is the default behavior. But for some particular universes, the designer defines different contexts with the same tables, but with a different set of joins. This will compare the context with the joins. When this happens, InfoView fails with this error.
    Resolution
    1. Import the universe.
    2. Modify the following parameter:
    COMPARE_CONTEXTS_WITH_JOINS = No
    3. Export the universe.
    4. Open the Desktop Intelligence report in InfoView and refresh it.
    It will refresh successfully
    Regards,
    Sarbhjeet Kaur

  • SQL generation failed see your business objects administrator (Error:WIS 00

    I have a user who in WEBI has refreshes report frequently.
    :stupid: . After 5-10 minutes of inactivity it will toss out this error:
    SQL generation failed. See your business objects administrator. Error: WIS 00013 Error: INF

    Hi Rohit,
    could you please test the following settings to resolve the issue.
    1. CORBA
    -requestTimeout
    This is the default CORBA timeout which can be set on any BOE services through command lines in CCM. And this switch is in millisecond.
    Registry CORBA Timeout
    This is a default hard coded 10 mins timeout for CORBA. WebI and DeskI did get integrated into this regkey:
    (1) Go to HEKY_LOCAL_MACHINE -> SOFTWARE -> Business Objects -> Suite 11.5 -> CER.
    (2) Modify ConnectionTomeout from 600000 to higher value.
    (3) Restart all services in CCM.
    2. Infoview Java Application (For example, Tomcat) Session Timeout If a user idles in Infoview for longer than this timeout, the session will be killed automatically. The default session timeout is 20 mins. To change the default session time out for InfoView:
    (1) Go to u201Cu2026\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\web.xmlu201D
    (2) Modify web.xml. Scroll to the following section:
    <session-config>
    <session-timeout>20</session-timeout>
    </session-config>
    (3) Edit the <session-timeout> value to the desired value. Save the web.xml file.
    (4) Restart Tomcat.
    If you meet their sessions are not getting released when they log out, here are two things to check in web.xml:
    (1) If the below configuration was set by true, that means they will have another session allocated to them once they begin to move around in Infoview after the user times out. If it was
    set by false, the user have to re-logon after they times out.
    <context-param>
    <param-name>logontoken.enabled</param-name >
    <param-value>true</param-value >
    </context-param>
    (2) All sessions will be cleanup after they times out if uncommented the below configuration. If you are having issues with sessions staying in CMS, try to uncomment the below line and
    restart tomcat.
    <listener>
    <listener-class>com.businessobjects.sdk.ceutils.SessionCleanupListener
    </listener-class>
    3. Tomcat
    ConnectionTimeout
    The default value is 20000 milliseconds. To disable it, try to set the value to -1 as below:
    (1) Go to u201Cu2026\Tomcat\conf\server.xmlu201D.
    (2) Find line u201CConnector on port 8080u201D.
    (3) Modify connectiontomeout = u201C20000u201D to ConnectionTimeout = u201C-1u201D.
    4. Universes
    Execution Timeout
    (1) Go to Universe Designer -> File -> Parameters -> Controls.
    (2) Check the value of u201CLimit execution time tou201D.
    5. WebI
    Connection Timeout
    The number of minutes before an idle connection to the WebI Report Server will be closed. When Java Report Panel, it is now controlled by this timeout switch:
    (1) Log into CMC
    (2) Go to Servers -> WebI Report Server
    (3) Set Connection Timeout
    WebI Report Timeout
    WebI designers have the ability to set a limit on how long a query can be run on a database before the query is stopped:
    (1) Edit/Create a new WebI report using Java Report Panel.
    (2) Choose Edit Query -> Properties.
    (3) Now deselect/increase the "max retrieval time" value.
    Swap Timeout
    In Java Report Panel and you leave it idle for more than 5 minutes (Default), you will notice that you will no longer be able to save your WebI report into CMS or your report will take longer
    to generate. This is because SwapTimeOut setting which controls the flushing interval of WebI temp files:
    (1) HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\default\WebIntelligence\Server\Admin\SwapTimeOut
    Regards,
    Sarbhjeet Kaur

  • Internal Memory Error During SQL Generation

    Hi,
    Please find below the details:
    Issue: I am using BO XI R3 DeskI.
    When I try to refresh/edit the Dataprovider of a report, it says "Internal Memory Error During SQL Generation"
    I am sure that there is no case of Multiple contexts with this report and its a very simple one too.
    I get this error in WebI as well
    Workaround: Restarting the DesktopIntelligence Processing Server solves the issue for some time but then it reoccurs-for some other report -at a later time.  
    Could anyone please explain the root cause of this and is there a permanent solution to this problem.
    Thanks
    Prabhat Jha

    Hi,
    I investigated further and if the previous solution doesn't help you to resolve the issue please test the below mentioned solution.
    When several contexts are possible for a query, the system tests if they produce the same set of tables. If they are identical, it is not necessary to prompt the user. It is the default behavior. But for some particular universes, the designer defines different contexts with the same tables, but with a different set of joins. This will compare the context with the joins. When this happens, InfoView fails with this error.
    Resolution
    1. Import the universe.
    2. Modify the following parameter:
    COMPARE_CONTEXTS_WITH_JOINS = No
    3. Export the universe.
    4. Open the Desktop Intelligence report in InfoView and refresh it.
    It will refresh successfully
    Regards,
    Sarbhjeet Kaur

  • How to set change mode as default for workbench objects

    Hi experts
    I've always wondered if there is a configuration option in NW BW 7 where it can be set whether double clicking a workbench object will show the maintenance screen for that object in change or display mode (default is display). Because is annoying to have to set edit mode every time one double click a workbench object in the development system, and as it is a development system, it would make sense to have edit mode by default instead of display
    I was thinking that it may be related to the client role, but who knows...
    I appreciate your help
    regards

    Not sure where this can be set...if anywhere.
    But how about this for a workaround: Right click the object in RSA1 and the select Change instead of Display.
    That would save you a click if I counted correctly

  • Tree view in collapsed mode by default

    Hello Experts,
    Could you please explain how to get a tree view collapsed by default?
    My scenario:
    When looking for a Marketing Segment, the system displays the result with a tree view in expanded mode, containing all the Profile Sets with their profiles and Target Groups.
    I would like to have the tree view in collapsed mode by default with only the Profile Sets displayed. Then, if need I would expand a given Profile Set to display its Profiles and Target Groups.
    Component: SEGAS_SEG
    View: RTSEG
    Thank you very much for your answer.
    Best Regards.
    Edited by: KenshiroHokuto on Apr 26, 2010 5:15 PM
    Edited by: KenshiroHokuto on Apr 26, 2010 5:16 PM

    Hi,
         Have a look at the context node SEG in the view RTSEG. You will see a method REFRESH. The following lines are responsible for the automatic expansion.
            IF search_roundtrip = abap_true AND lv_index < 20.
              lr_root->expand_node( ).
            ENDIF.
      Going by what you say, you will want to comment out these lines. If your component/view is not enhanced, enhance it and redefine this method. Copy the standard code and alter it. You need to alter this code to suit your requirement. For enhancing the component/view, you can find wikis in the CRM WebClient UI section.
    Regards,
    Arun Prakash

  • PowerShell runnig in Admin Mode by default

    How should I remove Windows Powershell from running in Admin Mode by default?

    Run this script in the PowerShell session and see if it reports elevated admin privileges:
    $id=[System.Security.Principal.WindowsIdentity]::GetCurrent()
    $wp=new-object System.Security.Principal.WindowsPrincipal($id)
    $admin=[System.Security.Principal.WindowsBuiltInRole]::Administrator
    $IsAdmin=$wp.IsInRole($admin)
    if ($IsAdmin) {
        Write-Host "Running in Admin mode"
    Ravikanth
    http://www.ravichaganti.com/blog
    Twitter: @ravikanth
    PowerShell 2.0 remoting - eBook

  • JHS 10.1.3.1.26 - Using create mode as Default page

    Hi ,
    I want to use create mode as default (while entering some page , user can insert new data immediately), any suggestions ?
    At present , I use javascript to call create button while page has been load.
    I think there must be some better way to do this.
    Thanks
    Eron Yang.

    Eron,
    See this thread for a solution:
    Re: Run page at create mode
    Steven Davelaar,
    JHeadstart Team.

  • Disabling touch mode by default for Reader XI

    I am looking to turn off touch mode by default for Reader XI.  I tried the customization wizard and there is no settings for touch mode.  The registry keys for the settings are in the local user area so I don't think I can apply those for everyone.
    Has anyone else looked into this or know a solution?

    You can set how Acrobat enters Touch mode, if at all, for touch enabled-devices.
    Choose Edit > Preferences (Windows) or Acrobat/Adobe Reader > Preferences (Mac OS).
    Under Categories, select General.
    In Basic Tools, choose the desired default setting from the Touch Mode menu.

  • Disable read mode by default during installation

    I am currently trying to disable read mode by default as a part of the software installation.
    I have searched the msi file using the customization wizard but have not found any part of it that refers to this setting.
    Is there a reg key or a setting in the MSI I can change to disable this setting?
    Edit:
    This is for Reader X

    I have been able to figure out the answer, so I'll put it into here in case anyone else wants to do this.
    The following registry key has to be added to the msi or mst
    HKCU > Software > Adobe > Acrobat Reader > 10.0 > AVGeneral
    Dword - bBrowserDisplayInReadMode = 0

  • Mode encoding default

    Hi.
    I am using the next code to move a file into a internal table.
    Apertura de fichero para lectura
      OPEN DATASET f_entrada FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        DO.
    Lectura del fichero
          READ DATASET f_entrada INTO linea_datos-linea.
          IF sy-subrc = 0.
            APPEND linea_datos.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
    Cierro el fichero
      CLOSE DATASET f_entrada.
    The file contains special characters  as : Bº   or Irún .
    Any mode to open the file that accept this characters, with the preview code produce a error:
    At the conversion of a text from codepage '4110' to codepage '4103':
    - a character was found that cannot be displayed in one of the two
    codepages;
    - or it was detected that this conversion is not supported
    The running ABAP program 'ZPRFUNSD05' had to be terminated as the conversion
    would have produced incorrect data.
    The number of characters that could not be displayed (and therefore not
    be converted), is 1. If this number is 0, the second error case, as
    mentioned above, has occurred.
    Thanks.

    Hi,
    Please change the statement as follows:-
    OPEN DATASET f_entrada FOR INPUT IN TEXT MODE ENCODING DEFAULT <b>IGNORING CONVERSION ERRORS</b>.
    Best regards,
    Prashant

  • SQL query returns varchar - default value type!!!

    On a field in my portal form there is a default value type of 'SQL query returns varchar', where can I put this sql to get a default value from a table?

    Hi again
    I have this code in 'additional pl/sql code' - '...before displaying the page'. But it comes up with an error when I run the form.
    declare
    prop_v varchar2(20);
    group_v varchar2(3);
    el1_v varchar2(3);
    blk varchar2(10) := 'DEFAULT';
    begin
    prop_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_property_p');
    group_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_group_p');
    select element_code
    into el1_v
    from eh_risk_element_detail
    where property_ref = prop_v
    and group_code = group_v
    and line_no = 1;
    p_session.set_value(p_block_name => blk, p_attribute_name => 'L_ELEMENT1_P', p_value => el1_v);
    end;
    Rich

  • SQL Authentication Mode

    We are completing a Design Scope document for a potential SBO customer.
    The Administration Guide states that SQL Authentication Mode should be set as Mixed Mode (Windows Authentication and SQL Server Authentication).
    The customer wishes only to have Windows Authentication.
    Would Windows Authentication only be supported by SAP?
    We understand that a patch upgrade of SBO requires the 'sa' password to be entered for the upgrade of SBO-COMMON.  Would this mean that without the ability to enter the 'sa' user and password a patch upgrade would fail?
    Thank you.
    Julie Coppins

    Hi Julie,
    Your concern is correct.  Since from formal document, it is not saying SUGGESTING mixed mode.  It is a must.  Tell your client the consequence. They should be reasonable enough to accept.
    Thanks,
    Gordon

  • [SQL SECURITY MODE ]

    I have couple of questions regarding this [SQL SECURITY<MODE>].
    1. Why it is defined.
    2.while practicing the same i am not able to write it into the Imperative SQLScript logic programs.
    why?
    Please suggest.
    Regards
    Navneet

    Hi Fernando
    It worked.
    I didn't know that in this context order can also be a issue.
    Thank you for the support.
    regards
    Navneet

Maybe you are looking for

  • How to instantiate a DOM Element in Forms to call Web Service?

    Hi All, I need to call a Java Class that has been converted into PL/SQL in order to run a Web Service. The PL/SQL function looks like this: -- Method: GetPIValue (Lorg/w3c/dom/Element;)Ljava/util/Vector; FUNCTION GetPIValue( obj ORA_JAVA.JOBJECT, a0

  • Should iMovie11 be able to import VCR tapes using Canopus ADVC-100

    I think the answer is yes. However, in my case there seems to be a hiccup. The Canopus screen opens okay and import commences, as confirmed by the red light in the timer recorder and the time running up. Unfortunately, importing stops at 2 seconds wi

  • Dispatcher down in ecc 6.0 installation

    Hi,    I am doing ecc 6.0 installation on windows with oracle 10g database. Installation is stoped on start instance phase. In mmc dispatcher is down, messagenger and igs is up. R3trans -d is 0. oracle is up. sapinst_dev log: TRACE      [iaxxejsexp.c

  • Edit Digital ID Email Addy

    I just realized the email address I've been using for my digital ID in Acrobat 8 for the past two years is misspelled and I do not know how to correct it (I always saw "my_email_address@gmai..."  because the column was cut-off/not wide enough, so I t

  • My iPod wont connect to my iTunes or Computer.

    -I have a 160gb iPod Classic, and since I updated to iTunes 11.1 it wont connect to my computer or itunes but it still makes the noise when I plug in the usb. When I plug it in on my laptop (which is runnnig and older version of itunes) it connects j