How to filter Billing Document Date

Hello SAP Consultant
I'm using vbrk and vbrp to fetch the data according to selection screen. Also i'm using Billing Document no as vbrp-vbeln and Billing date vbrp-fkdate. But i'm not able to filter the data according to billing document date.
I'm using condition on vbeln fields exits in both the table vbrk and vbrp.
Plz help me <removed by moderator>.
Lot of thanks in advance.
Edited by: Thomas Zloch on Nov 27, 2010 2:21 PM - priority normalised

Hi
You need to filter the header (VBRK) only and then get item in according to header:
SELECT * FROM VBRK
     WHERE VBELN IN S_VBELN
            AND FKDATE IN S_DATE.
        SELECT * FROM VBAP WHERE VBELN = VBRK-VBELN
Max

Similar Messages

  • Changing billing document date while creating billing document from vf01

    Hi gurus,
    I have requirement to change billing doc date while creating billing document from VF01.
    here I have to consider goods issue date eq billing date.
    caluculating billing date = Goods Issue + Goods in Transit duration time.
    I have done everu thing but I cant update the caluculated date, iam using the following enhancement
    Enhancement:SDVFX001
    Function Module:EXIT_SAPLV60B_001
    Include:ZXVVFU01 which are part vf01.
    here iam sending the calculated date to VBRK-FKDAT
    move cal_date to vbrk-fkdat.
    need help how to update the calculated date to VBRK-fkdat i.e billing document date
    Regards
    Bhaskar

    Hi
    No! That exit is not good for your issue
    U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE  defined in RV60AFZC
    Max

  • How to enable "Billing Document- Issue Output To- Issue output to" in VF03

    Plz let me know how to Enable "Billing Document --> Issue Output To --> Issue output to" in the VF03 transaction (2nd screen).
    After entering the billing doc no. n then pressing enter items will be displayed. Then in the menu bar under "Billing Document" there will be "Issue Output To" option will be there.
    Under that again " Issue Output To " & " Screen" options will be there, which by default displayed in disable mode. Is there any option to enable them.

    Hi
    U need to customize a message type for the billing by  trx NACE

  • How can I set document date automatically as system date?

    I use FBV1, FBV2, F-02, FB02. Posting date is automatically set as system date. I want to set document date automatically as system date.
    How can I set document date automaticall as system date?
    Wbr.
    İlker Çokkeçeci
    Computer Engineer
    Ankara, Turkey

    Hi Expert,
    Please refer the below link..
    Document date to be defaulted as system date for all FI transactions
    as there mentioned, please go to T-Code: SHD0.
    Regards,
    GK
    SAP

  • T.code KO88: how to set the document date?

    Hi All,
    could anyone tell me how to set the document date in the t.code KO88?
    Thanks
    Gandalf

    Hi,
    Normally, the system define  the posting date based the date when document entered into Financial Accounting or cost accounting. Based on posting date,system will define the posting period and fiscal year.
    Posting date can be different from Entry date ( the date date entered into SAP system), where no influence from user, and it can also different from Document date. Document date is the of original document was created.
    Hope this will give you clearer overview of dates which are used in system.
    Regards,
    Irhasni

  • How to syncronize billing document and accounting document numbers?

    Hello,
    In RV60AFZC USEREXIT_NUMBER_RANGE_INV_DATE I changed the number range for the billing document from what is configured for F2. I need for the accounting document number to be the same as the billiing document number. I have created an new external accounting document number range equal to the new biliing document number range, but the accounting document number is still being assigned from the number range that is configured for RV. How can I get it to pick up the new accounting doc number range?
    Thanks much,
    Joy

    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

  • Billing document date and accounting document date varying...

    Hello Experts,
    There is one billing document and the date of invoice is, say today, 12/01/2009. and the accounting document date is, say 15 days ahead or behind, 27/01/2009.however, the posting date is proper and according to the billing date and that is again dated today-12/01/209. Now, the user wants to know why the difference exists between the accounting document date and the billing date. any idea? there are some user exits being used but I cant make out, neither the abaper. suggestions please.
    Regards,
    N.Raja Sekhar.

    Dear Raja Sekhar
    Document date is nothing but the date on which that particular transaction has taken place.  But I dont know where you get the date as 27-01-2009.
    It is a general practice that for exports billing document, there would be a Posting block and once the exporter receives the B/L, based on that date, the billing document would be released manually.  For this, there is an user exit to input the B/L number and date and release the billing document.
    So here, what the end users normally does is that the B/L Date might be on 02-01-2009 but he would not have updated on the same date.  At a later date, say on 12-01-2009, he can input the B/L Date (in another words, it is Posting date) as 02-01-09 and execute the billing document.
    If you see the accounting document here, the posting date would have been 02-01-2009 but the document date would be 12-01-09.
    thanks
    G. Lakshmipathi

  • How to create billing document  in VF01 without Excise duties. ?

    Dear All ,
    Here is a scenario that we had done the Goods rcv of a  material without capturing   any excise entry as this material is non excisable , Now an ETO is created  for a  party , After this user   wants this material  to be given to Customer by creating an outbound delivry after this in VF01 hehad given this outbound delv  but here excise duty is reflecting , but user want to not to reflect the excise duty , he only wants to apply taxes only ,  Pl guide to how to create billing without having excise duties , only applicable tax should bi there in the
    billing document .
    Regards ,
    sap11
    Edited by: sap11 on Jul 18, 2008 1:52 PM

    Hi
    SAP 11
    Please maintain CHAPTER ID of the said material with zero basic excise duty ( If u r not selling this material as a duty paid ) and select non movatable mateial. Parellaly u please maintain customer excise indicator as 0 no excise ( If this cutomer code is not lifting duty paid material for you).
    This way u can create billing without excise.
    Please try.
    Thx

  • How to reverse billing documents in CRM 2007 utilities billing

    Hello All,
    How to reverse the billing document in CRM 2007 utilities in billing screen.
    In ISU CRM SAP gui we use Tcode EABICO to reverse the document by giving reversal reason and reconcil key. how can we reverse a bill in CRM 2007
    Thanks & Regards,
    Raj.

    Hello Raj,
    you can use the BSP component IUICBCO in CRM2007 in order to perform a bill correction. You can test this BSP component using the transaction BSP_WD_CMPWB.
    This component has already been integrated into the business roles UTIL_IC and UTIL_IC_LEAN.
    Best regards,
    Michael.

  • How to create billing document without Excise duties.?

    Dear All  ,
                                                  Here is a scenario that we had done the Goods rcv of this material without capturing 
    any excise   entry as this material is non excisable , Now an ETO is created xxx  for party  , After this user
    wants this insulation to be given to Customer by creating an outbound delivry  but here excise duty is
    reflecting , Pl guide to how to create billing without having excise duties , only applicable tax should bi there in the
    billing document .
    Regards ,
    RC

    Dear RC
    Go to J1ID, select Material and Chapter ID combination and dont maintain the material there, which you are invoicing.  Now create billing and see whether duty is flowing or not.
    thanks
    G. Lakshmipathi

  • How to set the document date when I make a settlement of costs?

    I All,
    Making a settlement cost by KO88, I can't define the document date ...
    Is it equal to the system date? Or there is a way to specify it?
    Thanks
    G.Rossi

    Hey,
    The document date is, by definition, the date on a physical document, such as an invoice, that you also create on the system, whose posting may be taking place at a later date. Since cost settlement postings are not based on any physical documents, there should be no reason to define the document date yourself. You will notice that the posting date will be the last day of the period for which you are carrying out the cost settlement, that is unless you do as Samir said above, which should take care of any inconveniences.

  • 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

  • FB08: how to menage the document date?

    Hi All,
    I've to reverse a document by FB08.
    When I reverse a document, SAP allows me to choose only the posting date.
    I'd like to menage the document date. Is it possible?
    Thanks
    G.Rossi

    when you reverse the document you done have the physical document in your hand fromm which you can enter the document date..that's why SAP had given the posting date on which it should get effect in your balance sheet..

  • How to create Billing Document

    Hi Guys,
    I created a Sales Order now. i need to create a Billing Document for that Particular Sales Order.any one tell me the procedure. thanks in advance.
    Thanks
    Kiran.B

    Hi!
    Basically, you can create a billing document using transaction VF01.
    If the sales order requires delivery also, the before VF01, you have to create the delivery also with VL01N transaction, and post a goods issue also here.
    Regards
    Tamá

  • How to stop syncing Documents & Data?

    When unchecking Documents and Data in System Preferences/iCloud I get the threatening message that
    all synced Documents and Data [i]on my Mac[/i] will be deleted... Shouldn't that be the other way around?
    Anyway, it's not what I want: I just want to keep the Documents and Data on my Mac as they are right now,
    and I don't want them in iCloud any longer.
    Can anybody enlighten me on how to accomplish this?

    Well, the ones that are synced to iCloud (or kept there) when the item "Documents and Data" is checked in
    System Preferences/iCloud. Also the ones that are threatened (by OS X Lion) to be deleted on my Mac when
    I uncheck that item. Heck, I dunno, I suppose there must be documents there, otherwise OS X (or iCloud) wouldn't threaten to remove them, right?
    FWIW, I signed up for iCloud when I got my iMac last year, but now on reflection I don't like the idea of my files or backups to be on some server somewhere in the world. So, a wider question is: how does a person get out
    of iCloud altogether without losing any files. It was easy getting into iCloud, but I find it difficult to get out of it.

Maybe you are looking for