SQ01 Query on VBRK billing docs

Hi Experts
I have a issue where we ran an customised query for the return billing documents the value for the return items is not showing the negative value in the report , Pls help me to know how does the Query report the billing values shows,
Please advi

is there ant report or query which gives the value of the retuned
    sales orders or and the cost with neagtive values
As already Reazuddin pointed out, no report will show the value with sign positive or negative.  But in order to differentiate this, definitely, you should be having a different sale order types and billing types for normal sales and return sales.  So in that way, to check the returned sales value, go to SE16, key in VBRK and execute.  There input return billing type (credit memo) and execute.  Whatever value populates there can be treated as returns.  Else if you want to see the for how much value, return order is created, the same logic applies.  In SE16 table, key in VBAK and execute.  There give return sale order type and execute.  You will get the desired result.
thanks
G. Lakshmipathi

Similar Messages

  • While adding KONA table in query(sq02), relevant billing doc not displayed

    Hi experts,
    When I am changing an existing query through sq02( I am joining table KONA with already existing tables VBRK & VBRP and adding fields , Agreement number & Validity date from & Valid till) , after execution , query displays 3 additional columns of Agreement number, Validity from & Validiy to, but it ceases to display records of those documents in which rebate is accrued. It only displays those documents where rebate basis is present in condition records of billing item data, but zero rebate is accrued.
    Any suggestion are highly welcome.
    Best Regards
    Vimal

    Hi Vimal,
    Unfortunately, it is not possible to find out the list of invoices which have accrued to a rebate agreement. This is true not just for rebate for also for credit management as an example. If you want the list of sales orders which have resulted in the open order value in FD 32 for the credit customer, it is not possible.
    This is true for every other functionality which uses the Infostructure update instead of normal table update. It is because infostructure update is always cumulative and table update is always record specific. When infostructure update gets a new value, the old value is erased. Hence it is not possible to find out the entire list of entries which contributed to the total value and we can only see the total value.
    To sum it up, it is not possible to find out all the invoices which have resulted in the accrual value of a particular rebate agreement. Also it is not possible to find out all the sales orders, which resulted in the open order value of a credit customer in his credit master data in FD32. If this has to be done, it has to be done manually by using a complex logic.
    If you want to find out the invoices relevant for rebate agreement, you need to find out all the invoices created within a timespan, find out all the partners, material etc. Then find out all agreements relevant for this period (or involving this period) involving the customer (payer/sold to party) and the material. Then match both the entries to get what you want. That is lot of work and even after that, accuracy of data is in question.

  • SQ01  to show condition types for the Billing doc

    Dear Friends,
    I need to show 3 cost condition types from a invoice in SQ01
    For  eg
    The Query  has   for eg
    Billing Doc     Material     Net value     ZT07     ZT08     ZT09
    The ZT07/8/9  are conditiontypes
    I need to link these at item level in SQ01, which tables should be linked
    Please help
    Kind Regards  Ravi  Kumar Rath

    Hi  Ravi
    Please use the following tables for SQ01
    KONV     Conditions (Transaction Data)     
    KONP     Conditions (Item)     
    VBRP   Billing Item data
    T685
    Regards
    Srinath

  • Selection in statistical setup for billing docs

    Dear,
    We have to set up our billing docs with OLI9BW in source system. But we only want to set up the data for the last 2 1/2 years. In OLI9BW we don't have the option to select by date (invoice / billing date).
    Does anybody knows an alternative transaction or an alternative program to do this or does anybody have an idea how to handle it?
    Best regards
    Daniel

    There is no alternative process for creating the setup tables for billing documents. In order to get the billing documents for the past 2.5 years, you're going to have to query the VBRK table in your source R3/ECC system for the billing date (FKDAT) range that you desire. From that get the billing document numbers for that interval of time and use those for your filter in tcode OLI9BW for your setup.
    If you have a large volume of documents for that interval, you may want to consider executing multiple, concurrent setup jobs with billing document ranges that represent 6 months worth of data. This will signicantly speed up the total throughput for creating the setup table in your source R3/ECC system.

  • Billing doc doubts

    Hi Experts,
    I just need to clarify my understanding for the following about what system does when billing doc is created:
    1. DR posting on customer's Receivables Account : this account means the receivable account of the company that records which customer owes how much money to the company. Why the account is referred to as  "Customer's " ? is it not belonging to the company with the SAP system?
    2. CR posting on the Revenue account : this account means the company's account that records gross earnings.
    This pair of postings have to happen together and not either one can be posted only right?
    regards
    John
    Edited by: johntivoli on Dec 19, 2010 8:15 AM

    Hi John
    Yes your understanding is correct. Both should be posted at one go while creating invoice. Regarding your queries about customer account posting I will try to explain.
    While creating invoice and transferring to accounting in the accounting document the debit line item is against the customer. This is based on the principle "Debit the receiver". In this case the goods are received by the customer and hence his account is debited. But as you rightly mentioned this should be referred to as the company's receivable account and this happens by assigning the customer account to a reconcilation account in the customer master- company code view. You can check the account against which it is posted by going to FD03 and putting the customer and company code. The recon account would be dispalyed. So the customer is further linked to this recon account and when a GL entry is passed while posting an invoice this recon account gets impacted.
    Hope this explains your query.
    Thanks
    Indranil

  • Billing Doc. No in Incoming payment.

    Dear Gurus,
                 I made a sales document in SD module say "12345" and the billing doc. no as "123" for customer "xyz" for amount "1000".
    I receive payment via- T.code f-28 for this customer for exact amount. My query is when I check the ledger in FBL5N for this customer it is not showing billing doc. no"123" for the incoming payment (doc.type "ZP" ),however it is showing billing doc. for sd document . Kindly guide . Also is there any way to view customer ledger via billing document no. For ex. how much payment due?Please guide

    Payment document can be posted based on the accounting document.
    If you want you can maintain invoice number in reference field, also there is one option to make reference field mandatory.
    In OBA7 activate reference document number as mandatory for the document type DZ. So, while doing the transaction in F-28, value should be mandatory to this field.
    If maintain invoice value in reference field, then you can do sorting and totaling based on the reference field in FBL5N.
    there are no standard reports to check the outstanding amount based on the invoice number.
    Rgds
    Murali. N

  • Cost Price for Returns order adopting cost from preceding billing doc

    Hi Forum Experts,
    Our Returns Order (SO) currently obtains cost price (VPRS) based on material moving average price.
    However, what we really need is to copy the cost price from the preceding Billing Document.
    I've explored using VOFM and created a routine under (Formulas --> Condition Value) as per below.
    I found that while the debugger steps through this code, the value of the cost gets copied from the preceding document.
    However, immediately after the code finishes execution, the value gets resetted back to the material moving average price again.
    What can I do do let the system keep the copied cost price from the preceding document instead?
    FORM FRM_KONDI_WERT_998.
    DATA: lv_kbetr TYPE kbetr,
          ls_vbfa  TYPE vbfa,
          lv_knumv TYPE knumv.
    IF SY-TCODE = 'VA01' OR SY-TCODE = 'VA02' OR
           SY-TCODE = 'VA21' OR SY-TCODE = 'VA22'.
    IF xkomv-kschl EQ 'VPRS'.
    Get billing doc and position
    SELECT SINGLE vbelv posnv
    INTO corresponding fields of ls_vbfa
    FROM vbfa
    WHERE vbeln EQ komp-aubel "returns order number
    AND posnn EQ komp-aupos "returns order item
    AND vbtyp_n EQ 'H' "returns order
    AND vbtyp_v EQ 'M'. "invoice
    IF sy-subrc EQ 0.
    Get billing doc conditions key
    SELECT SINGLE knumv
    INTO lv_knumv
    FROM vbrk
    WHERE vbeln EQ ls_vbfa-vbelv.
    IF sy-subrc EQ 0.
    Get moving average price from billing doc conditions
    SELECT SINGLE kbetr
    INTO lv_kbetr
    FROM konv
    WHERE knumv EQ lv_knumv
    AND kposn EQ ls_vbfa-posnv
    AND kschl EQ 'VPRS'.
    IF sy-subrc EQ 0.
    Recalculate condition values
    xkomv-kbetr = lv_kbetr.
    xkomv-kwert = lv_kbetr.
    xkwert = xkomv-kwert.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDFORM.
    Regards,
    Edric

    Hi,
    If you bring the Freight condition after PBXX and include in the net value, your problem will be solved.  so it will be 120 in MIGO, MIRO, Dellivery and VPRS in billing.
    We have the same situation and its working fine for us. 
    Thanks
    Krishna.

  • Accounting document created but the reference billing doc does not exist

    Hi All,
    We run a custom to program that generate a list accounting docs for clearing.
    Now our problem is that the reference billing doc of the accounting docs does not exist.
    It wasn't also archived.
    The accountings docs are very recent so it is really impossible that it was deleted from the system.
    We suspect that the accounting doc was created into the database while the billing doc wasn't.
    Plus the issue is intermittent.
    Please advise how we could fix this issue.
    Any suggestion will really be appreciated.
    Tnx.

    Hi Prashant,
    It sounds strange that same inspection lot has been made UD twice. Possibly he might have done for different Inspection Lots. While checking tables if you are querying by Inspection lot, do not do that.
    Another thing to understand is when UD made successfully for 105 Qty, why this is not appearing in UnRestricted stock. Some communication gap is there.
    As a last resort, you may need to cancel the UD by using program RQEVAC50  through SE38. And cancel the documents through MBST
    Jogeswara Rao K

  • Grouping of Billing Docs.

    Hi abapers,
    The current functionality of creating a single
    sales order & invoice with many detailed line items creates the correct financial documents. However the 'print' if the invoice should show
    the sum off all lines and the markup line, so basically 2 lines.
    In short:-
    A. This is for invoice split of type ZSRC and ZSRD. The invoice should split if VBKD-IHREZ_E (cost center field)is different at line item level.
    There is a field VBRK-ZUKRI (Combination criteria) which can help here.
    B. If there are 5 line items with 4 as expense material (100000001) and have same cost center (VBKD-IHREZ_E)  and 1 as Markup material (100000005) with also the same cost center (VBKD-IHREZ_E) than in the invoice output (PLI1 )  there will be 2 lines i.e one as a consolidated line for     Expenses and another one for Markup.
    1. The functionality is applicable for SO Types ZSRC and ZSRD for Sales Orgn PL01.
    2. If there are 5 line items in a SO with different Cost centers than there will be 5 invoices created for that particular SO.
    3. If there are 5 line items in a SO and 2 are with same cost centers and rest 3 are with different cost centers than there will be 4 invoices created (1 with same cost centers and 3 for different cost centers)
    4. If there are 5 line items with 4 as expense and have same cost center and 1 as Markup with also the same cost center than in the invoice output (PLI1 and PLI2)  there will be 2 lines i.e one as a consolidated line for Expenses and another one for Markup.
    5.This is applicable for customer Z999994 and Expense material as 100000001 and Mark up material as 100000005.
    I need to find an userexit for billing to achieve this above funtionality for billing docs when created. Thanks in advance.

      i am getting a report for billing docs by using the tcode VF05N, in ecc 6.0, but the same t code is not working in 4.7 version,
    The "n" notifies - a "new" transaction - that one is not available on 4.7.
    can any one wl tell me, what is the OSS note no to get the same report in 4.7 or any other options to get a simmilar report
    VF05? (without the ´n´)
    Markus

  • Billing docs are 2x posted to accounting

    Dear all,
    I am currently struggling with the following problem - would be great if somebody could help me with ideas about the root cause:
    VBRK-RFBSK -- 'Posting status'
    Accounting relevance of export billing docs was set to D -- 'not relevant' due to wrong programming.
    We have manually corrected RFBSK-status to A -- 'Relevant for accounting'.
    T-code VFX3 -- 'Release billing documents for Accounting'
    The documents could be posted to accounting some weeks ago. Now I was informed that billing documents were posted twice to COPA / FICO, causing a dysbalance as turnover was booked twice. Creating a credit note cannot be considered due to manufacturing costs etc.
    Solution proposal from COPA support
    ...was to revert everything down to the deliveries, and then to create a correct billing document.
    But reverting 1 document should of course correct 2 bookings! My expectation is that the billing index was not correctly updated when VBRK-RFBSK changed to C -- 'Posting document was created'. So the system ignored that posting was already done. (I am not sure about that, as I am not familiar to FICO / COPA processes).
    Thanks again for your valuable help!
    t.

    Dear all,
    could OSS note 1261286 solve the problem?
    Please let me know your thoughts!
    Thanks!
    t.

  • Is there any table or report  to see basic price  billing doc wise in mass

    Dear  experts,
                  is there any table or report  to see basic price  billing doc wise, in mass, please help
    regards
    rajakarthik

    Hi
    If your basic price is same as Net price then you can check it in table VBRK.
    If Basic Price is not same as Net Price then from the table VBRK you will have to take the value of KNUMV and then with respect to this KNUMV go to table KONV and take the value of KWERT.
    To check the value in mass you may make a report with the help of ABAP or by your own using SQVI transaction.
    Regards
    Amitesh Anand

  • 1 order max 2 delivery billing doc  for each material (10 billing DOC)

    hai sap gurus
    this is my customer senario . in that sd process max sale order 1 & max delivery two , but customer required multible billing documents
    EXMPLE:
    sale order : 10 pcs
    delivery allowed ; 2(two)
    billing doc ; 10 billing doc foe each pcs
    plz help me to solve the issue
    with advance thanks

    In the Masters Customer Enter Max Partial delivery as 2 and then in the copy control of the Delivery to Invice :
    VTFL
    Assign the Invoice Spilt 001 (Data VBRK/VBRP )
    Or you can ask you ABAPER to customize a Routine Such that :
    Loop : {
    If VBAP_POSNR = "variable"
    Create Invoice :
    regards,
    SAP SD

  • VF02 Billing doc Not appearing

    Dear all,
    I created almost 50 Billing documents ,If user wants to check any Billing Document in VF02/VF03 ,i can;t see any billing documents.
    I checked in Table Level ,here all data is Stored...I mean data is there.
    What could be the Problem.
    Thanks in Advance
    Regards
    raj.

    Hi Venky,
                   Go to the "VBRK" table and see If the billing document is there. If it is there ,  take that number and key in that number in VBFA and take the prevoius(DEL/ORDER) number and go to VL02N/VA02 and click on document flow, Check if the Billing document is shown ther or not. If it is not, check the status of the preceding document and It will tell you If it is billed or not. If it it check "V.01" and select Billing document check box and see if these documents are incomplete by any means(Even if it is incomplete system should show the document once it has allowed you to save it. I think you are getting the error message "BILLING DOC DOES NOT EXIST/ARCHIVED". You get this error some times when the database does not get updated. Check all of these and kindly let me know If you need any more help on this.
    Regards
    Ram Pedarla

  • Problem Accessing Billing Doc in FI Substitutions

    In our system, the SD billing document is stored in BKPF-AWKEY.
    However at the time of the FI posting, the VBRK table doesn't have the billing document saved yet.
    How can I get to the billing document data (table VBRK) from FI substitutions?

    Dear Frank,
    First, go to:
    T. Code: VOFA
    Select your Billing Type, say F2, and double-click to go in to it.
    Here, within Tab: General control, and
    watch Field: Posting Block, whether box is enabled (checked) or disabled (without check).
    If, the box is marked as checked, system blocks automatic transfer of billing document to accounting.
    In such case, to release billing in to accounting:
    T. Code: VF02
    Key-in Invoice/ Billing doc. no. and press (ShiftF4). If this (ShiftF4) doesn't work, go in to the billing document in change mode and check with Option - Release to Accounting in "Billing Document" at left hand top corner.
    Now, check Status-bar. System will either release the document in to accounting OR will throw the error for not posting the document in to accounting.
    Best Regards,
    Amit
    Note: if wish to post billing in to accounting automatically, un-check the field.

  • Get Billing Doc using acc doc

    Hi all,
    I need Billing Doc using the accounting Doc..
    need table flow.
    actually i need Customer PO Numer to display for an Accounting Doc ..
    any sol..?
    regards,
    PP
    Edited by: P.P on Jun 4, 2009 11:24 AM

    Hi,
    Check
    CALL FUNCTION 'AC_DOCUMENT_RECORD'
    EXPORTING
    I_AWTYP = 'VBRK'
    I_AWREF = VBRK-VBELN
    I_AWSYS = VBRK-LOGSYS
    I_BUKRS = VBRK-BUKRS
    TABLES
    T_DOCUMENTS = DOC_NUM
    EXCEPTIONS
    NO_DOCUMENT = 1.
    Also, Check BSEG table for field VBELN.
    Instead of BKPF and BSEG you can use BSIK, BSAK, BSID, BSAD etc for better performance.
    Hope it helps,
    Sumana

Maybe you are looking for

  • Scenario of Goods Recipt without P.O

    Hi Experts, My Client wants a automatic P.O to be created while doing the Goods Recipt with 101 Movement Type. The Scenario is as Follows. One of his Vendor has came to show the 20 sample Material But, Infact there is an requirement of these material

  • Overall profit center group in CO curr for pc groups with diff currencies

    Hello I would like to create a profit center group with profit centers from different companies in whcih the currencies differs. My idea was to show the report in Controlling Area currency, which is setup in RPC0. Unfortunately the total for the over

  • Ebay Bucks checkout error

    Does anyone know why i cant use my ebay bucks and $5 ebay gift certificates when checking out with paypal?I keep getting this error message "This payment cannot be completed and your account has not been charged. Please contact your merchant for more

  • Editing iFlow communication channel using Directory API

    Hi All, I have a few queries/observations regarding use of directory API to edit communication channels: 1) Is it possible to change an inline communication channel within iFlow using directory API? I tried to use this by calling directory API web se

  • W530 SSD Upgrade

    Hi everyone, I'm planning on purchasing a W530 relatively soon, and I would like to upgrade my primary HDD to an SSD.  I am also going to get an HDD in the ultrabay.  Given that the forums made it seem rather complicated, I'm going to just have lenov