Collections - Delete Entry Throws Error

I'm using four collections on a form. When the user updates the form by selecting the "blank" at the top of the select list one entry in one of the collections, the user gets an integrity constraint error - parent key not found. The collection uses a select list from an LOV. I suspect the item in the collection is displaying the blank but not really getting dropped? When I created these collections EONS ago, I created '-None-' as an item in the LOV as a work-around so the user could choose when deleting the item. We are now finally going live and I want to clean this up.
Any ideas?
Thanks and have a great weekend!
Alexandra

Sorry - don't know why 'code' '/code' didn't work...
Hi Peter - I get an integrity constraint error, I think because though I'm deleting the display of the item in the collection, it's not really being deleted???
code
ORA-02291: integrity constraint (SPICE_HUNTER1.DOC_SUBJECT_REF_FK1) violated - parent key not found
/code
First of all, I have a getID process setup Before Header to dump the parent ID into the form so that the collections have an ID on which to link to the main form. The form has a bunch of fields above the collections and there are four collections at the bottom of the page, and is used to catalog documents. Sooooo the main part of the form above has fields for the form number, title, type, etc. and then each collection at the bottom of the form holds specfic references. The example below holds subject references. The other three hold lists of who's responsible, associated documents to the main form, and to whom the document is distributed. The collections work beautifully except when the user needs to delete one of the items. I set these up a long time ago and I'm now sure for the reason of this error, I just added 'None' to LOV's of each collection so that if the user needed to delete an entry, '-None-' could be selected. I tried using '%'||'null' in the LOV when creating the form, but couldn't get it to work, but I'm thinking this may be close to what I need to do?
And now that I think about it, if there are five items in the list and the user deletes the third item, it would be great if the list could refresh so there's not a hole in the list, i.e., One, Two, BLANK, Four, Five.
Thanks for your help!
code
ORA-02291: integrity constraint (SPICE_HUNTER1.DOC_SUBJECT_REF_FK1) violated - parent key not found
/code
Here's how I have each collection set up:
Create the Dataset Process - After Header
code
apex_collection.create_or_truncate_collection
(p_collection_name => 'MY_SUBJECT_COLL');
DECLARE
v_id NUMBER;
var1 NUMBER;
var2 NUMBER;
var3 NUMBER;
rw_ct INTEGER;
cursor c_prepop is
select subject_ref_id, doc_info_id, docno_id, subject_id
from DOC_SUBJECT_REF
where DOCNO_ID = :P3_DOCNO_ID
ORDER BY 1;
i NUMBER;
cntr NUMBER := 15;
BEGIN
select COUNT(*) into rw_ct from DOC_SUBJECT_REF
where DOCNO_ID = :P3_DOCNO_ID
ORDER BY 1;
cntr := cntr - rw_ct;
OPEN c_prepop;
LOOP
FETCH c_prepop into v_id, var1, var2, var3;
EXIT WHEN c_prepop%NOTFOUND;
APEX_COLLECTION.ADD_MEMBER(
p_collection_name => 'MY_SUBJECT_COLL',
p_c001 => v_id,
p_c002 => var1,
p_c003 => var2,
p_c004 => var3
END LOOP;
CLOSE c_prepop;
for i in 1..cntr loop
APEX_COLLECTION.ADD_MEMBER(
p_collection_name => 'MY_SUBJECT_COLL',
p_c001 => 0, --subject_ref_id
p_c002 => :P3_DOC_INFO_ID,
p_c003 => :P3_DOCNO_ID,
p_c004 => 0
end loop;
END;
/code
Create the Form
code
SELECT APEX_ITEM.SELECT_LIST_FROM_LOV(4, c004,'SUBJECT', NULL,'YES', 0, '') SUBJECT
FROM APEX_COLLECTIONS
WHERE COLLECTION_NAME = 'MY_SUBJECT_COLL'
/code
Capture the Data
code
declare
j pls_integer :=0;
begin
for j1 in(
select seq_id from apex_collections
where collection_name = 'MY_SUBJECT_COLL'
order by seq_id)loop
j:=j+1;
apex_collection.update_member_attribute(p_collection_name=>'MY_SUBJECT_COLL', p_seq=>j1.seq_id,p_attr_number=>4,p_attr_value=>wwv_flow.g_f04(j));
end loop;
end;
/code
Write data to the DB
code
declare
begin
for y in (select TO_NUMBER(c001) x_key, TO_NUMBER(c002) x_1, TO_NUMBER(c003) x_2, TO_NUMBER(c004) x_3
FROM APEX_COLLECTIONS
WHERE COLLECTION_NAME = 'MY_SUBJECT_COLL' AND c004 IS NOT NULL ORDER BY x_key) loop -- Updated
--WHERE COLLECTION_NAME = 'MY_SUBJECT_COLL' ORDER BY x_key) loop
if y.x_key = 0 and y.x_3 > 0
THEN
insert into DOC_SUBJECT_REF(subject_ref_id, doc_info_id, docno_id, subject_id)
values(DOC_SUBJECT_REF_SEQ.nextval, y.x_1, y.x_2, y.x_3);
elsif y.x_key > 0 then
update DOC_SUBJECT_REF
set
doc_info_id = y.x_1,
docno_id = y.x_2,
subject_id = y.x_3
where subject_ref_id = y.x_key;
else
DBMS_OUTPUT.PUT_LINE ('There’s an error.');
end if;
end loop;
end;
/code
Edited by: userRRRYB on Apr 11, 2011 3:03 PM

Similar Messages

  • TreeTable within Panel Collection - 'Expand All' throws error:

    JDeveloper Version: 11.1.1.3
    A TreeTable is enclosed with in Panel Collection component, and when we are using the 'Expand All' feature available in 'View' Menu option, it throws the following error:
    java.lang.UnsupportedOperationException
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl$PathIterator.remove(RowKeySetTreeImpl.java:730)
         at java.util.AbstractSet.removeAll(AbstractSet.java:158)
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl.removeAll(RowKeySetTreeImpl.java:175)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.queueRowDisclosureEvent(TableRendererUtils.java:1114)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.decodeDiscloseAllEvent(TreeRendererUtils.java:1145)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.decodeInternal(TreeTableRenderer.java:573)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1121)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:715)
         at org.apache.myfaces.trinidad.component.UIXTreeTable.decode(UIXTreeTable.java:134)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:188)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1002)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:988)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:813)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1175)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1361)
         at org.apache.myfaces.trinidad.component.UIXDecorateCollection.invokeOnComponent(UIXDecorateCollection.java:121)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1383)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:544)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any ideas.
    Thanks,
    Navaneeth

    JDeveloper Version: 11.1.1.3
    A TreeTable is enclosed with in Panel Collection component, and when we are using the 'Expand All' feature available in 'View' Menu option, it throws the following error:
    java.lang.UnsupportedOperationException
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl$PathIterator.remove(RowKeySetTreeImpl.java:730)
         at java.util.AbstractSet.removeAll(AbstractSet.java:158)
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl.removeAll(RowKeySetTreeImpl.java:175)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.queueRowDisclosureEvent(TableRendererUtils.java:1114)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.decodeDiscloseAllEvent(TreeRendererUtils.java:1145)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.decodeInternal(TreeTableRenderer.java:573)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1121)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:715)
         at org.apache.myfaces.trinidad.component.UIXTreeTable.decode(UIXTreeTable.java:134)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:188)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1002)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:988)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:813)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1175)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1361)
         at org.apache.myfaces.trinidad.component.UIXDecorateCollection.invokeOnComponent(UIXDecorateCollection.java:121)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1383)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:544)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any ideas.
    Thanks,
    Navaneeth

  • If there r MULTIPLE entries of different in my_itab, throw ERROR??

    Hi Experts,
    Am filling the my_itab(which does hv 1 filed of Order), by doing some processing.
    Always, the Order # shuld b the same.
    If in any case, there r multiple Orders in this itab of DIFFERENT, I need throw ERROR message.
    So, instead of looping the itab, checking each entry explicitly, Is there any Statement, Clause, sytax?
    thanq
    Edited by: Srinivas on Jul 16, 2008 1:46 PM

    Hi,
    Declare another varialbe of the Order type and assign the value to it.
    w_order = itab-order.
    Loop itab where itab-order = w_order.
    if w_order eq itab-order.
    message 'Same order number' type 'E'.
    endif.
    w_order = itab-order.
    endloop.
    Reward if helpful.
    Regards
    Chandralekha

  • OB08- Error while deleting entries.

    Hi All,
    I am getting an error while deleting some entires in OB08.
    ERROR MESSAGE: Entry CAD/EUR (28.08.09), exchange rate type EURX cannot be deleted.
    Steps i followed to delete the entires are
    selected some 30 entries and clicked the edit tab and delete function.
    system has given a message box with number of deleted entries 30 after that i clicked SAVE button. Once i clicked the save button i got the above error message.
    Please advice what is error about and how to get rid of this error. Why the error message coming only for this currency combination.
    Thanks in advance.
    Regards,
    VK

    Hi Tarun,
    Thanks for your reply.
    But when i try to delete all the entries one by one i could, but this error comes only when i try as a bunch of entires.
    Please advice why the differences.
    Regards,
    Vimal

  • New blog entries experience "error updating .Mac", and no "add comments"

    Blog always worked fine. Now new blog entries get error updating .Mac message. New post does appear online, but there is no Add Comments option, despite it being selected in the inspector. Also, the blog main page doesn't show a title in the title bar at top. Might this have something to do with the new Mobile Me features (which I haven't tried or signed up for). When I delete the new posting and publish, it publishes fine. This error even happens with the template pg, so it's not anything to do with my formatting. Thanks for your help.

    I have not tried publishing a new Blog entry since the new "me" thing, but I did try just a text edit on an existing Entry and republished the Entry. It seemed to function normally.
    However, all of my Comments are missing from all my Blog entries - although the hit counts are still there.
    And my Slide Shows won;t work and thumbnails won't enlarge on my photo pages.
    Everything was working perfectly before this big "improvement" we just got.
    I sure hope this is temporary or I just might throw a fit. There was a lot of valuable stuff in those comments, and if there won;t be a Comments function at all, I won't be able to keep my blog at mac. com or me whatever.
    Why fix what isn't broken?
    jessica

  • Unable to delete entries from queue (SMQ2)

    Hi
    I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
    Your valuable time & annswer appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
       Check these threads on SMQ2. It may give some help to you:
       Queue issue
       deleting the inbound queue tc smq2
       Also check this file:
      http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
    Regards,
    Subhasha Ranjan

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • Database.LoadDataSet() method throwing error while retriving data from IBM DB2 database

    Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
    “Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
    SQLSTATE = 02000”

    Hello SharayuPandit,
    For issues regarding DB2, i suggest that you could post it to DB2 related forum:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why Webdynpro framework is throwing error in this testcase

    Hi All,
    In my requirement i'm using the WTGXXX(for Discount field) in Webdynpro ABAP.
    If I validate the entries there is a standard check performed by the webdynpro framework when entries other than the numercie fields are given.
    This is a webdypro ALV.
    For Ex:
    when the discount is given as (9-33) it is throwing the error that "The entered value can only contain numerical characters" but it is not throwing any error for (9-(9/22)) or (9-(42)) instead it is calculating the values which is a good feature. But why, (9-33) this case is not handled.
    I tried to keep the value in duegging it is working fine.
    Before any event gets trigerred for the above cases the value is calculated by the framweork by defalut.
    Some times some cases are handled sometimes not.
    I'm unable to get this behavior of the framework.
    For the first time (9-3*3) calcuation is throwing error from the 2nd time onwards this is giving the correct output. When I load the view for the first time and do this check then error is thrown, second time when the other calcuations are done and again do this calcaulation then this error is not shown instaead it is giving me 0 which is the result.
    This case applies to the cases where the expressions result in 0 (defalut values)
    One mroe test case for this is - (9-9).
    Eventhough the user knows the result of these expresions, these are throwing errors.
    How to handle this.
    I tired handling this with own DE/Domanin CURR 15 but for the 1st time this error is theon 2nd time on wards the reuslt is shown correct.
    Isn't a special case.
    When I bound the table again with INITIAL data then again the erorr is thrown for that case.
    ie I have one RESET button where i will bind the table again with the INITIAL table entries then agian the error is thrown for (9-3*3).
    Is there any SAPNOTE applied or Exceptions to this. Please let me know.
    Please replicate the same in Webdynpro Java also and share the reasons.
    Currently I'm doing this by taking the string only to avoid these erorrs in case of Zero.
    Regards,
    Lekha.

    Hi
    Use another forum for Webdynpro questions: Web Dynpro ABAP
    BR, Sergei

  • How do I clear or delete the DTP ERROR STACK..?

    HI Experts
    I have a number of records written to a DTP Error Stack for a Master Data load. Subsequent executions of the DTP result in further records being written to the stack if they have the same semantic key (even if they are not in error).
    I know I can execute an Error DTP to clear the stack.
    But is there any way to clear the stack rather than running the Error DTP? I don't want the records in error to be processed through to the InfoObject. I only want the subsequent records to go through, without going into the error stack.
    tony

    Hi Tony,
    you have to remove the request from the target to delete the records from the error stack. If you don't want to reprocess them, try to avoid moving them to the error stack. One way is to skip the records without creating a monitor entry, so the system doesn't recognize the error and it's not shifted to the error stack, the other one is to delete the record from the source or result package throug a routine.
    Single Record deletion iin the error-stack is not possible. For further information read this thread:
    Delete & Automate deletion of Error Stack
    Regards Michael
    Edited by: Michael Seifert on Nov 20, 2008 4:04 PM

  • While clearing through F-54 system throws error No downpayment exist

    While clearing through F-54 system throws error : No downpayment exist. But I have checked in the Downpayment account, A/P account and Customer Line item and the entry exists. Customization for Downpayment made also correct. All the fields are correctly entered in F-54. Still the error comes.
    Please clarify.
    Thanks,
    Raj

    Hi Ravi,
    This transaction is not a downpayment request.  But one thing I have to mention.  For this downpayment the assignment of alternate reconciliation account was done on 17.3.09.
    The posting date and document date has been given as 13.03.2009 for the downpayment document.  Whereas when I check in the entry view > header details, the posting date is 18.03.2009 (may be it is
    showing the actual date of posting).  When the clearing is done through F-54 by giving
    date 31.03.2009, the system gives the error that no downpayment exist.   If we give
    the Inv.No. details and click for document display, the system shows the relevant document
    to be cleared.  Wen we click open process items tab, the error is shown. Kindly confirm
    whether the system is not updated with the assignment of alternate reconciliation account
    for downpayment when the document date and posting date has been given prior to that
    assignment and that is why the system is showing error.  Further, is it right to reverse that
    downpayment document and post a fresh document by giving date after 17.03.2009 and then
    clear the entry.
    Regards,
    Sadashivan

  • FI SUBSTITUTION throwing error

    Hi,
    I copied RGGBS000 into ZBGGBS000 and added two exits U102 and U103 to it  after that we did all the steps required  like going to GCX2 then OB28 .......steps that are required to have custom include for substitution.
    now when we are transporting the customizing request which has these customizing changes it shows following error during transport
    User exit UFP00 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP01 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP04 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP05 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP06 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP13 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP30 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP31 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP32 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    The sequence of transports are correct.
    Whan i am worried is how come these series of user exit are throwing error they are neither present in RGGBS000 or my version ZGGBS000. Can any one let me know how/where these exit UFP00  are called and declared.

    Have you added all your exits to the GET_EXIT_TITLES subroutine at the top of the program?  See below.
    *       FORM GET_EXIT_TITLES                                           *
    *       returns name and title of all available standard-exits         *
    *       every exit in this formpool has to be added to this form.      *
    *       You have to specify a parameter type in order to enable the    *
    *       code generation program to determine correctly how to          *
    *       generate the user exit call, i.e. how many and what kind of    *
    *       parameter(s) are used in the user exit.                        *
    *       The following parameter types exist:                           *
    *       TYPE                Description              Usage             *
    *       C_EXIT_PARAM_NONE   Use no parameter         Subst. and Valid. *
    *                           except B_RESULT                            *
    *       C_EXIT_PARAM_FIELD  Use one field as param.  Only Substitution *
    *       C_EXIT_PARAM_CLASS  Use a type as parameter  Subst. and Valid  *
    *  -->  EXIT_TAB  table with exit-name and exit-titles                 *
    *                 structure: NAME(5), PARAM(1), TITEL(60)
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U100'.
      exits-param = c_exit_param_none.
      exits-title = text-100.             "Cost center from CSKS
      APPEND exits.
      exits-name  = 'U101'.
      exits-param = c_exit_param_field.
      exits-title = text-101.             "Cost center from CSKS
      APPEND exits.
    * begin of insertion                                          "wms092357
      exits-name  = 'U200'.
      exits-param = c_exit_param_field.
      exits-title = text-200.             "Cons. transaction type
      APPEND exits.                       "from xref1/2
    * end of insertion                                            "wms092357
    * PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINES *
    *        IF THE ACCOUNTING MODULE IS INSTALLED IN YOUR SYSTEM:         *
    *  EXITS-NAME  = 'U102'.
    *  EXITS-PARAM = C_EXIT_PARAM_CLASS.
    *  EXITS-TITLE = TEXT-102.             "Sum is used for the reference.
    *  APPEND EXITS.
    ** EXIT EXAMPLES FROM PUBLIC SECTOR INDUSTRY SOLUTION
    ** PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINE
    ** TO ENABLE PUBLIC SECTOR EXAMPLE SUBSTITUTION EXITS
      INCLUDE rggbs_ps_titles.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES

  • Source system appearing in BI folder : Not able to delete entry RSBASIDOC

    Hi all,
    Iam creating source system connection from ECC to BI system.
    But the source system appearing in BI folder all the time, i found one note 1087980 and tried deleting an entry with SRCTYPE = M from RSBASIDOC table with FM RSAP_BIW_DISCONNECT , but the system shows error message OTHER_ERROR and the entry does not get deleted.
    For this SAP recommended to check a valid RFC connection between ECC and BI system , i have checked it and the RFCs are working fine for it also.
    Please help.
    Regards,
    Akash.

    follow this steps:
    In the source sytem
    SE37 e launch the FM RSAP_BIW_DISCONNECT
    you will find the BIW and OLTP log on the RSBASIDOC
    So run the FM.
    IF you find the OTHER_ERROR, may you have to check the RFC connection. (If the source system was been refreshed, you have to create a RFC to PROD).
    You should encounter this error ( Not able to delete entry RSBASIDOC), when you try to restore the DS: in this case infact, is the IDENTIFIER (TSPREFIX) that creates problem (so you have to delete the relevant entry from the table).
    CIao,
    Cristian

  • Entry point error while installing SAP GUI 7.20 compilation 3

    Hi Experts,
    I couldn't install SAP GUI 7.20 compilation 3 in my PC, I used SAP GUI in my PC a year ago but later I formatted my disk. Now when I click on SAPGUISETP it is throwing the following error
    The Procedure entry point ?FeiDbgException@@YAXVCWin32Exception@@@Z could not be located in teh
    dynamic link library NwSapFeiLg.dll
    Can anyone please advise?
    NB P.s: Initially it mentioned the dll files NWSAPFEIUT.dll  & NwSapFeiLg.dll were missing just now I copied them to System & System32 folders. But even though it is showing this entry point error. Also i have done a clean boot and tried installing it but in vain.

    Hi
    Please can you check the version of nwsapfeilg.dll in C:\Program Files\SAP\SapSetup\setup
    The issue was caused by a version conflict. nwsapfeilg.dll.
    Complete Installation SAP GUI 720 + Frontend
    http://wiki.sdn.sap.com/wiki/x/CIENDw
    Please check if this solves the issue.
    Regards,
    Naveen.

Maybe you are looking for

  • Send a message to multiple receivers from the same service

    Hi all, I registered on SAP community several months ago, I found many good hints and solutions to some of the problems encountered in XI and for which I thank you, but this is the first time I address a question to a common issue, written already ab

  • I really need some help with rendering

    I am creating a video for a client, and he is going to stream it through his own player. He requires the video to play using dimentions of 430 x 242. He wants to keep the file sizes as small as possible. I am currently creating his videos using a 128

  • Can't get iBook to do wpa2.

    Hi, I'm trying to get a mid 2005 iBook (1.42ghz with OSX 10.4.7 and all other current updates) to connect to my wireless network set up to use wpa2. No matter what I do, the Mac stubbornly refuses to give me anything other than "The wireless network

  • InDesign doc set to 2048 or 1024 for retina displays?

    I know this has been discussed previously, and for broad distrubution it's best practice to use 1024 x 768 and vector where possible... but are there any advantages of setting up your InDesign doc to 2048 px? If I want to distubute just to retina iPa

  • Can Time Machine Backup Local Backups?

    Hi and tnxs for reading. I have noticed that time machine is backupping only one backup per time, i.e. at the time of the execution of the backup. Is there a way to backup on an external HD also all the local backup aswell? For example, if I do a Tim