How to Create New Maintenance Order using IP30 against the deleted one

Dear Sir,
We have an equipment having Monthly Maintenance Schedule . Using IP30 , we had generated Maintenance Order for next 3 months (i.e Jan / Feb / March ) .  Due to some change in the Task List , We decided to Delete these earlier generated Maintenance Orders and then generate the fresh Orders usiing IP30 . To set Delete Indicator , we used Tcode IP02 and these Orders were marked with Delete Indicator .
Subsequently using IP30 , we tried  to generate fresh Maintenance Orders ( for month Jan / Feb / March ) for this Maintenace Plan.  But no fresh Orders are getting generated .  On Analysing it further , we find that for this Maintenance Plan ( Tcode IP02) under the tab <Maintenance plan Schedule Call > , against the Jan / feb / March months  Sceduling Type/Status is appearing as "Schedule Completed" .
Kindly guide us as how can we generate the fresh Orders .
With Thanks and Rgds
Sonia

Hi
I would suggest two option for this query:
Option1: You can use the existing (deletion flaged) orders, by deleting all the operation  in the created PM order and in order, goto Extras - select the Task list which you have done changes. In this option your exsisting plan is not distrubed.
Option2: If any way you want new PM orders, then Goto schedule of the plan & restart, system will ask wheather to delet/ skip the existing schedule.
Hope this options will help you to take decision.
Regards
S Ramanujam
Edited by: Ramanujam Srinivasan on Dec 29, 2009 8:13 AM
Edited by: Ramanujam Srinivasan on Dec 29, 2009 8:15 AM

Similar Messages

  • How to create new XML file using retreived XML content by using SAX API?

    hi all,
    * How to create new XML file using retreived XML content by using SAX ?
    * I have tried my level best, but output is coming invalid format, my code is follows,
    XMLFileParser.java class :-
    import java.io.StringReader;
    import java.io.StringWriter;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.TransformerHandler;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.XMLFilterImpl;
    public class PdfParser extends XMLFilterImpl {
        private TransformerHandler handler;
        Document meta_data;
        private StringWriter meta_data_text = new StringWriter();
        public void startDocument() throws SAXException {
        void startValidation() throws SAXException {
            StreamResult streamResult = new StreamResult(meta_data_text);
            SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try
                handler = factory.newTransformerHandler();
                Transformer transformer = handler.getTransformer();
                transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                handler.setResult(streamResult);
                handler.startDocument();
            catch (TransformerConfigurationException tce)
                System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
            super.startDocument();
        public void startElement(String namespaceURI, String localName,
                String qualifiedName, Attributes atts) throws SAXException {
            handler.startElement(namespaceURI, localName, qualifiedName, atts);
            super.startElement(namespaceURI, localName, qualifiedName, atts);
        public void characters(char[] text, int start, int length)
                throws SAXException {
            handler.characters(text, start, length);
            super.characters(text, start, length);
        public void endElement(String namespaceURI, String localName,
                String qualifiedName) throws SAXException {
            super.endElement("", localName, qualifiedName);
            handler.endElement("", localName, qualifiedName);
        public void endDocument() throws SAXException {
        void endValidation() throws SAXException {
            handler.endDocument();
            try {
                TransformerFactory transfactory = TransformerFactory.newInstance();
                Transformer trans = transfactory.newTransformer();
                SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
                DOMResult dom_result = new DOMResult();
                trans.transform(sax_source, dom_result);
                meta_data = (Document) dom_result.getNode();
                System.out.println(meta_data_text);
            catch (TransformerConfigurationException tce) {
                System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
            catch (TransformerException te) {
                System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
    } CreateXMLFile.java class :-
    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();
    Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
    class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
    * In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
    is not an XML type text, it just an Normal text Why that ?
    * Please help me what is the problem in my code?
    Cheers,
    JavaImran

    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    </code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
    <code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();     
    * I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
    * I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
    Thanks,
    JavaImran{code}

  • How to create a sales order using a catlog numer

    hi,
        is it possible to create a sales order using a catlog number of the material .. did  any one work on this type ... and how to maintain catalog number for a material?
    thank you
    mmn

    Do NOT USE BAPI_SALESORDER_CREATEFROMDATA, that FM is obsolete!
    Use BAPI_SALESORDER_CREATEFROMDAT1 .
    To build a reference to your contract you have to supply ORDER_HEADER_IN.
    Here´s a sample:
    MOVE:
    gs_vbak-vbeln TO ls_bapisdhd1-refobjkey,
    gs_vbak-vbeln TO ls_bapisdhd1-ref_doc,
    gs_vbak-vbtyp TO ls_bapisdhd1-refdoc_cat,
    gs_vbak-auart TO ls_bapisdhd1-refdoctype.
    also gothrouh the links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2b-%2bsimple%2bprogram%2bto%2bcreate%2bsales%2border%2busing%2bbapi

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • How to create open sales order using BAPI....?

    Hi Guru's,
    please help me how to create open sales order and which BAPI i have to use for open sales order.
    please provide any program logic related to this or step by step process.....
    that would be helpful to me.
    thanks in advance...
    Srinivas....

    Hi sreenu,
    Open PO or Open sales order means that the complete cycle is not complete. That means the Sales order is not completely delievered or is not billed or is not paid for. Only once the cycle is completed the order status shows as complete untill then its Open.
    You can use VA05 to find open sales orders.
    Similarlry open PO's are those PO's whos inbound delivery is not complete or whos goods receipt is not complete and whos payment is not done to the vendor
    U cannot directly find the open PO and open SO from any table.
    That u have to calculate from the status of the PO and SO and then check wheteher that is complete or not.
    U have table VBUP for SO status.Check out the fields in that table
    pls see the below link.
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    http://msdn.microsoft.com/en-us/library/cc185190.aspx
    thjanks
    karthik

  • How to create a sales order using PO ALE Idoc

    Hi,
    I  have a purchase order in my ECC6 system, and output for this PO is ALE idoc.
    Now I want to create a Sales order using that Idoc in the same system,
    can anbody please tell the procedure
    sreeram

    Do NOT USE BAPI_SALESORDER_CREATEFROMDATA, that FM is obsolete!
    Use BAPI_SALESORDER_CREATEFROMDAT1 .
    To build a reference to your contract you have to supply ORDER_HEADER_IN.
    Here´s a sample:
    MOVE:
    gs_vbak-vbeln TO ls_bapisdhd1-refobjkey,
    gs_vbak-vbeln TO ls_bapisdhd1-ref_doc,
    gs_vbak-vbtyp TO ls_bapisdhd1-refdoc_cat,
    gs_vbak-auart TO ls_bapisdhd1-refdoctype.
    also gothrouh the links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2b-%2bsimple%2bprogram%2bto%2bcreate%2bsales%2border%2busing%2bbapi

  • How to create a sales order using bapi

    hi
        i need to create a sales order using bapi.
    can any one help me

    Do NOT USE BAPI_SALESORDER_CREATEFROMDATA, that FM is obsolete!
    Use BAPI_SALESORDER_CREATEFROMDAT1 .
    To build a reference to your contract you have to supply ORDER_HEADER_IN.
    Here´s a sample:
    MOVE:
    gs_vbak-vbeln TO ls_bapisdhd1-refobjkey,
    gs_vbak-vbeln TO ls_bapisdhd1-ref_doc,
    gs_vbak-vbtyp TO ls_bapisdhd1-refdoc_cat,
    gs_vbak-auart TO ls_bapisdhd1-refdoctype.
    also gothrouh the links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2b-%2bsimple%2bprogram%2bto%2bcreate%2bsales%2border%2busing%2bbapi

  • How to create a Sales Order using BAPI_SALESORDER_CREATEFROMDAT1 in VC

    I am new to Visual Composer.
    I read the tutorial and created a Model which fetches the Sales Orders from the R/3 using <b>BAPI_SALESORDER_GETLIST</b>, every thing worked fine.
    I am trying to create a sales order in R/3 using <b>BAPI_SALESORDER_CREATEFROMDAT1</b>, following are the steps I did:
    1)Create a model
    2)Drag a model element(iView) on to the designer
    3)Double click the iView and Drag the function <b>BAPI_SALESORDER_CREATEFROMDAT1</b> on to the iView Designer
    Now my question is, for <b>BAPI_SALESORDER_CREATEFROMDAT1</b> there are some mandatory fields as mentioned in the document.
    1. Mandatory entries:
    ORDER_HEADER_IN :
    DOC_TYPE     Sales document type
    SALES_ORG    Sales organization
    DISTR_CHAN   Distribution channel
    DIVISION     Division
    ORDER_PARTNERS..:
    PARTN_ROLE   Partner functions, SP sold-to party
    PARTN_NUMB   Customer number
    ORDER_ITEMS_IN..:
    MATERIAL     Material number
    REQ_QTY      Order quantity in sales unit
    I can pass the values of structure <b>ORDER_HEADER_IN</b> from a input form but how should I pass mandatory values for tables <b>ORDER_PARTNERS</b> and <b>ORDER_ITEMS_IN</b>.
    Ideally I should have one form where I can send all the mandatory items in the form.
    Thank you,
    Vamsi

    Hi,
    how did you return the materials in the Table View. I tried to do it, but it only returns one material?
    Regards,
    Matthias

  • Problem in creating new delivery order using BAPI_OUTB_DELIVERY_SPLIT_DEC.

    I'm using BAPI_OUTB_DELIVERY_SPLIT_DEC. It's creating a new delivery with zero quantity. I am populating the del_qty field in the Item_data table with the desired quantity. Can anyone suggest what should be done to get the new delivery order with the desired splitted quantity?

    Hi,
    i guess the delivery your are using is already full quantity is issued.
    try to use the delivery number for which no quantity has been issued.

  • SAX: How to create new XML file using SAX parser

    Hi,
    Please anybody help me to create a XML file using the Packages in the 5.0 pack of java. I have successfully created it reading the tag names and values from database using DOM but can i do this using SAX.
    I am successful to read XML using SAX, now i want to create new XML file for some tags and its values using SAX.
    How can i do this ?
    Sachin Kulkarni

    SAX is a parser, not a generator.Well,
    you can use it to create an XML file too. And it will take care of proper encoding, thus being much superior to a normal textwriter:
    See the following code snippet (out is a OutputStream):
    PrintWriter pw = new PrintWriter(out);
          StreamResult streamResult = new StreamResult(pw);
          SAXTransformerFactory tf = (SAXTransformerFactory) TransformerFactory.newInstance();
          //      SAX2.0 ContentHandler.
          TransformerHandler hd = tf.newTransformerHandler();
          Transformer serializer = hd.getTransformer();
          serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");//
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"pdfBookmarks.xsd");
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"http://schema.inplus.de/pdf/1.0");
          serializer.setOutputProperty(OutputKeys.METHOD,"xml");
          serializer.setOutputProperty(OutputKeys.INDENT, "yes");
          hd.setResult(streamResult);
          hd.startDocument();
          //Get a processing instruction
          hd.processingInstruction("xml-stylesheet","type=\"text/xsl\" href=\"mystyle.xsl\"");
          AttributesImpl atts = new AttributesImpl();
          atts.addAttribute("", "", "someattribute", "CDATA", "test");
          atts.addAttribute("", "", "moreattributes", "CDATA", "test2");
           hd.startElement("", "", "MyTag", atts);
    String curTitle = "Something inside a tag";
              hd.characters(curTitle.toCharArray(), 0, curTitle.length());
        hd.endElement("", "", "MyTag");
          hd.endDocument();
    You are responsible for proper nesting. SAX takes care of encoding.
    Hth
    ;-) stw

  • How to create a sales order using a quatation reference

    Hi,
      I have a created a quatation.Now i want to create sales order using that quatation as a reference.will u pls tell me the way of doing it.send me the sample code if any and send me the related information and links.
    Regards,
    Kiran

    Go to VA01, enter the order type and then click on 'Create with Reference' and enter your quotation number there in the subsequent popup.

  • How to make new tab open right next to the original one and not at the end?

    I use things like Focus Last Tab and Open Relative add-ons for FF to get this behavior, how can it be done in Safari.
    sorry for the 3 posts but they were different questions wanted to keep them separate.
    Safari 4.0

    bump

  • How to create new rules and using 'From' condition ?

    All,
    I know, rules are a quota max as 256 ko.
    So, my problem is to move all mail from external writer of my directory.
    I want to create a folder Inbox\external where all mail have to be move on except internal mail.
    So I looked at :
    [-From <RecipientIdParameter[]>] ; [-FromAddressContainsWords <MultiValuedProperty>] and [-ExceptIfFrom <RecipientIdParameter[]>]  but, because of quota limitation, I could add all internal exchange recipients.
    Any idea ?
    Thanks

    Hi,
    If you would like to move the emails from external senders to a specific folder using Inbox rule.
    I’d recommend you create a  Dynamic Distribution Group and name it as
    internalrecipients. Then set it as All recipients in the filter tab. Now it is a group which contains all users and contacts in your organization.
    Next, set the Inbox rule in your client as below:
    Click on the Inbox folder and  new a Rule.
    Apply the rules on messages I receive.
    Send only to me.
    Move to the specified folder (new a folder named external).
    Except if from people or public group (internalrecipients).
    Run the rule now on message already in “Inbox”
    Finish.
    See if it works as you expected.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • When I create a Planned order using PDS, the Setup time is coming as 0.

    We have been using PPMs for a long time, and now we are trying to migrate to PDS.
    We are currently in SCM 7.0.
    I successfully created the PDS in APO (using CIF from R/3). In the PDS (in APO), for a particular activity, I see the  activity type is "S", and the Activity Duratiion (Fixed) is 43,200 Seconds.
    However, when I create a planned order using this PDS, the activity time is zero (End time = Start Time).
    When we use the PPM the setup time comes correctly.
    Any help will be appreciated..

    Senthil,
    Thanks for your views.
    I have checked all that you have suggested, and it is okay. The issue still persists.
    One thing that I noticed was that it is working fine in the old SCM 5.0 environment - the setup time is coming correctly in the planned order.
    However, we have this issue in the new SCM 7.0 environment. Is there something that is different in SCM 7.0 in terms order explosion ?
    Reagrds,
    Sastry

  • How to create a Sales Order

    Hi Guys,
    Any one tell me how to create a Sales Order. What are the Mandatory parameters we need to pass while creating. Thanks in advance.
    Thanks
    Kiran.B

    Hello kiran,
    <b>**REMEMBER: please do reward points for good answers**</b>
    1.      Create sales order
    This process step can be triggered as follows:
    The customer accepts the quotation and places an order.
      You create a sales order with reference to a quotation. For more information, see Structure link processing Quotations. The system copies the items from the quotation.
    You create a sales order. This is also possible without performing the previous steps.
           2.      Enter products
    You enter products requested by customers.
    Note
    If necessary, you can configure products again for every item of the sales order. You can find more information in the business scenario variant Structure linkQuotation and Order Management (Configure-to-Order) and under Structure linkProduct Configuration in the Sales Transaction.
           3.      Check availability, schedule order and create requirements
    The system triggers an availability check and scheduling in SAP APO for every order item in SAP CRM. The confirmed quantities and dates are confirmed by SAP APO to SAP CRM, and saved in the sales order (see Structure linkAvailability Check in the Sales Order). At the same time, a customer requirement is created in SAP APO.
    Note
    You can also execute the availability check in SAP R/3. You can find more information under Structure linkAvailability Check with SAP R/3.
           4.      Maintain and determine conditions
    The system determines the prices and the value of individual items. If necessary, you can process these. For more information, see Structure linkPricing.
           5.      Perform credit check
    SAP R/3 executes a credit check based on the results of pricing in SAP CRM. The result of the credit check is confirmed in SAP CRM, and saved as the credit status at item level. For more information, see Structure linkAutomatic Credit Check.
           6.      System replicates sales order
    After the sales order has been saved in SAP CRM, complete and without errors, it is replicated for logistics processing in SAP R/3. Order data is transferred together with confirmed scheduling lines to SAP R/3.
           7.      System receives sales order
    After replication to SAP R/3, you can change the sales order in SAP CRM and SAP R/3. You can find more information on this under Structure linkData Exchange for Sales Transactions: CRM Enterprise - SAP R/3
           8.      Send order confirmation to customer
    You can send the order confirmation either electronically, or in print to the customer. You can find more information under Structure linkSales Order Confirmation by E-Mail.
           9.      Monitor status of order
    Regards
    Ak

Maybe you are looking for

  • A little help re: memory timings.

    Alright guys, I'm a little confused with how the memory timings specified by corsair map to the settings in the BIOS, so if anyone can point me in the right direction, it'd be much appreciated. Corsair state: Cas Latency : 2-3-3-6-T1 Cheers!

  • Can't install grub

    hi.. i'm installing arch linux.. but when i want to install grub appears this message Error 22: No such partition i've try to use grub : find /boot/grub/stage1 (hd0,5) root (hd0,5) setup (hd0) but after appears: Checking if "/boot/grub/stage1" exists

  • XMLImporter errors

    I am trying to import my PG XML files into the database. I have already moved them to the $JAVA_TOP directory on our application server. When I try to run the command - java oracle.jrad.tools.xml.importer.XMLImporter AuditDetailPG.xml -rootdir $JAVA_

  • My kind of case/sleeve for my iPad 2

    I just want to share this with you...  I bought the following nifty leather sleeve for my iPad 2 for € 50. For once something that is not made in China or Japan or Malaysia or Korea or USA - no, it's made in Turkey. http://www.trexta.com/Default.aspx

  • Calibrating your monitor(s) in Win7

    Just in case others are not aware of it.. There is an effective way to calibrate your monitor(s) in Win7. Control Panel >Color Management (Still wading my way thru' WIN 7 and I stumbled upon it while trying to calibrate my monitor(s)) I dont think it