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

Similar Messages

  • 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 get general account for a billing document ( BSEG) ?

    Hello,
    For a billing document to a client , We need to get the general account for each item of the invoice . We based on the field XBLNR of table VBRK to select a document from BKPF with condition : VBRK-XBLNR = BKPF-vbeln . If yes we will get from table BSEG for bseg-vbeln = bkpf-vbeln and bseg-posnr = vbrk-posnr . then get HKONT.
    But as you know BSEG is a cluster table, Select directly from this table is extremly long and seems impossible in our case. Could you please show me the way to do this ?
    Our main purpose is to get HKONT ( General account ) for a  billing document .
    Thanks in advance for your help

    Hi  Hoa Binh Xanh,
    Why don't you look into tables BSAD and BSID (Transperant Tables) rather directly hitting BSEG ( Cluster Table)
    Pass VBELN (Billing Document) in above two tables and get the doucment numbers and then if you need further info hit BSEG with the data you got from BSAD and BSID
    OR else Pass KOART = 'D' while selecting data from BSEG it will help in improving performance
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • 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.

  • Billing document number terminated

    Hi,
    I have a scenario wherein I am creating billing document post delivery, but the billing document number that is generated gets terminated. Hence while creating a billing document, I see a billing doc number on screen. But on going to VF03/VF02 i get a message that the billing document number is terminated. There is another message: " No handling units could be found".
    Please help..urgent!

    Hi
    Do you have any outputs with custom coded Smartforms/reports assigned to the output. If so please remove their masterdata so that they are not triggered while invoice creation, and then try invoice creation. If you are able to create teh invoice successfully now and see it, then the error is with the output programs.
    Else, check the number range assignment to the billing document number and check whether all the numbers have been utilised.
    Pls assign reward points, if this helps to solve your problem

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • 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

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

  • 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

  • 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

  • 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

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • I'm french, my white Ipod4g 16gb has been stolen 2 days ago, I would like to know how to get it back thanks to the serial number! please

    I'm french, my white Ipod4g 16gb has been stolen 2 days ago, I would like to know how to get it back thanks to the serial number! please

    You can't.
    Change your iTunes (Apple ID) password along with any other password that was stored in the iPod.  If any passwords are associated with credit cards, contact the CC company and get your card replaced (with a new number).  If any passwords are associated with a bank or any other savings institution, contact them also and discuss approprate action with them.
    The only real protection you have is with the personal information on the device rather than the physical device itself.  This requires action before the device is lost/stolen.  If the device has significant personal information, it should have a strong 8-digit (or longer) password AND be configured for automatic wipe in the event of ten consecutive incorrect password entries.

  • How to get Ciscoworks LMS 4.0.1 serial number

    How to get Ciscoworks LMS 4.0.1 serial number ? I need that to put the product under mainrtenance, and I can't manage to get it.
    Thanks for your help
    Roland

    as LMS 4.0.1 is a service pack on LMS 4.0 you need the serial number of your base installation of LMS 4.0.
    The serial number for software products is called "PAK" ("Product Authorization Key")
    For LMS there are 3 options to get the PAK:
    1) the PAK is printed on a paper sheet in the box in which LMS was sent to you. Sometimes it is also printed outside on the box.
    2) the mail you received from [email protected] after the online licensing process includes the PAK;
        the first lines of the email looks something like this:
    ===========================================================
    DO NOT DISCARD THIS EMAIL.
        Product Name          : R-LMS41-1.5K-MR-K9
        Product Description      : Update LMS 4.0 to 4.1 Base download for 1500 devices                                            
        Product Qty          : 1                                                    
        Product Authorization Key : 1354Jxxxxxx                                             
        Sales Order Number      : 117yyyyy
        Options Included: No additional features have been selected for this product.
    You have received this email because your email address was provided to
    Cisco  Systems during the registration process for a software license key file  to the CiscoWorks LAN Management Solution (LMS) software. 
    ===========================================================
    3) the license file itself contains the PAK, sourounded by the tags and <\PAK>
    the line looks like this:
        1354Jxxxxxx" SIGN=658Czzzzzzzz
    if you have access to your LMS server you can find the license file at the following location:
        NMSROOT\etc\licenses\1317812nnnnnn.lic
    open it with a text editor and you 'll find the PAK.
              [.... just tag your threads
                   and support the CSC initiative "CSC Helps Teachers Without Borders" - it's easy ! ]

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

Maybe you are looking for

  • Step By Step Upgrade Oracle E-Business suite database from 11.2.0.3 to 11.2.0.4

    Dears, please need help in upgrade Oracle E-Business R12.1 DataBase from 11.2.0.3 to 11.2.0.4 in details: my environment is: Operating System : Oracle Solaris Sparc 10.8 X64 Oracle Applications : R12.1.3 Thanks Osama Mohamed Hussein Sawwan-Oracle

  • Lenovo G500 TouchPad and Keyboard wont function at the same time

    Lenovo Laptop G500 Windows 8 Synaptics TouchPad V7.5 Driver Version 16.3.13.3     The Synaptics TouchPad and the keyboard won't function simultaneously. If I uninstall the driver for the TouchPad the keyboard and TouchPad will work simultaneously on

  • Business component

    Hi Everyone, I am new to SAP PI and was practicng some scenarios. I got a doubt while using Business component. For business system, we ll configure details in SLD whereas business component  is an abstract unit.Then,how the created business componen

  • Flash content blank and unable to access flash control panel to turn off hardware acceleration.

    Flash content appears as blank and nothing happens when attempting to access flash player settings. Not sure if it helps, but the operating system is Mac OS X Mavericks running in virutal machine. * QuickTime * Shockwave Flash 14.0 r0 * Displays Java

  • When can we publish Air 3.0 from within Flash IDE?

    Hi, I am very eager to get started on developing with Air 3.0. I'm using Flash CS5.5, but natively Air 3.0 is not available from within the IDE. I know I can publish using the command line, but this is really a bit to complicated for me. Can anyone t