Weblogic 7.0, Oracle9i - "Access not allowed" error

All:
I am looking for any suggestions/help/advice/etc on my problem. The background is this, I have an application that uses 3 MDBs, 3 Entity Beans, is deployed on Weblogic7.0 (the latest), and needs to query an Oracle9i database.
I have set up my drivers and URL, they work fine under a normal java class making a connection. They also return "success" when using dbping to test the connection, so the set up is right.
When Weblogic starts, the connection pool is made, the DataSource is fine -- but when the EJB is deployed it comes back with the SQLException "Access not allowed".
I've put the classes12.zip file at the beginning of the classpath, modified the setenv.cmd file so the PATH includes %ORACLE_HOME%\bin and %WL_HOME%\bin\oci920_8.
I've also put in the following in the weblogic-ejb-jar file:
<security-permission>
<description>Oracle</description>
<security-permission-spec>
grant {
permission java.lang.RuntimePermission "loadLibrary.ocijdbc9";
</security-permission-spec>
</security-permission>
I've even tried to do what the Security Manager portion of the Weblogic documentation says to do. It said to "activate the security manager" by putting the following line in the startWeblogic file:
-Djava.security.manager
None of these have worked -- I keep getting that error. Like I said previously I have tried the connections and they have worked through other methods.
I've tried everything, including using an XA driver -- to no avail. My forehead is getting really sore from banging it on the monitor --- can you help???? :/
Thanks!
The connection pool information follows (from the config.xml file):
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
LoginDelaySeconds="1" MaxCapacity="36" Name="P3IConnectionPool"
Properties="user=EI_SERVICES;password=EI_SERVICES;dll=ocijdbc9;protocol=thin"
RefreshMinutes="0" Targets="beaserver"
TestConnectionsOnReserve="true" TestTableName="STATE_LKUP" URL="jdbc:oracle:thin:@192.168.23.45:1521:ORASUN"/>

Just in case anyone needs this in the future....
After creating the connection pool in Weblogic 7.0 (using the Weblogic console) right click on the connection pool and select "Define Policy", select "Default Authorizer", then enter "Caller is a member of the group everyone" and apply.
That takes care of the problem... didn't happen in Weblogic 6.1

Similar Messages

  • Page rotate script not working(not allowed error security settings prevent access to this property)

    HI,
    I am using a script to rotate each pages in pdf file when clicking a button. I have added a script to rotate file in the rotate button's click event as a javascript.It is working in acrobat but not in adobe reader. Pleae see the script
    nStart = 0;
    nEnd = this.numPages - 1;
    nRotate = 90;
    try
    if (this.numPages > 0)
               this.setPageRotations(nStart , nEnd , nRotate)
    catch(e)
    app.alert("Processing error: "+e)
    But I'm getting this  error in adobe reader not in acrobat.'not allowed error security settings prevent access to this property or method'. What is the problem. Please anybody tell me.

    OK, so here's what you do:
    - Create a new file in a plain-text editor (I recommend Notepad++), and paste this code into it:
    safeExecMenuItem = app.trustPropagatorFunction(function(code){
        app.beginPriv();
        app.execMenuItem(code);
        app.endPriv();
    mySafeExecMenuItem = app.trustedFunction(function(code){
        app.beginPriv();
        safeExecMenuItem(code);
        app.endPriv();
    Close Reader if it was open and then save this file as "MyScripts.js" and place it in the following directory (this is for Windows):
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\Javascripts
    If you want it to work in Acrobat as well place the file also under:
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts
    Now to rotate the pages clockwise attach this code to your button (in Acrobat, of course):
    mySafeExecMenuItem("RotateCW");
    And to rotate them counter-clockwise, use this code:
    mySafeExecMenuItem("RotateCCW");
    Open your file in Reader and the buttons should rotate the pages when clicked...

  • 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.

  • Java.sql.SQLException: Cannot obtain connection after 3600 seconds. , Exception = Access not allowed

    Using Weblogic Platform 7.0 (installed from platform700_win32.exe),
    Running a BPM Doamin(WLIDomain with BPM only).
    When I try to access my entity bean(CMP), the following exception is getting thrown.
    I have seen a similar post in here, but the answer to that post, which says to
    provide ACL. does not apply quite well my scenario.
    To do this, I right clicked on the connection pool and selected define Ploicy..
    It shows two options
    RealmAdapterAuthorizer and DefaultAuthorizer; On DefaultAuthroizer i specified
    role accessing the resource would be "everyone". - restarted the server - but
    still the same error.
    Please suggest a solution if any. Do i have to get some service pack for this?
    TIA
    Ranjith.

    We have never seen a case yet where this was not a permissions problem.
    Do you have a fileRealm.properties file as part of your configuration?
    "Ranjith" <[email protected]> wrote in message
    news:3f0fdeb3$[email protected]..
    >
    java.sql.SQLException: Cannot obtain connection after 3600 seconds. ,Exception
    = Access not allowed
    java.sql.SQLException: Cannot obtain connection after 3600 seconds. ,Exception
    = Access not allowed
    atweblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:701)
    atweblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:623)
    atweblogic.jdbc.jts.Connection.prepareStatement(Connection.java:133)
    atweblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
    va:139)
    atweblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
    atservice.samplemgt.v1_0.ejb.entity.BanksampletypeCMP_ckv0ao__WebLogic_CMP_RDB
    MS.ej
    bFindAll(BanksampletypeCMP_ckv0ao__WebLogic_CMP_RDBMS.java:873)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersi
    stenceManager
    java:300)
    atweblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:715)
    atweblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.
    java:688)
    atweblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:47
    6)
    at ...

  • SQLException: Access not allowed (problem with ACL)

    Hi, I'm getting the following error when I start my Weblogic (7.0) server.
    java.sql.SQLException: weblogic.common.ResourceException: Access not allowed
    I followed these steps to Provide the necessary ACl permisiions:
    1.     Compatibility Security => ACLs
    Create a new ACL:
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : admin
    group : Administrators
    2. Create a new Connection Pool:
    ACL Name : weblogic.jdbc.connectionPool.yourPoolname
    In 'Target' tab, choose server and click the Apply button.
    I even checked fileRealm.properties, the user admin123 (the user name with which I start the server), is included in all the connectionpool ACL lists. I restarted the server to pick the new changes but it still gives the same errors.
    Please help,
    Thanks

    You need to create the correct ACL for the DataSource following this procedure in the Administration Console:
    1. Compatibility Security => ACLs
    Create a new ACL:
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : admin
    group : Administrators
    2. Compatibility => click Refresh button
    3. 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.
    4. Services => JDBC => Data Sources
    You can create a new Data Source using this connection pool successfully
    Regards,
    Prasanna Yalam

  • "Access not allowed for subject: principals=[]" Common Issue with no Repose

    Hi all,
    When upgrading from 8.1 to 8.1 SP4 (we have seen the issue as early as SP2), there is an exception thrown when trying to start the server where our application is deployed:
    <pre>weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on ResourceType: Application Action: write, Target: Deployed
    </pre>
    Our application creates an InitialContext using properties from a standard properties file, and when the "java.naming.security.principal" and "java.naming.security.credentials" properties are omitted, the server will start and deploy the application, but it naturally will not work.
    I have noticed that this issue has been brought up by several others:
    http://forums.bea.com/bea/search.jspa?q=%22Access+not+allowed+for+subject%3A+principals%3D%5B%5D%22&objID=&dateRange=all&userID=&numResults=15
    http://forums.bea.com/bea/thread.jspa?forumID=2058&threadID=200027601&messageID=200619947#200619947
    http://forums.bea.com/bea/thread.jspa?forumID=2051&threadID=200021662&messageID=200590642#200590642
    http://forums.bea.com/bea/message.jspa?messageID=200590569&tstart=0
    But have seen nothing resembling even a hint of a cause.
    Any suggestions that even get me going in the right direction would be appreciated.
    <pre>
    weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on ResourceType: Application Action: write, Target: Deployed
         at weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.wlsRun(SecurityHelper.java:623)
         at weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.run(SecurityHelper.java:510)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.java:398)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:430)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:387)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:741)
         at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
         at weblogic.management.configuration.ApplicationMBean_Stub.setDeployed(ApplicationMBean_Stub.java:408)
         at weblogic.management.mbeans.custom.ApplicationManager.setState(ApplicationManager.java:593)
         at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:740)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:501)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:754)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:733)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:509)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1560)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1528)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:988)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:946)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
         at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
         at weblogic.management.configuration.ApplicationManagerMBean_Stub.start(ApplicationManagerMBean_Stub.java:677)
         at weblogic.management.Admin.startApplicationManager(Admin.java:2821)
         at weblogic.management.AdminServerAdmin.startApplicationManager(AdminServerAdmin.java:624)
         at weblogic.management.Admin.finish(Admin.java:2299)
         at weblogic.management.AdminServerAdmin.finish(AdminServerAdmin.java:458)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:971)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    </pre>

    For others who have received this error, I'll post what I think has turned out to be the cause.
    Refer to
    http://e-docs.bea.com/wls/docs81/jndi/jndi.html#471919
    Which says:
    =====
    When you create a JNDI Context with a username and password, you associate a user with a thread. When the Context is created, the user is pushed onto the context stack associated with the thread. Before starting a new Context on the thread, you must close the first Context so that the first user is no longer associated with the thread. Otherwise, users are pushed down in the stack each time a new context created. This is not an efficient use of resources and may result in the incorrect user being returned by ctx.lookup() calls.
    =====
    Our application caches the Context created, and that Context is used by other objects to perform lookups. Prior to Sp2, this caused no issues when including the username and password as part of the properties passed to the InitialContext constructor.
    I presume that closing the Context after it has been used would be the proper fix for this, but right now this Context is used in too many places once it is created. I was able to combat the issue by removing the username and password properties (java.naming.security.principal & java.naming.security.credentials) from the properties file. It seems to work as expected.

  • Unable to rotate pdf with script(not allowed error security settings prevent  error)

    I am using a script to rotate each pages in pdf file when clicking a button. I have added a script to rotate file in the rotate button's click event as a javascript.It is working in acrobat but not in adobe reader. Pleae see the script
    nStart = 0;
    nEnd = this.numPages - 1;
    nRotate = 90;
    try
    if (this.numPages > 0)
               this.setPageRotations(nStart , nEnd , nRotate)
    catch(e)
    app.alert("Processing error: "+e)
    But I'm getting this  error in adobe reader not in acrobat.'not allowed error security settings prevent access to this property or method'. What is the problem. Please anybody tell me.

    I have got it working usig by installing a script on the local machine. Thanks

  • Err : "Access Not Allowed to oracle.jdbc.driver.OraclePreparedStatement"

    Hi,
    How to resolve the error "Access Not Allowed to oracle.jdbc.driver.OraclePreparedStatement"
    in jdeveloper?
    Or
    Can you please give me some sample pgms which uses oracle.jdbc.driver.OraclePreparedStatement?
    Thanks in advance,
    Senthil Kumar M.

    This is the error from the trace logs...
    application [XMII] Cannot send an HTTP error response [500 Application error occurred during request processing. (details: com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: java.lang.NoClassDefFoundError: oracle.jdbc.driver.OraclePreparedStatement)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The stream is closed.
    Exception id: [0050569D6ACD006A0000010C000023D300046F4B653C90D7]
    I could not find anything on the SDN regarding this message, so I may need to open up an OSS note.
    Thanks
    Skip Ford

  • AS - all page items, access not allowed

    I am upgrading an AppleScript from working with InDesign CS5.5 to CS6.    When I recompile I get the syntax error:
    "Can't set <<constant dpvtdppv>> to <<class aPgi>>.
    Access not allowed."
    My statement is a simple
    "set pList to get all page items" within a tell myDoc section.
    In reviewing the AS guide for InDesign CS6, the notes say that Chapter 4, covering all page items,  was not changed in CS6.  Page 113 of the guide phrases the statement without a "get", so my statement would be
    "set pList to all page items".  This fails with the same error.  As my code gets plenty of use under CS5 and CS5.5, I suspect a dictionary error from Adobe.
    Anyone with ideas?

    G'day
    try :
    set pList to every page item
    m.

  • Cannot create application - 405 Method Not Allowed error

    Installed 11.1.2.1. Tried using EPMA to deploy app. Getting abort with the Method Not Allowed Error. Tried using Classic and getting the same error. Some of the details says "Server Error in Application "DEFAULT WEB SITE/HFM", "The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used." Any thoughts on possible causes?

    Hi Fsotto,
    The below document would resolve the issue.
    New Install on IIS 7, Cannot Access HFM from Workspace 404.3 Error in IIS Logs on HFM Web Server (Doc ID 1285684.1)
    Hope this helps,
    Please feel free to mark the answer as Helpful Answer/ Correct Answer should you find the relevant posting helpful so that it also helps us in keeping track of the answered queries.
    Thank you,
    Charles Babu J

  • Access not allowed on xsl files with 10.3.3

    Under the Runtime Configuration Properties I have set the "disable external references" to false but I am still getting an "XML-21028: (Fatal Error) Access not allowed" when the report tries to reference a stylesheet placed in a directory under the Apache htdocs directory (The <DocumentRoot> and <Directory> have been set correctly as far as I can tell).
    Steve

    The app server needed to be shutdown and restarted in order for the change to this property to be recognized. However, now I have a problem with the subtemplates.xsl with a variable which is not defined: _XDONFSEPARATORS.  I can find not one reference to this property on the oracle site.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Coding not allowed error in BDC

    Hi,
    Recorded transaction MB1C with "Not a Batch Input Session' option. In the code should I mention this anywhere. Because, I get coding not allowed error while running BDC program.
    Please go thru the code below:
    perform bdc_dynpro      using 'SAPMM07M' '0400'.
          perform bdc_field       using 'BDC_CURSOR  'MKPF-BKTXT'.
          perform bdc_field       using 'BDC_OKCODE' '/00'.
          perform bdc_field       using 'MKPF-BLDAT'  W_HDR-BLDAT.
          perform bdc_field       using 'MKPF-BUDAT'  W_HDR-BUDAT.
          perform bdc_field       using 'MKPF-BKTXT'   W_HDR-BKTXT.
          perform bdc_field       using 'RM07M-BWARTWA'   W_HDR-BWARTWA.
          perform bdc_field       using 'RM07M-WERKS'  W_HDR-WERKS.
          perform bdc_field       using 'RM07M-LGORT'   W_HDR-LGORT.
          perform bdc_field       using 'RM07M-WVERS2'   W_HDR-WVERS2.
          LOOP AT T_MAT INTO W_MAT.
              i = i + 1.
              IF i > 99.
                MOVE i to k.
                CONCATENATE 'MSEG-MATNR(' k ')' INTO l_field1.
                CONCATENATE 'MSEG-ERFMG(' k ')' INTO l_field2.
              ELSE.
                MOVE i to j.
                CONCATENATE 'MSEG-MATNR(' j ')' INTO l_field1.
                CONCATENATE 'MSEG-ERFMG(' j ')' INTO l_field2.
              ENDIF.
              perform bdc_dynpro      using 'SAPMM07M' '0421'.
              perform bdc_field       using 'BDC_CURSOR'
                                            l_field2.
              perform bdc_field       using 'BDC_OKCODE'
                                            '/00'.
              perform bdc_field       using l_field1
                                            W_MAT-MATNR.
              perform bdc_field       using l_field2
                                            W_MAT-ERFMG.
              l_field1 = ''.
              l_field2 = ''.
          ENDLOOP.
          perform bdc_dynpro      using 'SAPMM07M' '0421'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'MSEG-ERFMG(01)'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=BU'.
          perform bdc_transaction using 'MB1C'.
      ENDLOOP.
    Regards,
    Sriram
    Edited by: Sriram_14880 on Jul 28, 2009 2:53 PM

    Hi  there is no problem weather u r using option  'Not a Batch Input Session'  or not , generally it is used in call transaction
    see the documentation of call transaction options (ctu_params).
    structure of ctu_params is
    DISMODE
    UPMODE
    CATTMODE
    DEFSIZE
    RACOMMIT
    NOBINPT      ( Selection for the symbol field sy-binpt. Values: " " (sy-binpt contains in the called transaction "X"),
                         "X" (sy-binpt          contains in the called transaction " ").
    NOBIEND     Selection for the system field sy-binpt. Values: " " (sy-binpt contains "X" after the end of the batch input
                        data in   the  called transsaction ) "X" (sy-binpt contains " " after the end of the batch input data in the called   transaction).
    In the  new recordinng screen u will have four options ctu_params.
                              default size
                             cntinue after commit
                             Not a Batch Input Session
                            simulate back......
    The above four options u can set manually in call transaction from ctu_params
    not a batch input session option  refers to ctu_params-NOBINPT.
    read the documentation of call transaction statement.
    Ram

  • BB Pearl 8130 "access not allowed!" when trying to download Blackberry App World

    Hi, well I am trying to download blackberry app world onto my blackberry pearl 8130 and whenever I try to download it it goes through the language prompts but then goes to a page with "access not allowed" My device software is v4.5, I am currently in Canada, I have the data plan, I can use the internet browser and my carrier is Telus. All help is appreciated, please and thank you!

    Hi and Welcome to the Forums!
    "Access Not Allowed"? Is that the precise and exact message? If not, please do provide the precise message.
    Please check this page to ensure you meet the minimum requirements (including if it is available in your country):
    http://na.blackberry.com/eng/services/appworld/download.jsp
    If it is available in your country and you feel you meet the device-level system requirements, then contact your carrier to ensure that you meet the service plan (from them) requirements for access (via their network) to AppWorld. Generic data plans, even unlimited, are usually not sufficient...a specific BB data plan is normally required.
    Lastly, do be aware that AppWorld is merely a portal, vending apps developed mainly by others. As such, it is not your exclusive procurement source -- there are others that you can try (e.g., Handango, Handmark, BPlay, GetJAR or Mobihand). I have found that there are very few apps that are exclusive to AppWorld. You can search the on-line catalog and then search out other procurement sources, including quite often the developer website itself.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • "Access not allowed?"

    I set up my wifi, and when I go to the browser, I can go to Google and other websites correctly. When I tried to download app world, I got the message "Access not allowed". When I pressed the return key, it said my download was successful, but app world is not downloaded on my phone.
    My brother and sister have the same phone, and they were able to download app world with no problems.
    Anyone know how to fix this?

    I didn't mean to steal your thunders. LOL :-D No worries there friend. Hey... I at least got a helpful... whatever that amounts to in these new forums how is the bike riding, have you learn to breath yet?Haven't actually gotten to do any riding yet. So far I've been clearing my mind the old fashioned way. I've been "footing it" everywhere. Still does the same job though. Allows me a chance to clear my mind and get some exercise at the same time.
    The only reason I haven't been riding yet is my bike still needs some more TLC before it'll allow me a ride without stranding me somewhere. Guess that's what I get for leaving it outside in Florida for 3 years. Plan on looking at it some more tomorrow and I should have it fixed then so I can get to riding! I've so been looking forward to getting back into it!!!
    There is something really odd with ASI definitely agree.
    You've got the right idea about how to handle the inconsistencies though. Treat it as though it's a three year old and hold its hand all the way through every little step!
    Good to hear from you, hope all is going well in your part of the world! I'm slowly getting my self back and it's such a strange, but good, feeling!

  • ORA-22902 CURSOR expression not allowed Error Cause: CURSOR on a subquery..

    Hi,
    I found same issue in a metalink thread which is addressed in Oracle 12.1 which doesn't help me now. I need to rewrite the below query. Does anyone have any suggestions how to go about it?
    thanks,
    April
    working in Oracle 11.2.0.3.1, windows server, doing an upgrade from 10g to 11g. Piece of code is failing with following error via TOAD
    Oracle Database Error Code ORA-22902 Description :
    CURSOR expression not allowed
    Error Cause:
    CURSOR on a subquery is allowed only in the top-level SELECT list of a query.
    The below code is returning a tree of data for projects, units within the buildings.
    Code as follows:
    SELECT LEVEL
    , p.project_id
    || NVL (p.file_ref, ' ')
    || '] ['
    || NVL (p.project_ref, ' ')
    || '] '
    || p.project_name
    || ' ( '
    || (SELECT COUNT (*)
    FROM PROJECT p1
    WHERE p1.parent_project_id = p.project_id)
    || ' sub-projects, '
    || (SELECT COUNT (*)
    FROM PROJECT_ELEMENT pe2
    WHERE pe2.project_id = p.project_id)
    || ' elements)' AS project_description
    CURSOR
    (SELECT pe.element_id
    || pe.element_ref
    || '] '
    || pe.element_name
    || ' ('
    || pe.unit_count
    || ')' AS element_description
    CURSOR
    (SELECT hu.hu_id
    || hu.hu_ref
    || '] '
    || CASE
    WHEN hu.bedroom_count IS NOT NULL
    THEN ', Bedrooms: ' || hu.bedroom_count
    ELSE NULL
    END
    || CASE
    WHEN hu.bedspace_count IS NOT NULL
    THEN ', Bedspaces: ' || hu.bedspace_count
    ELSE NULL
    END AS hu_descripton
    FROM HOUSING_UNIT hu
    WHERE hu.element_id = pe.element_id
    ORDER BY hu.hu_ref
    ) AS housing_units
    FROM PROJECT_ELEMENT pe
    WHERE pe.project_id = p.project_id
    ORDER BY pe.element_ref, pe.element_name
    ) elements
    FROM PROJECT p
    START WITH p.project_id = l_root_project_id
    CONNECT BY PRIOR p.project_id = p.parent_project_id -- connect by used with LEVEL keyword
    ORDER SIBLINGS BY p.file_ref DESC
    , p.project_ref DESC
    , p.project_name DESC;
    Edited by: AprilM on Jul 17, 2012 10:28 AM

    Interesting. I am getting even worse results on 11.2.0.1.0:
    SQL> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
      2  /
    select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00905: missing keyword
    SQL> connect scott
    Enter password: *****
    Connected.
    SQL> select * from v$version
      2  /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
      2  /
    DNAME          CURSOR(SELECTENAMEFR
    ACCOUNTING     CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    CLARK
    KING
    MILLER
    RESEARCH       CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    SMITH
    JONES
    SCOTT
    ADAMS
    FORD
    SALES          CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    ALLEN
    WARD
    MARTIN
    BLAKE
    TURNER
    JAMES
    6 rows selected.
    OPERATIONS     CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    no rows selected
    SQL> And double CURSOR also works fine in 10g:
    SQL> select cursor(select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d) from dual
      2  /
    CURSOR(SELECTDNAME,C
    CURSOR STATEMENT : 1
    CURSOR STATEMENT : 1
    DNAME          CURSOR(SELECTENAMEFR
    ACCOUNTING     CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    CLARK
    KING
    MILLER
    RESEARCH       CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    SMITH
    JONES
    SCOTT
    ADAMS
    FORD
    SALES          CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    ALLEN
    WARD
    MARTIN
    BLAKE
    TURNER
    JAMES
    6 rows selected.
    OPERATIONS     CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    no rows selectedSY.
    Edited by: Solomon Yakobson on Jul 17, 2012 1:27 PM

Maybe you are looking for

  • Using MBP monitor to display from another source

    Might be a dumb question, but is it possible to use my MBP monitor as if it were a stand-alone monitor? I've got a a laptop that the backlight went out on, but everything else works fine, and would like to be able to use it as a secondary computer th

  • Planned order requirement materials total list

    Dear Experts, Question related to SAP-PP I was given Demand in MD61 for make to Stock I run MRP through MD02 Planned orders were created. My Thread is For one FG Planned order, I checked all the requirements level by level. But I want to know the tot

  • Help with Data Block Based on Procedure--getting compilation error

    I am trying to create a datablock based on a procedure , but im getting errors in compilation: Errors are : 1) identifier 'HSM_WSH_DEL_UTIL.DEL_TBL' must be declared 2)PL/SQL ERROR 320 at line 7, column 27 the declaration of the type of this expressi

  • XL Reporter error Unable to Connect to SAP Business One DI API

    Hi Experts, Im getting this error on one of our clients' workstations. They have SAPB1 2005A PL 31. We've tried uninstalling and reinstalling the DIAPI and the whole client application as well.  Same error. It als gives an error after the initial err

  • ChartDesigner  cl_gui_chart_engine time scatter

    Hello does any one knows how to write the xml data for time scatter using the cl_gui_chart_engine. thanks very match for information abut that shlomit