Cleaning of data in system

Hi Apo expert,
In our organization we have detached one unit. Same was working as a location (having different products), now for cleaning purpose we need to delete all the data related with that.
How to go-ahead to do this !

Hi
it is not a plain thing to delete a product master/location product in a production system.You have to carry out the following steps:
1.
a) Remove product from integration model
b) Delete all orders for this product-location which still exist in the APO system by running the reports /SAPAPO/RLCDELETE or /SAPAPO/DELETE_PP_ORDER (this report is not recommanded to be used in product system!!) or transactions /SAPAPO/RRP4 or /SAPAPO/RRP4.
c) Use transaction /sapapo/ccr to delete all objects in APO that are integrated with R/3. The /sapapo/ccr will show the orders as 'Not in an active integration model' and offers to delete the orders in APO
d) Delete the product from ATP tables by running the report /SAPAPO/SDORDER_DEL with the selection according to the product being deleted. (Orders from DB & live cache)
e) Delete all related product substitution and location product substitution using the transaction /SAPAPO/RBA04;
f) Delete the product from all PPMs through the transaction /SAPAPO/SCC05;
g) Remove the product from external procurement using the transaction /SAPAPO/PWBSRC2;
h) Remove the product from transportation lanes through the transaction /SAPAPO/SCC_TL1 or /SAPAPO/SCE; Note: If the lane was created with option 'All products', you should not care about this condition.
i) Remove the product from quota arrangement through the transaction /SAPAP/SCC_TQ1;
j) Remove references from the product master or the location product master using the transaction /SAPAPO/MAT1, tab 'Classification';
k) Remove the planning package from the location product master using the transaction /SAPAPO/MAT1, tab 'PP/DS';
l) Remove the product from RTO;
m) Remove the product from product split.
Product-specific transportation lanes, for which you have set the deletion flag, can be deleted using report /SAPAPO/TR_TRPROD_DELETE
2. Mark deletion flag
a) In transaction /SAPAPO/MAT1, select the product (and location in case of location product);
b) In the menu bar, choose 'Product' and go to 'Mark for deletion' (Shift+F6);
c) In the popup 'Set deletion Flag' set a flag in the appropriate field: Leave the field 'Product' empty unless you want to delete the product master, i.e. in case a location product must be deleted, the flag has to be set on location only;
d) The deletion can be executed directly or be scheduled for another time.
I hope this will help you,
Thanks
Amol

Similar Messages

  • Clean-up the BW system before Upgrade

    Hi ,
           We are planning to upgrade from 3.1 to 3.5 . We are planning to clean up the BW system before Upgrade. What are the clean up activities to be perform e.g clean up PSA , delete unused objects/queries etc.
    Please let me know if there is any documentation available on clean up.
    Thanks.

    Hi,
    I would rather start with the unused cube/ODS and probably archive them. Then delete the PSAs for them. You may also need to do a PSA clean-up activity.
    <b>
    To find unused queries: </b>There are 2 ways
    1. Goto ST03N and select expert mode and under BW system load,look for the queries. It lists all the queries which uses from past 3 months. So whatever object is missing in that is not used. This is the one way of listing the queries which are not used.
    2. In the technical content, you can check the queries on multiprovider 0BWTC_C10(queries realted to OLAP).
    Once you identify the unused queries then use the transaction RSZDELETE to delete them.
    <b>Workbooks:</b> Try RSWB_ROLES_REORG. This will delete workbooks etc which are not associated to a role or query.
    <b>Unused hierarchies: </b>Check this post: Unused Hierarchies
    <b>Unused master data: </b>Goto rsa1 -> infoobjects. Right click the infoobject and choose 'delete master data'. All 'unused' records will be deleted.
    <b>PSA Clean-up:: </b>Check the fn module :RSATREE_PSA_DELETE_BATCH
    Bye
    Dinesh

  • How can I clean all data in a database but keep all datafile still same nam

    hi,
    How can I get a easy way to clean all data in a database but keep all datafiles still same name and location just like a new created database?
    dbca has two choice: create templet without datafile or with all datafiles but not empty datafiles.
    thanks

    What version is your database? DBCA in 10gR2 allows you to create a template from an existing database using only the structure. From DBCA
    From an existing database (structure only)
    The template will contain structural information about the source database including database options, tablespaces, datafiles, and initialization parameters specified in the source database. User defined schemas and thier data will not be part of the created template.

  • Is there a way to clean up data without restore and backup?

    I noticed recently that too much data is being silently stored on my iPad possibly be apps and caches.
    Isn't iOS supposed to clean up data as it needs free storage?
    most recently, according to usage in settings > general, I had 1.8 GB of free space. I wanted to install an app that is 2GB in size. iOS told me there was not enough free space. I could not find what used so much data, and frankly this time the list of apps in settings > general > usage proved to be pointless. Adding the numbers together of how much space the apps were using up was nowhere near enough to leave me with only 1.8 GB of free space.
    I did a backup, then restored my iPad. After that, I restored the backup with all apps and data I had before. Now I have 7.2 GB free space. 5.4 GB of temporary and junk files, with no way of erasing them, is quite frustrating.
    Anyone knows a solution or shall I just restore my iPad pretty much every 2-3 weeks? (Yes, the last 5 or 6 restores I have performed were solely for freeing up storage space that mysteriously keep being filled up.)
    Additionally, how do I find out which apps use up so much space when settings > general > usage doesn't tell me anything? Only how much space the app itself needs and how much permanent (user generated) data is being stored. Such as pictures, save game files, and so on, but nothing about cache sizes temporary data.
    PS: if the above was asked and answered before, please accept my apologies and could you link me the topic it has been resolved in?

    Hi! And thanks for your reply!
    It sounds sensible. Since the last restore which was just over a day at the time of me writing this reply, there is over 1GB of data unaccounted for. Note that I have not installed new apps, nor DLCs within games. The two I have been using heavily are Netflix and Youtube, both of which should automatically erase temporary data. Or so they claim.
    However, there was a period when I had my iPad on charger overnight. When I woke up, just out of curiosity I checked the usage statistics and I found my free space was about 200 MB less than when I checked immediately before goong to bed. So the iPad was not used at all and somehow I lost 200MB.
    I did try a software for Windows called Phone Clean, but that didn't help. Before the restore, I ran a deep scan, and it only cleaned up about 500MB of data even though there was nearly 5GB unaccounted for. I performed the restore, and that was when I thought this is beyond me, and posted this topic.
    I have also noticed that when I watch a movie with the Videos app by streaming from iTunes instead of downloading, after watching it, the storage will not get freed up. The movie is still there (as confirmed by trying to actually download another that was larger than the current free space, then the previous movie file was indeed deleted by iOS automatically) but it does not show up in usage > videos. According to iOS the Videos.app has no data within.
    I'll try a full reset soon and see how it goes. Obviously it will take some time to test it, but I'll let you know of any results. Luckily, I don't have many apps that don't use iCloud storage so their data should be there despite dropping the backup, and installing them clean should be easy using iTunes on a PC.
    If that doesn't help, I go one step further and download the apps one by one.
    Well, there is plan.
    To be honest, it would really be helpful if we could see individual app containers as that way we can easily find out which app is being naughty.
    Any way, thanks for the tip! Give me a couple of days and I'll let you know how it went.

  • How can I copy text from a table in a format that's readable when I paste it into an internet based data recording system?

    I have to fill in forms regarding foster children every week, then export the text to an on-line data recording system for each child. The old pages let me copy (cmdA ) the whole document and past it into where it needs to go.
    The new version includes inverted commas and I have to copy the document headers separately from the information contained in the table. It's a bit of a pain!

    I have to fill in forms regarding foster children every week, then export the text to an on-line data recording system for each child. The old pages let me copy (cmdA ) the whole document and past it into where it needs to go.
    The new version includes inverted commas and I have to copy the document headers separately from the information contained in the table. It's a bit of a pain!

  • Getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) ...

    Hi Team,
    I am getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength).
    Anybody please let me know how to resolve the issue. It has affected our 9 site collection with almost 2000+ sites. Please email me your your suggestion or you can share your ideas here also.
    Tried to reset the IIS, checked the Internet connection speed (8MBps). Cleared the cache and all but no luck.
    Thanks,
    Pronob

    Hello,
    I have found this support window for you:
    http://support.microsoft.com/kb/556031
    http://technet.microsoft.com/en-in/library/cc298582%28v=office.12%29.aspx
    This may help you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • What is wrong with my Data Guard system?

    What is wrong with my Data Guard system(10g10.2.0 on OEL5.0)? What method should I take to diagnose it and repair it?
    After shutting down last night, my Data Guard does not run normally today.
    On the primary database I issue the following commands:
    DGMGRL> show configuration verbose;
    Configuration
    Name: sdb10g
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: ENABLED
    Databases:
    sdb10g - Primary database
    stdby10g - Physical standby database
    - Fast-Start Failover target
    Fast-Start Failover
    Threshold: 30 seconds
    Observer: hostp
    Current status for "sdb10g":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show fast_start failover;
    show fast_start failover;
    Syntax error before or at "fast_start"
    SQL> startup
    ORACLE instance started.
    Database mounted.
    ORA-16649: database will open after Data Guard broker has evaluated Fast-Start
    Failover status
    On the physical standby database I issue the commands:
    SQL> startup mount
    ORACLE instance started.
    Database mounted.
    SQL> recover managed standby database disconnect;
    Media recovery complete.
    DGMGRL> show configuration verbose;
    Configuration
    Name: sdb10g
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: ENABLED
    Databases:
    sdb10g - Primary database
    stdby10g - Physical standby database
    - Fast-Start Failover target
    Fast-Start Failover
    Threshold: 30 seconds
    Observer: hostp
    Current status for "sdb10g":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> disable fast_start failover;
    Error: ORA-01034: ORACLE not available
    Failed.
    Message was edited by:
    frank.qian
    null
    null

    The primary database cannot be opened and the fast_start failover cannot be discabled:
    SQL> SQL> ALTER DATABASE open
    ERROR at line 1:
    ORA-16649: database will open after Data Guard broker has evaluated Fast-Start
    Failover status
    DGMGRL> disable fast_start failover;
    Error: ORA-01034: ORACLE not available

  • DPM 2012 R2 - Failed to clean up data

    Hi,
    I'm hoping someone might be able to help me.
    I've recently been getting an error on one of our backup jobs, I've tried searching around for solutions but no-one seems to have had the exact same issue that I'm experiencing.
    The backup job is a shadow copy file backup of a complete volume.
    It's been working for the past few weeks but I'm now getting the error below when I try to run a consistency check. 
    People have reported issues similar which suggest executing the pruneshadowcopiesdpm2010.ps1 which I've tried but this seems to make no difference.
    The protection group is short term disk protection with a retention period of 14 days with file recovery points created at 11am, 1.30pm, 3.30pm and 8pm.  The job is currently reporting 32 recovery points which leads me to believe it shouldn't need to
    clean up any yet anyway.
    Any suggestions would be very much appreciated.
    Type: Consistency check
    Status: Failed
    Description: DPM failed to clean up data of old incremental backups on the replica for Volume D:\ on nas01.nwhs.local. Synchronization will fail until the replica cleanup succeeds. (ID 30134 Details: Cannot create a file when that file already exists (0x800700B7))
     More information
    End time: 29/04/2014 18:48:03
    Start time: 29/04/2014 18:48:02
    Time elapsed: 00:00:01
    Data transferred: 0 MB
    Cluster node -
    Source details: D:\
    Protection group: User Data
    Items scanned: 0
    Items fixed: 0

    RIS,
    The access denied can come if there is already a lock on the file( like Antivirus). 
    Can you let me know what version of DPM2012R2?   if you goto about DPM you it will give you exact version 4.x.xxxx.x.  You stated you had AV exclusions set
    "We do run Sophos Antivirus but it does have exceptions set and the volumes that are being protected do not store any Sophos related data."
    I want to ensure all are set from -
    http://technet.microsoft.com/en-us/library/hh757911.aspx - if you can test disabling AV that may help.
    Can you check the event logs on DPM server and PS during the failure to see if there is anything else running that may lock the files?
    There may also be a "failedfiles.dat" that may due to unsupported files see link below for assistance troubleshooting that -
    http://social.technet.microsoft.com/Forums/en-US/f7de60cd-841f-4d22-862e-aaf3723717c7/dpm-could-not-log-files-that-were-skipped-during-backup-to-volumexxxxxfailedfilesdat-id?forum=dataprotectionmanager
    How to read failedfiles.dat if there is one -
    http://social.technet.microsoft.com/Forums/en-US/dataprotectionmanager/thread/27c48816-dabb-41a0-b800-6e1ac2fc1ed5
    Also what is the OS version of the DPM server?  Are you doing any dedupe\ODX\Thin provisioning on the protected server? 
    Ultimately we may need a ticket to determine what is locking out the file during the failure but please let me know the answers to the above and I will see if that helps.  Thanks
    Regards, A.Nadar, This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.

  • Acct assignment cat. of item not in user data; Inform system admin

    Hi all,
    We are on a SRM EBP 5.0 project and we are getting the following error when we try to create a purchase order from the purchasers login.
    "Acct assignment cat. of item not in user data; Inform system admin"
    The complete details of the screen shot are as follows:
    The following error text was processed in the system DS1 : Acct assignment cat. of item not in user data; Inform system admin.
    The error occurred on the application server lndnysap1_DS1_01 and in the work process 0 .
    The termination type was: TH_RES_FREE
    The ABAP call stack was:
    Form: ABORT_PO of program SAPLBBP_PO_UI_ITS
    Form: ADD_TO_MSG_LOG of program SAPLBBP_PO_UI_ITS
    Form: ADD_TO_MSG_LOG_MULTI of program SAPLBBP_PO_UI_ITS
    Form: SET_PRICING of program SAPLBBP_PO_UI_ITS
    Form: DETERMINE_EXTERNAL_SCREEN of program SAPLBBP_PO_UI_ITS
    Module: DETERMINE_EXTERNAL_SCREEN of program SAPLBBP_PO_UI_ITS
    We did the following steps :
    Created shopping cart- employer and WF triggered apprd. by manager.
    Purchaser did "Carry Out Sourcing ", and if we say "Create Purchase Order", the PO gets created with a information message that "Incomplete purchase order 11/1 is created "
    When we go to  "Process Purchase Order" for the completion of the same. If we see Follow-on documents "Purchase Order Held" occurs.
    In the tab Item Data details Pricing tab we get this error.
    Do any of the SRM gurus can suggest us what to do?
    In our admin logon it shows
    "Server for pricing is not running. Start Server"  occurs after every run of this process purchase order from the purchasers login, though our IPC is working fine.
    Will be of great help if somebody replies soon.
    Sincerely,
    Sridhar.

    Hi,
    IPC has to be configured.
    Please check the following threads :
    https://forums.sdn.sap.com/click.jspa?searchID=211089&messageID=2714527
    https://forums.sdn.sap.com/click.jspa?searchID=211089&messageID=2715019
    Kind regards,
    Yann

  • What is data archiving and DMS(Data Management System) in SAP

    what is data archiving and DMS(Data Management System) in SAP
    Welcome to SCN. Before posting questions please search for available information here and in the web. Please also read the Rules of Engagement before further posting.
    Edited by: kishan P on Aug 31, 2010 1:06 PM

    Hi,
    Filtering at the IDoc Level
    Identify the filter object (BD59)
    Modify the distribution model
    Segment Filtering
    specify the segments to be filtered (BD56)
    The Reduced IDoc Type
    Analyze the data.
    Reduce the IDoc type (BD53)
    Thanks and regards.

  • BAPI name to access employee data from systems like CSS, ISP GTP etc

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 20, 2011 2:09 PM

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 20, 2011 2:09 PM

  • Purchase Requistion Relase Date as System Date.

    Dear Experts,
    I need some information on purchase requisitions.
    1.our users are changing  release date manually  the date which they are releasing the Purchase requisition.
    can we make the release date as system date,what type of configuration i needed to do that..
    2.mass un release of purchase requisitions.
    3.mass deletion of purchase requisition and mass deletion of purchase requisition line items
    please suggest me
    Thanks in advance
    Regards,
    Varun

    1) In spro first check the Field selection group assigned with PR document type...in most of the cases it is NBB...now go to spro@mm@PR@Define screen layout at document level@double click on NBB@double click on Deadline monitoring@here make Release date as display so that user will not be able to change it in PR.
    2) Check if the same is possible in ME55 or BAPI for release with object type BUS2105
    3) Check of BAPI for pr with function module BAPI_REQUISITION_DELETE with your ABAP person.
    Regards,
    Indranil

  • Choice of design pattern for data acquisition system

    Hello all
    I have a trouble about selecting the suitable design pattern / architecture for a data acquisition system. 
    Here is the details of the desired system:
    There is data acquisition hardware and I need to use it by observing parameters on User interface. 
    the data acquisiton period, channel list to scan should be chosen on User interface. Besides, there are many user interface interactions. e.g. if user selects a channel to add scanlist, then I need to enable and make visible some other parts on user interface. 
    When user completes the channel selection, then he will press the button to start data acquisition. Then I also need to show the scanned values on a graph in real time and log them in txt file.
    I know that I cannot use producer consumer pattern here. because the data acquisition loop should wait for parameters to scan channels. and it works in a given period by user. so the user interface loop performs higher rate then consumer loop (data acquisition loop). it means queue will be bigger bigger. if I use notifier it will loss some data come from user interface. 
    is there any idea about that ? is there any suitable design pattern for this case ? 
    Thanks in advance
    best regards 
    Veli BAYAR
    Embedded Systems Software and Hardware Engineer 
    "You live in a graphical world. Why not program in one?"
    Solved!
    Go to Solution.

    johnsold wrote:
    Veli,
    I recommend the Producer/Consumer model with some modifications.
    You might need three loops.  I cannot tell for sure from your brief description.
    The User Interface loop responds to the user inputs for configuration and start/stop of acquisition.  The parameters and commands are passed to the Data Acquisition loop via a queue. In this loop is a state machine which has Idle, Configuration, Acquisition, and Shutdown states (and perhaps others). The data is sent to the Processing loop via a different queue. The Processing loop performs any data processing, displays the data to the user, and saves it to file. A notifier can be used to send the Stop or shutdown command from the User Interface loop to the other loops.  If the amount of processing is minimal and the file write times are not too long, the Processing loop functions might be able to occur in the Timeout case of the UI loop Event structure.  This simplifies things somewhat but is not as flexible when changes need to be made.
    I am not sure that a Design Pattern for this exact setup exists but it is basically a combination of the Producer/Consumer (Events) and Producer/Consumer (Data) Design Patterns.
    Lynn
    Check out this thread: http://forums.ni.com/t5/LabVIEW/Multiple-poll-case-structures-to-event-help/td-p/2551309
    There are discussions there about a 3-loop architecture that may help you.
    Jeff
    Jeffrey Zola

  • Purchase Requistion release date as system date

    Dear Experts,
    Our Requirement is the top management want to know time taken to release a purchase requisition,means the duration
    between purchase requisition creation date to release date.
    here user are manually changing the release date to system date to know duration exact time duration between the creation date  and release date,so user requirement is the release date should be system date so he can easily understand when the requisition is released.
    we are thinking that,if we make the release date as system date,please suggest me.
    Thanks in Advance.
    Varun

    Dear Madhu,
    1.)     Whenever you are creating a new PR system will automatically take that PR creation date as system date.
    2.)     All the releases in SAP System will be recorded  as Item/Header change and system will maintain their history in Item/Header change details
    3.)     If your requirement is to track the duration between creation, release of levels it can be very much possible by creating a quary it self.
    Regardsu2026
    Srini Rao

  • Load Grid with data from System.Data.DataTable

    Hi all.
    A have a System.Data.DataTable e need load a grid with data from this DataTable.
    How Load a Grid with data from System.Data.DataTable?

    Hi Francisco,
    actually i don't think that you can use a .NET datatable to fill a business one grid.
    the business one has it's own datatable.
    in c# it would look like this:
    oForm.DataSources.DataTables.Add("MyDataTable");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).DataTable = oForm.DataSources.DataTables.Item("MyDataTable");
    oForm.DataSources.DataTables.Item(0).ExecuteQuery("SELECT Field FROM [dbname].dbo.TABLE");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).CollapseLevel = 1;
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).AutoResizeColumns();
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Single;
    good night
    lg David

Maybe you are looking for

  • Macro focus on iPhone 5s no longer works

    My iPhone 4 took fantastic macro photos. Jump to I finally upgraded to an iPhone 5s and it did macro images at the beginning but after the first update, it no longer wants to focus. I know it CAN since it will focus to the correct spot then jumps bac

  • SLDAccess set to true, but not available

    Hi all, I get the following error when Running a Proxy to mail Scenario. This happens in the Call adapter pipeline Step of the receiver mail adapter. error message "com.sap.engine.interfaces.messaging.api.exception.ConfigException: SLDAccess set to t

  • Search suggestion, statistics and PDA displaying

    Hi there. I have several issues and wait your help. 1/ Regarding searching in Oracle portal, I need to build a function of search suggestion in an other language (Vietnamese). That means the system should suggest word or phrase if user put a not righ

  • Where can I locate my iTunes purchase transaction ID

    I'm searching for a itunes purchase history 20 digit transaction ID for Supercell. I lost my Clash of Clans village and they will not accept my iTunes purchase receipt as proof of purchase. They are requesting this transaction ID which I cannot locat

  • Macbook Pro Top cover has shifted positions

    Hi there, I was using my Macbook pro earlier today, my sister was angry and she threw her computer down on my bed, part of it hit my computer's screen, and I just noticed that my computer won't sit flat on a table (top left part is heavier now), this