Dump in SAPDBKDF for park items selection

We are developing a customer program that uses the logical database <b>KDF</b>. When the user selects <b>Parked items</b> check box ( <b>b0sg-xstav = 'X'</b>) in the selection screen, a runtime error <b>DBIF_RSQL_INVALID_CURSOR</b> occurs.  But if the user returns back to customer program and executes it again with the same select option, the error does not happen and the program works all right.
The runtime error long text is:
    An exception occurred. This exception is dealt with in more detail below      
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
     neither caught nor passed along using a RAISING clause, in the procedure "PUT_BSIK"      "(FORM)"     .                                                                
The error occurred in a statement that accesses the table "<b>V_VBSEGK</b> ".
"DBIF_RSQL_INVALID_CURSOR" CX_SY_OPEN_SQL_DBC
"SAPDBKDF" or "SAPDBKDF"                     
"PUT_BSIK"                                   
Source code extract
    IF <b>b0sg-xstav = 'X'</b>.                                            
vorerfasste Belege ueber DB-Index nach lifnr                      
      save_bstat = 'V'.                                             
  modification of WHERE clause: remove AUGDT, AUGBL, DABRZ, IMKEY 
      REFRESH: vbsegk_where.                                        
      vbsegk_where[] = bsik_where[].                                
  BSTAT W oder Z sind nicht im VBKPF                          
>>>>>      SELECT * FROM v_vbsegk WHERE lifnr = save_lifnr           
                             AND bukrs =  save_bukrs            
                             AND gjahr BETWEEN '0001' AND '9999'
                             AND budat IN kd_budat              
                             AND budat LE kd_stida              
                             AND zuonr IN kd_zuonr              
                             AND umskz IN kd_umskz              
                             AND hkont IN kd_hkont              
                             AND gsber IN kd_gsber              
                             AND blart IN kd_blart              
                             AND bldat IN kd_bldat              
                             AND bschl IN kd_bschl              
                         AND BSTAT IN KD_BSTAT                
                             AND waers IN kd_waers              
                             AND zlspr IN kd_zlspr              
                             AND zlsch IN kd_zlsch              
                             AND (vbsegk_where).                
Had anyone a similar situation?
I'm on SAP 640
Best Regards,
Nancy

Hi people,
               I have resolved this issue and I want to share it with you. The problem was that in the GET event code there was a call to a method of a class and this was provoking an commit. We have moved this code in another event and it have never dumped again.
Thanks to you for your interest.
Regards,
Nancy

Similar Messages

  • Create AP/AR line item report for parked items

    Dear all,
    Has anyone been able to create a line item report in AP or AR that includes parked items? I have created an aging report using standard 0SAPDUEAN-01 as a base, using report painter. Now the Finance department want to be able to see the numbers of the parked invoices as well but I am not able to find a way to pull these.
    Does anyone know if this is actually possible?
    many thanks

    Hi,
    by using of TCODE. FBV3 it is displaying parked documents
    based on document type.
    K.Satish

  • For multiple item selection in Table

    Plz use this code and paste it in perticular event of button. when u excute the application ,To select multiple items plz catch shift in keyboard otherwise u can select only single item.
    int n = wdContext.nodeProducts().size();
        int leadSelected = wdContext.nodeProducts().getLeadSelection();
        // loop backwards to avoid index troubles
        for (int i = n - 1; i >= 0; --i) {
          if (wdContext.nodeProducts().isMultiSelected(i) || leadSelected == i) {
            wdContext.nodeProducts().removeElement(wdContext.nodeProducts().getElementAt(i));

    Hi Vishal
    Thats the way the webdynpro table has been designed to work for multiple selection...on click of the Ctrl key or Shift key. There is no other alternative for this.
    What would your question be?
    Thanks
    oj

  • Double click for JList items selection

    I would like to select JList items only by double clicking on them. I can write a mouse listener for detecting double clicks by my own (and handle it afterwards), by please tell me how to turn the default behavior off (selecting items by clicking one time).
    Thanks in advance
    Marek

    I would like to select JList items only by double clicking on them. Well the standard is to select or highlight on a mouseClick or by using the arrow keys on the keyboard.
    Then once you have a selected item you can perform and Action on the item by double clicking or by using the enter key. Remember you should always be able to use either the keyboard or the mouse to perform any given function.
    This posting shows my solution for the above scenario:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=626866

  • Standard Compnent for Order Item Selection as Usage in own Component

    Hi all,
    is there any standard component that I can use to select items form orders or quotations?
    I can't use BTFOLLOWUP since this component updates the BOL by themselve - see component usage in
    BT115H_SLSO.
    I need something like this -> BTAdminH as input -> Table with selected items and quantity as output.
    br
    Jürgen

    Hi, Prashanth
    As per my understanding there is no update of quantity in quotation if you reject sales item in sales order.
    only one way is to delete created sales order then quantity of quotation is reset,
    kapil

  • Get Node Key Multiple Items Selected  from ALV tree

    Hello Experts,
    I'm having a problem in getting Node keys for the items displayed as ALV tree.
    I'm able to get Node key, when only ONE record (Item) is selected.
    But, when I select multiple items under a Single node am not able to read(get) the node keys for all the selected items.
    I'm using the classCL_GUI_ALV_TREE.
    I have tried using the method GET_CHECKED_ITEMS, but not getting the keys.
    method GET_SELECTED_ITEM is giving node for a single item. I need it for multiple items selected.
    Thank you for your time.
    -SANGAR

    Hi,
    You need to use checkbox concept. and use method GET_CHECKED_ITEMS get selected items
    please check this tread.
    CL_GUI_ALV_TREE and Checkboxes
    aRs

  • R12 - API to Create Serial Numbers for Ordered Item in Receipt

    Hello All,
    I got a requirement to create PO Receipt using PL/SQL code. For that i have created PL/SQL code to insert data in following Interface tables,
    a) rcv_headers_interface
    b) rcv_transactions_interface
    After inserting data in Interface table executed Concurrent Program "Receiving Transaction Processor" to process data from Interface table to Base Table. This process is working perfectly fine for "Non-Catalog" requests. But if i try to process any PO having Inventory Item whose Serial Control is set to "At Receipt" then i got following error at Interface table,
    "Fail to validate serials".
    To resolve this issue i need to create and process serial number for Ordered Item selected to Receive. Can anyone guide me regarding how can I generate Serial Numbers using API for PO Receipts.
    Regards,
    Priyanka

    Hi,
    Just populate mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
    and serial number range in fm_serial_number - to_serial_number respectively.
    You may entermultiple MSNT records with same transaction_temp_id.
    You may need to populate PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = 'RCV'.
    Oracle will create all the serial numbers for you when the records get processed.
    Thanks,
    Hrishi

  • How to clear the open items and parked items for customer

    Hi Experts,
    I need to clear the open items and parked items for customer.
    So any one could let me know the transaction code and procedure for clearing the items for customer.
    Best regards,
    Kesava balaji.

    Hello,
    Parked items will have NO RELEVANCE, unless you post it.
    You CANNOT clear parked items.
    You can clear the posted items using F.13 or F-32
    Regards,
    Ravi

  • Process open items: how to set defaults for the additional selections

    Hi FI experts,
    Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
    I am using transaction F-04 (or F-06 or F-07) to post with clearing.
    When processing the open items I can use additional selection parameters. In my case I need to use the document type.  I would like to save this selection as a default but this doesn't seem to be possible.
    1. it is not possible to save a variant for the processing of open items
    2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
    Do you see another way to store defaults for the additional selections in open item processing?
    Thanks a lot.
    Dimitri

    Hi,
    When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable.  Hence SHD0 is not going to help.
    As said above, either you can change the additional selection screen parameters, but here again you can't default the value.  You can only reduce the number of entries on the screen.
    Else you can create a custom transaction code by copying the standard.  Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements. 
    Please check this link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    In the above link, in navigation choose clearing -- Specifications for processing open items
    If it is a custom transaction then you can default document number.
    Regards,
    Ravi

  • Blocking line items while open item selection for clearing

    We would like to block open items with one particular special GL indicator during open item selection for clearing.  The SAP transaction code is F-32
    Regards
    Ramesh Nalamada

    Hi Ramesh,
    Basically, what Meenakshi is saying is that you would have to build a Validation for this using transction code <b>GGB0</b> and stipulate in your condition that whenever any of your intended special G/L indicator is chosen during processing, the system should return an error message saying, for instance "<b>You cannot carry out Manual Clearing for this type of account</b>".
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Field Selection for Open Item Clearing

    In Field Selection for open item clearing (t-code : O7F1),
    can I maintain non standard field such as "XREF3" (Reference KEY 3) ?
    I tried to insert "KIDNO" into O7F1 and system allowed it.
    But when I checked in F-51, the XREF3 (Reference KEY 3) was not in the field selection.
    Have anyone get the same issue?
    Thanks.

    Hi Sneha,
    Check the following config path for relevant settings-
    Financial Accounting (New) > Accounts Receivable and Accounts Payable  > Business Transactions  > Open Item Clearing > Make Settings for Processing Open Items > Choose Selection Fields
    Select customer , vendor etc as per requirement.
    Regards

  • Customer Tolerance for all open item selected in an incoming payment.

    Hi Experts
    I have set a tolerance of 5 $ in OBA3 to be written off to Bad Debts account. This  settings are working fine when an incoming payment is entered in F-28.
    My requirement is, in F-28 I enter the Document Date, Posting Date, Company Code, Currency, REF, Doc.Header Text in the document header & enter the Bank Account, Amount and Text, then instead of entering the customer account in open item selection, I selet the process open items and Select the Reference as the selection criteria and enter a list of references (for clearing a Batch of open items for different customers).
    Standard tolerance functionality will check if the complete incoming document meets the specified tolerance limits set in OBA3. But I want the tolerance of 5 $ specified to be applied for all the open items selected to be cleared with the incoming payment.
    I understand that tolerance will be applied when the amount entered and amount of the open items (total) is within the specified tolerance.
    But is there any option which will check if each of the open item selected for processing short of 5 $ and then write off to the bad debt account specified in OBXL.
    Do we have any user exit, or BADi or can we use any of the BTE functionality to achieve this.
    Kindly give your valuable inputs..
    Thanks in Advance.
    KIM Khan.

    Kim,
    Did you get answer to this question? If so can you please share with me?
    Thanks

  • Item selection for account maintenance - Final Bill

    Hello,
    In the yearly consumption incoice, items opened on customer account are automatically cleared with the invoice at the moment of invoice generation.
    Customizing to fix what main transaction must be cleared and included in the invoice is under SAP Utilities>Invoicing>Invoicing processing>Item selection in invoicing> Item selection in account maintenance/Define Sub-items.
    This is working quite well for normal consumption invoice but account maintenance is not working at all when i try to make a final bill with R43 clearing type.
    Could you please indicate me if an special type of customizing is necessary to clear open items with final bill?
    Thanks in advance

    hello,
    main transaction:0200
    sub transaction:0020
    Open item selection: "all open items for contract account relating to                        
    contract.
    "Check out if u have any open items for   invoicing unit"
    for sub items,
    check out  at Bill Total "Items always included at final amount"
    Regards,
    Narendar Konaknchi

  • Work items are not dis appearing in my inbox for parked FI invoices.

    Hi,
    work items are not dis appearing in my inbox for parked FI invoices.
    We are using asynchronus method, and terminating event for this method.
    Could you please suggest, what will be the reason for this.
    Thanks & Regards
    Madhu

    Hi Karri,
    Thank you for your response.
    But the event is triggering, No error message is getting.
    Any other idea about the issue.
    Thanks & Regards
    Madhu

  • Dump:Sales Text View in Material master for FERT items

    Dear Gurus,
    I am Creating Material MAster record for Fert Item,
    I am trying to maintain the Sales View of it but system is
    giving me dump ,
    I  am getting the following message
    "No text maintained; a blank text has been created in English
    automatically
    Message no. MM630
    Diagnosis
    For your convenience, a blank text has been created in the
    language English automatically.
    Procedure
    You can maintain this text. If you exit text maintenance
    without maintaining it, it will be deleted automatically.
    Name of runtime error
    "LOAD_PROGRAM_NOT_FOUND"
    Error analysis
    On account of a branch in the program
    (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
    or a transaction call, another ABAP/4 program
    is to be loaded, namely " ".
    However, program " " does not exist in the library.
    Possible reasons:
    a) Wrong program name specified in an external PERFORM or
        SUBMIT or, when defining a new transaction, a new
        dialog module or a new function module.
    b) Transport error
    what can be the possible reason
    Please guide me in this context
    regards
    shailesh

    Dear Shailesh
    If this is the problem , then please go through the solution
                                                                                    No text maintained; a blank text has been created in English automatically                                                                               
    Message no. MM 630                                                                               
    Diagnosis                                                                               
    For your convenience, a blank text has been created in the language     
         English automatically.                                                                               
    Procedure                                                                               
    You can maintain this text. If you exit text maintenance without        
         maintaining it, it will be deleted automatically.                                                                               
    This is a standard behivour . No need to worry . it is not an error.It comes because you have to maintain something in sales text view if the sales view is maintained in OMS2 settings.And since it is a finished material then it will come.
    It dosent allow you to go to the next view when you press  enter .
    you have to go to the next view using Mouse .
    Just click on the next view you have to create it will allow.
    then fill all the views and just save the material you will be able to save
    Regards
    Rahul Singh
    Edited by: Rahul Singh on Nov 19, 2008 8:11 AM

Maybe you are looking for