Automatic Posting accounts not allowed when G/L Account is entered in LIPS

Dear all,
In order to override the standard G/L account determination when PGI a delivery, we developed a routine to write the G/L account devired by the system and populate LIPS-KONTO with the account we want to post.
This is working perfectly as soon as that G/L account does not have the flag "automatic postings only" is not flagged.
However, is this flag is active, we are not able to PGI.
Do you know if this is the normal SAP behaviour?  Any suggestions if we must use that account?
thanks!
Fátima Pereira

Hello,
The situation is the following....
Two items in the sales order with two different item categories and same movement type.
This movement type is customized in OMWN with Account Modifier ZVA that is linked to account A.
In case of the first item category this will be ok.
On the second item category the customer wants to keep the same movement type but post into a different account.
During delivery processing we created in a userexit to override the derived Account Modifier to another one that we need and retrieve that account and populate LIPS-KONTO.
Conclusion:
1)  If we use the standard account determination, LIPS-KONTO is not filled in and the system considers an automatic posting.
2) If the LIPS-KONTO is filled in with a GL Account that has the "automatic postings only" set, the system apparently is considering this a manual posting.
My question is:  Is this the Standard SAP behaviour?
Regards,
Fátima

Similar Messages

  • Automatic Posting Document not display

    Hi Experts,
    We assign automatic posting document for IUE,
    When executing IUE it shows Document, again we are going to check the document it displays the below message:
    ERROR : Document header char. Movement Type has an ambiguous value in template document.
    I checked in SDN Message No: 7561022 and also OSS Notes: 1247685, according to notes point 1, the fields are appearing for document type which having properties like posting level - Adjusted Reported data, posting - Manual Posting.  But where are posting level - two side elimination, posting - Automatic, those fields are not appering
    Please suggest any information to overcome from this problem

    HI Scotsman,
    When I see document having Manual Posting option it shows field like Document field, Fixing, Input Opt., Hide, Name.  But where as document having Automatic Posting as property it shows only Document field and Name only.
    Below is the details from List setting of IUE document type.
    Doc No - 85   IUE B/S Items   
        Properties               
        Document Field Options   
         Document Field        Name
         Cons Group              None
         Item                           None
         Profit Centre Group  None
         Company                  None
         Profit Centre For BC None
         Segment                   None
         Trading partner        None
         Investee (Company) None
         Alloc. Company        None
         Movement Type        None
         Acquisition year       None
         First acq.per.           None
         Functional area        None
         Country                   None
         Unit of Measure      None
         Transaction Currency None
         Product Group            
         Activity w/OC Logic  None
         Org. Change No.      None
         Acy: Elim.P/L Assets     
         Activity Number        None
         C/I Activity                None
         Main Asset No. (Doc) None
         Inventory Item
         Asset-managing PC    None
         Asset-managing Co.
    Please provide inputs
    Regards
    Madhu

  • Junitreport 'redirect' is not allowed when the secure processing feature is set to true.

    junitreport 'redirect' is not allowed when the secure processing feature is set to true.
    Hello,
       I'm running flexunit4.1.0-8 and I have an ant script running the test suite.    I recently upgraded from FB 4 to 4.5 and now I'm getting
    failures on junitreports.  Here's the full error: 
    [junitreport] : Error! Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    [junitreport] Failed to process C:\TDMSE_2_6\tdmse\flex-test\flex_unit_reports\TESTS-TestSuites.xml
    BUILD FAILED
    C:\TDMSE_2_6\tdmse\build\flexunitbuild.xml:116: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    Here's the junitreport section:
    [code]
    <target name="flex-unit-execute-tdmse-test-runner"
                                  description="executes the test runner app">
              <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                  toDir="${FLEX_UNIT_REPORTS_HOME}"
                                  haltonfailure="false"
                                  localTrusted="true"
                                  verbose="true"
                                  headless="false"/>
              <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                        <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                  <include name="Test-*.xml"/>
                        </fileset>
                        <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
              </junitreport>
    </target>
    [/code]
    And here's the full ant build:
    [code]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE project>
    <!--
                             TDMS flex unit test suite
    $Author:: hermannee                                                            $
    $Revision:: 10963                                                              $
    $Date:: 2011-11-15 13:38:46 -0500 (Tue, 15 Nov 2011)                           $
    $URL:: svn://ehsntpvld03.niehs.nih.gov/dev/tdmse_test_suite/trunk/build/flexun#$
    -->
              <!-- **** ADD THIS TO tdmes/build/build.xml *************
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/../tdmse_test_suite" />
              <target name="run_flex_units">
                  <ant antfile="${FLEX_UNIT_HOME}/build/build.xml" />
              </target>
              ********************************************************* -->
    <project name="flexunitbuild" basedir="." default="flex-unit-start-test-runner">
              <tstamp>
                        <format property="build.date" pattern="MMMMM dd, yyyy" />
                        <format property="build.time" pattern="HH:mm:ss" />
              </tstamp>
              <property name="tdmsedir" value="${basedir}/.." />
              <property name="builddir" value="${tdmsedir}/../build" />
              <property name="FLEX_HOME" value="${builddir}/tools/flex-4.5.0" />
              <property name="PARSLEY_HOME" value="${builddir}/tools/parsley-2.4.0" />
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/flex-test" />
              <property name="FLEX_UNIT_LIBS_HOME" value="${builddir}/tools/flexunit-4.1.0-8" />
              <property name="FLEX_UNIT_REPORTS_HOME" value="${FLEX_UNIT_HOME}/flex_unit_reports" />
              <property name="FLEX_UNIT_TEST_HOME" value="${FLEX_UNIT_HOME}/flex_unit_tests" />
              <!-- ==== tasks ============================ -->
              <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
              <taskdef resource="flexUnitTasks.tasks" classpath="${FLEX_UNIT_LIBS_HOME}/flexUnitTasks-4.1.0-8.jar" />
              <!-- dev -->
              <echo>basedir: ${basedir}</echo>
              <echo>tdmsedir: ${tdmsedir}</echo>
              <echo>builddir: ${builddir}</echo>
              <echo>FLEX_HOME: ${FLEX_HOME}</echo>
              <echo>FLEX_UNIT_HOME: ${FLEX_UNIT_HOME}</echo>
              <echo>FLEX_UNIT_LIBS_HOME: ${FLEX_UNIT_LIBS_HOME}</echo>
              <echo>FLEX_UNIT_REPORTS_HOME: ${FLEX_UNIT_REPORTS_HOME}</echo>
              <!-- =================================
              target: run-tdmse-test  
              ================================= -->
              <target name="flex-unit-start-test-runner"
                                  description="clean, compile and run tdmse flexunit tests"
                                  depends="flex-unit-clean-tdmse-tests,
                                  flex-unit-tdmse-compile-test-suite,
                                  flex-unit-execute-tdmse-test-runner"/>
              <target name="flex-unit-clean-tdmse-tests" description="Cleans the FlexUnit test and reports directories">
                        <delete dir="${FLEX_UNIT_REPORTS_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_REPORTS_HOME}" />
                        <delete dir="${FLEX_UNIT_TEST_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_TEST_HOME}" />
              </target>
              <target name="flex-unit-tdmse-compile-test-suite">
                        <mxmlc file="${tdmsedir}/flex-src/TDMSETestRunner.mxml"
                                            output="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf">
                                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                                  <!-- ==== include tdmse resource bundles ====== -->
                <locale>en_US</locale>
                <source-path path-element="${tdmsedir}/flex-src/locale/{locale}" />
                <include-resource-bundles>COMMON</include-resource-bundles>
                <include-resource-bundles>OW</include-resource-bundles>
                <include-resource-bundles>PREF</include-resource-bundles>
                <include-resource-bundles>RD</include-resource-bundles>
                <include-resource-bundles>RG</include-resource-bundles>
                                  <!-- ==== compile parsley library ============= -->
                                  <compiler.library-path dir="${PARSLEY_HOME}" append="true">
                                            <include name="parsley-flex4-2.4.0.swc" />
                                            <include name="spicelib-flex-2.4.0.swc" />
                                  </compiler.library-path>
                                  <!-- ==== compile all tdmse flex-src ========== -->
                                  <source-path path-element="${tdmsedir}/flex-src" />
                                  <source-path path-element="${tdmsedir}/flex-test" />
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}/mocklibs" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
                                  <compiler.headless-server>true</compiler.headless-server>
                        </mxmlc>
              </target>
              <target name="flex-unit-execute-tdmse-test-runner"
                                            description="executes the test runner app">
                        <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                            toDir="${FLEX_UNIT_REPORTS_HOME}"
                                            haltonfailure="false"
                                            localTrusted="true"
                                            verbose="true"
                                            headless="false"/>
                        <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                                  <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
                        </junitreport>
              </target>
              <!-- ======================================================== -->
    </project>
    [/code]
    I haven't seen much info about this problem anywhere on google except for this forum post:
    http://forums.adobe.com/thread/740146
    Thanks for any help!

    If you include the xalan.jar library to the build.xml execution classpath everything works!!!!!!.
    I hope it will be userfull.

  • I have recently bought a macbook and am using outlook 2011 as email. i am getting an error message 4.7.0 not allowed when sending emails how do I fix?

    i have a macbook and am using outlook 2011 as email.   receiving okay.   sending okay sometimes.  am now getting error message 4.7.0 not allowed when sending.  what is the cause? how do I fix please?

    I have discovered that the emails have in fact been sent but much later, maybe it's a network problem with the people i am sending it to.  so i checked my sent items and they are there, but at the time the email doesn't go straight into the sent box or drafts so i'm assuming it's disappeared and type it again.  i'll keep going with it, until someone can give me a possible solution or explanation as to what is happening.

  • Function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    I want to call Stored Procedure that return records and output parameter, from CVI
    I can get output parrameter but when I want to get records stream I recieve following wrror:
    function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    in Stored procedure I create table variable and and insert into string values
    when I remove usage of table variable the error desappear

  • SQL*Loader-971: parallel load option not allowed when loading lob columns

    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anji

    user8836881 wrote:
    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anjihttp://tinyurl.com/yhxdhnt

  • Automatic Posting of Notas Fiscal Type

    Can you pls lemme know the configuration for automatic posting of Notas Fiscal which is used for Brazil to generate an invoice??

    Hi
    This doc has something about nota fiscal.
    Hope it helps
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAINTBR/CAINTBR.pdf
    Regards
    A

  • Error Indexing not allowed when marking indexing for document HR_DOC

    Hello all,
    We are able to solve the first problem. Now we have the following error
    "Error Indexing not allowed when marking indexing for document HR_DOC"
    Has anyone idea on how to solve it?
    Thanks a lot.
    Best regards,

    ....and thanks a lot for your feedback in resolving this issue!

  • Why does SMS tell me "not allowed" when I try to add an existing contact to one of my SMS Groups?

    Why does SMS tell me "not allowed" when I try to add an existing contact? 

    If you are running Tiger, you don't have time machine. 
    You need to get something like SuperDuper! or Carbon Copy Cloner (sorry, I don't have a handy link for CCC but you can Google it to get their site) to make a clone of your drive on the external and then do incremental backups.  The free versions do a lot and you can upgrade to the full-service versions for small change if you need more.  The one time I used SuperDuper! for cloning a volume it worked just fine. 
    (My backup application is the last PPC capable version of Retrospect, which does a credible job, or has over the past ten-twelve years.)

  • Automatic posting accounts for exchange rate difference.

    Guys,
    My clients wants to write a check in GBP pound sterling, and for that I set up house bank for GBP and did all the  other configuration steps in FBZP.We successfully printed out the check thru F110.Now when we try to mark the check as "encashed" thru FCHR,The  log says 1 check selected and marked as encashed but no posting docunments get generated as system shows an errored out session,I looked into SM35,the job log says" exchange rate difference accounts are incomplete for acount 161511 currency GBP".System takes me to OB09 which is account determination for Ol Exch.rate differences.Should I update a/c 161511 here? Please  note account 161511 is not a foreign currrency account.Its main cash bank account(US$ account) which I set up in House bank FI12.So in OB09 I dont see that account 161511.Wht should I do ?System also takes me to OBA1-maintain FI configuration Automatic posting. DO I need to do something in here too ? Please advice.Thanks
    Regards
    Iqtidar

    In OBA1 > Exchange Rate Dif.: Open Items/GL Acct
    Check the example below.
    Chart of Accounts     xxxx
    G/L Account          < GBP A/C from which you are paying >
    Ex Rate Realized
    Loss                 P&L - Ex Loss Realized A/c < 830301>
    Gain                  P&L - Ex Gain A/c Realized <720201>
    Valuation
    Val.loss 1          P&L - Ex Loss Unrealized A/c < 830302>
    Val.gain 1           P&L - Ex Gain A/c Unrealized <720202>
    Bal.sheet adj.1     For. Currecy Reserve < 520501>
    Translation (similar to valuation)
    Loss                 830302
    Bal.sheet adj.loss   520501
    Gain                 720202
    Bal.sheet adj.gain   520501
    Is this what you were after? The logic behind different GL postings should be able to explained by a person with an accounting background. Do let me know if you have any specific questions.
    Nadini

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Requested registry access is not allowed when opening Infopath Forms on Sharepoint 2013

    Hello Technet Community.
    I hope this will help anybody out there that experienced this problem after patching Sharepoint 2013.
    I have a distributed 3-tier Sharepoint 2013 environment. All of a sudden, after the last round of patched released on 7-Jul-2014, opening Infopath forms would throw a "something went wrong" error.
    Looking at the ULS logs, you would see the error "Requested registry access is not allowed.".
    I have looked at tons of posts on different blogs, and all pointed out that you need to grant "read" permissions to the application pool user (in my case a service account in AD) to the registry key (and subkeys):
    HLKM/Software/Office Server/15.0
    That indeed works, but it is not the proper way to do it. You should grant "read" permissions to this local group:
    WSS_WPG
    And special permissions to this local group:
    WSS_ADMIN_WPG
    Here is a snapshot of the special permissions needed
    By the way, the WSS_PWG local group contains the app pool service account.
    I do not know why patching Sharepoint removed these permissions from the registry keys, but oh well...
    Anyway, Sharepoint is now happy and Infopath forms work as expected.
    Claudio

    Check if your service account or infopath service account has access to server and specially registry
    http://blogs.technet.com/b/spsforum/archive/2011/11/02/quick-solution-5-requested-registry-access-is-not-allowed.aspx
    To solve the issue, please follow these steps:
    Use the Process Monitor to monitor the registry, once you get the following ACCESS DENIED message(You can filter the result with “Result contains Access Denied”):  
    Date & Time:      <date time>
    Event Class:        Registry
    Operation: RegOpenKey
    Result:  ACCESS DENIED
    Path:     HKLM\SOFTWARE\Microsoft\Office Server\14.0
    TID:        2020
    Duration:             0.0000297
    Desired Access:                Read
    Open Registry Editor (Start > Run, type regedit)
    Open key: HKLM\SOFTWARE\Microsoft\Office Server\14.0(got from Process Monitor from step 1)
    Assign the SharePoint Timer Service account the Read permission to this key
    One can open registry using regedit command. In Registery editor go to 
    HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\15\Secure\FarmAdmin
    Check central  administration app pool Identity  have permission on FarmAdmin. Permission can be check on right clicking FarmAdmin --> Permissions.
    If this helped you resolve your issue, please mark it Answered

  • "405 - Method Not Allowed" when calling my Web Service

    Hi Guys,
    In APEX.ORACLE.COM I am trying to call some PL/SQL via a Web Service with the following setup:
    URI Template: TestPOST
    Method          : POST
    Source Type : PL/SQL
    Requires Secure Access : No
    Source:
    begin
      delete from ora_log;
      insert into ora_log values (1, 2, 3, null, sysdate);
      commit;
    end;
    The call is:
    https://apex.oracle.com/pls/apex/orange/TestPOST
    But Firefox returns Error: 405 - Method Not Allowed
    Does anyone know how to resolve this?
    Access to my Workspace is:
    Workspace: ORANGE
    User     : guest
    Password : 01range
    My email : [email protected]
    Cheers
    Jeroen

    There a number of standard verbs defined in HTTP:
    GET- Retrieve a resource
    POST- Submit new resource
    PUT - update resource
    DELETE - delete resource
    When you enter a URL in a web browser it always uses the GET method, the method to retrieve the resource.
    In your example Firefox is attempting to a do a GET on https://apex.oracle.com/pls/apex/orange/TestPOST
    but you have not defined a GET handler for this resource, only a POST handler. ORDS then tells you that the GET method is not supported on the resource, which is the correct behaviour.
    If you want to test the POST method from within a browser then you need to use JavaScript and perform an XMLHttpRequest and configure it to use the 'POST' method, for an example see the ORDS Developer guide:
    REST Data Services Developers Guide

  • ResourceException: Access not allowed (when trying to grab a connection from weblogic pool)

    I am using WLS7 with SP1.
    I just recently migrated from WLS6.0. When my code tries to grab a
    connection from the pool, it throws an exception
    java.sql.SQLException: Pool connect failed:
    weblogic.common.ResourceException: Access not allowed
    at weblogic.jdbc.pool.Driver.connect(Driver.java:202)
    Does anyone know if anything changed from 6.0 to 7?
    Here is a piece of the code that throws exception.
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver")
    .newInstance();
    conn = driver.connect("jdbc:weblogic:pool:" +
    dbName, null);
    Thanks in advance.

    Hi Jung,
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]...
    Do you know how to change security setting on the connection pool?
    Thanks.WebConsole:
    1.Compatibility Security => ACLs
    Create a new ACL,
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : reserve, reset
    group : everynone
    2.Services => JDBC => Connection Pool
    Create a new Connection Pool
    ACL Name : weblogic.jdbc.connectionPool.yourPoolname
    In 'Target' tab, choose server and click the Apply button
    Slava
    >
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jung,
    Could you try providing weblogic user name and password
    in the properties?
    Could you also check security setting of the connection pool?
    Regards,
    Slava Imeshev
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]...
    Well that is exactly what I am doing. The variable dbName is database
    connection pool name that I created in weblogic console. Again, it
    worked
    in WLS6 but after migration, it stopped working.
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    In my code I am supplying name of the connection pool already
    created
    in
    weblogic server. I am asking you to get connection from the pool
    using
    pool
    driver.
    In your case you are trying to create connection straight to
    database
    using pool
    driver.
    What I am asking is pass name of the connection pool instead of
    database
    name.
    Thanks,
    Mitesh
    Jung Yang wrote:
    What would be the difference between your code and mine? Mine
    simple
    appends dbName string value for connection pool name at the end of
    "jdbc:weblogic:pool:"? And why same exact code would work in WLS6and
    not
    work in WLS7?
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    conn = driver.connect("jdbc:weblogic:pool:" +
    dbName, null);Instead of doing this what if you use
    Connection conn =
    myDriver.connect("jdbc:weblogic:pool:myConnectionPool", null);
    Will you please try this and see if that helps?
    Mitesh
    Jung Yang wrote:
    Isn't that exactly what I posted for my code piece?
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    Try As described below:
    The following example demonstrates how to use a database
    connection
    pool
    from a servlet.
    Load the pool driver and cast it to java.sql.Driver. The
    full
    pathname
    of
    the driver is weblogic.jdbc.pool.Driver. For example:
    Driver myDriver = (Driver)
    Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Create a connection using the URL for the driver, plus
    (optionally)
    the
    name of the registered connection pool. The URL of the pool
    driver
    is
    jdbc:weblogic:pool.
    You can identify the pool in either of two ways:
    Specify the name of the connection pool in a
    java.util.Properties
    object
    using the key connectionPoolID. For example:
    Properties props = new
    Properties();props.put("connectionPoolID",
    "myConnectionPool");Connection conn =
    myDriver.connect("jdbc:weblogic:pool", props);
    Add the name of the pool to the end of the URL. In this case
    you
    do
    not
    need a Properties object unless you are setting a username
    and
    password
    for using a connection from the pool. For example:
    Connection conn =
    myDriver.connect("jdbc:weblogic:pool:myConnectionPool",
    null);
    Note that the Driver.connect() method is used in theseexamples
    instead of
    the DriverManger.getConnection() method. Although you may
    use
    DriverManger.getConnection() to obtain a databaseconnection,
    we
    recommend
    that you use Driver.connect() because this method is not
    synchronized
    and
    provides better performance.
    Note that the Connection returned by connect() is an
    instance
    of
    weblogic.jdbc.pool.Connection.
    Call the close() method on the Connection object when youfinish
    with
    your
    JDBC calls, so that the connection is properly returned to
    the
    pool. A
    good coding practice is to create the connection in a try
    block
    and
    then
    close the connection in a finally block, to make sure the
    connection
    is
    closed in all cases.
    conn.close();
    Mitesh
    Jung Yang wrote:
    I am using WLS7 with SP1.
    I just recently migrated from WLS6.0. When my code tries
    to
    grab a
    connection from the pool, it throws an exception
    java.sql.SQLException: Pool connect failed:
    weblogic.common.ResourceException: Access not allowed
    at
    weblogic.jdbc.pool.Driver.connect(Driver.java:202)
    Does anyone know if anything changed from 6.0 to 7?
    Here is a piece of the code that throws exception.
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver")
    .newInstance();
    conn =
    driver.connect("jdbc:weblogic:pool:"
    +
    dbName,
    null);
    >>>>>>>>>
    Thanks in advance.

  • Automatic hierarchie aggregation not working when dimension formula is used

    Hey folks,
    i'm facing the following issue. currently i'm setting up an application to plan sales quantities, prices and manufacturing costs.
    subsequently i want to calculate following values for members of account dimension:
    - turnover (price * sales)
          -> implemented as dimension formula
          -> in the account hierarchie it's a child of net revenue
          -> account type: inc
          => calculation work fine in the reports
    - manufacturing cost (manufacturing cost * sales)
          -> implemented as dimension formula
          -> in the account hierarchie it's a child of net revenue
          -> account type: exp
          => calculation work fine in the reports
    - net revenue (turnover - manufacturing cost)
          -> in the account hierarchie it's the parent of turnover, manufacturing cost
          -> account type: inc
          => key figure is empty !!
    As far as i understood BPC is aggregating automatically along the hierarchie. That means to me that net revenue should be automatically calculated due to the hierarchical relation in account dimension.
    Did anyone ever face same issue ? probably the hierachical aggregation is not working when key figures based on dimension formula is used !? Do i really have to implement script logic to solve this issue ?
    Looking forward to interesting approaches to solve this issue !
    Best regards,
    Moritz

    Hey,
    sorry my description was misleading at this point. i don't have a formula define for net revenue dimension member. i expected the system to automatically calculate it by aggregation along the account dimension hierarchy where net revenue is parent to the turnover and manufacturing costs which are calculated by dimension formula.
    Best regards,
    Moritz

Maybe you are looking for

  • Why does my Macbook pro keyboard and trackpad randomly become unresponsive forcing restart in OSX Mavericks?

    Randomly when using OSX Mavericks, since installing yesterday, my mid-2012 Macbook Pro keyboard and trackpad freeze and become unresponsive. The computer is still running whatever I was doing, the computer does not crash, i just cannot control it and

  • Freight in Import PO

    Hi Friends,                             When I have to enter Freight or other delivery costs, system is showing foreign currency and it is in editable mode, so that i can change it to INR. But I have to make it INR only. So please guide us how to do

  • Error when using Calculation Area or AutoSum

    Why do I get an error when trying to use AutoSum? It says "Object reference not set to an instance of an object".  I can't use it all.  Nor can I manually create a calculation in the Calculation Area at the bottom of a PowerPivot worksheet.  I am abl

  • Sorting a JSF dataTable

    Hi all, How can the contents of JSF dataTable component be sorted (any column). I need solution in JSF. can any one show an example or code snippet. I have this code of dataTable and I want to sort it by Date Created. How I can associate my code of s

  • Upgrade guide.....

    Hi,      i am working on <b>SAPR/3 4.7 with WebAs6.20</b>. now my client ask me to upgrate<b> from 4.7 to ECC 5.0.</b> to do this upgradation what are the basic steps i need to do. thanks in advance. Cheers, Kannan.