Mark For Deletion of STO's which purchase order history

Is there a way, where I can set mark for deletion for a STO which has partial goods issue/receipt { i.e. it has purchase order
history }
Thanks In Advance!!

Dear,
Check solved question: Re: To close old STO with inbalance GI and GR
Regards.
Syed Hussain.

Similar Messages

  • HOW TO BLOCK THE PURCHASE ORDER AND MARK FOR DELETION ?

    Hi ,
                        During the Creation of the Purchase order in the SAP System... After creation of the Purchase order should be blocked and a work item is created for the approver. If the Approver approves the Order then the Order is Unblocked and a mail send to the initiators inbox and the Order is Released. Similarly if the Approver Rejects the Purchase Order then its set for Mark for Deletion.
    I did Po creation and release part. But i am facing problem during the Blocking & Unblocking the Purchase order. If he rejects i need to set for "Mark For Deletion". plz help me to solve this...

    Hi,
    You can use bapi 'BAPI_PO_CHANGE' to change the status of PO and for release use bapi BAPI_PO_RELEASE.
    Hope this will help you.
    Smit

  • Purchasing Info Record marked for deletion

    Hi experts,
    I need some explanation on Purchasing Info Records and more precisely on the deleted ones.
    Could you tell me why a Purch. Info Record that is marked for deletion is still set when a PO is created?
    In ME13 I have the following warning message : 06-718 (Purchasing info record & & & & flagged for deletion).
    In ME21N the same message is displayed as warning and users are able to save the PO with the deleted Info Record.
    I don't understand why SAP still retrieves Info Records that are marked for deletion...
    Is there a way to prevent SAP from using deleted info records?
    Thank you for your help.
    Regards,
    Philippe

    Hi Philippe,
    The message  06718 can be set as an error or warning in customising.
    If message 06718 is set as error then system will not allow to save 
    the document with that info record.
    The deletion indicator is the reservation to delete this record. But
    this is not comparable with the deletion of the record from the database
    This has to be done within the archiving run for the object MM_EINA.
    Untill this inforecord is not archived the data is taken as usual."
    Online documentation provides the following information
    "You cannot delete obsolete info records immediately. You can
    only flag them for subsequent deletion. Info records earmarked for
    deletion in this way are not actually deleted until the archiving
    program is run. This is done at regular intervals by your system
    administrator. You can flag an individual info record for deletion,
    or create a list of deletion proposals and choose the relevant records
    that are to be deleted from this list."
    Kind regards,
    Lorraine

  • Split Valuation of Materials for which Purchase Order exists.

    Hi,
    I want to do the split valuation of materials for which Purchase Order already exists and GR has taken Place.
    Is there any way to do it?
    Regards,
    B P Singh

    Hi,
    Yes, you can.
    Please start transaction MM02 and set the valuation category > you will get an error message > click on 'Display Errors' button and SAP will say what hinders you from the change.
    - you should set the stock level of your material in previous and current period to 0 (it is possible with posting date in the past; MB1A201 > after material master settings you can set back the stock level via MB1A202)
    - delete transactional data (including your PO)
    - mark batch records with DF and archive them
    - etc
    BR
    Csaba

  • Materials marked for deletion

    Hello Gurus,
    Is it possible to eliminate materials marked for deletion?
    If so, is there any program or batch job to eliminate materials marked for deletion?
    Thanks in advance.

    Hi sap fan
    you neeed to use T-Code = SARA  and choose object MM_MATNR, then click on WRITE and create a immediate job or a background batch job and start date and spool parameters , which is used for archiving the data in SAP R/3 but you this is a very critical business decision and you need to make sure that the business manager is aware and get the consent before executing this and need to do this with help of BASIS consultant
    and you need to make sure any open purchasing related documents and inventory stocks and other whcih are dependant on this material are ALL CLOSED and first archived before this activity and settled by the accounts also because once it is archived you cannot recover it and do posting of goods
    also before you go to SARA you need to go the MM71 and enter a variant and maintain it and save the variant
    if useful please REward YOur Points
    thanks and if u have any further doubts please let us know if we can help more
    Chakri

  • Open Production Order with Mark for deletion

    Hi
    Friends again stuck in open production order
    i want to calculate  production order quantity for open production order,
    only those production order which dont have mark for deletion.
    I find a field in afpo XLOEK ..but it wont get reflects when done changes in CO02
    Then i used the table JEST and i want to delete those aufnr which has deletion flag i wrote the folowing code pls do correct me where iam wrong .
    IN this code  deletes aufnr which are marked as deletion  ?
    SELECT afko~aufnr
           afko~gamng
           afko~plnbez
           afpo~dwerk
           afpo~psmng
           afpo~matnr
           INTO CORRESPONDING FIELDS OF TABLE i_afko
           FROM afko INNER JOIN
           afpo ON afpoaufnr = afkoaufnr
           WHERE afpo~dwerk = s_werks
          AND   afpo~matnr IN s_matnr
          AND afpo~elikz = space.
    LOOP AT i_afko.
      CONCATENATE 'OR' i_afko-aufnr INTO i_afko-aufnr.
      MODIFY i_afko.
    ENDLOOP.
    IF NOT  i_afko[] IS  INITIAL.
      SELECT jest~objnr
             jest~stat
             jest~inact
              INTO CORRESPONDING FIELDS OF TABLE i_jest
              FROM jest
             FOR ALL ENTRIES IN i_afko
             WHERE objnr = i_afko-aufnr.
    ENDIF.
    LOOP AT i_jest INTO wa_ijest.
      IF wa_ijest-stat = 'I0076' and ( wa_ijest-inact = SPACE  ).
        DELETE i_afko WHERE aufnr = wa_ijest-objnr.
      ENDIF.
    ENDLOOP.
    i_afko1[]  =  i_afko[].
    SORT i_afko BY matnr dwerk.
    DELETE ADJACENT DUPLICATES FROM i_afko COMPARING matnr dwerk.
    loop ....
    calculate :quantity
    endloop.
    Regards and answers will be rewarded points

    thnks
    solved the problem
    regards

  • To find out the list of user profiles marked for deletion using powershell or C# for SharePoint 2010

    I have Disabled the MysiteCleanup timer Job and disabled few user profile accounts in AD.  Then in SharePoint user profile service, ran the User profile full synchronise job.
    I am able to find the marked for deletion records from the table (UserProfile_Full) in SQL server and also in the Manage User profile menu of the central admin under "Profile missing from import"
    view.  But  am not getting these records, If I execute the  below powershell command.
    $upa = Get-spserviceapplication -name 'User Profile Service Application'
    Set-SPProfileServiceApplication $upa -GetNonImportedObjects $true
    This command shows only the system account and not the accounts, which are marked for deletion .
    Please suggest how to get this result.
    Thanks & Regards,
    Yoga

    What result do you get hen use use type below in powershell
    $upa

  • Mark for delete for BP in CRM

    Dear Sir,
    We still use CRM 5.0, If I would like to mark for delete the business partner, how to mark for delete for BP in CRM??
    And which table and field name to store for the mark for delete for business partner in CRM/
    Please kindly advise.
    Thnak you and best regards,
    Vimol

    Hello!
    It's not supported to delete Business Partners in CRM (Web- or PC-UI). You can just flag obsolete or redundant Business Partners for archiving.
    However there is the transaction BUPA_DEL you can use in order to delete BPs.
    Here a link for further Information [http://help.sap.com/SAPHELP_CRM70/helpdata/EN/e0/f2683cf5e8fe67e10000000a114084/frameset.htm|http://help.sap.com/SAPHELP_CRM70/helpdata/EN/e0/f2683cf5e8fe67e10000000a114084/frameset.htm]
    Best regards
    Arno

  • Is it possible to change warning "& is marked for deletion" to a hard error

    As part of our periodic update of our bank directory in transaction BAUP, Bank Keys which are no longer valid are marked for deletion. We are not at the point where we are archiving records yet, so the actual deletion has not occurred in our system.
    When an HR user updates a person's bank information (transaction PA20 or PA30, InfoType 09), if they enter one of these bank keys, they are given a warning that the bank key is marked for deletion. However, this is not a hard stop, only a warning message. As a result, they are able to save the record with an invalid bank key. The details indicate that this is message class F4, message 230. However, it appears from the IMG that it may be message 210. I have tried working with each of them.
    I have attempted to change the message to a hard error in message control, but have not been able to do so.  I receive an error telling me that "Message 230 (or 210) is not allowed". I have tried several application areas, including FV, Electronic Banking Messages.
    Is there any way in configuration to change this to a hard error? If so, please supply details, including application area.
    Also, are there risks of disruption of standard business processes if we do change this to a hard error? I know that this same message is issued for other master data elements which are marked for deletion such as GL accounts or Customer records,
    Thank you.
    I have searched forums with terms "marked for deletion" and "warning" but have not found an answer. I have also searched various outside expert forums on this topic. Everything I have seen seems to assume that this message will be a warning only.
    Aoife B.
    Edited by: Aoife Bratton on Oct 16, 2008 4:16 PM
    Edited by: Aoife Bratton on Oct 16, 2008 4:16 PM

    If particular message is not allowed in OBA5, then it is not configurable message. Neverthless if you like to change this message, you need to configure this in OBMSG first

  • Vendor master marked for deletion

    Hi Gurus,
    I have the following issues related to vendor master deletion.
    1. I can  able to create PR, release the PR for the vendor after marked for deletion and also blocked in XK05.
    2. It allows to maintain RFQ for the vendor marked for deletion and also blocked in XK05.
    3. It allows to release PO for the vendor marked for deletion and it blocks only after blocking in XK05
    4. It allows to post GR and IR for the vendor marked for deletion and also in blocked in XK05.
    Appreciated your help on this.
    Thanks and regards
    Durai

    the deletion indicator is a preparation for archiving.
    However, archiving will check whether the vendor is still in use and must be kept.
    A deletion indicator will with standard customizing not restrict the usage. The user get a warning message and this should him make start thinking.
    1. I can able to create PR, release the PR for the vendor after marked for deletion and also blocked in XK05.
    Do you have a purchasing organisation. in the requisition? XK05 restricts the order creation, I do not know about any restriction in requistion creation or release.
    2. It allows to maintain RFQ for the vendor marked for deletion and also blocked in XK05.
    This should not be possible if the purchasing block is set according to OSS note 67341
    3. It allows to release PO for the vendor marked for deletion and it blocks only after blocking in XK05
    Thats correct, If the vendor was not blocked at PO creation, then system has to allow the follow on activities, explained in OSS note 129836
    4. It allows to post GR and IR for the vendor marked for deletion and also in blocked in XK05.
    same as for Q3, explained in OSS note 129836

  • How to see materials marked for deletion

    Which is the T-Code to see  materials marked for deletion . if yes where

    Hi RM,
    You can check material marked for deletion by using transaction code MM06.
    On this screen you can check whether material is marked for deletion at Client level, plant level, storage location level, valuation type level, Sales org level, Warehouse number level or storage type level.
    Hope this resolves your issue, reward if helpful.
    Regards,
    Avinash.

  • Vendor - MArk for Deletion at Comp code & Pur Org Level

    Hi Gurus
    I want a list of vendors (about 150 Vendor)  to be  Marked for Deletion at Comp code & Pur Org Level  
    How to proceed ?

    hi,
    To be able to archive, you must set the deletion flag in the master record. You can set this flag for a complete vendor or for individual company codes or purchasing organizations.
    You can archive data from different tables using the archiving object FI_ACCPAYB...
    Mark a vendor for deletion centrally as follows:
    Choose Master records ->Maintain centrally -->Mark for deletion.
    The initial screen appears.
    Enter the vendor account number and, if you wish, the company code and a purchasing organization.
    If you do not specify the key for a purchasing organization, you cannot delete this area at a later date, should you wish to.
    Select ENTER .
    The screen for specifying data for deletion appears.
    Select data to mark for deletion by clicking next to the appropriate field.
    Save your entries by choosing Vendor ->Save.
    The system displays the initial screen, with a message confirming that the data has been saved.
    Mark a vendor master record for deletion for the Accounting Department as follows:
    Choose Master records -> Mark for deletion.
    The system displays the initial screen.
    Enter the vendor's account number and the company code.
    Select ENTER .
    The system displays the screen for selecting areas to mark for deletion.
    Select the data either in the company code or in all areas to mark for deletion.
    If you click next to the All areas field, the system will later delete all data for all company codes and for all purchasing areas in this vendor master record.
    Save your entries by choosing Vendor -> Save.
    After you mark a vendor master record for deletion, you can still post to the vendor account. This is necessary, since you might still need to clear open items. When you post, the system issues a warning that you are posting to an account that is marked for deletion.
    Displaying Archived Vendor Master Data
    To display single documents for the archiving object FI_ACCPAYB using Archive Information System you require an information structure that has been created based on one of the following standard field catalogs provided by SAP:
    ●     SAP_FI_ACCPAY_1 (vendor master data FI)
    ●     SAP_FIACCPAY_2 (vendor master data SD)
    Each information structure must be active and filled.
    Edited by: Priyanka Paltanwale on Aug 21, 2008 9:09 AM

  • Check Point VPN-1 Securemote service causes Error 1075: The dependency service does not exist or has been marked for deletion

    Has anyone ever managed to solve this one?
    We have a problem on Windows 7 SP1 32bit systems.
    when we try to start the Check Point VPN-1 Securemote service we get this message:
    Error 1075: The dependency service does not exist or has been marked for deletion
    When we install a clean Windows 7 from an ISO the checkpoint client without any issues
    when we use the same Windows Setup source and install it from SCCM TS - the CheckPoint client doesn't start
    the client we're installing is : CP_SeucRemoteSecureClient_NGX_R30_HFA3
    which is supported for Win7 x86
    other than that there are no special prerequisites for the CheckPoint client. therefore we know the problem is local :/
    we tried to isolate and minimize the cause of the issues by trying to see the differences between a clean installation from ISO and a clean installation from SCCM
    We know for sure the problem is not from SCCM Client, Programs and Features, Updates, Group Policy
    it seems like the configuration is the same but we can't seem to find any online solution about this issue
    any suggestions?
    thanks
    Tamir Levy
    Tamir Levy

    Hi,
    Please check if all the dependencies services are running, if not, please start them:
    DNS Server
    Remote Procedure Call (RPC)
    Netlogon
    Server
    Workstation
    Any error message, please post back.
    You can also check solution in this article:
    http://support.microsoft.com/kb/269375
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • SAP - Material Master- If a Material Record is marked for deletion

    If a Material Record is marked for deletion at client level, would this material be available for MRP runs and Physical inventory purpose.

    Hi Hemant
    If the material is just marked for deletion, it gives the flexibilty to revert back your decision and have them live. For this reason, the behavouir is controlled by system messages. The system will allow you to post inventory if the system message (M7 127)is configured as Warning under Materials Management --> Inventory Management and Physical Inventory --> Define Attributes of System Messages. The same way we can configure for Purchasing as well.
    But from a MRP run prespective, it will terminate as mentioned by Mario.
    If you want to get rid of a material from your system, then refer to the below thread
    how to delete material
    Best Regards
    Sathees Gopalan

  • Mark for deletion and Discontinuation difference?

    Hello,
    What is the difference between using MM17 and WSE4 for an article. I understand that using MM17 i can mark the article for deletion and by using WSE4 i would make the article to be discontinued. But when we run the archiving program will the article be removed from the system in both the cases?
    Thanks,
    Anju.

    Hi Anju,
         Marked for Deletion :
    When you mark an article for deletion,the following consequences occur
    1)The listing conditions ared deleted
    2)The Article master record remains valid
    3)Stock may be available
    4)You can sell the article
    5)You can't place any orders on this article
    Discontinuation of Article :
    When you discontinue any article,the following consequences occur
    1)Article master data is deleted from the database itself
    2)Purchasing info records are deleted
    4)Listing conditions are also deleted
    Hope it helps.
    Rgds,
    Aram.

Maybe you are looking for

  • Audio Line-in Port not working after upgrading to Lion

    I have recently upgraded to OS X Lion... since then, I am trying to continue my Rosetta Stone program, and it hasn't been able to detect a mic. So i opened system prefs and looked and it won't register any of the 3 different mics I have plugged in. T

  • Finalizer class

    Dear All, I have some question about Java as OO - programming language especially in UML. I've try to do code generation. I found out the tool support method 'finalizer'(consider as special method for destruction of class). Can anyone tell me whether

  • Import consuming so much memory, resulting in system hang

    I am having a dump file of around 13GB in size. When I try to import it, then import starts normally & after sometime the memory consumption of imp.exe increased dramatically. After import of few tables the import fails with following error: kgefec:

  • Order of elements - how to get position of child ?

    Hi, I would like to check, if the name of the second element of root is "youngestSon". Is it possible to query this with xpath (I use xquery with xpath-expressions, in fact I already know the name of the element but want to get sure with an exist-sta

  • Transaction Data from multiple source systems

    Hi BW, I want to load transaction data from two source systems: SQ1CLNT100 QA and SQ1CLNT200 Training client. into one BW system. What is the best practice, do I need to create another data structure or can I mix the data for QA and training in one d