Skipping number from assigned number range in PR

During the creation of Purchase Requisition system is not issuing a sequential number. For instance the number range assigned to document type is '120000000'  system issues number 120000001 to first PR. If we create second PR the number is not 120000002 but its either 120000005 or some other number from the same number range but not next number in the sequence.

hi,
For Requisitions generated by the MRP, if the fixed indicator on the
Requisition is not selected or the release indicator does not have a
final release, then when MRP is run again the original Requisitions can
be overwritten with a new one if the requirements change.
It depends on the settings and the different fixing and planning mode
indicators used in MD01 or MD03 or MD15, ....
So what may have happened in your system is the following :
- The MRP created Requisitions that were consequently not fixed (i.e.
  EBAN-FIXKZ = blank), which is normal.
- A user changed the Requisitioner (AFNAM) and / or the Purchasing
  Group (EKGRP) in ME52N.
  This did not fix the Requisitions, which is also normal.
  A Requisition becomes fixed in ME52(N) only if at least one of the
  following fields are changed EBAN-MENGE Quantity
                               EBAN-LFDAT Delivery date
                               EBAN-FRGDT Release date
Please also  check BADIs and user exits that changes the requisition.
Best Regards,
Arminda Jack

Similar Messages

  • Po number as assignment number for each item in MIR4 using substitution

    Hi All,
    Using substitution rule in GGB1 iam getting assignment number as PO number only for GL documents.
    But i need the same PO number as assignment number for cleared item documents...
    iam getting YYYYMMDD field as assignment number for each line item....but i need PO number...
    how can i achieve it...
    pls help experts...
    Regards
    Ram
    problem solved
    Edited by: gajeramesh on Feb 3, 2010 2:25 PM

    Hi,
    After creating the items you can write your own text upload program to upload the item texts. Note it cant be uploaded through BAPI or BDC.
    Search the forum for SAVE_TEXT FM, you will get lots of examples for this.
    Also Read the FM documentation for the above FM in SE37.
    Regards
    Karthik D

  • Copying PO Number from SO Number to Billing Document

    Hello,
    My requirement is that I need to copy the PO Number from Sales Order to the Billing document whenever there is a Return Order created. What would be the Copy routine number that I need to modify? Or do I need to create a new Routine and then update the Billing Item with the PO Number from Return Sales Order? Please let me know.
    Thank you,
    Venkata Phani Prasad K

    Hi
    What subroutine VOFM are you using in your copy rules? Copy this VOFM to your own VOFM in your range name, and add a line to copy the PO number from SO to invoice (see Note 327220 - VOFM function and its objects).
    Regards
    Eduardo
    PD: sorry, I wanted to update it and I've replied to myself.
    Edited by: E_Hinojosa on Jan 31, 2012 3:39 PM

  • How to get the Personal Number from Address Number

    Hi,
    I have one requirement which is as follows.
    I have one Customer. I am fetching Address Number(ADRNR) of this customer number from table KNA1.
    I want to find the Personal number linked to this Address number and Customer.
    Is there is any table or FM from where i will get the Personal number of the Customer using Customer number and Address number?
    Kindly Help

    Hi Sachin,
    Check this FM BUP_PARTNER_PERSNUMBER_GET
    " Check KNB1 and the Field name is PERNR, Most of the times this is not maintianed.
    " This refers to the Employees who are assigned as Customers
    " In XD03 go to the Company Code Data there you can find this Value
    " For more info contact your Functional Consultant
    " This is to the Best of my knowledge
    Also Check KNB1 but000 Tables
    Cheerz
    Ram

  • How to get master sales order number from delivery number

    Hi All,
    I need logic for getting master sales order number from available Delivery number.
    Note: There can be many SO's in diffrent levels.
    Finally i need to pick up master sales order no.
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    I have a outbound delivery[VL03N] 'X' in my system .
    Then for getting sales order no i am writing below code:
      SELECT single vbelv vbeln
             from vbfa
             INTO (vbelv, vbeln)
             where vbeln   EQ p_vbeln AND
                   vbtyp_n EQ 'J'.
    Then vbelv i need to pick up master sales order no.
        SELECT vbelv vbeln
               from vbfa
               INTO TABLE i_so
               where vbeln   EQ l_vbelv AND
                     vbtyp_n EQ 'C'.
    If i write code as above it is giving four sales orders which one of them is master sales order no!
    Thanks,
    Deep.

  • Find Sales order number from IDOC number

    I have a bunch of SO idocs, in status 64. They are then posted and Sales orders are created.
    How can I programatically find the Sales order Number from the Sales Order idoc number once it is in status 53 (other than going to EDIDS and checking if status = '53' and grabbing the 'STAPA2' field there ).

    Look at table EDIDS for sales order idocs and you can see SO number in any of STAPA1/2/3/4 variable for specific message id and message number.

  • Retreiving latest IDOC number from Invoice number

    Hi,
    I am interested in retreiving latest IDOC number from a Invoice.
    Usually we have multiple IDOC numbers for same Invoice number.
    This is a report requirement.
    thank you.
    praveen

    Hi,
    Use NAST with the invoice to get the latest record for that output type..
    use the table CMFP to get the IDOC number..The combination is
    NAST-CMFPNR = CMFP-CMFPNR..
    Then in the column CMFP-MSGV1 you can find the idoc number..
    Thanks,
    Naren

  • HT4061 IMEI number from "Part Number"??

    Can I retrieve an IMEI number from the "Part Number" given to me on the receipt from an iPhone 5 Flat Rate Repair? I have lost the phone since the repair and need a way to get the IMEI number for the insurance.

    Not from the part number, no. That same number would apply to millions of other iPhones as well. If you have the serial number, though, it's possible that Apple or your cell carrier could give you the IMEI number. It will also be visible in iTunes, if you ever backed up your iPhone to your computer. Launch iTunes, go to the Preferences, select Devices, and hover your cursor over the backup file for the iPod. That should show you the serial and IMEI number.
    Regards.

  • How to find black macbook model number from serial number?

    My friend has a black macbook, 2007 or late 2006 I think he said. Genius bar told him the logic board died, so I am looking for replacement part. Is there a way to find the model number from that? Or what parts it would take?
    Thanks.
    Message was edited by: Host

    Try this page:
    https://selfsolve.apple.com/GetWarranty.do
    That will give you the time when it was manufactured. From there, you can use an application like MacTracker to get the model information.
    http://mactracker.dreamhosters.com/
    ~Lyssa

  • How to retrive the number from the number range

    Hi
    i am using the oracle 9i I have the following table, it contains 4 milion records
    operator Number_series loc
    airtel 9849143161-9849143166 hyd
    symon 625421-625424 pune
    super 53246217-53246220 mum
    from the above mention table how could i retrive the data like
    operator number loc
    airtel 9849143161 hyd
    airtel 9849143162 hyd
    airtel 9849143163 hyd
    airtel 9849143164 hyd
    airtel 9849143165 hyd
    airtel 9849143166 hyd
    symon 625421 pune
    symon 625422 pune
    symon 625423 pune
    symon 625424 pune
    super 53246217 mum
    super 53246218 mum
    super 53246219 mum
    super 53246220 mum

    i am using the oracle 9i I have the following table, it contains 4 milion records
    operator Number_series loc
    airtel 9849143161-9849143166 hyd
    symon 625421-625424 pune
    super 53246217-53246220 mum
    from the above mentiond table how could i retrive the data like
    operator number loc
    airtel 9849143161 hyd
    airtel 9849143162 hyd
    airtel 9849143163 hyd
    airtel 9849143164 hyd
    airtel 9849143165 hyd
    airtel 9849143166 hyd
    symon 625421 pune
    symon 625422 pune
    symon 625423 pune
    symon 625424 pune
    super 53246217 mum
    super 53246218 mum
    super 53246219 mum
    super 53246220 mum

  • Idoc number from personal number in ECC

    Hi All,
    i am new to idocs ,please tell me how to get the idoc number using the personal number.

    https://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
    01. Go to T code We09 or WE10
    02.Give date range for Created on
    03.Give direction : Inbound or outbound
    04.Give basic Type/logical message/ Port etc  ( If you know - for faster search )
    05. Now next tab is Criteria for search in data record :--
    a. You need Segment name : find out segment name from we02 thru some existing / known Idoc .
    b. Field name : Fro WE02 can get this value
    C. Once you know Segment and field name of personal number - enter all three values and execute.
    You will get respective Idoc#
    Hope this helps. Let us  know if you need further input on this.
    Best Regards/Rajesh

  • How to trace sales order number from delivery number, when batch is split

    Hi All,
    I have created a Sales Order and a Outbound Delivery against the sales order.
    While creating the Outbound delivery, I have split the qty in two batches.
    Now when I go in table LIPS, and search on the basis of the Delivery number, I get two rows, one for each batch. But here the sales order LIPS-VGBEL, and Sales order item no (LIPS-VGPOS) is updated only for the 1st batch line item, but is not updated for the second batch line item.
    Please help me so that on the basis of the delivery number, i will be able to find record from tables for sales order for both the line items (i.e. for each batch).
    Immediate help would be appreciated.
    Thanks in Advance.
    Ankush

    Hi,
    I have created delivery against sales order.
    While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
    Sales order (SO1) - Material (Mat1) - qty (15 ea)
    Delivery against sales order (Del1) - batch split: batch1 - 10 ea
                                                                         batch2 - 5 ea
    In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
       del no.     Item No.      Material   Qty       Batch no       Sales Order no     Sales Order Item no
    1. DEL1       10              Mat1        10 ea    batch1          SO1                    10
    2. DEL1       20              Mat1         5 ea     batch2         ______                 ____
    Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
    I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
    Hope this clarifies the issue faced.
    Regards,
    Ankush

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • Internal Order Number from Asset Number

    from function module 'CHANGEDOCUMENT_READ' I am getting an object id. from this object id I have to get the Internal Order,
    This object id format contains three fields, first four character is company code, next 12 is Asset number and last four is Subset number.
    could you please help me out, to get internal order from these three fields.
    Thanks,
    Debdutta Dey.

    Hi Debdutta,
    If w_objectid is the variable which contains your Object ID.
    DATA: w_compcode(4) type c,
                w_assetnumber(12) type c,
                w_subset(4) type c.
    w_assetnumber = w_objectid+4(12).
    Please let me know if this helps..
    Regards,
    Amit.

  • How to get a 38 character length number from database /NUMBER(38, 0)/?

    I need to store in a database number that is 38 character long, that works fine for me but when I am reading from database using JDBC driver my number I get not that I have putted into database i. e.:
    inserted to database: 34028236692093846346337460743176821145
    result of reading from database via JDBC driver: 34028236692093800000000000000000000000 (return type is BigDecimal... :/ and I would expect BigInteger...)
    my db version is Oracle 10.2.0.4.0 Enterprise Edition
    and JDBC driver version is 10.2.0.4.0

    no, num.doubleValue() is not exact enough (can lead to different numbers after the decimal point). the only way i have found so far to convert exactly is to use the String constructor of BigDecimal.
    the starnge thing is, that the same value as a fixed string works, but not the string value:
        public static BigDecimal toBigDecimal(String string, String pattern) {
            BigDecimal result = null;
            if (string != null) {
                java.text.DecimalFormat df = new java.text.DecimalFormat(pattern);
                Number num = df.parse(string, new java.text.ParsePosition(0));
                if (num != null) {
                    try {
                        string = string.replace(',', '.');
                        System.out.println("1: "+new BigDecimal("12.34"));
                        System.out.println("2: "+new BigDecimal(string)); //thorws NumberFormatException, even though string has the value "12.34" (checked with debugger)
                        result = new BigDecimal(string);
                    } catch (NumberFormatException nfe) {
                        System.err.println("toBigDecimal():"+ nfe);
            return result;
        }//toBigDecimal()output:
    1: 12.34
    toBigDecimal():java.lang.NumberFormatException: 1234
    where is the decimal point? the debugger shows that 'string' has the value "12.34" (with decimal point)????

Maybe you are looking for