Error inserting data after creating a trigger (caused by commit)

Hi,
I have registered a schema so that XML files are stored in a table XMLREADINGS. I create an AFTER INSERT tigger on this table. The trigger is very basic (inserting the system date into a test table). I discovered that it works fine so long as there is no COMMIT statement in the trigger (an implicit commit is carried out). However if I have a COMMIT then creation of the trigger is fine, but when I try to drop new XML files into the repository (using WebDav) I get a file copy error.
For this simple case the lack of an explicit COMMIT statement is okay, but I want to increase the logic of the trigger and I can imagine that there will be COMMIT and ROLLBACK statements required.
Has anyone experienced this before ?
regards
Stephen

I've just discovered that you aren't supposed to use commit or rollback in triggers anyway!
A possible solution (found on this forum) is to declare the trigger as a autonomous transaction:
If you are using Oracle 8i, you can use an autonomous transaction:
CREATE OR REPLACE TRIGGER trg
DECLARE
Pragma Autonomous_Transaction
BEGIN
I'll give that a try

Similar Messages

  • Error inserting data into database

    Hello I am having error inserting data into database through a servlet.Please I am very new to Java Technology and need your immediate help. beloww is the codea nd the error
    Apache Tomcat/4.0.3
    ERROR: Problems with adding new entry
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6106)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6263)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2525)
         at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:337)
         at Register.insertIntoDB(Register.java:71)
         at Register.doPost(Register.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:536)
    COde:
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    public class Register extends HttpServlet
         public static Statement statement;
         private Connection DBConn;
         public void init(ServletConfig config) throws ServletException
              super.init(config);
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   DBConn=DriverManager.getConnection("jdbc:odbc:Challenge");
              catch(Exception e) {
                   e.printStackTrace();
                   DBConn=null;
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException
                   String user_id,FirstName,LastName, Email, Login, Password;
              FirstName = req.getParameter("FirstName");
              LastName = req.getParameter("LastName");
              Email = req.getParameter("Email");
              Login = req.getParameter("Login");
              Password = req.getParameter("Password");
              PrintWriter output = res.getWriter();
              res.setContentType("text/html");
              if (user_id.equals("")||
              FirstName.equals("") ||
                   LastName.equals("") ||
                   Email.equals("") ||
                   Login.equals("") ||
                   Password.equals(""))
                        output.println("<H3>Please click back " + "button and fill in all " + "fileds.</H3>");
                        output.close();
                        return;
                   boolean success = insertIntoDB("'" + FirstName + "','" + LastName + "','" + Email + "','" + Login + "','" + Password + "'");
                   if (success)
                        output.print("<H2>Thank You " + FirstName + " for registering.</H2>");
                        res.sendRedirect("file:///Register.html");
                   else
                        output.print("<H2>An error occured. " + "Please try again later.</H2>");
                        output.close();
              private boolean insertIntoDB(String stringtoinsert)
                   try
                        statement = DBConn.createStatement();
                        statement.execute("INSERT INTO Users(user_id,FirstName,LastName,Email,Login,Password) values (" + stringtoinsert + ");");
                        statement.close();
                   catch (Exception e)
                        System.err.println("ERROR: Problems with adding new entry");
                        e.printStackTrace();
                        return false;
                   return true;
              public void destroy()
                   try
                        DBConn.close();
                   catch(Exception e)
                        System.err.println("Problem closing the database");
    Your Help will be very much appreciate.I am using SQL Server database

    The error concerns these two lines:
    boolean success = insertIntoDB("'" + FirstName + "','" + LastName + "','" + Email + "','" + Login + "','" + Password + "'");
    statement.execute("INSERT INTO Users(user_id,FirstName,LastName,Email,Login,Password) values (" + stringtoinsert + ");");
    In the first line above, you have a string which represents the VALUES which you are inserting. There are 5 values. However in the second line above this is your actual SQL execution you are specifying 6 columns of data. If the column "user_id" is an identity or auto-incrementing field in the database, just remove it from this line. If not then you need to supply the "UserID" into the VALUES.
    This should fix the problem.

  • Error in Forms while creating the trigger- WHEN-CREATE-RECORD

    Hello,
    Right now I am using 11g client side and 10g database.
    I am constantly getting an error while creating triggers in 11g.
    I have created a sequence in SQL developer using the following code:
    create sequence loc_id_sequence
    start with 14;
    After creating the sequence. I am trying to write the PL/SQL code in forms builder for the trigger WHEN-CREATE-RECORD
    declare
    loc_id number;
    begin
    loc_id := loc_id_sequence.nextval;
    end;
    But I have been getting the following error constantly. Can anyone please help me?
    "Error 0 at line 5, column 4
    SQL statement ignored".
    Can anyone please tell me why I am getting that error

    In fact, even I thought there might be some problem with the connectivity with the 10g database and 11g client but the other DB related code works.
    I just have the problem with using sequence for the trigger WHEN-CREATE-RECORD.
    In fact I also tried using WHEN-NEW-RECORD-INSTANCE smart trigger instead of WHEN-CREATE-RECORD for the same sequence. But even that doesn't work.
    Do u have any idea of what that error means?
    "Error 0 at line 5, column 4
    SQL statement ignored"
    Edited by: Pooja 1985 on Feb 26, 2013 5:43 PM
    Edited by: Pooja 1985 on Feb 26, 2013 5:44 PM

  • GeoRasterException: -13463 .. even after creating DML trigger

    Hi all
    i am getting the following exception :
    oracle.spatial.georaster.GeoRasterException: -13463;GeoRaster object with rasterId = 281, rdt = null not found in system data view.
    Please create DML trigger for its table and column. Do:
    sdo_geor_utl.createDMLTrigger('tableName','columnName')
    at oracle.spatial.georaster.JGeoRaster.getRasterSubset_NoComp(JGeoRaster.java:1001)
    at oracle.spatial.georaster.JGeoRaster.getRasterSubset(JGeoRaster.java:798)
    at oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2510)
    at oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2038)
    at spdb.SpatialQuery.getRaster(SpatialQuery.java:68)
    at spdb.SpatialQuery.main(SpatialQuery.java:91)
    I have created the DML trigger using
    sdo_geor_utl.createDMLTrigger('IMGTABLE','RASTER');
    but still i keep getting the same error
    what am i doing wrong
    THanks

    AB,
    about your application, please consider these:
    If your original images are seamlessly mosaickable, it's better to mosaick them into one large image and then query. Note, the requirement from the oracle 10g sdo_geor.mosaic is very strict.
    But I guess, in most apps, this is not practical. So, you have to query multiple images and do some work in your app. The approach could be:
    1. Since your images are all georeferenced, call sdo_geor.generateSpatialExtent and populate the spatial extent for all images. Then build a spatial index (RTree) on the georaster table based on the spatial extents. Note, If the georaster objects have different model spaces, you need call sdo_cs.transform to convert the extents to the same SRID. You can also directly update the spatial extents using a right/appropriate geometry.
    2. Spatially query the GeoRaster table using your area-of-interest geometry in a single sql stmt to filter out all the georaster objects which overlap or partially overlap your AOI.
    3. call getRasterSubset on each georaster object of the above result set with a proper window.
    4. the BLOBs returned by getrastersubset don't have any metadata inside them, but you can easily and precisely figure out their dimension sizes, cell depth, interleaving etc based on the metadata of the georaster objects as well as your query criteria (i.e., band numbers, window sizes and pyramid levels).
    5. get all blobs into your app. then you can either directly work on them, such as mosaick them into one image for display, OR you can generate RenderedImages (very easy to do thru JAI) and directly display them into one image (ie, simply render the images in a window) or call JAI rotate/tranform/mosaic to create a single image.
    The above approach has been done in many of our partner products, such as PCI FOCUS and Geomatica, Leica ERDAS Imagine and LPS.
    In addition, Oracle Applicattion Server MapViewer has this capability as well, which you might consider to use.
    Hope this helps.
    Best Regards,
    Jeffrey

  • Error insert data over db link in table covered by materialized view

    Hello together,
    following problem:
    I got a table called LOCATION_INFO which is defined:
    create table LOCATION_INFO
    LOCATION_ID VARCHAR2(40) not null,
    PLANT VARCHAR2(4) not null,
    PRODUCT VARCHAR2(3),
    AREA VARCHAR2(1),
    LINE NUMBER(10),
    STATION NUMBER(10),
    STATINDEX NUMBER(10),
    FU NUMBER(10),
    WP NUMBER(10),
    TP NUMBER(10),
    LOCATION_LEVEL NUMBER(1) not null,
    LOCATION_PARENT_ID VARCHAR2(40),
    TIME_STAMP TIMESTAMP(6) WITH TIME ZONE not null
    I try to load data over PL/SQL procedure from another database using database link:
    INSERT INTO LOCATION_INFO
    (LOCATION_ID,
    PLANT,
    PRODUCT,
    AREA,
    LINE,
    STATION,
    STATINDEX,
    FU,
    WP,
    TP,
    LOCATION_LEVEL,
    LOCATION_PARENT_ID,
    TIME_STAMP)
    SELECT LOCATION_ID,
    PLANT,
    PRODUCT,
    AREA,
    LINE,
    STATION,
    STATINDEX,
    FU,
    WP,
    TP,
    LOCATION_LEVEL,
    LOCATION_PARENT_ID,
    GetUTCDateTime(TIME_STAMP) AS time_Stamp
    FROM LOCATION_INFO@SOURCE_MMPDDB
    WHERE ROWNUM < 100;
    This works fine (If i do select count(*) from location_info the data is present) but if set a commit
    ORA-00603 appears and the session is terminated.
    The point is i got a materialized view MVIEW_LOCATIONS in another schema in the database reading the data from my table location_info and a corresponding MVIEWLOG.
    create table MLOG$_LOCATION_INFO
    LOCATION_ID VARCHAR2(40),
    SNAPTIME$$ DATE,
    DMLTYPE$$ VARCHAR2(1),
    OLD_NEW$$ VARCHAR2(1),
    CHANGE_VECTOR$$ RAW(255)
    CREATE MATERIALIZED VIEW MVIEW_LOCATIONS
    REFRESH FAST ON COMMIT
    ENABLE QUERY REWRITE
    AS
    SELECT "LOCATION_INFO"."LOCATION_ID" "LOCATION_ID","LOCATION_INFO"."PLANT" "PLANT","LOCATION_INFO"."PRODUCT" "PRODUCT","LOCATION_INFO"."AREA" "AREA","LOCATION_INFO"."LINE" "LINE","LOCATION_INFO"."STATION" "STATION","LOCATION_INFO"."STATINDEX" "STATINDEX","LOCATION_INFO"."FU" "FU","LOCATION_INFO"."WP" "WP","LOCATION_INFO"."TP" "TP","LOCATION_INFO"."LOCATION_LEVEL" "LOCATION_LEVEL","LOCATION_INFO"."LOCATION_PARENT_ID" "LOCATION_PARENT_ID","LOCATION_INFO"."TIME_STAMP" "TIME_STAMP" FROM "CP4MMPDNEW"."LOCATION_INFO" "LOCATION_INFO";
    What do I need to do to make the insert working properly without deleting my mviews?
    Can anyone help me?
    Thanks, Matthias

    Helllo,
    Can you change this on your Materialized View DDL:
    REFRESH FAST ON COMMITTo:
    REFRESH FAST ON DEMANDThen, if your INSERT and COMMIT works OK then, can you try:
    exec DBMS_MVIEW.REFRESH('MVIEW_LOCATIONS')

  • Error reading data after submit.

    Hi All,
    I have a problem getting some data after i submit a standard report FPO4.
    Here the issue is with a file that is getting created by a dynamic report created and called internally by a report on the same path every time dynamically. say (/devabap/if/out/XXXX.0 for the first time and the next time we run the report file name would be /devabap/if/out/XXXX.1 etc.2,3,4,5,). I am now using the FM: FILE_GET_NAME to get the name and then proceeding further to get my output.
    But when i am trying to use the above function module for a single run i am getting the correct result as ther is only one file present in the path.If i run the same report with different variants parallely in background then in the application server there are there are two or more files already created for two different run's as said above ( .0 and .1) the logic is such that i have to get the latest file and so a wrong file is getting picked up at the time of parallel run.
    Note: When i Submit the transaction the ouput screen along with the data contains the File path & File Name as said above.I am trying to get the file name from the submit screen as the file is generated dynamically. For change in the instance (run) again there will be change in the file name. So system is not identifying the correct file. The dynamic program that is getting created and placing the file in the path is opened in another session (NEW) and hence i am not a ble to use any of the methods like ( SET/GET Parameters) also the IMPORT/EXPORT statements.
    The flow of the execution is (Program A --> Standard Transaction B --> Dynamically created Program C --> File is getting created) . Here i want the file name that program c is creating in my zprogram A.
    Could any one please advise?
    Regards,
    Vijay

    Hi All,
    I have a problem getting some data after i submit a standard report FPO4.
    Here the issue is with a file that is getting created by a dynamic report created and called internally by a report on the same path every time dynamically. say (/devabap/if/out/XXXX.0 for the first time and the next time we run the report file name would be /devabap/if/out/XXXX.1 etc.2,3,4,5,). I am now using the FM: FILE_GET_NAME to get the name and then proceeding further to get my output.
    But when i am trying to use the above function module for a single run i am getting the correct result as ther is only one file present in the path.If i run the same report with different variants parallely in background then in the application server there are there are two or more files already created for two different run's as said above ( .0 and .1) the logic is such that i have to get the latest file and so a wrong file is getting picked up at the time of parallel run.
    Note: When i Submit the transaction the ouput screen along with the data contains the File path & File Name as said above.I am trying to get the file name from the submit screen as the file is generated dynamically. For change in the instance (run) again there will be change in the file name. So system is not identifying the correct file. The dynamic program that is getting created and placing the file in the path is opened in another session (NEW) and hence i am not a ble to use any of the methods like ( SET/GET Parameters) also the IMPORT/EXPORT statements.
    The flow of the execution is (Program A --> Standard Transaction B --> Dynamically created Program C --> File is getting created) . Here i want the file name that program c is creating in my zprogram A.
    Could any one please advise?
    Regards,
    Vijay

  • Error Inserting Data from Procedure ODI 11g (No data)

    Hi everyone!
    I have a problem inserting data from a procedure, the procedure works "fine" (no errors), on the log counter shows the number of rows inserted, but, on the database rows does not exists, an easy sample is:
    TARGET: ORACLE
    insert into table_t
    (desc)
    values
    (:description)
    SOURCE: ORACLE
    select description from table_s
    I check (ODI), the conection (works fine), modules (works fine), "select from table" (works fine).
    I check (Database), inserting rows direct (works fine).
    What can i check?
    Thanks for your response.

    Hi
    Try below 2 things
    First
    In target:oracle
    insert into table_t
    (desc)
    values
    ('#descpt');
    Second
    In target:oracle
    insert into table_t
    (desc)
    values
    ('#Proc_Var');
    Note: For alias name (*descpt* ) or Project variable (*Proc_Var*) with # symbol and single quotes
    Regards,
    Phanikanth

  • Feedback after the error in SWEL after creating the PO

    Hi!
    After creating the PO, it says in SWEL.. "Feedback after error" . When I double clicked it, it said that the EVENT releasestepcreated, Import container contains errors (are any obligatory elements missing?)
    What could be the possible error in this?
    Thanks so much,
    Paula

    Hi Paula,
    Please check your binding from event to workflow.
    You might have missed to export the event parameters to WF.
    Please check the same in SWDD-> start events.
    Thanks and Regards,
    Swaminathan

  • Error Inserting Dates

    Greetings Guru's
    Whenever I attempt to insert a date that has the time zone differential I get a ora-01830 error: data format picture ends before converting entire input string.
    For example: 2007-04-23T11:28:35.593+00.00 will fail (And it always did) however if you remove the +00.00 part it works just fine.
    We are using JAXB to transform our data into XML. and periodically it gets into this state where it puts the +00.00 on the end. I did not know what causes that, but Oracle should be able to take the date both ways. I saw another posting using the time zone. Is it something in the Schema that allows you to use it?

    No it shouldn't... W3C is quite clear that dateTime values with TIME ZONE are not compatabile with dateTime values with out TimeZone... Eg
    2007-04-23T11:28:35.593+00.00 is NEVER equal to 2007-04-23T11:28:35.593
    If you annotate the XML SChema as SQLType TIMESTAMP With TIMEZONE you'll get avoid the ORA-1830 in the cases where the Timezone info is present.
    You'll need to fix the application code to make sure that it either always generated TIMEZONE or NEVER generates TIMEZONE.

  • Really weird Network errors with AD after create actions with IdM 5.5

    I am struggling with the AD after actions.
    Customers AD support insist that the Gateway is not installed on any domain controller or fileserver in the AD forrest. The customer would like the homeDirectory and share to be created on the fileserver at the same time as the account is created on the domain controller.
    The GW service is started as the domain admin - logon account is test\Administrator not the default "localsystem"
    I map the gateway's local drive Z: to c$ of the fileserver. net use from command prompt shows its status is OK.
    I can net use and any other net command ok from command line. Commands like:
    md z:\data\home
    rmtshare \\fileserver\c:\data\home\....etc etc...
    succeed even when driven from within the gateway C++ program. However, when the DOS command 'net use' is run by the gateway then when I examine the log, I see the response block:
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <?xml version='1.0' encoding='UTF-16'?>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <Response>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <Result status='ok'>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <ResultItem type='ACTION_RC'>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <object class='String'>0</object> </ResultItem>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <ResultItem type='ACTION_STDOUT'>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <object class='String'>The command completed successfully.&#xD;&#xA;Are you sure (Y/N)?processed dir: z:\data\home\stmgzea&#xD;&#xA;processed dir: z:\data\home\stmgzea\data&#xD;&#xA;</object> </ResultItem>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <ResultItem type='ACTION_STDERR'>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): <object class='String'>System error 1222 has occurred.&#xD;&#xD;&#xA;&#xD;&#xA;The network is not present or not started.&#xD;&#xD;&#xA;&#xD;&#xA;System error 1222 has occurred.&#xD;&#xD;&#xA;&#xD;&#xA;The network is not present or not started.&#xD;&#xD;&#xA;&#xD;&#xA;</object> </ResultItem>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): </Result>
    04/07/2006 11.54.01.550000 [5824] (../../../../src/wps/agent/object/RequestHandler.cpp,66): </Response>
    The net use command gives me error 1222 - no network present.
    If anyone has successfully created remote directories and shares from the after action could you let me know what special WINS DNS permissions are needed.

    Got that but still having problems with the customer test setup.
    In our test AD environment we have 2 machines: the DC named anchor.dog.ad3.palm and a workstation named steam.dog.ad3.palm
    The workstation has the gateway service and it runs under the account dog\Administrator the domain admin.
    Ok. I can issue these commands via this <act> </act> block quite ok in our test environment.
    set >> c:\capture.log
    net use >> c:\capture.log
    md F:\data\home\username\data
    rmtshare.exe \\anchor.dog.ad3.palm\username$=c:\data\home\username /GRANT everyone:F
    cacls F:\data\home\username /T /G dog\username:C builtin\administrators:F < c:\yes.txt
    I can see things go aok at home. Where local disk Z: is mapped to \\anchor.dog.ad3.palm\c$
    At customer they have a VMware setup for testing. The AD dc is one virtual machine and the GW is on a second virtual machine. domain there is test.local.
    If I type the md and rmtshare and cacls in the GW dos command prompt window they succeed, but when run via the gateway the net use command shows Z: as Unavailable.
    Has anyone met this problem before?
    Its a messy situation here as the customer has outsourced their AD admin... these people insist on the GW not being on any DC. In their view since it works from command line there is no problem with the AD setup.

  • How to delete MRP view data after create in Material master data ?

    Hi all ,
          After user  create a useless MRP view data in Material master data , how to remove it ?

    Hi
    Material master once created cannot be deleted.Only thing u can do is to mark it for deletion
    Go to Logistics > Materials management > Material master > Material > Flag for deletion > Immediately.
    Give the necessary data that is needed for the view you want to delete.
    Press and flag the view you want to delete.
    Now the view is flagged for deletion. This means that it's use is limited and it will be cleaned up or really deleted at the next clean up of the system.
    regards
    Anand

  • Error in ASKB after creating parallel & delta depreciation area

    Hi All,
    We have APC and depreciation values in Area 1 for an Asset. Now I have created parallel depreciation area 70 and delta depreciation area 90. area 70 posting to parallel ledger. As soon as I created area 90, the following values are showing in AW01N
    01 - Dep Area
    APC - $45000
    Depreciation  - 1500
    70 - Depr Area
    APC - Null
    Depreciation - Null
    90  - Dep Area
    APC - $45000
    Depreciation  - 1500
    So when I run ASKB it gives me an error saying 'Balancing field in Profit center in line item 001 not filled'. The ledger group it is trying to post is the non-leading ledger.
    Can you please help.

    Hi Murali & Vinod,
    Thanks for your replies. The document splitting settings are fine. It was the issue corss-system depreciation are settings. The client had activated area 70 for an Asset in one company code, but did not have it in the transferred Asset in the other company code. It was an intercompany transfer. We fixed this activating area 70 and now it is ok.
    Now the problem is after I run ASKB, and check ABST2, the reconciliation report shows a line item with
    Account : 1XXXXXX (Accum. Depr A/c)
    Ledger : 3G (non leading ledger)
    Period : 999
    2ndLCGL :example 1000
    2ndLC in AA: 0
    2ndLC Delta : 1000
    3rdLCGL :example 1000
    3rdLC in AA: 0
    3rdLC Delta : 1000
    Leading ledger postings reconcile properly. Non leading ledger APC values in all 3 currencies reconcile properly. Only for Depr A/c in non-leading ledger it is not posting to LC2 and LC3.
    Any thoughts?
    Regards
    Panneer

  • BI Publisher: not able to see the xml data after creating a data model

    I am learning BI publisher and trying to create a report data model
    I created a new data model from the report tab, use query builder, able to see the results. Then i save it and try to launch XML view from clicking View .
    I am getting unexpected exception, not able to see the XML view .
    in the server console i got servlet exception, here is one of the line
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    Edited by: joysaha123 on Mar 17, 2010 6:07 PM

    Hi karthik
    Thanks for your response
    Actually iam a beginner in java coding hence struggling to come up with the things
    I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
    actually the same program i wrote in java
    and the same method i was calling from the main
    and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
    and the printing takes place
    but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
    the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    and this creating problem , had it returned XmlDocument
    i would have printed the elements one one
    but as it is returning deferredimpl
    iam unable to print the elements
    could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    in servlets but in plain java pogram it is returing XmlDocument
    Thanks
    Bhanu

  • Error message R8281 after creating generic datasource

    Hi Guys,
    I created a datasource, and when i go to RSA6 and run a check it gives me an error message: R8281 . Does anyone know how i can rectify this?
    Thanks

    Hi, this is what i got in the error Log: can anyone tell me how to resolve this please?
    You tried to assign a DataSource to the application component NEW_HIER_ROOT. This application component is, however, not entered in the RODSAPPL table as an application component
    System response
    The DataSource is saved, but is not visible in BW under the node NODESNOTCONNECTED.
    Procedure
    You do not have the option yet to transfer the application component hierarchy from the Content.
    You transfer the hierarchy with Business Content.

  • Error: M7279 Data for creating delivery is incomplete (vendor)

    Hi All,
    I cannot post goods issue in MB1A transaction (movement type 281) due to this error.
    I have read some of the threads with the same issue on this forum and have see the solution is to maintain customer number in VMR.
    Would you know where can I see if customer number is not assigned in VMR? What is the transaction or table to update?
    Thanks!
    Otepogi
    Edited by: Jürgen L. on Dec 26, 2011 5:51 PM
    Moderator message: message locked because it is a basic question.

    MK03, FK03 and XK03 are the display transactions to look into a vendor master (does't your SAP system have a menu to find those transactions yourself?)
    with MK02, FK02 and XK02 a user who has authority can change the vendor master and enter a customer master, which was created before with FD01, VD01 or XD01 transaction..
    the customer number field in in the control view.

Maybe you are looking for

  • View Object to read data from a java file

    Hi, I am using JDeveloper 11.1.1.4 and ADF-BC in my application. For one of my view objects , I want the data to be read from a java file which exposes some method to return a collection. I cannot use a static view object in this case. Please suggest

  • Location of Infinity modem and router

    I would like to change my broadband to Infinity but need to know a few things before doing so. The main OpenReach socket (the one with a removable lower section) is above the front door fanlight. From this box I have two wires (extensions) coming out

  • I have a macbook Air 2008 model no: A1237

    i have a macbook Air 2008 model no: A1237, I want to change the screen but don't know what size to order

  • I get an error message that you can't perform this operation

    My client gets an error message that "You can't perform this operation on this page now because someone (me) is currently editing or reviewing it." But I'm not. What is going wrong?

  • What are fonts?

    Now I have designed a layout for a kind of Short message letter, and want to apply my prefered appearance of characters. My application Freehand does not show it - I am looking to Lybraries/Fonts, Kuenstlerscript is there. Now I call the tool which i