Jdr_utils.deleteDocument Not deleting records Extenstion AM

Hi,
I made an extension for "JobOpActionsAM" and deplyee it with jpximport.bat.
Now I whant to delete this extension, I ran jdr_utils.deleteDocument and it said the document that the decoment deleted. (i COMMITED AFTER DELETE)
also I banch the appach.
But when I am check in "about this page" I can see this extension.
when I run jdr_util printDocument I can't see it any more.
Any advice will be very helpful
Adi

hi ,
Could you please share the complete lines of code that is used to delete the AM substitution ,
thanks
Pratap

Similar Messages

  • Jdr_utils.deleteDocument Not deleting records...

    I ran jdr_utils.deleteDocument and it said the document was deleted, and if I try to use the printDocument method, it does say it cannot find it. However in the record is still in the JDR_PATHS table. Why wasn;'t the record removed for a delete?

    Hi,
    If you are trying to remove or revert your customization (Controller) , there is another way :
    Profile Option : Personalize Self-service Defn
    Value : Set to "NO"
    This will disable all the personalizations in the application done.
    Hope this helps.

  • We can not delete record by procedure

    Hi All,
    We can not delete record by procedure, please suggest us, our program is following:
    create or replace procedure pro_del (p_id IN employee.id%type)
    IS
    begin
    delete from employee
    where id = p_id;
    end;
    execute pro_del(01)
    your suggestion would be greatly appreciated.

    user13842301 wrote:
    Hi All,
    We can not delete record by procedure, please suggest us, our program is following:
    create or replace procedure pro_del (p_id IN employee.id%type)
    IS
    begin
    delete from employee
    where id = p_id;
    end;
    execute pro_del(01)
    your suggestion would be greatly appreciated.As you have not provided the sample data, I have created a sample dataset to demonstrate.
    SQL> select * from test;
            ID        SAL
             1       1000
             2       2000
             3       3000
             4       1000
    SQL> create or replace procedure pro_del (p_id IN test.id%TYPE)
      2  IS
      3  begin
      4  delete from test
      5  where id=p_id;
      6  COMMIT;
      7  END;
      8  .
    SQL> /
    Procedure created.
    SQL> exec pro_del(1);
    PL/SQL procedure successfully completed.
    SQL> select * from test;
            ID        SAL
             2       2000
             3       3000
             4       1000As you have not handled any exceptions in your pro_del procedure,probably you might be passing invalid id in procedure call
    Hope this helps
    Regards,
    Achyut

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

  • Multi-room DVR not deleting recording after it was watched from another room.

    DVR records and deletes any program fine - as long as it was watched from the DVR.
    I try and delete a recording that was watched from another box and it errors with a message similar to "recording is being watched from another box."
    I have to wait about a week or two to delete. We're now placing bets as to what the magical day will be when we can delete a specific recording.
    Upgraded 2 weeks ago from the old silver DVR to a new black DVR. I was positive the new DVR would resolve the issue - wrong.
    I read in: http://forums.verizon.com/t5/FiOS-TV-Technical-Assistance/Can-t-delete-shows-off-of-DVR/td-p/428933 that if I watch another recording, I'll be able to delete the first recording - will try that tonight.
    Still, even if that works, it's still irritating. Any ideas?

    Mangor wrote:
    DVR records and deletes any program fine - as long as it was watched from the DVR.
    I try and delete a recording that was watched from another box and it errors with a message similar to "recording is being watched from another box."
    TO delete a recording from another box when you are done you must either let the recording complete and move you bck to live TV, or, easier, when you click on the particular show you are watching first click on "Stop the Recording" or whateversimilar to that it says that means STOP.  Once the recording stops, then click on the show again and click on "delete"
    Works for me. In other words you can't delete a show on another DVR until you first stop it.
       starrin

  • CAF Application Service - can not delete record

    Hello All. I have some problem.
    Code:
        public java.util.List addGoodsItem(java.util.List inputGoodsItem) throws com.sap.caf.rt.exception.CAFDeleteException, com.sap.caf.rt.exception.ServiceException, com.sap.caf.rt.exception.CAFUpdateException, com.sap.caf.rt.exception.CAFFindException {
              java.util.List retValue;
              try {
    //@@custom code start - addGoodsItem(java.util.List)
      retValue = new ArrayList();
      String temp = "";
      for (Iterator it = inputGoodsItem.iterator(); it.hasNext();)
         InputGoodsItem item = (InputGoodsItem) it.next();
         try {
               GoodsItemServiceLocal serv = this.getGoodsItemService();
               List iList = this.getGoodsItemService().getById(new QueryFilter(item.getId()));
               if (iList != null && iList.size() > 0)
                int size = iList.size();
                for (int i = 0; i < size; i++)
                     GoodsItem tmpItem = (GoodsItem) iList.get(0);
                     temp = "T2 [ " + i + "]";
                     iList.remove(tmpItem);
                     temp = "T3[" + i + "]";
                     temp += " class:" + tmpItem.getClass().getName();
                     temp += " id:" + tmpItem.getId() + " key [ " + tmpItem.getKey() + "]";
                     serv.delete(tmpItem);
                     temp = "T4 [ " + 5 + "]";
                   catch (Exception e)
                   retValue.add(item);
                InputGoodsItem i = new InputGoodsItem();
                i.setDescription(e.getClass().getName()
                                    + "[" + temp + "]"
                                    + " [" + e.getMessage() + "]");
                        retValue.add(i);
    //@@custom code end - addGoodsItem(java.util.List)
                 return retValue;
            } finally {.........}
    in result i have this:
    >com.sap.caf.rt.exception.CAFDeleteException[T3[0]
                            class:com.j.shell.besrv.goodsitem.GoodsItem id:ART00501
                            key[3332db84-1ae2-11df-a512-22348000c006]] [MMR object ID: GoodsItemService cannot be found]

    Full log
    Full Message Text
    Caught com.sap.caf.rt.exception.DataAccessException: MMR object ID: GoodsItemService cannot be found
    at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:194)
    at com.j.shell.besrv.goodsitem.GoodsItemServiceBean.delete(GoodsItemServiceBean.java:274)
    at com.j.shell.besrv.goodsitem.GoodsItemServiceLocalLocalObjectImpl0_0.delete(GoodsItemServiceLocalLocalObjectImpl0_0.java:478)
    at com.j.shell.appsrv.shellservice.ShellServiceBean.addGoodsItem(ShellServiceBean.java:639)
    at com.j.shell.appsrv.shellservice.ShellServiceBean.addGoodsItem_R(ShellServiceBean.java:584)
    at com.j.shell.appsrv.shellservice.ShellServiceObjectImpl0_0.addGoodsItem_R(ShellServiceObjectImpl0_0.java:971)
    at com.j.shell.appsrv.shellservice.ShellService_Stub.addGoodsItem_R(ShellService_Stub.java:770)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
    at $Proxy247.addGoodsItem_R(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
    at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
    at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
    at SoapServlet.doPost(SoapServlet.java:51)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.caf.rt.exception.DataAccessException: MMR object ID: GoodsItemService cannot be found
    at com.sap.caf.rt.metamodel.MetaModel.getBusinessEntityInterface(MetaModel.java:193)
    at com.sap.caf.rt.metamodel.MetaModel.getBusinessEntityInterface(MetaModel.java:80)
    at com.sap.caf.rt.internal.bol.da.BEReferencesRemover.removeReferences(BEReferencesRemover.java:260)
    at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:175)
    ... 39 more

  • WBS elements not deleted from PRPS table

    Hi Experts,
    In CJ20N transaction:
    When I delete a project with project profile (ZABC):
      - The project record is completely deleted from 'PROJ' table.
      - The WBS records are completely deleted from 'PRPS' table.
    When I delete another project with different project profile (ZXYZ):
      - The project record is completely deleted from 'PROJ' table.
      - The WBS records are NOT deleted from 'PRPS' table.
    What is the reason for not deleting records from PRPS table?
    Thanks in advance for your valuable answers.

    WBS should be having actuals.

  • Deleting Records based on status in another table

    Dear All,
    I am using oracle 11gR1 on Linux.
    We have two tables one holding year starting and closing dates with year status as open/closed for multiple years and multiple entities. Any year may be open for an entity.
    Relevant columns/Pk
    PK: entity_id, fin_year_id
    Cols: year_st_dt, year_end_dt, year_status
    We have another table where monthly summarized information is stored via scheduled procedure. Currently the procedure deletes all records and inserts new records.
    Relevant columns/Pk
    Cols: entity_id, year_month
    What we want is that the procedure should not delete records that related to financial years that are closed.
    How would I write a delete statement to do that?
    Regards, Imran

    Hi,
    957 posts, but still while posting a question, you have not
    1) Posted the table structure of all the tables involved. (create statement)
    2) Posted the sample input (insert statement)
    3) Posted the sample output.
    4) More importantanly posted on the correct forum.
    Regards
    Anurag Tibrewal.

  • Delete records from tableA which are not in tableB

    Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
    delete from tableA where empno not in (select empno from tableb)
    or
    delete from tableA where empno not exists (select empno from tableb
    where b.empno=a.empno)
    any help

    Hi
    If you can do this, do with this:
    create table tableC
    as select a.*
    from tableA a,
    (select empno from tableA
    minus
    select empno from tableB) b
    where a.empno = b.empno;
    drop table tableA;
    rename table tableC to tableA;
    Ott Karesz
    http://www.trendo-kft.hu

  • Records are not deleting in SAP CCM (CCM2.0), eventhough Action code 03 is

    Hi all,
    We are facing a problem in SAP CCM 2.0, products are not deleting from Catalogs ( Internal Catalogs)  eventhough action code '03' ( Deletion) is passing to Catalogs.
    In case of updating and new records creation is working fine , changes are updating and new records getting added to catalogs.
    Could you please advise why deletion is not working. what would be the reason.
    Is there any other way to delete the records from the Catalog.
    thanks in advance

    Hi,
    There is no standard functionality for deleting items from SRM CCM 2.0.
    Very recently, we have come across the same problem that materials/items which are deleted in SAP R/3 4.7 are not getting deleted from SRM CCM 2.0 catalog.
    We have done some analysis and found the below solution.
    - You need to send an action code "04" and drop Product Category information in XML file which XI uses to send the information from ERP to SRM CCM catalog.
    For this you need to modify the XML and XI mapping for the ZACTION code(03) received from ERP.
    Once the changes are done in XML, you re-publish the catalog.
    You will find the item/s have got deleted from the catalog.
    Note: It is important to note that even for deletion, system records action as catalog items Update/Created in the logs (SLG1) but not the action as catalog items deleted.
    Hope this helps !
    Regards,
    Vikas

  • Best approach to delete records that are not in the source table anymore.

    I have a situation where I need to remove records from dimensions that are not in the source data anymore. Right now we are not maintaing history, i.e. not using SCD but planning for the next release. If we did that it would be easy to figure the latest records. The load is nightly and records are updated and new added.
    The approach that I am considering is to join the dimension tables the the sources on keys and delete what doesn't join. However, is there perhaps some function in OWB that would allow to do this automatically on import so it can be also in place for the future?
    Thanks!

    Bear in mind that deleting dimension records becomes problematic if you have facts attached to them. Just because this record is no longer in the active set doesn't mean that it wasn't used historically, and so have foreign key constraints on it in your database. IF this is the case, a short-term solution would be to add an expiry_date field to the dimension and update the load to set this value when the record disappears rather than to delete it.
    And to do that, use the target dimension as a source table, outer join it to the actual source table on the natural key, and so your update will set expiry_date=nvl(expiry_date,sysdate) to set to sysdate if this record has not already been expired on all records where the outer join fails.
    Further consideration: what do you do if the record is re-inserted into the source table? create a new dimension key? Or remove the expiry date?
    But I will say that I am not a fan of deleting records in most circumstances. What do you do if you discover a calculation error and need to fix that and republish historical cubes? Without the historical data, you lose the ability to do things like that.

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • Deleted records are not captured in 2lis_02_itm

    Hi SDN,
    I am extracting Purchase order records(more specifically Outline agreements ME23K) from 2LIS_02_ITM.
    When I delete a PO with Purchase Order History in ME23K and save it I am able to see the change recorded in LBWQ and now i run the collective run in LBWE I can see the total coloum in RSA7 filling with value 1.
    Now when i try to see the record in in RSA7 it is showing nothing and also when the delta infopackage is run zero records are being pulled.
    In a nutshell I am missing the deleted records with Extractor.
    Is there any way I can see the actual delta record sitting in LBWQ after the deletion is posted.
    Please help me out folks

    Hi,
    check this notes:
    FAQ: Business Warehouse (BW) in Purchasing
    SAP Note Number: [459517|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bct/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d343539353137%7d]
    Note [527490|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=527490] - BW: Deletion indicator not set correctly - Part 2
    Regards
    Andreas

  • DB Adapter polling : Not deleting the read records

    Hi,
    I have a simple BPEL process to poll a database table to delete records after reading them.I tried testing by inserting a single record into the table.BPEL is simply creating new instance (as it is not deleting the read records).
    I am using fusion middleware version 11.1.1.3.0.
    Also i am not able to view flow trace.I see a row under flow trace but there is no link to open audit trail or flow page.How to enable this.
    thanks,
    ashok

    Hi Naresh,
    Here is the contents of jca file:
    <adapter-config name="readDB" adapter="Database Adapter" wsdlLocation="readDB.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/ArbonneProd" UIConnectionName="ArbonneProd" adapterRef=""/>
    <endpoint-activation portType="readDB_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="readDB.CustomersToOracle"/>
    <property name="QueryName" value="readDBSelect"/>
    <property name="MappingsMetaDataURL" value="readDB-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="10"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Under trace i see below record:
    Instance Type Usage State
    ReadDB of service:<instanceid> JCA Adapter Service Completed

  • Displaying ALV agan with deleted record not shown....

    Hello Gurus,
    I am working on ALV. The ALV deipalys data froma custom table. Now I have created a Button in application toollbar saying 'Delete'. I have wrirren logic  in 'ALV_UC (i_callback_user_command) so that when user pushes 'Delete' button, the data record gets deleted from custom table.
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program       = lv_progname
                i_callback_pf_status_set = 'ALV_STAT'
                i_callback_user_command  = 'ALV_UC'
    *            i_callback_top_of_page   = 'TOP_OF_PAGE'
                is_layout                = is_layout
                it_fieldcat              = field_lst
    *            is_variant               = g_variant
                it_event_exit            = gt_event_exit
                i_save                   = 'A'
                it_sort                  = it_sort
                i_screen_start_column    = i_start_col
                i_screen_start_line      = i_start_ln
                i_screen_end_column      = i_end_col
                i_screen_end_line        = i_end_ln
           tables
                t_outtab                 = p_outtab
           exceptions
                program_error            = 1
                others                   = 2.
    Now, I want the ALV to be dsiplayed with that deleted record not shown. How can I do this ? Is there a Refresh function or something  ?
    Thanks.
    Regards,
    Rajesh.

    Hello Rajesh
    A quick view into the documentation of IMPORTING parameter I_CALLBACK_USER_COMMAND would have answered your question:
    Within the USER_COMMAND callback routine set
    REFRESH = 'X'.  " That's all
    EXIT routine for command handling
       Description
         Passing an EXIT routine indicates to the ALV that the application wants
         to respond to certain function codes.
         Generally, these are function codes that are unknown to the ALV (that
         is, are not standard ALV functions) and that were defined and set by a
         user status.
         See also the documentation on parameter  I_CALLBACK_PF_STATUS_SET.
         The interface of the form routine specified must be defined as follows:
                 FORM user_command  USING r_ucomm LIKE sy-ucomm
                                          rs_selfield TYPE slis_selfield.
         Parameter R_UCOMM contains the function code triggered.
         Structure RS_SELFIELD contains the following information:
         o   tabname  : Name of the internal output table
         o   tabindex : Index of the internal output table
         o   fieldname: Field name
         o   endsum   : Cursor is located on the totals line
         o   sumindex : If >0, the cursor is located on a subtotals line
         o   value    : Value of the field on the list
         o   refresh  : (Exporting) List should be set up again
         o   col_stable:(Exporting) Keep column position when list is set up
             again
         o   row_stable:(Exporting) Keep row position when list is set up again
         o   exit      :(Exporting) Exit list (and ALV)
         o   before_action: Call before standard action execution
         o   after_action : Call after standard action execution, before list
             setup
         o   ignore_multi : Internal use
         o   sel_tab_field: Internal use
         The EXIT routine is called whenever a function unknown to the ALV is
         triggered or if the routine call before/after the execution of a
         standard function code has been defined by interface parameter
         IT_EVENT_EXIT.
         See also the documentation on parameter IT_EVENT_EXIT.
         The function code and the current cursor position are then passed on to
         the calling program through the EXIT routine.
         If the user has selected multiple rows by selecting checkboxes, the
         output table field designated as the checkbox contains the current state
         of the checkbox in the list.
    Regards
      Uwe

Maybe you are looking for

  • Vista 64 and Itunes 7.6.0.29

    I downloaded itunes 7.6 this morning on my Vista 64 system. It installed without a hitch. I then plugged up my iphone which I have been syncing on my son's 32 bit XP system, it recognized the iphone after self installing drivers. I then actually down

  • Exception Handling-rite way??

    Hi Friends, This Exception handling is really causing some problems for me.I run a query,return the resultset,cook the data from my other java class and display it thru my jsp and the last statement from my jsp is to call the close method(commented o

  • Variable filled by SAP

    I have a requirement to develop a variable for a report. This variable is filled by SAP Customer Exit. To find customer exit: Go to cmod, type   BEXVAR, pick components radio button and display. Click on green button next to 'Function Exit'. Double c

  • HT4906 Problems with icloud photo stream please help

    Hi I have just updated my imac to mountain lion, trying to use icloud to photo stream but it won't let me. I have checked for software updates and all upto date - any ideas?

  • Update Itemcost from the Production order.

    Hi Experts, I have created a UDF(Amount) in the Production order rows, if iam entering the amount for the input item the Amount should get updated in the Itemcost of the Itemmaster data.. How to write the update statement? Is it possible to update th