Billing document number based on plant

Hi friends, I have new requirement from customer
Billing document number should be based on plant
Ex: Range start from 900000 u2013 for plant ABC1
      Range start from 800000 u2013 for plant  ABC2
How to achive this
regards
Satish

Create a zee table say ZV_NUMRANGE for the combination of plant, billing type & number range object.  There maintain some objects according to plant and save.
Next go to VN01 and maintain number ranges according to requirement and save.
Finally apply USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ) and trigger the above table as and when VF01 or VF04 is executed.
thanks
G. Lakshmipathi

Similar Messages

  • How to get po number based on billing document number

    Hi every body
          how to get a po number based on billing document number
    thanks in advance.
    sekhar.k

    Hi,
    Check this field VBRK-BSTNK_VF.
    Regards,
    Satish

  • Reservation of billing document number range

    Hi,
    it ios necessary for our project to have the delivery note number equals to the billing document number (as the invoice given to the customer is based on delivery).
    Is there any user exit in order to perform this ?
    Regards.

    Hi,
    As fas as i know there is no such exit,it is only left to user to maintain the discpline and keep a track of all the invoices cancelled as he has to delete a delivery also.
    I dont understand the business logic behind this requirement.

  • Sales Order and Billing Document Number

    Hi All,
    I have  Billing document Number (LIKP-VBELN).
    Based on Billing document number, how to find out the corresponding Sales Order....????
    Is there any logic to find out this...??????
    Regards
    Pavan

    Hi,
    Go to VF02 and enter your Billing Document Number and "Enter".
    Environment -> Display Document Flow.
    Select standard order ->  Diplay Document.
    It will shows the sales order.
    Thanks,
    Reward If Helpful.

  • How to get intercompany billing document number

    Hi,
    I have PO number , Delivery number  for a given shipping plant and receiving plant.I want to get the intercompany billing document number.Is there any method to fetch.Can anyone suggest me how to proceed with this.Intercompany billing document number can be obtained from VBRK-vbeln for type that is VBRK-fkart = iv .But how to relate PO number and delivery number with this.
    Regards,
    Sowmya.

    Hi Friend,
    Yes you can check though billing type IV.
    Gereally in inter company billing, we generally create a customer in the receiving company. Try to know the name of the customer (generally it is one and fixed) from functional consultant, and pass to bill to party, it will help to reduce lot data.
    I thnik delivery has been created through refrence of PO.
    You can get PO and delivery number if it is stored in the text of Billing doc.
    Consult with functional guys and tell them to store these numbers.
    Regards
    Krishnendu Laha

  • P.O number for a billing document number

    Hi Experts,
    From  which table we can find a PO number for corresponding billing document number(VF03)?

    hi RAVI,
    Go to T.code SE16
      enter table name VBRK-->enter
       billing doc type,billing doc no,s.org,d.channel
      execute
    waiting for reward points
    mcm

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • Error while generatin the Billing document number in WPUK

    Dear Experts,
    My clien thaving ISRETAIL ECC6.0 version & we would like to implement Fund management. At the time of sales at stores below mentioned error displaying.
    No commitment item entered in item 2700 2009 9000067
    In this my company code is 2700
    9000067 is billing document number (It is not yet created)
    Best Rgds
    Suma

    980273 NOTE HAS BEEN APPLIED TO ERROR FREE

  • Credit Memo request with reference to Billing Document number via IDoc

    Hi,
    I want to create credit memo request with reference to billing document number via IDocs.
    I have tried through ORDERS05, but when I process I saw that it is only processing with reference to contract  number or quotation.
    So is any other way of creating credit memo request creation with reference to Billing document number via IDocs?
    Thank you in advance.
    Regards,
    Santhi

    Please Help... it is Urgent...  Thank you

  • How to find sales document and billing document number of a accounting doc

    Hi,
    I have opened a accounting doc. using fb03. Now how to find the corresponding sales doc. and billing doc. no. of this accounting doc. no.

    Dear satyam
    Go to SE16 / BKPF, give the accounting document number reference in "Document number" and execute, so that you will get the respective billing document number.  Make a note of it.
    Now go to again SE16 and give table VBFA and give all the billing document references in "Follow-on doc" and maintain "C" in "Prec.doc.categ." and execute.
    Alternatively, you can try with table joining BKPF and VBFA in SQVI.
    thanks
    G. Lakshmipathi

  • KE30 report - Unable to see billing document number

    Dear SAP community
    I have a requirement to be able to show the billing document number in a KE30 report.
    Background as follows:
    Sales order created, delivery is created, stock is picked and transferred and delivered, post goods isssue and invoice created to produce the accounting documents.
    The requirement is to show a report which is broken down by sales order and then further drilldown to things like cost centre and billing document numbers.. On running the report, no billing document number is shown.
    I have created a custom characteristic called WWINV in KEA5 using data element VBLEN_VF, Domain VBLEN, check table VBUK.
    WWINV is then assigned to the operating concern (op concern regenerated).
    Next step I created a lookup in KEDR
    Source fields:
    Origin        Field Name    Name                                    Assigned   Origin       Field Name     Name            
    VBRP        VBELN          Billing Document                    =                CO-PA    KAUFN            Sales Document
    VBRP         POSNR         Billing Item                             =                 CO-PA   KDPOS             item number
    Target Fields:
    VBRP        VBELV         Originating Document           =                  CO-PA   WWINV            Billing Doc

    Message" no. DS 016.
    For the above error, you can check note 312392
    thanks
    G. Lakshmipathi

  • How to fetch Billing Document Number

    Hi All,
    i have Sold to party (kunnr), from this i need to find Billing document number and the corresponding Ship to party.
    i have used
          SELECT vbeln FROM vbpa INTO TABLE gt_vbeln
                                  WHERE PARVW = 'WE' AND
                                        kunnr = p_kunnr.
          if gt_vbeln is NOT INITIAL.
            SELECT KUNNR FROM vbpa
                                 INTO TABLE gt_kunnr
                                 FOR ALL ENTRIES IN gt_vbeln
                                 WHERE vbeln = gt_vbeln-vbeln AND
                                       PARVW = 'AG'.
            DELETE ADJACENT DUPLICATES FROM gt_kunnr COMPARING ALL FIELDS.
          ENDIF.
    the first select query is taking long time n it is going for dump, please suggest me the solution.
    Regards,
    Kumar

    Hi Kumar,
    I will recommend with the below solution:
    1. Select vbeln from vbrk...gt_vbeln
           where kunag = sold-to-party.
    2. if gt_vbeln[] is not initial.
       Select from vbpa...
           for all entries in gt_vbeln
           where vbeln = gt_vbeln-vbeln
                and parvw = 'WE'.  "Ship to party
        endif.
    If you have any qn / concern on the above soln, please let me know.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on Jul 20, 2010 9:21 PM

  • Get Sales order from Billing document number

    Given Billing document number from VBRK-VBELN, how to get the Sales order number VBAK-VBELN?

    Please check table VBFA.
    Below code might give you some idea:
    PARAMETERS: P_VBELN TYPE VBELN OBLIGATORY.
    DATA: COMWA TYPE VBCO6.
    DATA: IT_VBFA TYPE TABLE OF VBFA,
          WA_VBFA TYPE VBFA.
    COMWA-VBELN = P_VBELN.
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
      EXPORTING
       BELEGTYP            = 'M'
       COMWA               = COMWA
      TABLES
        VBFA_TAB            = IT_VBFA
    EXCEPTIONS
       NO_VBFA             = 1
       NO_VBUK_FOUND       = 2
       OTHERS              = 3.
    LOOP AT IT_VBFA INTO WA_VBFA WHERE VBTYP_N = 'C'.
       WRITE:/ WA_VBFA-VBELN.
    ENDLOOP.
    Kind Regards
    Eswar

  • FB01 and entering billing document number

    Hi,
    We're trying to create an LSMW for FB01 - but would want to but in a billing document transfer.
    Is this possible to be done in LSMW or must it be done in BAPI ?

    HI,
    At the moment doing we do not have a choice on running on LSMW and BAPI - we are not familiar running it. The key question can FB01 in LSMW accept posting on billing document number (VBELN) field ? I recall that this field is not editable once the document is created. So if we post via FB01 can we enter this field ?

  • FBL3n -billing document number

    Hi All,
    My user wants to see the billing document number for sales gl account in the fbl3n
    I changed the layout there i am getting the billing docuemnt filed but iam not getting the numbers
    Plz give me ur vluable suggestions
    Regards
    Renu

    Hi,
    The field billing document 'VBELN' is contained in table BSEG AND in
    table BSID but NOT in table BSIS.
    So Billing document number can be displayed in customer line item
    display (FBL5N) and not in G/L line item display (FBL3N). So, first
    please check if field VBELN has been filled for the relevant G/L items.
    The value of VBELN is saved in table BSEG. So, this means, you
    have to define the field BSEG-VBELN as a special field in table
    T021S. Then you can use it in FBL3N, because then the report looks
    directly in BSEG-VBELN.
    Please create the field BSEG-VBELN as special field
    in transaction OBVU (FBL3N  >MENU  >SETTINGS  >SPECIAL FIELDS);
    Create a variant in FBL3N to include this field (FBL3N > SETTINGS >
    DISPLAY VARIANT > CURRENT... Add the required fields
    Follow the instruction as given in note 215798 which is very helpful.
    Please also review note 373268 and note 207436. You don't have to
    implement the coding corrections, if you are on a higher version. But
    it explains in detail the system behaviour. The example in the note
    with field EBELN could be replicated on your field VBELN.
    Hope this helps.
    BR,
    Monika

Maybe you are looking for

  • Screen sharing and Airport setup

    I want to configure my Airport Extreme to allow remote Screen Sharing. Can anyone give me some tips as to what needs to be done? I have tried it with the default setup with no luck. -gl

  • IPod shuffle 2nd Gen not appearing in Windows Vista

    Dear All: I have a 2nd Gen shuffle that will not show up in iTunes or Windows on a Vista Home Basic machine. Vista finds an unrecognized USB device and cannot find a driver. The orange light on the shuffle blinks, and the Vista device manager keeps d

  • File access parameter in file adapter at receiver side

    Hi Experts, 1- i am using file adapter at receiver side. i want to create my file with time stamp for that i have given the file construction    mode = add time stamp and put file directly .but it is showing time in file name???????? 2. i want my fil

  • Re: how to enable s-video output in lenovo R61i--- What buttons ???

    What buttons enable S- video on R61  ????

  • Customer Part No on PO , SO print layouts

    WRT to PLD, 1. I need to show the customer part numbers on the PO , SO layouts. Now, I am maintaining the customer part numbers using BP part numbers. But in PLD, i dont see any mention of the table OSCN for BP part numbers. How to achieve this ? 2.