Error while creating own BAPI

Hey,
trying this step-by-step guide with own names
http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
Got two errors:
1. In SWO1 while trying to add api methods he said:
BAPI &1: The name of the function module &2 does not begin with 'BAPI'
BAPI &1: BAPI function module &2 has no return parameter
Searching in forum, I found that my structures have to begin with ZBAPI. But
why the tutorial can do this? In tutorial the structure is named ZVEND. Why they
can do this?
2. The second error is telling me, that I have no return parameter. Thats not true.
In my export tab of my function module, I have included a Parameter BAPIRET2 TYPE BAPIRET2.
Trying to insert a table like this:
RETURN TYPE BAPIRETURN
He is telling me that "TABLES parameters are obsolete"
In every tutorial they are using like, but I am not able to use LIKE, only TYPE is this something they changed in the SAP version > 4.7 ???
Does every BAPI needs a return structure or table?
If anyone have some good documents about how to create an own bapi let me know.
But please no short description or 1000 links like this: how to create our own bapi?
thanks
chris
thx
chris

Hi,
Here are the answers for your queries.  (Version 4.7)
1.  The function module name should start with "ZBAPI" the
     one we are creating our own.
     All the structures we refer for parameters in function moudle
     should also start with "ZBAPI"
     (eg., Import Params: VBELN LIKE ZVBAK-VBELN).
2.  There must be a return parameter in Export List in the
     function module like the one below. Its a BAPI standard
     return variable.
     Export Params:RETURN LIKE ZBAPIRETURN.
     In BAPI Function modules we pass parameters as "pass
     by value". That's why Tables are not used as they are
     passed by reference.
Hope it helps you
Murthy.

Similar Messages

  • URGENT: Error while creating a BAPI

    Hi all !!
    I am facing the below mentioned error while creating a BAPI , to be more specific , the error comes when i try adding a new method by using
    Utilities > API method > add a method
    on after adding a function modile name in there, when i click on the tick mark..
    It shows an error as in :
    BAPI &1 : BAPI function module &2 has no return parameter
    Please help in resolving the same !!
    Thanks & Regards
    Gaurav Verma
    Edited by: Gaurav Verma on Feb 13, 2008 11:52 AM

    Hi,
    cehck the below link how to create a bapi and add as method..
    http://www.sapdev.co.uk/java/jco/bapi_jco.pdf
    Regards,
    Nagaraj

  • Error while creating MV replication group object

    Hi,
    I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
    OEM error
    This error while creating M.V. rep. group object
    There is a table or view named SCOTT.EMP.
    It must be dropped before a materialized view can be created.
    In SQLPLUS
    SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
    Connected.
    SQL>
    SQL> BEGIN
    2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
    3 gname => 'SCOTT',
    4 sname => 'KARTHIK',
    5 oname => 'emp_mv',
    6 type => 'SNAPSHOT',
    7 min_communication => TRUE);
    8 END;
    9 /
    BEGIN
    ERROR at line 1:
    ORA-23306: schema KARTHIK does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 2
    Please not already I have created KARTHIK schema.

    Arthik,
    I think I know what may have happened.
    As I can see you are trying to create support for an updateable materialized view.
    You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
    From the code you have shown, I bet the owner of table EMP is SCOTT.
    From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
    According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
    Please check the documentation at the link below
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
    I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
    I'll skip some of the steps that I used to create the replication environment.
    I have two databases, DB1.world and DB2.world
    On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
    SQL> conn scott/*****@DB2.world
    Connected.
    SQL>create materialized view log on EMP with primary key;
    Materialized view log created.
    SQL>
    SQL>conn repadmin/*****@DB2.world
    Connected.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPGROUP(
      3         gname => 'GROUPA',
      4         qualifier => '',
      5         group_comment => '');
      6*   END;
    PL/SQL procedure successfully completed.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3         gname => 'GROUPA',
      4         type => 'TABLE',
      5         oname => 'EMP',
      6         sname => 'SCOTT',
      7         copy_rows => TRUE,
      8         use_existing_object => TRUE);
      9*   END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2       DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
      3         sname => 'SCOTT',
      4         oname => 'EMP',
      5         type => 'TABLE',
      6         min_communication => TRUE);
      7    END;
      8  /
    PL/SQL procedure successfully completed.
    SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
    PL/SQL procedure successfully completed.
    SQL> select status from dba_repgroup;
    STATUS                                                                         
    NORMAL                                                                          Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
    SQL>conn mviewadmin/****@DB1.world
    Connected.
    SQL>   BEGIN
      2       DBMS_REFRESH.MAKE(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => '',
      5         next_date => SYSDATE,
      6         interval => '/*1:Hr*/ sysdate + 1/24',
      7         push_deferred_rpc => TRUE,
      8         refresh_after_errors => TRUE,
      9         parallelism => 1);
    10    END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>   BEGIN
      3       DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
      5         gname => 'GROUPA',
      7         master => 'DB2.wolrd',
      9         propagation_mode => 'ASYNCHRONOUS');
    11    END;
    12  /
    PL/SQL procedure successfully completed.
    SQL>conn myuser/*****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'MYUSER.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'MYUSER',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
      9  /
      BEGIN
    ERROR at line 1:
    ORA-23306: schema MYUSER does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 3 I reproduced exactly the same error message.
    So the problem is clearly in the schema name that owns the materialized view.
    Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
    SQL>conn scott/****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'SCOTT.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'SCOTT',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
    PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
    -- Mihajlo
    Message was edited by:
    tekicora

  • Error while creating new user in Oracle 11i EBS

    I am getting following error while creating new user. How solve this issue?
    “Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.

    Following is the text from Note for Custom Password Validation logic:
    Customers who wish to use their own password validation logic may do
      so by writing their own Java classes that implement the
      oracle.apps.fnd.security.PasswordValidation Java interface.  The
      interface requires 3 methods to be implemented:
      1) public boolean validate(String user, String password)
        - This method takes a username and password, and then returns true
      or false, indicating whether the user's password is valid or invalid,
      respectively.
      2) public String getErrorStackMessageName()
        - This method returns the name of the message to display when the
      user's password is deemed invalid (i.e., the validate() method returns
      false).
      3) public String getErrorStackApplicationName()
        - This method returns the application shortname for the
      aforementioned error message.
      After writing the Java class to perform customized password
      validation, the customer must then set the value of the profile option
      SIGNON_PASSWORD_CUSTOM to be the full name of the class.  If, for
      example, the name of the Java class is
      oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
      SIGNON_PASSWORD_CUSTOM profile option must be
      oracle.apps.fnd.security.AppsPasswordValidation.  Note that AOL/J
      will attempt to load this class dynamically.  Hence it is necessary to
      make the class accessible by AOL/J.  This means that in Forms, the
      class must first be loaded into the database using the loadjava
      command.
    You will need to apply the following patches for 11.5.1:
       1344802
       1363919
       1472974
       1351004
       1377615
    You will need to apply the following patches for 11.5.2:
       1377615

  • Error while creating farm for Office web apps

    Hello.
    I have error while creating office web apps fars.
    when I enter this code to powershell : New-OfficeWebAppsFarm -InternalURL "http://servername" -AllowHttp -EditingEnabled
    It says this:
    New-OfficeWebAppsFarm : The term 'New-OfficeWebAppsFarm' is not recognized as the name of a cmdlet, function, script
    file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
    and try again.
    At line:1 char:1
    + New-OfficeWebAppsFarm -InternalURL "http://office" -AllowHttp -EditingEnabled
    + ~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (New-OfficeWebAppsFarm:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    so what's the problem?

    That is an error I would expect with the account running the cmdlet not having local administrator rights to the server.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Oracle.jbo.RowCreateException: JBO-25017: Error while creating a new ROW

    I am trying same multi step PO example. I have created a search page and there are 3 other pages for PO Header, PO Line and Review/Submit Page. I am coming on 2nd page(creating Line Item) and when I click on create new item record I am getting this error. Any help will be aprrecaited.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for POLinesEO.
    This is my code for POLineShipFullVORowImpl.java
    protected void create(oracle.jbo.AttributeList nvp)
    POLinesEOImpl lineEO = (POLinesEOImpl)getEntity(0);
    POShipmentEOImpl shipmentEO = (POShipmentEOImpl)getEntity(1);
    try
    // Create Lines EO
    lineEO.create(nvp);
    // Create Shipments EO
    shipmentEO.create(lineEO);
    // Calling this ensures that any personalization default values are
    // properly set since the OAF normally sets this in the super.create(), but
    // since this is not called in this workaround, we need another method
    // to ensure customer defaults are applied.
    // The following method was introduced in OAF internal release 11.5.10J. Since
    // the production release of the ToolBox must be able to run on 11.5.10I, this
    // cannot be enabled.
    // setDefaultValue();
    catch (Exception ex)
    lineEO.revert();
    shipmentEO.revert();
    if (ex instanceof oracle.jbo.JboException)
    oracle.jbo.JboException jboEx = (oracle.jbo.JboException)ex;
    // Developers have to do the mapping on their own becauce of the override.
    jboEx.doEntityToVOMapping(getApplicationModule(), new oracle.jbo.ViewObject[]{getViewObject()});
    throw jboEx;
    throw OAException.wrapperException(ex);
    } // end create()
    Code for PoLinesEOImpl.java
    * Initializes a new purchase order line.
    public void create(AttributeList attributeList)
         // NOTE: header id is automatically set by BC4J because of the
    // composition association.
    super.create(attributeList);
    OADBTransaction transaction = (OADBTransaction)getOADBTransaction();
    // DEFAULT: line id
    Number lineId = transaction.getSequenceValue("FWK_TBX_PO_LINES_S");
    setLineId(lineId);
    // DEFAULT: Line number
    POHeaderEOImpl headerEO = getPOHeaderEO();
    Number newLineNum = headerEO.getNextLineNum();
    setLineNumber(newLineNum);
    } // end create()
    * Sets <code>value</code> as the attribute value for ShipmentNumber
    * Business Rules
    * Required; cannot be null
    * Cannot be updated on a committed line
    * Must be unique for this purchase order
    * Must be >= 1
    public void setLineNumber(Number value)
    if (value != null)
    // Verify value is > 0
    if (value.compareTo(0) <= 0)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // To verify uniqueness, start by checking the entity cache.
    com.sun.java.util.collections.Iterator lineIterator =
    getEntityDef().getAllEntityInstancesIterator(getDBTransaction());
    Number lineId = getLineId();
    Number headerId = getHeaderId();
    while ( lineIterator.hasNext() )
    POLinesEOImpl cachedLine =
    (POLinesEOImpl)lineIterator.next();
    Number cachedLineNum = cachedLine.getLineNumber();
    Number cachedLineId = cachedLine.getLineId();
    Number cachedHeaderId = cachedLine.getHeaderId();
    if ((cachedLineNum != null) &&
    (cachedLineNum.compareTo(value) == 0) &&
    (cachedLineId.compareTo(lineId) != 0) && // Exclude this line
    (cachedHeaderId.compareTo(headerId) == 0))
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // Didn't find a duplicate in the entity cache so now we check the database.
    // Note: don't bother with this if the header is in a NEW state since that
    // means we won't have any lines in the database yet.
    POHeaderEOImpl headerEO = getPOHeaderEO();
    if (headerEO.getEntityState() != STATUS_NEW)
    PurchaseEntityExpert poExpert =
    POHeaderEOImpl.getPurchaseEntityExpert(getOADBTransaction());
    PoLineNumVVOImpl valLineNumVO =
    (PoLineNumVVOImpl)poExpert.findValidationViewObject("PoLineNumVVO1");
    valLineNumVO.initQuery(headerId, value);
    // We're doing an existence check; shouldn't have any rows.
    if (valLineNumVO.hasNext())
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // If this is the largest line number for this order, this will store it for
    // reference when creating subsequent lines.
    headerEO.resetLineNum(value);
    setAttributeInternal(LINENUMBER, value);
    } // end setLineNumber()
    Edited by: user9941374 on Mar 15, 2012 3:16 PM

    Hi Frank,
    As per the steps mentioned in the following link :
    http://www-apps.us.oracle.com:1100/fwk/jdev/doc/devguide/bus/bus_java.htm#tl
    I have created the required entity objects and view objects.
    I have an entity JobsDEO which is based on a view per_jobs_vl which is itself based on 2 tables,per_jobs_f and per_jobs_tl,wherein _tl is the translation table.
    The entity for _tl table is JobTranslationEO and has no VO associated with it.Its the JobsVO,based on JobsDEO,that has to handle any interactions with this entity too.
    JOBSDEO has a property set up for HCM_DBSEQUENCE,which makes it read the value of job_id from the sequence per_jobs_s.
    Now,when I try to insert into the JobsVO,based on JobsDEO,it gives me the above mentioned error.
    One more thing is that the error does'nt occur when we commit a row,its just when we click the "+" button in the AM Tester that we get this error.
    Please advice.

  • Error while creating the structure

    hello friends,
    i have two doubts
    1)
    i am getting the error while creating the structure in se11.
    well i am creating the structure in the following way
    in component i am giving the values as bom and in component type i am giving the value as meins.
    i am getting the status warning message as the below
    'field name does not agree with the proposed name base_bom for bapi table'
    2)
    and more over can we create the structure as the follwing in se11.
    component = f1 and
    component type =  tablename-fieldname
    when i am doing in the second way i am getting the error as the following table is not active though the table is active

    hi guru,
    just component name as --- your field name.
    where as component type as give just data element k.
    no need to give tablenme-fieldname k.
    component         component type .
    f1                        matnr----
    data element
    thanks anji.
    Moderator message: please do not use SMS speak, what does that "k" mean, short for "OK"? please get your act together, these are professional forums.
    Edited by: Thomas Zloch on Nov 15, 2010 9:10 AM

  • STRUST - Error while creating PSE

    Hi all,
    i want to create the PSE for SNC (SAP Cryptolib). -> Webservices with Certificates
    SNC ID:      sys-sapsnc@<domain>.com
    Algorithm:   RSA
    Key Length: 1024
    Error message:
    Error while creating PSE
    Message no. TRUST040
    System: ERP 2005
    System PSE is already created
    SSL Server PSE is already created
    SSL Client (Anonymous) PSE is already created
    SSL Client (Standard) PSE is already created
    regards

    Hi Ralf,
    I think I did something similar with XI about a year ago. You have to create or import some certificates / CA Certificates using STRUST (it depends if you have officially signed certificates or if you are using your own selfsigned certificates. In this case you need the root certificate as well).
    => Note 510007 might be useful
    => When importing your own root CA make sure you choose a valid namespace for Trust Center (starting with Z e.g. ZSELFCA) and choose Root-CA for Category.
    => If you want to view, modify or deltete entries choose menu > certificate > database and you will see a screen where you can search for the entries in the certificate database
    Just in case you have problems with your PSE make a copy of directory /usr/sap/SID/DVEBMGS<XX>/sec
    and delete your existing PSE to create a new one (Carefully!!!
    - First of all make sure you installed SAPSECULIB.
    - After that you should create a new PSE or create new entries for SSL Server (optionally client etc.)
    - You can create an entry directly in TRUST Manager. The resulting certificate will be selfsigned. You can sign
    this cert using your CA and then after having it signed you have to import the certificate response (use openssl to do cert stuff)
    => This might be helpful: http://help.sap.com/saphelp_nw04/helpdata/en/24/61ab3b92818b70e10000000a114084/frameset.htm
    You can import your own certificates from menu > certificate > import in the maintenance section of the SSL Server PSE or you can just click on the "Import Certificate" button
    When done you should check that your generated/imported certificates are working by simple accessing your server using the https protocol (e.g. https://<server>:<sslport>/sap/public/ping should be fine)
    Just in case you used your own CA to sign the certificates your Browser will display popup saying that the certificate is not signed by any known trusted CA (we know that so we can ignore that
    If you want to use client cert authentication you have to repeat the explained steps for SSL Client (Standard)
    => Create the PSE, sign the generated certificate etc., import the certificate response
    When this is all done you should do the following:
    - Create a RFC Destination for HTTPS Communication (call sm59, open the Folder HTTP Connections to External Server)
    - In the destination enter the destination Host and the path of your application
    - After that open the TAB Logon/Security
    - In the Status of Secure Protocol Section choose SSL active and DEFAULT SSL Client (Standard) as SSL Client Certificate
    - Save all your changes
    You should now be able to use this destination for your Webservice communication and it will be encrypted using SSL
    Hope this helps
    If you have further questions let me know
    Cheers

  • Problems with FL Studio: "Error while creating the ASIO driver."

    I'm trying to use ASIO with FL Studio with my SB Live 24-Bit USB sound card. However, whenever I select "Creative ASIO USB" as my output device, I get the message "Insufficient USB Bandwidth. This device will reset to its default ASIO settings.", followed by "Error while creating the ASIO driver."
    I've tried unplugging all other USB devices, switching USB ports, using a PCMIA USB 2.0 card, using Monster USB cables; all to no avail. It seems to me that there is plenty of USB bandwidth available but ASIO simply refuses to work.
    Here are my laptop's specs (it's ancient but still good enough to run FL Studio):
    P4 3.40GHz HT
    1024MB PC3200 DDR RAM
    SB Live 24-Bit USB sound card
    128MB ATI Mobility Radeon 9700
    Any suggestions?

    So I guess no one could help me then?
    It's OK, though, because I figured out the problem on my own. I had to change the "Device Control" settings in the Control Panel from 16 to 24-bit. Don't know why this would affect USB bandwidth, but whatever.

  • Error while creating a new connection in ODSM for OVD

    Hi all,
    I am getting the following error while creating a new connection in ODSM for OVD.
    Error log:
    [2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by:
    =======
    java.lang.NoClassDefFoundError: Could not initialize class
    com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
    at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
    at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
    at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
    at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
    at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
    at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
    at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:215)
    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:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    ... 28 more
    How to resolve this issue.Pls suggest me.
    Regards,
    -Deena.

    Hi Deena,
    This error:
    "[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
    is known issue
    Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
    You need to apply that patch.
    I hope this helps,
    Thiago Leoncio.

  • Error while creating a recipe in plm..

    Hi every one,
    System throughing below error while creating a recipe.
    "Entries in status management Customizing are incorrect"
    kindly suggest.
    have a good day..
    regards,
    kirran

    Hi Kirran,
    Please see if you have defined a status scheme and assigned it to the recipe type. Before defining a status scheme, you must complete the one time IMG activity 'Collect Object Types and Assigned Attributes' under Recipe Development > Status Management. Then in the next node you define individual statuses and a scheme with transitions. For each status, you must define 'field value' for the field RCP_USAGE which is nothing but a value from Recipe Purposes customizing.
    Hope this helps.
    Regards,
    Rajeev

  • Error while creating a PO

    Hi all,
    I have got an error while creating a PO with an Internal Order. I am trying to post this PO against an Internal Order. The error message says that:
    User status BUDG is active (ORD 10034). When I click the perform assistant, it says that according to this status, transaction 'Material purchase order' is not allowed.
    Can somebody plss help me in this regards, I will assign points.
    Thank you,
    Sony

    What you enter in the Cost element master data is only for defaulting the cost center or order when you use that GL account.
    When you see a message  transction  requires an account assignment, you can enter the relevant cost center for which the cost is incurred.
    For your information, If an order has been marked as statistical, you can find it in KO02 change order > Control data. there may be  check box saying statistical. If it is not available, then, you can't make it statistical until, you make that field available for change for the order type. Usually orders of a particular type can be made as statistical, by providing a model order to the order type. In the model order you specify that it will be statistical.

  • Error while creating a report in BI publisher

    Hi all ,
    I am getting an error while creating a new report in BI publisher .
    the error shown in console is --
    java.lang.SecurityException: /
    In the front end - i am getting
    Operation failed: d:/OracleBI/xmlp/XMLP/Users/~administrator/annapurna/test/test.xdo
    please suggest if anyone knows.

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Error while creating a new Domain in BEA Weblogic

    I am getting the below mentioned error while creating a new Domain in BEA Weblogic
    Preparing...
    Extracting Domain Contents...
    Creating Domain Security Information...
    Saving the Domain Information...
    Storing Domain Information...
    String Substituting Domain Files...
    Performing OS Specific Tasks...
    Performing Post Domain Creation Tasks...
    Domain Creation Failed!
    Domain Location: C:\bea\user_projects\domains\base_domain_1
    Reason: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
    Exception:
    java.lang.Exception: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
         at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:138)
         at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:170)
         at com.bea.plateng.domain.DomainGenerator.generate(DomainGenerator.java:435)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)

    Hi,
    It look two ways either you dont have permission to write any new thing to that domain.properties file or might file is got corrupted.
    Please check for the permission to that file.
    Regards,
    Kal.

  • Error while creating a new folder in resource view of workbench.

    hi
    I am getting this error while creating a new folder from the resources view.
    Please help me in this regard.
    !ENTRY com.adobe.repository.ui.eclipse.forms 4 0 2009-02-19 18:18:36.340
    !MESSAGE REP-001-011: Problem creating a resource folder
    !STACK 0
    com.adobe.repository.ui.eclipse.IDERepositoryException: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:117)
    at com.adobe.repository.ui.eclipse.core.Repository.createFolder(Repository.java:522)
    at com.adobe.repository.ui.eclipse.actions.NewFolderActionDelegate.workspaceRun(NewFolderAct ionDelegate.java:91)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner$1.run(WorkspaceActi onDelegateRunner.java:76)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner.run(WorkspaceAction DelegateRunner.java:83)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at com.adobe.lcide.rcp.Application.run(Unknown Source)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.bindings.dsc.client.ResourceRepositoryClient.writeResource(ResourceR epositoryClient.java:920)
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:114)
    ... 31 more
    Thanks
    Ullas

    Thanks Jasmin I did as you told and was able to create folder. But while installing the Event-Dsc and the workflow-dsc I am getting some internal error as given below.
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-02-24 15:41:34.984
    !MESSAGE install of C:\Adobe\LiveCycle8.2\deploy\adobe-event-dsc.jar failed
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:100)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.lang.ClassNotFoundException: com.adobe.idp.event.bootstrap.EventBootstrapImpl
    at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:178)
    at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:403)
    ... 70 more
    As I am using the trial version so I have isnatlled all the products Workbench, Server and the application server in the same machine. My System has 2GB Ram.
    Any help in this will be of great help
    Regards
    Ullas

Maybe you are looking for