Physical deletion of WBS elements from PRPS table

Hi Experts,
In CJ20N transaction:
When I delete a project with project profile (ZABC), the following actions are performed:
- The project entry are physically deleted from 'PROJ' table.
- The WBS entries are physically deleted from 'PRPS' table.
When I delete another with with project profile (ZXYZ), the following actions are perfomed:
- The project entry are physically deleted from 'PROJ' table.
- The WBS entries are NOT physically deleted from 'PRPS' table.
What is the reason for not deleting entries physically from PRPS table?
Thank you for your valuable answers.

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

Similar Messages

  • How can find a new asset or old asset througha wbs element from anla table?

    Hi,
    I have a wbs element.I have to check whether it is a old one or new asset.How can justify about this things.
    Please guide me.
    Regards
    Ricky

    The connection between WBS and asset under construction in in the table ANLI!

  • WBS elements not deleted from PRPS table

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

    WBS should be having actuals.

  • How to delete/close WBS elements

    Hello Guys,
    We are facing following issues - We have some WBS elements that has not been migrated from company code XX (now incative). Now we canot close those WBS and we are getting errors when posting Settlements (CJ8G/CJ88).
    Error - Asset under construction not completely credited.
    There are some old bookings on the WBS (total sum = 0)  but SAP does not allow us to close it. As this is already closed company code we cannot create assets here anymore.
    Do you know if there is a way to close or delete such WBS elements?
    Thank you..

    Hi Tushar,
    Following the screenshot sent by Tomas, there are many steps which needs to be carried out before setting the deletion flag for the WBS element. One is to ensure that the mandatory fields for the asset are filled as rightly pointed out, second is to ensure deactivating the asset, third is to delete the existing PO's/PR's associated with the project. This will ensure that the WBS element is back in its original state which will then allow us to mark the deletion flag or set the WBS element as deleted. However cant we close the WBS element and then try to set the deletion flag? Is this a wrong practice you feel?
    Kindly advise
    Regards
    Varun

  • Network No from PRPS table

    Dear all,
                   I need to find the Network No from PROJ table  PRPS table.
                   How can i trace the n/t no from PRPS. If i am using the OBJNR in PRPS and AFKO but its not showing any detail.
    Regards.
    Sukhveer.

    You cannot get the network no. from PRPS tables. Reverse way you can get the same.
    PRPS-PSPNR = AUFK-PSPEL Refer this link,
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417200%29ID0862180450DB10151599459437127012End?blog=/pub/wlg/9659
    It will be clear for you.. If your network is assigned to WBS in that case only you will get WBS from network no.
    With Regards
    Nitin P.

  • Get selected elements from a table

    Hi all,
    I have a requirement like i m enhancing standard component in that i have added one button on click of that i want fetch the selected line item from the table ( which is a normal table). selection mode is auto.
    i tried with  the following code.
    DATA:lr_element                   TYPE REF TO if_wd_context_element,
           lv_index                     TYPE i.
    *--Get selected element
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    ****Here itself its throughing dump because lr_element is initial***************
    *--get selected element index.
      lv_index = lr_element->get_index( ).
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    Thanks in advance.

    *--Get selected element
    lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    if  lr_element is bound.
    lv_index = lr_element->get_index( ).
    endif.
    Instead you can directly read the node if that row is a lead selected one.
    lo_node = wd_context->get_child_node( name = 'EMP' ).  "Emp is node name
    lo_ele = lo_node->get_lead_selection( ).
    or
    lv_index = lo_node->get_lead_selection_index( ).
    where is the above code written..is it written in OnLeadSelect event of the TABLE..
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    As the selection mode is Auto there is no multiple selection..hence try to use the lead selection only.
    Edited by: Lekha on Jan 3, 2012 6:47 PM

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

  • Change WBS element from Sales order

    Hi...
    I have created one sales order with WBS element assignment then I have created billing document and released to accountingu2026.
    Accounting and controlling documents are fineu2026
    After creation of accounting document system is allowing to change or delete the WBS element at sales order item levelu2026same time profit centre field does not allow to change or delete
    We donu2019t want to user to change WBS element after creation of accounting documentu2026that field should be shown in greyu2026
    Please help me to solve this issueu2026
    Thanks,
    Raj

    Hi,
    You can create a Transaction Variant for the transaction VA02 in which you have to maintain the WBS Element field as output only.
    1. Go to SHD0, enter VA02 in Transaction & give a name to the transaction variant and press Create.
    2. Enter an order no., go to the item "Account Assignment" tab.
    3. Check "Output Only" against WBS Element in the screen listing all the tabstrips & Fields.
    4. Exit & Save.
    You will be returned to the SHD0 screen.
    Select the "Standard Variants" Tab under "Standard Vriants" tab. Press activate to activate the Transaction Variant.
    Go to VA02 to test the variant. You will get the WBS Element disabled.
    Revert in case of any doubts.
    Regards,
    Vijay

  • System is not picking up the WBS element from Asset in PO.

    Hi,
    While creating Purchase Order with account assignment category
    as "A"(i.e.Asset), system is not picking up the WBS element from Asset
    Master, even though it is defined in the asset master.
    Please help.
    Thanks,
    Ninad

    Hello Ninad,
    Please, see the SAP Note 21583. I think it might be of help for your case.
    Best regards,
    Esther.

  • Delete 50 Million records from a table with 60 Million records

    Hi,
    I'm using oracle9.2.0.7 on win2k3 32bit.
    I need to delete 50M rows from a table that contains 60M records. This db was just passed on to me. I tried to use the delete statement but it takes too long. After reading the articles and forums, the best way to delete that many records from a table is to create a temp table, transfer the data needed to the temp table, drop the big table then rename temp table to big table. But the key here is in creating an exact replica of the big table.I have gotten the create table, indexes and constraints script in the export file from my production DB. But in the forums I read, I noticed that I haven't gotten the create grant script, is there a view I could use to get this? Can dbms.metadata get this?
    When I need to create an exact replica of my big table, I only need:
    create table, indexes, constraints, and grants script right? Did I miss anything?
    I just want to make sure that I haven't left anything out. Kindly help.
    Thanks and Best Regards

    Can dbms.metadata get this?
    Yes, dbms_metadata can get the grants.
    YAS@10GR2 > select dbms_metadata.GET_DEPENDENT_DDL('OBJECT_GRANT','TEST') from dual;
    DBMS_METADATA.GET_DEPENDENT_DDL('OBJECT_GRANT','TEST')
      GRANT SELECT ON "YAS"."TEST" TO "SYS"
    When I need to create an exact replica of my big table, I only need:
    create table, indexes, constraints, and grants script right? Did I miss anything?
    There are triggers, foreign keys referencing this table (which will not permit you to drop the table if you do not take care of them), snapshot logs on the table, snapshots based on the table, etc...

  • I want to delete the transactional record from database table

    Hai,
    I want to delete the transactional data from database table with out using the dialog programming is it there any trancation for this.
    for master data we have the transaction code for delete the records. The t.code is 'OBR2'.
    Plz help in that cse.
    Thanks and regards,
    P.Naganjana Reddy

    Hai,
    Plz help me urgent.
    I am asking i want to delete transactional data from database table without using the dialog programming.
    Thanks and Regards,
    P.Naganjana

  • How to delete some of records from wf_notifications table any API Name?

    Hi All,
    I want to delete some of records from wf_notifications table , can any one tell API' name and Back end delete process.
    Thanks,
    Ramu
    Edited by: Ramu on Mar 20, 2013 5:42 AM

    Hi ,
    I hv done below script, now it's working fine.
    DECLARE
    CURSOR csr_transaction_id IS
    SELECT   hat.transaction_id,
             hat.item_type,
             hat.item_key,
             ppx.employee_number,
             hat.section_display_name
      FROM   hr_api_transactions hat, per_people_x ppx
    WHERE   hat.process_name = 'HR_PERSONAL_INFO_JSP_PRC'
             AND hat.selected_person_id = ppx.person_id
             AND ppx.employee_number IN
                      ('100024773',
                       '100024820',
                       '100024859',
                       '100024879',
                       '100024902',
                       '100024937',
                       '100025137',
                       '100026470',
                       '610014755',
                       '610017039')
    order by  ppx.employee_number;
    BEGIN
      dbms_output.put_line('***Deleted all Transactions  and Notifications of below Employee Personals Tranactions ***');
       FOR my_cur_v IN csr_transaction_id
       LOOP
       /*Delete all Transaction_id's in hr_api_transactions,hr_api_transaction_steps,hr_api_transaction_values and hr_api_transaction_steps_bk tables */
        hr_transaction_swi.delete_transaction
                              p_transaction_id =>my_cur_v.transaction_id,
                              p_validate => hr_api.g_false_num
        wf_engine.abortprocess  (
                                  itemtype => my_cur_v.item_type,
                                 itemkey => my_cur_v.item_key
         /* Deleted all Notification_id's and item_key's in wf_item_activity_statuses,wf_items,wf_item_attribute_values,wf_notifications     Table */                     
         wf_purge.items (
                          itemtype => my_cur_v.item_type,
                         itemkey => my_cur_v.item_key
        dbms_output.put_line('Emp No --'||my_cur_v.employee_number||'Transaction_id :'||my_cur_v.transaction_id||'Emp Personal Info :'||my_cur_v.section_display_name||
                              'Item Type :'||my_cur_v.item_type|| 'Item Key :'||my_cur_v.item_key); 
       END LOOP;
       commit;
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line('hr_transaction_swi.delete_transaction api goest to exception block'    ||sqlcode|| '  '||sqlerrm);
    END;  
    /thanks,
    Ramu

  • How to speed up the deletion of 11million records from the table

    Hi,
    How to speed up the deletion of 11million records from the table.
    I need expiditious reply. Please do the needfull in advising
    Regards

    Please try to understand the question.Well it would help if you would answer some of the questions you have been asked as your question is not complete and clear and no matter how hard we try, we really need you to try and ask the question properly.
    So as previously asked
    Which simply supports the idea that we need:
    1) better definition of the business purpose (why)
    2) oracle version
    3) operating system
    4) hardware configuration
    to give a moderately accurate answer.
    I would like to add
    5) How many rows in total in the table to begin with.
    6) What is your delete statement
    7) Is this a one time operation or will it happen regularly
    8) Can you use partitioning.

  • Populate WBS Elements from GR/IR to FI document

    Would like to know how to populate WBS element from Material Document - MIGO (PO document with account assignment = 'P') to FI document?
    Message was edited by:
            Peck Har Poh
    Message was edited by:
            Peck Har Poh
    Edited by: Peck Har Poh on Nov 19, 2009 6:28 AM

    hi
    if ur problem is to find the document number only, then go to tcode me23n and give ur PO number and click on PO history tab on item details.
    hope it works.award if useful.

  • Deleting Query Elements From Backend Tables

    Hi All,
      i have made some changes to a CKF and executed the report. It got executed but when i reopened the query i am not able to expand the RKF n CKFs on the left side. Whenever i tried to expand them the query designer is exiting.
    I tried deleting the query element which i modified from the backend tables using RSZDELETE but i am not able to do so as this CKF is being used in 2 more RKFs.
    Could you please let me know how to delete a query element which is reusable from the backend.
    Regards,
    MK

    Hi Satyam,
    I deleted the Query which was containing the CKF and RKF that i changed earlier. when i tried to delete these 2 by kFs in RSZDELETE i am not able to delete them.
    Scenario 1:
    when i tried to delete the CKF 1 ..the system is displaying msg tht this is being used in RKF 1.
    when i tried to delete the RKF1..then system is displaying msg tht this is being used in CKF 1.
    i mean there is a circular reference which has happened b/w these two KFs.
    Could you let me know how to get rid of it as i am not able to open the Query in Bex nor in RSRT.
    Regards,
    MK

Maybe you are looking for

  • Can't import songs from iTunes

    I want to import songs from my iTunes library. When I click on the audio button, I can see my library of songs but I can't click and import them. I can drag the photo to desktop and then into iMovie but that feels like Windows. I am having similar is

  • PO THROUGH MAIL IN 4.7 VERSION

    Sir, PO through mail in 4.7 version ply help for the same regards amey

  • Font toolbar drop menu

    The font drop down menu on my Format toolbar keeps saving all the fonts I select and use, even when I change them and no longer wish to retain the font. How do I limit my drop down menus to not saving any of my fonts. I want the drop down menu for ea

  • To maintain the purchasing group to all release strategies

    I want to maintain the purchasing group to all release strategies using cl24n transaction. plz help me out. I am trying to do that using 'BAPI_OBJCL_CHANGE' and passing the values as: OBJECTKEY:   A0T1 OBJECTTABL: ****** CLASSNUM: available CLASSTYP:

  • Dreamweaver CS4 Won't Open

    I just installed CS4 Design Premium and I have been able to successfully open Photoshop, InDesign and Acrobat, but whenever I try to open Dreamweaver CS4 it hangs on the opening window at "Loading Site Cache..." I'm on a Dell PC running Windows XP Pr