Friday, February 4, 2011

To query Receipt accounting entries - II

SELECT acr.receipt_number, ada.amount_dr, ada.amount_cr,
ada.acctd_amount_dr,ada.acctd_amount_cr
FROM ar.ar_distributions_all ada,
ar.ar_misc_cash_distributions_all mcd,
ar.ar_cash_receipts_all acr
WHERE ada.source_table = 'MCD'
AND ada.source_id = mcd.misc_cash_distribution_id
AND mcd.cash_receipt_id = acr.cash_receipt_id
AND mcd.set_of_books_id = '&sob'

1 comment:

  1. This post shows a query for receipt accounting entries. The syntax of the query is not easy and bit confusing for me. Is it possible that we can use different naming conversion at different instance? Give a simple syntax for doing this query.
    sap upgrade planning

    ReplyDelete