Callbacks for cancelling or progress?

You all have been so helpful with my last few questions as I quickly get up to speed on DBXML, I thought I'd ask another one that's been bugging me: Are there any mechanisms to support callbacks for either cancelling an in-progress operation or obtaining information on the progress of an operation. We have large databases with X-Queries that sometimes take as much as 20 - 30 minutes (or longer) to complete and during that time all I can do is throw up a "please wait" message without any clue as to how much longer the process will take or ability to cancel. I could always launch the query (or other operation, indexing takes a little while too) in another thread and then ungracefully kill it if the user wants to cancel, but I'd hate to have to go that route - it just doesn't seem like good form. Thanks!
-Dave

That should go a long way - the biggest problem right now is trying a new index or query strategy only to have the query take a long time to finish before trying another one.
As far as the actual query times, we've tried just about everything to get them down. I think our issue is just that the data is both big and complex. Our databases are typically about 1 - 2 GB with 4 or 5 levels of nesting and both elements and attributes. We've turned on node indexing for the database and have split the data into about 150 - 200 documents per database (and roughly 5,000 top-level nodes per document). A couple typical top-level nodes look like:
<TransmitterPdu antennaPatternLength="0" antennaPatternType="0" cryptoKeyID="128" cryptoSystem="1" frequency="238037120" inputSource="0" lengthOfModulationParameters="0" padding="0" padding1="0" padding2="0" padding3="0" power="-270" radioID="705" transmitFrequencyBandwidth="25000" transmitState="1">
<PduHeader exerciseID="1" length="104" padding="0" pduType="25" protocolFamily="4" protocolVersion="6" timestamp="1883939066" />
<EntityID application="100" entity="1" site="13000" />
<RadioEntityType category="0" country="0" domain="0" entityKind="7" nomenclature="0" nomenclatureVersion="0" />
<AntennaLocation x="-5468000" y="-2549800" z="2063550" />
<RelativeAntennaLocation x="0" y="0" z="0" />
<ModulationType detail="2" major="2" spreadSpectrum="0" system="1" />
<Metadata fromIP="000.000.000.000" receivePort="0" receiveTime="00:02:16.844001" />
</TransmitterPdu>
<SignalPdu dataLength="1024" encodingScheme="1" radioID="3" sampleRate="8000" samples="1024" tdlType="0">
<PduHeader exerciseID="1" length="1056" padding="0" pduType="26" protocolFamily="4" protocolVersion="5" timestamp="217910114" />
<EntityID application="3" entity="3" site="409" />
<Metadata fromIP="000.000.000.000" receivePort="0" receiveTime="00:02:16.907001" />
</SignalPdu>
A typical query might be something like "return the average length for each type of top-level element". When designing them we usually try a few different strategies and indexes (checking the query plan to be sure the indexes are being used of course). In any case, if anyone has any more suggestions on how to speed up the quries - I'm all ears!

Similar Messages

  • Excise Invoice Tab is not display in MIGO for Cancelled document

    Hi,
    We are execuating the incoming excise cycle then in MIGO and J1IEX.It is perfectly working.But in case of cancellation the excise tab is not dispplaying in MIGO.We are using option "Only Capture and Both Capture & Post".Whatever the excise captured and Posted , it is updated in Excise Invoice tab in MIGO.
    As per my understanding the excise tab should come for cancelled doucment also.
    Regards
    Rajev

    Hi,
    You are correct it won'y come for 102 but it will come for 101.But it is not coming for 101 .It is not coming when we cancelled the document.
    but it will come for 101
    .But it is not coming for 101
    can you explain your statement  ?
    If it is not coming for 101 movement type
    check following point
    1) tax code in PO ,all excise condition should be there
    2) Maintain chapter ID material combination in J1ID
    3) Maintain Vendor and Plant excise details in J1ID
    Regards
    Kailas Ugale

  • Accounting Document not posted for Cancelled Invoice -error in FI interface

    Hi,
    When I create a billing document then an accounting document gets created automatically in the background and then when I cancel the billing document no accounting document gets generated and the field Posting Status in header Detail of Billing document updated as "Errors in Financials Interface.
    I tried to release it for Posting via VFX3 but failed due to below error message in Log:
    "Incorrect doc.no.: 4900000005. Select document number between 3000000000 and 3099999999"
    I have checked the Number range assignments to the Invoice type and Accounting type.
    The number range is same for both Invoice type (Y0F2) and Cancelled Invoice type (Y0S1).
    The Accounting document type (RV) is also same for both the cases. But it is working fine for Y0F2 (Acounting document generated and cleared automatically). But not working fine for Cancelled Invoice (Y0S1).
    Can anybody please help me find out a solution to the issue.
    Thanks, Ram.

    Hi,
    The error message F5151 refers to the number range of the FI document.
    Please have a look at the note 1259505: FAQ: New cancellation procedure in SD, which covers this issue in detail.
    Question 5:
    Q5. What is the FI document type, generated by the cancellation ?
    In the old cancellation procedure, the FI document type is always
    determined in SD, and passed to FI (the same when a normal invoice  -
    not a cancellation -  is transferred to accounting).
    In transaction VOFA there is the field 'Document type' (TVFK-BLART).
    If this field is filled, then the FI document will have the document
    type maintained here.
    If TVFK-BLART is empty, then the FI document will get the default
    document type 'RV'.
    If the new cancellation procedure is performed, the FI document type is
    always determined in FI, based on the document type of the FI document
    to be reversed.
    In transaction OBA7 the FI document type has assigned the field 'Reverse
    document type' (T003-STBLA).
    If it is filled, then the FI cancellation document will get the document
    type maintained here.
    If T003-STBLA is empty, then the FI document cancellation will get the
    same document type as the cancelled FI document.
    Notice that an unexpected FI document type can cause the error message
    F5 151.
    Example:
    F2 invoice 90000001 was released, creating an accounting document with
    document type 'RV'.
    This F2 invoice is reversed by the S1 billing document 70000001.
    In customizing of SD there is:
    Billing Type    Document Type
    F2              RV
    S1
    In customizing of FI there is:
    Document Type    Number range   Reverse Document Type
    RV               00             AB
    AB               01             AB
    The FI number ranges (object RF_BELEG) are:
    No  From number    To number   Ext
    00  0090000000     0099999999  X
    01  0100000000     0199999999
    Different situations can occur, due to these customizing settings of the
    FI document type, caused by the type of cancellation.
    If the new cancellation is used:
    The FI document type 'RV' has 'Reverse Document Type' = 'AB'.
    Document type 'AB' has number range '01' set as internal.
    So the FI document will have its own number included in
    100000000-199999999.
    There is no issue.
    If the old cancellation is used:
    The cancellation billing type S1 has no 'Document type' maintained, so
    the FI document will get document type 'RV'. It has number range '00',
    set as external number range.
    So the FI document should get the same number of S1 billing document.
    But the S1 billing document has number 70000001, not included in the
    interval of number range '01'.
    This will cause error F5 151.
    I hope this information helps you.

  • Can we combine Query for cancelled requisitions and query for internal requisitions without internal sales order into a single query

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

  • T-code for cancelled Invoice and cancelled Excise Invoice

    Dear Guru,
    kindly let me know the T-code for cancelled Invoice and cancelled Excise Invoice.
    Wishes,
    Abhishek

    Hi Abhishek,
    I am not aware of any T-code through which you can see the cancelled invoice. I think either you have to go for development (SQVI)
    or
    Extract the list of your all billing document like billing document created from 01.01.2010 to 22.04.2010
    Now go to SE16 --> Table VBFA --> Give your billing document number in field "Preceding Doc." --> and in the field "Subs.doc.categ." --> choose entry "N     Invoice cancellation" --> system will show you all the entries for which cancellation billing document has been created.
    or
    Go to SE16 --> Table VBRK --> enter your billing document list --> In the field "Posting status" --> Choose  option "E      Billing Document Canceled"
    Hope it helps,
    Regards,
    MT

  • Txn for cancelled checks

    Hi Friends,
    Can u please suggest me the Txn used for cancelled checks in SAP .
    Thanks n Regards,
    S.Agarwal.

    Hi
    LI05     Inventory History for Storage Bin
    LM55     Print Storage Bin Labels
    LP22     Replenishm. Planning for Fixed Bins
    LS04     Display Empty Storage Bins
    LS05     Generate Storage Bins
    LS06     Block Storage Bins
    LS08     Block Storage Bins by Aisle
    LS10     Generate Storage Bins
    LS25     Display Quants per Storage Bin
    LSET_BIN_COORDINATES     Maintain Storage Bins by selection
    LT343XYZ     Copy Storage Bin Definition Rules
    LT343XYZA     Maintain Bins by Definition Rule
    LX01     List of Empty Storage Bins
    LX03     Bin Status Report
    LX05     Block Bins in Bl.Storage w.Time Lim.
    LX15     Selection of Bins for Annual Invent.
    LX16     Selection of Bins for Continuous Inv
    LX40     Material Situation Prod. Storage Bin
    LX41     Bin Status Report WM/PP Interface
    LX45     Verification Field in Storage Bin
    rwd if useful
    rgds
    BV

  • Reg BAPI to be used for cancellation of GI/GR

    Dear Experts,
    The requirement at our client side is , Through control recipe messages process order numbers and material details are sent to MES system and the Goods issue, confirmation and Goods receipts are taking place in MES and data is transferred to SAP via a middleware .
    What is the BAPI to be used to pass the message  cancel the Goods issue or Goods receipt document in middleware to SAP
    What is the BAPI to be used to pass the message of cancellation of confirmation from Middleware to SAP
    Thanks in advance
    Regards
    venkat

    Dear Venkat,
    for cancelling GI/GR you may use BAPI_GOODSMVT_CREATE with GM_Code 06
    for cancelling confirmations you may use BAPI_PRODORDCONF_CANCEL
    Regards, Andreas

  • Accounting not cleared for cancellation invoice

    Hello,
    I had cancelled a Invoice whose accounting was cleared but no accounting document is generated for the cancellation invoice.
    I tried resetting the accounting document of the original invoice but that also dint work.
    Right now the status is the Cancellation document is in open status.
    Kindly help in generating accounting for cancelled invoice.
    Regards,
    Apoorv

    Hi Apoorv
    As accounting document is not generated after cancelling the invoice,so check the revenue account determination configuration.Check wheather cancel billing document type has been assigned to the account determination procedure.
    Regards
    Srinath

  • I have canceled my account same day and joining because the convert PDF to word did not convert correctly how to get credit for cancelled membership

    I have canceled my account same day and joining because the convert PDF to word did not convert correctly how to get credit for cancelled membership

    You need to contact Adobe Customer Support :
    They will check and assist you. (Live Chat)
    Contact Customer Care

  • Reason for canceling invoices - VF11 - SD

    What is the procedure to capture reason for canceling invoices? The requirement is the users want to choose a reason from the given list of reasons (Like... Drop down option) when they cancel invoices.

    Hi,
    SAP dose not give you standard field for this use. The reason, I believe, that the system do not use billing cancel reason is the different processes followed. There for if you want to manage the reasons (though the process is the same), you can create different cancellation billing types.
    I think otherwise you will break SAP Standard.
    An alternative could be, if you also cancel the sales order, to manage the reasons there. In the sales order you will find appropriate fields for that.
    Regards,
    Ido
    Please reward if it helps.

  • SAP FS-CD logic for cancellation of policies

    Hi,
    I am new to SAP FS-CD.  Hence I am finding it difficult to get the logic for many funtionalities.  Here is one requirement we have.
    We need to know all the policies that are flagged for cancellation and rescission.  Which table and fields I can use for this?
    Also which is the best way to fetch from FKKMAKO table?

    DFKKLOCKS

  • Inspection lot status MCAN - Lot marked for cancellation

    Hi QM Team,
    Once we cancel lot through QA02 or if we cancel document then system cancell lot accordingly & put the lot status as "LTCA".
    But in my system I have seen couple of lot with status "MCAN - Lot marked for cancellation".
    Can you suggest me how system has generated this lot with status MCAN?
    Thanks in advance.
    Eric.

    Inspection type is 01.
    System created lot during GRN with ref to PO document.
    Let me know if you need more infor to resolve this issue.

  • How can I contact the administration for cancelling an invoice?

    Hi everyone, first of all sorry for my english.
    I just bought AbodeExportPDF but I made a mistake: I clicked twice on the button "buy now", I rightly received two invoices. How can I contact the administration for cancelling one of the invoices?
    Thank you very much!
    Bye
    Carol
    Ciao a tutti,
    ho cliccato erroneamente due volte sul bottone "compra ora", ho giustamente ricevuto due fatture. come faccio a contattare l'amministrazione per annullare una delle due fatture?
    Grazie,
    ciao
    Carol

    Hi Carol,
    I wish I could speak Italian as well as you speak english, so no apologies!
    To cancel one of those subscriptions, please contact Adobe Customer Support:  Contact Customer Care. A quick chat session should get you taken care of.
    Best,
    Sara

  • Reason for Cancellation of Invoices

    Hi,
         Can any body tell me the possible reasons for cancellation of invoices ?
    Helpful answers will be rewared
    Thanks & Regards,
    V.Raghavender.

    In case of Incorrect Date.
    Say the pricing for a material has to be of previous year however due to year change new prices are implemented and these prices are copied in the invoice, its incorrect.
    You cancel the invoice and reinforce with correct prices.
    Secondly wrong quantity is billed. If customer received y and the invoice is for X cancel and reinforce.
    If wrong partner in invoiced.. say you have more than one bill to party and the wrong partner is invoice, cancel ...
    and you know, hehehe
    Regards

  • How to use of API for Cancel Sales Orders

    Hi....
    I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
    Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
    Thanks in Advance.

    Hi all,
    We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
    A snapshot of the error message.
    SQL> exec pk_process_object.process_order('1o');
    Message Count is :2
    Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
    Message is :User-Defined Exception in Package OE_Header_Util Procedure
    Pre_Write_Process
    Return Status is ErrorU
    PL/SQL procedure successfully completed.
    --------------------------------------------------------------------------------------------

Maybe you are looking for