Can we undelete a BOM ?

I used the CSAP_MAT_BOM_DELETE function module to delete / expire the BOM.
Is there a way to "undelete" a BOM?
If I have deleted the BOM with a Change number which sets the BOM items to expired, can I re-vitalize the BOM items again?
I cannot seem to find an SAP function module to do this.
Does anyone know how this can be done, if at all?
Thanks for your input.
Fred

Hi Fred,
   you can try to uncheck flag to '' if at all any field was set to 'D' after u delete/expire BOM
Theja.

Similar Messages

  • How can I undelete an internal order  - error KO444

    We have an internal order that is marked for deletion. I need to undelete to modify some of the content as it is being referenced by another process and causing an error
    However when I go to KO02 I get error message
    Order R00765436 is flagged as "deleted" -> display only
    Message no. KO444
    So I can't modify the order because it is flagged as deleted but I can't undelete as it is flagged as deleted !
    ANyone know how I can undelete?

    Run this program: ZKLOEKZ
    *$*$                                                                $*$*
    *$ Correction Inst.         0120024545 0000135593                     $*
    *$                                                                    $*
    *$ Valid for       :                                                  $*
    *$ Software Component   SAP_APPL   SAP Application                    $*
    *$  Release 30F          All Support Package Levels                   $*
    *$  Release 31G          To SAPKH31G13                                $*
    *$  Release 31H          All Support Package Levels                   $*
    *$  Release 31I          All Support Package Levels                   $*
    *$  Release 40A          To SAPKH40A25                                $*
    *$  Release 40B          All Support Package Levels                   $*
    *$  Release 45A          All Support Package Levels                   $*
    *$  Release 45B          All Support Package Levels                   $*
    *$  Release 46A          To SAPKH46A34                                $*
    *$  Release 46B          All Support Package Levels                   $*
    *$  Release 46C          All Support Package Levels                   $*
    *$  Release 310          All Support Package Levels                   $*
    *$  Release 470          All Support Package Levels                   $*
    *$  Release 500          All Support Package Levels                   $*
    *$  Release 600          All Support Package Levels                   $*
    *$                                                                    $*
    *$ Changes/Objects Not Contained in Standard SAP System               $*
    *$*$                                                                $*$*
    *& Object          REPS ZKLOEKZ
    *& Object Header   PROG ZKLOEKZ
    *& PROGRAM ZKLOEKZ
    *>>>> START OF INSERTION <<<<
    PROGRAM ZKLOEKZ.
    TABLES: vsaufk, aufk.
    SELECTION-SCREEN: ULINE,
                        COMMENT /1(72) LINE1,
                        COMMENT /1(72) LINE2,
                        COMMENT /1(72) LINE3,
                        COMMENT /1(72) LINE4,
                        ULINE, SKIP 1.
    PARAMETERS:
       TESTMODE   DEFAULT 'X' AS CHECKBOX.
    SELECT-OPTIONS:
       order     FOR vsaufk-aufnr MATCHCODE OBJECT orde.
    DATA: count LIKE sy-dbcnt.
    DATA: BEGIN OF auf OCCURS 1.
             INCLUDE STRUCTURE vsaufk.
    DATA: END OF auf.
    DATA: BEGIN OF status OCCURS 1.
             INCLUDE STRUCTURE jstat.
    DATA: END OF status.
    INITIALIZATION.
       MOVE 'ATTENTION !!!' TO LINE1.
       MOVE 'SAP does not accept responsibility for problems that' TO LINE2.
       MOVE 'might arise from the use of this report !' TO LINE3.
       MOVE 'Please see note 196637.' TO LINE4.
    START-OF-SELECTION.
       SELECT * FROM vsaufk INTO TABLE auf
                  WHERE aufnr IN ORDER
                  AND   stat  = 'I0013'
                  AND   ( autyp = '01' OR autyp = '04' )
                  AND   loekz = 'X'.
       status-stat = 'I0013'.
       status-inact = 'X'.
       APPEND status.
       IF sy-subrc <> 0.
         WRITE 'No internal/CO-production orders found !'.
         EXIT.
       ENDIF.
       LOOP AT auf.
         CALL FUNCTION 'STATUS_CHECK'
           EXPORTING
             objnr             = auf-objnr
             status            = 'I0013'
           EXCEPTIONS
             status_not_active = 2.
         IF sy-subrc = 2.
           WRITE: / 'Order ', auf-aufnr, ': Deletion indicator not active.'.
           CONTINUE.
         ENDIF.
         IF testmode IS INITIAL.
           CALL FUNCTION 'ENQUEUE_ESORDER'
             EXPORTING
               aufnr        = auf-aufnr
             EXCEPTIONS
               foreign_lock = 1.
           IF sy-subrc <> 0.
             WRITE: / 'Order ', AUF-AUFNR, ' is currently blocked.'.
             CONTINUE.
           ENDIF.
           CALL FUNCTION 'STATUS_CHANGE_INTERN'
             EXPORTING
               objnr  = auf-objnr
             TABLES
               status = status.
           CHECK sy-subrc = 0.
           UPDATE aufk SET  aenam = sy-uname
                            aedat = sy-datum
                   WHERE    aufnr = auf-aufnr.
           IF sy-subrc <> 0.
             WRITE: / 'Order ', auf-aufnr, ': Error during AUFK-Update.'.
           ENDIF.
         ENDIF.
         WRITE: / 'Order ', auf-aufnr, ': Deletion indicator removed.'.
         IF NOT testmode IS INITIAL.
           WRITE: ' - Testmode'.
         ENDIF.
         ADD 1 TO count.
         IF count = 100.
           IF TESTMODE IS INITIAL.
             COMMIT WORK.
           ENDIF.
           CLEAR count.
         ENDIF.
       ENDLOOP.
       IF TESTMODE IS INITIAL.
         COMMIT WORK.
       ENDIF.
       SKIP 1.
       WRITE: 'Program finished.'.
    *>>>> END OF INSERTION <<<<<<

  • How we can disable access to BOM via the Display Master Recipe (C203)?

    Hi Gurus,
    How we can disable access to BOM via the Display Master Recipe (C203)?
    Thanks!

    Hi Mae Baraquio  
    Have you tried screen variant to make it as display mode.
    please refer below document for your reference.
    Learning SHD0 with Example
    if you find any query kindly revert back.
    Thanks & Regards
    Sandeep Kumar Praharaj

  • How can we use two BOM

    Dear all,
    my scenario is in this way way-
    how can we use two BOM for same material.first BOM for inhouse production. Second one for Subcontracting.(means i have to create Purchase order for partial qty.

    Dear
    1.Goto MM02-MRP4 view -Maintain two Production Version based on two BOM ( Alternative1 with Routing will be PV1 will be used for production in house  where as Alt2 with routing having PP03 as control key for external operation -PV2 )
    2.Assign the relavant production Version-PV2 in Subcontracting Info Record in ME11
    Now, based on the production version assigned in Info Record system suggests the BOM while BOM explosion in Subcon Purchase Order
    REFER : Subcontracting & BOM  alternative
    Hope this will solve your issue
    Regards
    JH
    Edited by: Jiaul Haque on Sep 29, 2010 1:27 PM

  • How can I undelete histiry files? Please

    How can I undelete the history files, or just view them?

    Not sure if you already tried this. Restart Entourage while holding down the option key and then choose rebuild.
    Might bring it back.
    Good luck!
    JL

  • Can I undelete a backup?

    Long story....but I decided to "clean out" my time machine backups......I was going to refine what I wanted to be backed up.....
    Now my iphoto library file has disappeared???
    Can I undelete the backups on my time machine? 
    Any ideas?
    I have lost ALL of my photos and I am seriously suicidal Not really, but I'm really annoyed.

    This is really an iPhoto question that would best be handled by the experts in the iPhoto support community.
    iPhoto for Mac
    Try the following:
    Quit iPhoto if it is open
    Hold down the option key on your Mac....and keep holding it down....while you click to open iPhoto
    This is bring up a box to select your iPhoto library
    Click on the library to highlight it
    Click Choose
    If all is well, and you have not changed other settings, iPhoto will open with your images available
    Best to run another backup as soon as you can

  • Can't quey by Bom mass change  No after implementing it.

    when running Bom mass change , i cant query by its number ..is that acceptable ??

    See KB Article:  http://support.apple.com/kb/HT1274 Changing or resetting an account password
    my current country does not have a apple store....
    AS are not the only places that repair Macs.  Check out the following:
    International AASP’s & Other Services
    AASP's Outside of the USA
    How to find your nearest Apple Authorized Service Provider (AASP)
    Also, there are User Groups that can possible help.

  • How can we pick WBS BOM for a Subcontrat order

    Hi,
    We are using WBS BOM instead of Material BOM for our projects.We also use Subcontract order scenerio.
    Where we wnat to pick WBS BOM.
    Can any one sujjest how to pick WBS BOM.
    Regards,
    somiraghu

    As per Standard SAP the stock should be unresrticted stock for Subcontracting process.It should not be a special stock.

  • Can I Create a BOM by Extending from a 2 Level BOM ?

    I am creating a BOM using transaction ZC31.  I want to create my BOM by extending selected items (BOMs) from a 2 level BOM.  In other words I want to extend some of the BOMs in my 2 level BOM to the one I am creating.  Is there a way to do that other that extending them one by one?

    Yes and No:
    No, you can not - as in FCPX - create your own 'Share Destinations', iM lacks (officially) any APIs too teach it new tricks.
    Yes, export from with iM in a high-res format (e.g. 1080 Apple devices), and use that as source for any Compressor output Same workflow, for free, would do Mpeg Streamclip, the most recommended converter tool for MacOs....

  • Can I undelete or retrieve deleted photos from my Iphone?

    I have deleted a few important photos from my Iphone. Is there a way to get these back?
    The phone has not been synched with these photos.
    Here is the full story:
    I rented a car in Florida. Took photos of a few minor scratches when I accepted it.
    Returned the car and since the case was closed for me, deleted these photos.
    Now the car rental company claims damage to the back door and has charged me $250 on my Credit Card.
    I am disputing the charge with my bank, but it would be nice to have the deleted photos as proof.
    I tried several software that are claiming they can do this, but they do not even recognize the attached Iphone.
    Thanks

    Well, it's true that if those photos haven't been synched via iTunes before you deleted them, it's almost impossible to restore them. For other Mac users who see this thread and meet similar suffering but synced before those files are deleted, go to this article for how to undelete iphone files via iTunes (pretty new and useful). Regards.

  • How can I select alternative BOM when creating subcontract purchase order?

    In our business, a finish good material always has different production versions at the same time. Each of production versions has its own alternative BOM. When I create a planned order, I can select wanted BOM through specifying production version.
    But, when I creating subcontract purchase order, there is no field for me to specify the production version or which alternative BOM I prefer. In this case, I need to create a planned order at first. And then, convert the planned order to purchase. Only through this way, I can create a subcontract purchase order with my wanted BOM.
    So, I wonder if there is any way to select alternative BOM directly when creating subcontract purchase order.
    Thanks a lot!
    Regards
    Robbie

    Dear Mr. MM
    can you give me additional information about your solution?
    BUT I would not expect the sytem to offer you during the Purchasing cycle the different Production Versions as it is not meant to be. I remember having the same requirement some time ago and we solved it the way I described above, additionally we created a Pop up window with a user exit during the PO creation which offered the different production versions and if the one linked with the quota arrangement, the standard PV, is used in the PO.
    We also have the same problem, we activated businessfunction SCM_GEN_02 so that it is possible to have several production versions for one supplier, but unfortunatly it is not possible to change the production version in the purchase order. (business function does not seem to be very integrated)
    So i would be very interested in your solution because acually it seems that i have to modify the sap standard.
    Thank you and best regards
    Lisa

  • How can I undelete a calendar in the trash (outlook 2013)

    I am hoping someone here can help. I was trying to get my outlook calendar on to my Iphone and so installed Icloud. It created a calendar on my outlook folder that said this computer only. I (stupidly) deleted that thinking, I don't want appointments JUST
    on that calendar.
    Now it's in the trash and when I get new appointments, and accept them, it goes to the deleted folder in the trash which I can't SEE in the rest of the outlook calendars.
    Obviously I'm not super tech savvy (though I thought I was above average before this incident.) I could really use some help. I found something about signing out of Icloud which I did, but I still can't recover that magical calendar from the trash.  
    Anyone have any ideas for me?
    -MMIGuana

    Thanks for responding. I did try that, but it isn't in my Deleted files, it is in my Trash. I can't seem to drag it anywhere else.
    When I click on the Calendar (this Computer Only) Properties, it says it's stored in [email protected]/Trash, but when I go to the corresponding Outlook data file folder, I can't see what's inside that file.
    I even went to my original email system through a browser again because I noticed the Trash count in each was the same, but there is no calendar stored there.
    I'm so fried and exhausted, seems like I can't find the answer anywhere. (I did find your solution about doing the macro to copy over to the primary calendar in Outlook and even figured out how to do that, but I don't want my primary calendar in the Trash/what
    if it deletes or purges?  )
    Any other ideas I might try? Thank you.
    -Marci

  • Can I undelete Time Mashine backup? Restoring folders structure.

    When surfing Time Mashine wanted to delete one of the files and when it was highlited thought I cliked delete *this name* file  form backup. It said operation cant be undone and started to delete! Not Just deleted but started to delete the whole back up. My fault.
    I cancelled the process, but me "video" "music" folders are gone only documents left undeleted.
    I don't wright on this disk anything and looking for programm to restore file. "Data rescue" programm restores files whith no structure and my family archive on DVD seams lost forever.
    Is any way to restore data with folders structure. May be I could restore any spesial file for OS X could see time mashine back up again.

    Any thoughts how to restore data? There should be the way to restore?

  • Can I undelete my mail?

    My Rider University student mailbox (which uses Zimbra) was almost full, so I decided to set up a corresponding mailbox on my mac's Mail application. I set it up, and it downloaded all the emails from my inbox, and then I went back into my webmail and deleted everything from my inbox. I quit mail and turned off my computer for an hour or two.
    When I turned on my machine and opened my Mail application, I saw my 1000+ emails sitting in my inbox for a second or two, then they all disappeared. I must have accidentally set some setting that caused it to synchronize with the server, when what I wanted was to keep my emails on my mac instead of on the server.
    This only happened a few minutes ago, and I still have Mail open. Is there anything I can do to get my emails back?
    Thanks,
    Ahmil

    It was an IMAP account, and yes, I'm pretty sure it did completely download all the emails (it took a while).
    Then you erased the ones on the Server!? Likely Mail started Syncing to the Server then!?
    It may be possible to recover some erased ones, but you must quit using the Computer immediately, because the OS will think it can write to those freed blocks on the disk.
    Either boot this one in Target mode...
    http://docs.info.apple.com/article.html?artnum=58583
    And recovering from another Mac, or booting this Mac from another HDD, then using Data Rescue II...
    http://www.prosofteng.com/products/data_rescue.php
    (Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
    Or professional Data Recovery Services.
    BUT, every second you use that Mac the chances will be slimmer.
    Should I copy the folder to somewhere else?
    On Mail...
    First Quit Mail, then I'd backup/copy these two Mail folders to a Flash Drive or such.
    Users/YourUserName/Library/Mail
    Users/YourUserName/Library/Mail Downloads
    (Could be a different folder here if you chose such in Mail Prefs)

  • How can I undelete, recover, or restore my web/browser history? HELP PLEASE PLEASE

    I accidentally deleted my history and I did not write down the urls i visited and I need those sites for school. please please.

    Once deleted the history is gone.<br />
    You can try the browser cache.
    Cache Viewer: https://addons.mozilla.org/firefox/addon/2489
    There are other things that need attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r53
    # Java Plug-in 1.6.0_05 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

Maybe you are looking for

  • How to get First line item in Table control for BDC.

    Hi, I have a requirement while creating the return order from the reference Sales order for BOM. Once I compare the line items and delete the items not to be returned, I want to read the first line item which in fact is header, to make some changes.

  • CTAS in Exadata (11.2.0.3) from 10gR2*10.2.0.4) = ORA-03120

    I am doing a CTAS to migrate data from a table in 10gR2 (about 800 million rows) and after about 5 hours I get ORA-03120:two-task conversion routine:integer overflow CREATE TABLE X TABLESPACE Z NOLOGGING AS SELECT /*+ parallel (a,16) */ * from Y@dbli

  • IView for webdynpro components

    Hi All, I have an application with multiple components.Right now I am able to create an iview at the application level but I want to create IViews for each of these specific components can someone kindly suggest me a way. Thanks in advance. Best rega

  • Hp 3030 mfp won't print pdf files in windows 7 it

    I am unable to print pdf files/documents and I am unable to scan documents into pdf format.

  • Property toplink.server.platform.class.name is deprecated, property toplink

    I am facing a current problem by trying to deploy my application which is using TopLink to OC4J 10.1.3. The problem is that it is written in the log.xml file: <MESSAGE> <HEADER> <TSTZ_ORIGINATING>2008-06-20T14:57:05.816+03:00</TSTZ_ORIGINATING> <COMP