Consequences of Deleted PO in SAP

Dear Guru's,
We have requirement to change Material Type. For this system is suggesting to delete Purchase Orders open and completed both.
I want to know the consequences of deleted PO in SAP. Can any1 help me out?
Regards,
Rashid Masood

Hi Rashid,
I will not suggest you to change material type of existing materials if there are PO's, GRN documents and Invoice documents existing for that particular material....
You have to reverse all the documents including your all  PO's, GRN's and Invoice documents...which will have Financial impact too..
So what i will suggest is.....Create a new material with correct mat type with the same material description and proceed  accordingly..
Also you can flag for deletion your old material in MM06 Tocde...
So now when ever you have to proceed, use the new material...
Hope it helps..
Utsav

Similar Messages

  • How to delete data in SAP Tables

    Can i delete data in SAP tables in IDES version? I need step wise answer.
    Best answer get good points.
    Regards
    Kalyan Pothini

    Hope this helps:
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci1159707,00.html
    Fast deletion of SAP table content
    Stan Shuralyov
    01.17.2006
    Rating: -3.86- (out of 5)
    If a table has millions of records, full deletion becomes time consuming. Try this tip when you need to delete data quickly -- it works in seconds.
    Editor's note: This tip works on an SAP 4.6C, WAS620 and WAS640 system (i.e., all currently suppported SAP platforms). Note that it is a tricky function that should only be used by programmers who know what they are doing.
    Code
    Use function from SE14
            call function 'DD_DATABASE_UTILITY'
                 exporting
                      fct                     = 'MDF'
                      obj_name                = 'TABLE_NAME'
                      obj_type                = 'TABL'
                      exec_modus              = 'S'
                 importing
                      subrc                   = sl_subrc
                 exceptions
                      unexpected_error        = 1
                      unsupported_function    = 2
                      unsupported_obj_type    = 3
                      table_is_locked_by_tcnv = 4
                      authority_check_failed  = 5
                      abort_function          = 6
                      conversion_error        = 7
                      others                  = 8.
            if sl_subrc = 0 and sy-subrc = 0.
              write:/ '&1', '- Table Deleted OK'.
              commit work and wait.
            else.
              sl_status = 1.                          "Deletion Failed
              write:/ '&1', '- Table Deletion FAILED'.
            endif.

  • How to delete developer's SAP UserID and his SSCR key on SMP?

    How to delete developer's SAP UserID and his SSCR key on SMP?
    Dear Experts,
    Background:
    I want to delete developer's SAP UserID and SSCR key in QAS and SMP.
    Because as I known, developer's SAP UserID(registered SSCR key) is belonging to the SAP License measurement.
    I want to rid of the useless developer's SAP userID and the SSCR key registered on SMP.
    ====================Here below is the message I created===================
    Dear Expert,
    One of our developers whom registered SSCR key left, I want to delete
    his SAP UserID and his SSCR key.Can you pls tell me how to implement?
    What might have happened(expecially the downside) in the corresponding
    SAP Client if I delete the developer's SAP UserID and SSCR key? Will
    it cause our system screw up?
    I've searched the answer on SDN. Someone told me I should carry out the
    follow steps below:
    (1)Delete the Developer's SSCR key on Service Market Place(SMP).
    (2)Cancel all the Jobs defined by the Developer in DEV.
    (3)SU01, Replace the value 'Developer' with Blank at the 'LicenceData'
    lable.
    (4)Delte corresponding item of the Developer in 'DEVACCESS' table.
    (5)Lock/Delete the Developer.
    Is that right?
    Thanks!
    Jason   
    ====================Here below is the reply from SAP===================
    Dear Customer,
    When the SSCR Developer/Object keys are transfered to the system, the
    keys are stored in the following tables:
    o DEVACCESS : Developer keys
    o ADIRACCESS: Object keys
    But we do not have any report programs to delete the entries from these
    tables. If the customer wants to delete the entries, he has to write a
    local program to delete the table entries.
    SAP does not recommend ever cleaning out these developer keys, as long
    as the user ID is Locked / Deleted, that is the main thing.
    please Cancel all the Jobs defined by the Developer in DEV.
    So my recommendation to you is to first lock the user id of the user.
    Then Assign him a new userid which is not identical to the first one andthen subsequently delete the old userid.
    If you have an absolute need to delete a developer key without deleting
    a user then the easiest way to do this is probably to
    write a report with the instruction :
    delete from DEVACCESS where UNAME = ....
    Please note :
    There is no recording, who did what in the table, that is why SAP strong-ly does not recommend this, and customers will have to take responsibil-ity for this action.
    Thanks
    ====================My question is:===================
    Do you have any better suggestions?

    Hi,Rahul,Raghunandan
    Thank you very much!
    Her below were the SAP Support's main suggestions:
    1. Lock the user id of the user, then Assign him a new userid which is not identical to the first one and then subsequently delete the old userid.
    2. If you have an absolute need to delete a developer key without deleting a user then the easiest way to do this is probably to write a report.
    I want to know if I can delete the SSCR key directly via a particular TX? If I can, what is it? (I just want to know. For safety, I think I won't delete the SSCR key directly remained in 'DEVACCESS'.)
    Thanks!
    Jason

  • Deleting Equipment from SAP R/3

    Once I set the cancel flag for an equipment how I can delete completely from SAP R/3 the equipment?
    Thanks

    Hi Magnelli,
    Yes you can delete the equipment from the database through archiving process.
    SAP says that if you want to archive and delete the equipments then you have to first archive and delete following documents
    such as 1. Maintenance Plans 2. Serial Number History 3. Service and Maintenance Orders, 4. Routings, 5. Maintenance Notifications, 6. Quality Notification, and 7. Service Notifications.
    Archiving Equipments can be done by using archiving object PM_EQUI.
    Check Archiving Object Technical settings ....See that deletion is automatic.
    Steps are:
    Easy access --> SARA ---> Write ---> create write variant and select all the eqipments that you want to delete ---> click Attributes --> Enter the text in Meaning field ---> SAVE.
    2. Maintain Spool parameter
    3. Maintain Start date
    4. Execute and check the session number in job log.
    With this you archiving and deletion will be done in one step.
    -Thanks,
    Ajay

  • How can we delete prospects from SAP CRM

    Hello All,
    How can we delete prospects from SAP CRM in back ground for a list of selected BP's.
    Thanks,
    Raj.

    Hi Raj,
    You can use tx BUPA_DEL to delete the BP's you don't need anymore.
    Cheers,
    Heber Olivar

  • Insert /delete data from SAP Z table to Oracle table and opposite

    Hi,
    Can u help me write this FM from the SAP side?
    So, I have two tables ZTABLE in SAP and Oracle table ORAC.
    Let's put three columns in each of them, for example
    TEL1
    TEL2
    ADRESS
    NAME
    where TEL field is primary from ZTABLE to ORAC...
    (in FM there shoud be abap code for writing data in ZTABLE after we press some pushbutton made in sap screen painter..)
    for example, when we write new record in ZTABLE
    00
    112233
    Street 4
    Name1
    this data shoud be inserted in Oracle table ORAC.
    when we write new record in Oracle table for example
    01
    445566
    New Street
    Name2
    this data shoud be inserted in ZTABLE.
    Field TEL1 can be only of two values 01 or 02, other combination is not valid...
    I must have all data from Oracle table ORAC in ZTABLE and opposite.
    It should be the same scenario for DELETE...
    And this communication should be online between sap and table in oracle database...
    Can u help me from sap side? and give idea how to configure on oracle side??
    Thanks a lot,
    Nihad

    I dont know if we can directly connect to a oracle database ( wait for the answers from others on this )
    but in XI we have the JDBC adaptor to insert and retrieve data.
    so for the outbound from SAP the flow can be something like this (with XI in landscape):
    1) You have a screen to maintain a new entry / delete an entry
    2) On save , this record gets saved or deleted from the Ztable in SAP
    3)) In the same screen you can call a proxy class-method (generated using SPROXY transaction ) to send the record to XI.
    4) XI to format it and insert into the oracle table
    Mathews

  • Track of Addition , Updation and Deletion data in SAP system

    Hi,
    I am working on extracting data from SAP using 3rd party language into DB, now scenario is as follow everytime i do extraction i have to pull all data again and again which is time consuming now what i am thing of getting only updated data or new , delated data into my DB, say for example
    1 . I have created vendor or updated vendor info does SAP keep the information of this record that this record has been added or updated if yes the which table does i will get the info.?
    2. if i delete some info. of vendor does SAP store this info. that this vendor is deleted subsequently i will updata my data into  my DB.
    if i get this info. i can extract only extra data added or modified data into my DB
    any help / suggestion will be appriciated.
    Thanks,
    John.

    Most of the transactional data and almost all the master data are tracked for changes in SAP. So instead of asking such a generic question, maybe if you please let us know exactly which objects that you are extracting, then we can verify this. As pointed out earlier, There are function modules, tables and programs that track changes or reads them for you.
    Apart from these, config table changes are also tracked using table logging.
    Rob, just a small correction, if I may do so. For vendors the field is LFA1-LOEVM not KNA1-LOEVM which is for customers. But Rob is correct in saying that there are certain master data objects that are not physically deleted but are only marked for deletion and a subsequent archiving will delete them permenantly.
    To make it short, yes SAP does keep track of changes for many critical objects. If it is missing on some, which are of interest to you, there are ways. Please let the forum know which data you are interested in downloading.
    Srinivas

  • How to transport deletion of a SAP Query

    Hi
    I have a SAP query which I deleted in the development system through SQ01.    How do I transport this deletion to production ?   Is this possible, or should we be deleting it directly in production system ?
    Many thanks,
    Sanker

    I am interested in this question too.
    The deletion is written to the standard BEx transport. Is it possible to collect the deleted queries and transport the deletion to production somehow?

  • Want to delete Rows from SAP Query which have u20180u2019 or blank values

    Hi Experts,
    I have made one sap-query,  in that I have added some additional fields, after that I am getting some blank or u20180u2019 values in some rows, can anyone tell me how to delete those rows which have u20180u2019 or blank values.
    Regards
    Mahadev Roy

    Hi mahadev
    You must be fetching data from SQ02 in some internal table.Delete values from that internal table.
    Also as you are fetching records from SQ02 then in the select statement you can put this condition of '0' and blank
    so that you will get appropriate result.
    Thanks
    Khushboo

  • How to view the delete entries in SAP

    Hi Guru
    The transaction code SO23 is used to view the distribution list, some of distribution group was deleted automatically.
    We want to know who was deleted the entries in SO23? How to find out the deleted log details in sap?
    Any other reason the distribution list was deleted automatically. Any idea
    Please help us to provide the necessary transaction code to view the delete log details.
    Regards
    Edited by: Krishguna on Nov 24, 2009 4:09 PM

    HI Juan
    Transaction code SM20,STAD and SM21  is used  to view the log details less than 7days data only, but we want to view more than 7days data.
    Please help us to provide other transaction code is used to view the more than 7days data.
    Thanks

  • How to get the deleted data in sap

    dear all
       is there any way to find out who deleted the data in sap and if so can u tell me the steps
    regards
    sathi

    Hello Sathya,
    You can find this through the report RSTBHIST. However for this the system profile parameter rec/client should have that particular client as one of its values or its value should be ALL.
    Further if it is customizing data then you can look for the transport request through table E071 and identify the user to whom the request is attributed to.
    Please award points for useful answers.
    Regards.
    Ruchit.

  • Regarding deleted Documents in SAP

    Is there any process for retrieve the deleted delivery doc in SAP or is there any alternative solution to remove delivery in sales order doc flow.

    Hi Jagtap,
    I believe we don't have option to retrieve data once deleted.

  • Delete Links to SAP Roadmap Accelerators in RMAUTH

    I'm noticing some weird behavior in RMAUTH. Yesterday I deleted several of the links to roadmap accelerators in my custom roadmap. Today I logged in and they were there again.
    Yesterday I had saved my changes, left the transaction and system, came back in and it was fine. But today it seems like the links are back.
    Anyone see this before?

    Hi Seshen,
    The published IAC files should be under ITS server.
    In the ITS server go to c:/program files/sap/its/../servicefilename/htmlprogramname
    or
    c:/sap/its/../servicefilename/htmlprogramname
    In SAP R/3 you can find under se80.
    Select "Internet service" from drop down list. Then search for IAC files. This is available after SAP R/3 4.6C.
    Regards
    Arun

  • Help on how to delete request through sap BI api

    Hi my friends ,
    there ,i hava one question on how to delete the request using sap standard function?
    In my current project ,we want to enhance the  functionality to create one screen ,in this screen ,the user only select the request number which they want to delete ,and this action will trigger the process to delete all the request related to this number.
    for example: ods1(request 1)-->ods2(request 2)---->cube3(request 3).
    This 3 requests are in sequence.
    I want to delete request3 ,so the system will delete the corresponding request2 and request1 automaticly. All the user need to do is select request3.
    Now my team meet the bottleneck ,because we don't know the standard sap function ,this function can be use to delect request. We should not change the sap table because there are lots of tables related to the delete request action.
    Is there anyone know how to invoke the function to delete request?what/s the name of this function ?Is there some material on this function?
    Thanks a lot , i am online waiting for your kindly response.
    Thanks again.
    Jinwei

    To delete load request, just go to data target (ODS/CUBE), right click and click manage. Under Request tab, all the request and select the request and delete through delete icon.
    If you want to delete it automatically, you can do it in process chain. There are lots of functionality to delete data request wise, weekly/monthly basis. Ask your BI developer guy to implement the process.
    There is no need to touch the table to delete request.
    Hope this helps..

  • Delete record from sap tables

    Hi,
    i wont to delete duplicates recored from sap standard  table,
    i can do that?
    Regards

    Hi Ricardo.
    As you know we can use the concept of DELETE ADJACENT DUPLICATES  FROM with options according to your specifications like
    COMPARING
    OR
    COMPARING ALL FIELDS...   (ADDITIONS).
    But, don't forget to sort the table according to the COMPARISON ORDER.
    Reward points if usefull.
    Regards
    Harsh

Maybe you are looking for