{"audience":"Sales operations and billing teams, sales accounting, controllers and sales managers.","authorization_objects":[{"note":"Billing document display by sales organization","object":"V_VBRK_VKO"},{"note":"Billing document display by billing type","object":"V_VBRK_FKA"},{"note":"Company code authorization for the accounting document column","object":"F_BKPF_BUK"}],"components":[],"countries":[],"effort_days_max":8,"effort_days_min":5,"effort_size":"M","faq":[{"a":"No. The mapping of condition types to report columns is kept in a setup table; mapping the new condition type to a column is enough. Unmapped conditions appear in the 'other' column, so no amount is lost.","q":"Does the report need to change when a new condition type is added?"},{"a":"From the unit conversions in the material master (MARM). If the selected unit is not defined for the material and both units are weight units, the standard unit conversion is used; otherwise the cell stays empty and the row is flagged.","q":"Where does the alternative unit of measure come from?"},{"a":"In S/4HANA pricing conditions are stored in PRCD_ELEMENTS; the report reads the right table for the release. On the accounting side the BKPF link stays the same, and ACDOCA can be used for the amount and profit center.","q":"What is read instead of KONV in S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":"Condition columns and totals can be saved as a user layout."},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Click through to the billing document, sales order and accounting document."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":"The month-end extract can be produced in the background and kept with its ALV layout."}],"functions":[{"name":"UNIT_CONVERSION_SIMPLE","role":"Converts between weight and volume units"}],"gap":"VF05N lists billing documents but does not show condition values; conditions can only be seen document by document or by reading tables. KE24 shows profitability line items, but its value fields depend on the CO-PA setup and it does not carry an alternative unit of measure. The custom report takes the mapping of condition types to columns from a setup table, converts the quantity into the requested unit with the material's unit conversion and links the accounting document to the billing item.","id":"sd-billing-item-condition-quantity-detail","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-18","logic":"1. VBRK is read by the sales organization, billing date and billing type entered on the selection screen; cancelled documents (FKSTO) and cancellation invoices can be excluded.\n2. Items come from VBRP: material, billed quantity (FKIMG, VRKME), quantity in base unit (FKLMG), net/gross weight, net value, sales order reference (AUBEL/AUPOS) and delivery reference (VGBEL).\n3. Pricing conditions are read in one pass from PRCD_ELEMENTS in S/4HANA (KONV in ECC) using VBRK-KNUMV and the item number. A setup table maps each condition type to a report column (for example list price, customer discount, campaign discount, freight, bonus accrual); unmapped conditions are summed in an \"other\" column. Inactive conditions (KINAK) are left out.\n4. For the alternative unit, the conversion factors in MARM (UMREZ/UMREN) are used; conversions between weight units are done with UNIT_CONVERSION_SIMPLE. If the material has no conversion, the cell stays empty and the row is flagged.\n5. The accounting document is found in BKPF with AWTYP = 'VBRK' and AWKEY = billing document number; in S/4HANA the amount and profit center can be read from ACDOCA.\n6. Order type, customer order date and payment terms are added from VBAK/VBKD. The ALV shows the condition columns with totals; clicking the billing or order number opens the document.","module":"SD","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Billing document","source_field":"VBELN","source_table":"VBRK"},{"calculated":false,"formula":"","label":"Item","source_field":"POSNR","source_table":"VBRP"},{"calculated":false,"formula":"","label":"Billing date","source_field":"FKDAT","source_table":"VBRK"},{"calculated":false,"formula":"","label":"Customer name","source_field":"NAME1","source_table":"KNA1"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"VBRP"},{"calculated":false,"formula":"","label":"Billed quantity","source_field":"FKIMG","source_table":"VBRP"},{"calculated":false,"formula":"","label":"Sales unit","source_field":"VRKME","source_table":"VBRP"},{"calculated":true,"formula":"FKLMG × MARM-UMREN / MARM-UMREZ (for the selected unit)","label":"Quantity in alternative unit","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of KWERT for the conditions mapped to the 'list price' column during setup","label":"List price value","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of KWERT for the conditions mapped to the discount column","label":"Discounts","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of KWERT for the conditions mapped to the freight column","label":"Freight","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of KWERT for the conditions mapped to the bonus column","label":"Bonus accrual","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Net value","source_field":"NETWR","source_table":"VBRP"},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERK","source_table":"VBRK"},{"calculated":false,"formula":"","label":"Accounting document","source_field":"BELNR","source_table":"BKPF"},{"calculated":false,"formula":"","label":"Sales order","source_field":"AUBEL","source_table":"VBRP"}],"parameters":[{"example":"1000","kind":"select_option","label":"Sales organization","name":"S_VKORG","ref_field":"VBRK-VKORG","required":true},{"example":"01.10.2026 – 31.10.2026","kind":"select_option","label":"Billing date","name":"S_FKDAT","ref_field":"VBRK-FKDAT","required":true},{"example":"F2","kind":"select_option","label":"Billing type","name":"S_FKART","ref_field":"VBRK-FKART","required":false},{"example":"200145","kind":"select_option","label":"Sold-to party","name":"S_KUNAG","ref_field":"VBRK-KUNAG","required":false},{"example":"FG-10020","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"VBRP-MATNR","required":false},{"example":"KG","kind":"parameter","label":"Alternative unit of measure","name":"P_ALTME","ref_field":"MARM-MEINH","required":false},{"example":"X","kind":"checkbox","label":"Exclude cancelled and cancellation documents","name":"P_NOCAN","ref_field":"","required":false}],"part_of":[],"performance":"Read conditions in one pass with FOR ALL ENTRIES or a JOIN on the KNUMV list of the selected invoices instead of one SELECT per invoice. One month is typically hundreds of thousands of condition rows; for month-end, run the report in the background and save the ALV layout. In S/4HANA, aggregating PRCD_ELEMENTS and ACDOCA in the database through CDS or AMDP can be considered.","process":"O2C","quote_url":"https://nekuhub.com/en/request-a-quote/?report=sd-billing-item-condition-quantity-detail","related":["sd-billing-not-posted-to-accounting","sd-customer-price-conditions-validity","sd-invoice-vs-order-price-qty-differences"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists billing documents; does not show condition values or the quantity in an alternative unit.","tcode":"VF05N"},{"note":"Shows profitability line items with value fields; columns depend on the CO-PA setup and no unit conversion is done.","tcode":"KE24"},{"note":"Shows the conditions of a single invoice item by item; gives no list.","tcode":"VF03"}],"summary":"An ALV report that lists billing documents item by item, with pricing conditions such as discounts, freight and bonus in separate columns, the quantity in both the sales unit and an alternative unit, and the accounting document and sales order on the same row. Sales and accounting teams no longer merge invoice lists, condition dumps and accounting entries in Excel every month.","tables":[{"access":"read","join_on":"","role":"Billing header: billing type, date, payer, document currency, condition number (driving table)","table":"VBRK","variant":"both"},{"access":"read","join_on":"VBRP-VBELN = VBRK-VBELN","role":"Billing items: material, quantity, unit, weight, net value, order and delivery reference","table":"VBRP","variant":"both"},{"access":"read","join_on":"PRCD_ELEMENTS-KNUMV = VBRK-KNUMV AND KPOSN = VBRP-POSNR","role":"Pricing conditions per item (S/4HANA)","table":"PRCD_ELEMENTS","variant":"s4"},{"access":"read","join_on":"KONV-KNUMV = VBRK-KNUMV AND KPOSN = VBRP-POSNR","role":"Pricing conditions per item (ECC)","table":"KONV","variant":"ecc"},{"access":"read","join_on":"MARM-MATNR = VBRP-MATNR","role":"Alternative unit of measure conversion factors","table":"MARM","variant":"both"},{"access":"read","join_on":"BKPF-AWTYP = 'VBRK' AND BKPF-AWKEY = VBRK-VBELN","role":"Accounting document created from the invoice","table":"BKPF","variant":"both"},{"access":"read","join_on":"ACDOCA-RBUKRS = BKPF-BUKRS AND BELNR = BKPF-BELNR AND GJAHR = BKPF-GJAHR","role":"Accounting amount and profit center (S/4HANA, optional)","table":"ACDOCA","variant":"s4"},{"access":"read","join_on":"VBAK-VBELN = VBRP-AUBEL","role":"Order type and order date","table":"VBAK","variant":"both"},{"access":"read","join_on":"VBKD-VBELN = VBRP-AUBEL","role":"Payment terms and incoterms","table":"VBKD","variant":"both"},{"access":"read","join_on":"KNA1-KUNNR = VBRK-KUNAG","role":"Customer name","table":"KNA1","variant":"both"}],"title":"Billing Item Detail Report with Pricing Conditions and Quantities","url":"https://nekuhub.com/en/reports/billing-item-detail-report-pricing-conditions-quantities/","vendor_id":"nekudos"}