Data Binding in BSP - tableview entry not getting deleted.

Dear Gurus,
                I am very new to the BSP concept.I am told to develop a BSP for creating,updating,deleting entries from a database.I have achieved create and update,But when i am deleting,it gets deleted in backend i.e. in the SAP database,But the entry still appears there in the Front end.And the other 2 events i dont think i have handled well , as all i am doing is, I am appending or modifying the entries in the form_fields and then calling the do_handle_data event.
Please help me out in how to handle the table view events,I have heard about the selectedrowindex,but i couldnt figure that out.
Kindly help me out.
Helpful answers would definitely be rewarded.
Cheers,
Deepthee Kasal

Thanks Beth for your insight,
The info requested are:
UWLJWF version: 7.00 SP22
Neither the Manager nor the Substitute's IDs are deleted. They are both active.
Just that the Substitute has moved to another Org unit.
Another information is that, the HR Personnel's here have a Custom program, which would get the Substitute assignments in the Backend - Which also gives the feature of deleting the substitution.
I suspect that, this particular substitution might have got deleted in the Backend with this Custom Program (TCODE).
Regardless of this, it seems now that there is inconsistency between backend & portal.
At this circumstance, is there a way to clear this issue?
BR,
Uday
Edited by: Rama Vankamamidi on Jan 5, 2012 3:14 PM

Similar Messages

  • Data in BBP_DOCUMENT_TAB are not getting deleted

    Hi All,
    We are in SRM 4.0.
    Since today morning whenever a user trying to create / change shopping cart, PO, GR it got updated in the BBP_DOCUMENT_TAB. But it is not getting deleted automatically. Earlier it used to get deleted automatically once the documents have been ordered.
    But I could see the POs and GRs have been transfered to the back end system.
    Job CLEAN_REQREQ_UP is running every 2 mts.
    Please advise.

    Hi Arun,
    note 338985 describes in detail how the the status of the document(s), CLEAN_REQREQ_UP and the IDOCs interact.
    If the documents are posted without any error i.e. there´s everything perfect but the 'obsolete' entries in BBP_DOCUMENT_TAB, then this sounds like a malfunction.
    Maybe you should debug the the cleaner with one document and see whats happening starting at the following spot:
    CLEAN_REQREQ_UP
    process selected entries: check  existence of follow on documents,
    update if necessary local documents etc. (depends on entry type)
            LOOP AT selarea.
              IF still_to_proc = c_proc_block_size.
                SET UPDATE TASK LOCAL.
              ENDIF.
    lateron the entries are deleted in function module BBP_DELETE_FROM_DOCUMENT_TAB
    Note 535765 describes how to delete entries via a Z* report but I would NOT RECOMMEND to do that without having checked the situation by SAP before.
    see note 535765:
    Please note!:                                                       
    Deleting relevant entries from the BBP_DOCUMENT_TAB may cause severe
    problems, as the system needs the entries to set the right status to
    shopping carts, invoices and confirmations. So please be careful with
    the deletion of entries.                                            
    Kind Regards
    Michael

  • HT201441 I have bought an used Iphone from a shop. then i put my account id in it. then it goes perfectly. After awhile i have done a reset all data and sitting then i could not get the Iphone started because it have been asked to put another email starti

    I have bought an used Iphone from a shop. then i put my account id in it. then it goes perfectly. After awhile i have done a reset all data and sitting then i could not get the Iphone started because it have been asked to put another email starting with u
    For contact [email protected]

    Sounds like the Activation Lock is still set to the previous owner. If you are unable to get that Apple ID and password that iPhone is totally useless to you.
    Take it back to the shop and demand your money back because they sold it to under false pretenses.
    Allan

  • PSA data not getting deleted

    Hello, I have an issue with the data in the PSA table not getting deleted.  I went to the datasource manage screen and deleted all the PSA requests, but the data still remains in the PSA table.   Do you know the reason and how to get rid of the PSA data from the table?
    Thanks.

    You may check if there isn't any inconsistency in the PSA. Happens sometimes.
    There are a few reports to check and repair them, like:
    - SAP_PSA_PARTNO_CORRECT
    - RSAR_PSA_CLEANUP_DIRECTORY_MS (RSAR_PSA_CLEANUP_DIRECTORY_MS if your db is MSSQL)
    Check the following SAP Notes and read them carefully:
    [1150724 - Consolidated note on the check & repair reports for PSA.|https://websmp107.sap-ag.de/sap/support/notes/1150724]
    [1051664 - Check and repair program BW7.x for Note 849857.|https://websmp107.sap-ag.de/sap/support/notes/1051664]
    [1063105 - Program 'RSAR_PSA_CLEANUP_DIRECTORY /_MS'.|https://websmp107.sap-ag.de/sap/support/notes/1063105]

  • Setup tables data not getting deleted for application 11

    Dear Team,
    Trying to delete data from setup tables after completing few fields enhancements
    System triggering following error message and the data is not getting deleted
    Step 001 started (program RMCSBWSETUPDELETE, variant &0000000000010, user ID 00938H744
    Database problems with table MC11VA0ITMSETUP
    Job cancelled after system exception ERROR_MESSAGE
    Please guide
    Thanks,
    Sarasu

    Try to adjust the database tables using SE14 transaction.
    SE!4 --> Enter table name MC11VA0ITMSETUP -->Select radio button "tables" --> click on Edit -->Select processing type "Background" --> Click on "Activate and Adjust database".
    Here before performing the Activate and Adjust database function -- first try to check the data base object (click on check button and select database object --ok) if every thing is ok then proceed with the above steps.
    Next try to delete the setup tables and check.. hope this should work.
    Try to check the logs in SM21 and also check if the data source is active or not before deleting the setup tables.
    Regards
    KP
    Edited by: Konduru Prashanth. on Mar 2, 2012 6:08 PM

  • Order category BF not getting deleted in APO

    Hi Experts,
    I have a situation where the material is already deleted in ECC (hence no longer existing), but the product is existing in APO and we need to delete this in APO. To do this, we need to delete the dependent orders for that product/location first and then other dependencies.
    There are few orders for the prod/loc as confirmed purchase orders (ord cat BF). These orders are now PP/DS orders with status as PP firmed, output firmed and date fixed.
    I have tried the two programs- /sapapo/rlcdelete and /sapapo/delete_pp_order, but system is not picking up the orders to delete.
    The system shows as message as " No deletion of converted orders in active version"
    As I said earlier, the product is no longer existing in ECC, hence I can not delete the orders from there.
    Is there any other way to achieve this? Is there any BADI to do this in APO?
    Regards
    Manotosh

    Hi
    You can use /SAPAPO/DELETE_PP_ORDER report for deleting these orders.
    Execute the this report, mention all the products for which you want to delete the order and execute it. It might give the message as orders will not get deleted as inactive in APO.
    Go back please enter as DEL_EXECU, in the place where we use to enter the T-codes and enter and than again execute the report. It will delete the orders.
    You can also try /SAPAPO/SDORDER_DEL report.
    Thanks
    Amol

  • File not getting deleted using File.delete()

    Hi guys,
    I have a code like this:
    File tempdir = new File("tempdir");
    tempdir.mkdir();
    File temporaryFile = new File("tempdir\tempfile.txt");
    FileWriter writer = new FileWriter(temporaryFile);
    // write data into file
    writer.flush();
    writer.close();
    try {
        // Do something
    catch (Exception e) {
        // Do something
    temporaryFile.delete();
    tempdir.delete();The program runs successfully. The directory and the file is created and data is written successfully into it. However, the file as well as directory is not getting deleted at the end of the program. I tried temporaryFile.deleteOnExit(), but this also didn't help.
    Can anyone provide some input as to what can be the possible reasons for the file not getting deleted?
    Thanks..

    I want the file to be created inside the directory I specified. Hence, I put the "\". Please let me know if there is some other way to achieve this. This way I am getting the file created at the location I want.
    One more interesting thing which I noticed. Actually this code is part of a JUnit test. In the same JUnit, I am creating new files in atleast 2-3 test methods. But the deletion of files is really random. Sometimes, 2 out of 3 get deleted, sometimes only 1 gets deleted. However, I didn't come through a single instance wherein all the 3 files got deleted. :-(
    Also, the directory is never deleted. However, I got the reason behind this. As per the File API, the directory will not be deleted if it is not empty.

  • Release  PR Should not get deleted in md51,planning mode 3

    Hi all,
    We are facing a problem in MRP run taken through transaction code MD51. This Problem (as explained below) will occur when MRP control parameter for Planning Mode will be set to u20183u2019 (Delete and recreate planning data).
    During normal course, if MRP control parameter for Planning mode is set to u20183u2019, system deletes all open PR & Planned orders & creates new PR & new planned orders. 
    But in our business scenario, where we have release strategy for MRP generated PR, even these released PR get deleted. This results in re-analysis & releasing of MRP generated PR which itself is a tedious & time consuming task.
    We are looking for a solution where  PR will not get deleted during MRP.
    Thanks
    Sukumar
    Edited by: skumar kalame on Nov 10, 2008 1:59 PM

    Hi,
    The planing time fence is maintained in MRP-1 view of the material in workdays. You can also have this defined in the MRP group. But the value in material master takes precedence over MRP group.
    Use - It is a kind of safety fence which is used to protect any automatic changes to take place for firm order proposals during MRP run.
    Depends on - Firming indicator needs to be maintained for the MRP type. This can be set in customizing for the MRP Type. This basically specifies how you want to firm the order proposals. Please note there are 5 types of firming
    The SAP help for firming type reads as below:
    firming type 0
    The system does not firm procurement proposals automatically.
    firming type 1
    Procurement proposals that move into the planning time fence are firmed automatically, as soon as their date lies at least one day before the end date of the planning time fence. The date of new procurement proposals that are created in the planning time fence is displaced to the end of the planning time fence. These new procurement proposals are not firmed.
    firming type 2
    Procurement proposals that move into the planning time fence are firmed automatically, as soon as their date lies at least one day before the end date of the planning time fence. The system does not create any new procurement proposals within the planning time fence; that means, the system does not balance the shortage situation in the planning time fence.
    firming type 3
    Procurement proposals that move into the planning time fence are not firmed automatically by the system. All procurement proposals that are necessary for requirements coverage are displaced to the end of the planning time fence.
    firming type 4
    Procurement proposals that move into the planning time fence are not firmed automatically by the system. The system does not create any new procurement proposals within the planning time fence; that means, the system does not balance the shortage situation in the planning time fence.
    If helpful award points
    Regards,
    Vivek

  • Workitem not getting deleted from SAP inbox

    Hi ,
    I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
    We have created a standard task for this purpose ( a copy of TS31000007)  .
    The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
    The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
    Also the workflow log in SWEL doesnt show any rows in the second system .
    In the first system , there are 4 steps  in the workflow log :
    Dialog work item created
    Background process started
    terminating event received
    work item processing complete
    Though the workitem has deleted , but the status of the workflow is in Progress
    while the second has only two steps in workflow log
    Dialog work item created
    Background process started
    and the workflow status is "Ready"
    I guess the terminating event in the second case is not getting received .
    but ,I have  checked sweinst and found that the instance linkage is activated .
    Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
    Can someone help me to find why the mail is stuck in the inbox and  correct this problem.
    Thanks
    Sheetal

    Unless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
    It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem.  Check SWU3 setting is fine or not.
    <b>Please close thread when issue resolved</b>
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Spool Requests in Waiting not getting deleted by RSPO0041 or RSPO1041

    Hello Experts,
    We are currently running report RSPO0041 in our system to delete old spool requests, this report is running fine and deleting other spool requests except in status "waiting".
    I have also done test run with RSPO1041, but even though the requests in the status waiting are not getting deleted. The only option I have is to delete it by SPAD.
    The issue I have is that, the output device is not defined for a set of users, due to which their requests are picking up Frontend printing which is not possible which is the cause large number of requests are going in status waiting.
    We are not in a position to define output device for such users. 
    My question here is: Do we have any other option in above reports to include the spool with status waiting?
    Your valuable advice needed. Thanks in advance.
    Regards,
    Amit

    Hi Amit,
    What is the option you are selecting in both of these reports? Make sure you have selected "in processing" and "without output request" in rspo1041 with the corresponding dates, then I am sure it will get deleted.

  • Message log is not getting deleted in WEBUI (BADI ORDER_SAVE)

    Hi,
    I am displaying an error message based on certain conditions in BADI: ORDER_SAVE (CHECK_BEFORE_SAVE). On getting error, I am correcting that error.
    Using CRM_MESSAGE_DELETE, I am deleting error message before displaying new error message. However, my error log is not going away. It is still displaying in the log in WEBUI.
    Could you please help me out, how can I delete error message, and error log from WEBUI.
    Thanks,
    Sandeep

    I  have the same question as you .
       I  have use folleing code to display message in web ui:
          if (conditions).
          CV_OWN_MESSAGE = 'X'.
          MESSAGE '商机描述已经存在,请修改后再保存!' type 'E' RAISING DO_NOT_SAVE .
        endif.
    but when i have edit the description , the Message log is not getting deleted in WEBUI .
    who can tell me , thanks for all your help !

  • Open TRs not getting deleted after TECO production order

    Hi,
    We're having an issue.  We're using WMPP interface to supply the production line for the production orders.  The auto TRs are generated when the production orders are released. 
    After TECO the production orders, the open TRs are not getting deleted automatically.
    Could anyone know if these TRs get deleted automatically when we do the TECO production order?
    If yes, do we have any restriction or condition based on this, the TRs get deleted?
    Please explain.
    Thank you.
    with regards,
    Muthu.

    Hi Abhijit,
    Thank you for your reply.  It does not help me.
    The auto TR creation is happening now as required.  No issue on this.
    When you do the TECO, it also cancels the TRs.  I tested this also. 
    There're some scenario this open TRs cancellation is not happening.  I do not know when these open TRs are not cancelled.  If you know answer for this, please let me know.
    Thank you for your help and time.
    with regards,
    Muthu.

  • Production Reporting out put not getting deleted after 30mins what we set.

    Hi,
    This issue regarding Production Reporting. In the workspace the report output not getting deleted after 30minutes (while publishing the report settings were like delete after 30 mins). Any suggestions please .....
    Thanks
    Venkat

    Hi Deepak,
    Please chek the field / value which u have changed is relavant to  printouts of the change.
    You can check  with following path
    SPRO> MM > Purchasing > Message > Fields Relevant to Printouts of Changes.
    Confirm tick is provided for PO ( P)
    Vivek

  • File is not getting deleted in File-RFC-File without BPM

    Hi,
    I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
    For the sender CC, I'm passing the following parameters,
    Transsport protocol: File system
    Message protocol: File
    QoS: BE
    Poll Interval: 30 sec
    Mode: Delete
    File type: Binay
    Please let me know if I missed anything while passing the values.
    Thanks,
    Swamy
    Edited by: Swamy Mothe on Jun 15, 2009 8:52 AM

    Hi
    Then , is Sender and receiver File Adapter is using same folder )
    Just a question.
    But having all permisions and above config would delete the file
    can u see the status of u r File Adapter in RWB.? Is it in green?
    rgds
    srini

  • How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo file on my computer.

    How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo foder on my computer (Pc win7).

    Place that first folder of photos that you synced to the iPad within the main folder of photos that you sync from and select them to sync again. You can place any number of subfolders within the main folder that you sync from and select those folders to sync. Just "tick"(select) the folders in the photos tab in iTunes.
    iOS and iPod: Syncing photos using iTunes

Maybe you are looking for