Sale report Profit centre wise

Hi Experts,
SELECT T0.[DocNum], T0.[VatSum], T0.[DocTotal], T1.[PrcCode], T1.[PrcName], T1.[Balance] FROM [dbo].[ORDR]  T0. [dbo].[OPRC]  T1 WHERE T1.[PrcCode] =[%0]  T0.[DocDate] > =[%1] AND  T0.[DocDate] < =[%2]
I use by query generator for sales report profit center wise, i had selection criteria also, like
1.Profit centre code,
2.Posting date from
3.Posting date To.
I given every selection criteria, but result shows: like this,
Error:
1.     Write the query and everything the error is: 1)(Microsoft)SQL Native client)(SQL Server) (Incorrect syntax near u2018TOu2019.2)Microsoft(SQL Native client) (SQL Server)statement u2018User Defined Valuesu2019 (CSHS)(1) could not be prepared.
thanks in advance

try this
SELECT T0.DocNum, T0.VatSum, T0.DocTotal, T2.PrcCode, T2.PrcName, T2.Balance  FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry, OPRC T2 WHERE T2.[PrcCode] = T1.[OcrCode]  and
T0.[DocDate] >='[%0]' and
T0.[DocDate] <='[%1]' and
T2.[PrcCode] ='[%2]'

Similar Messages

  • Sales report: Profit center wise includes net, gross and sales tax URGENT

    Helllo Friends,
    Please help me on the below report
    Client requirement is: Sales report which includes the below
    1. Profit center
    2. Net sales
    3. Sales tax
    4. Gross sales
    5. Period
    Please help me
    Thanks for your help in advance
    Narasim

    Hi,
    You will have to get a Z report developed for  this requirement, it will be a Sales Register looking at the requirement
    Firstly discuss with the client and finalize the selection screen , based on which parameters the client wants nto check this report
    1. Customer
    2. Billinng Document
    3. Sales Area
    4. Billing Type
    5, Period
    And based on this system can collect all the billing documents (except cancelled) and pick up the required values from the billing document tables.
    Finalize if the client would also like to see the all the discounts, freights, rebate (if any) , taxes (separetly) , exchange rates (exports) and any other condition types, this will save all the modifications in the future.
    Also finalize what all billing types have to be excluded, like cancelled, credit notes, debit notes etc and also how the values have to be displayed, rounded off.

  • Profit Centre wise Stock Report

    Hi folks!!
    Is there any report available, through which we can retrive profit centre wise stock report.
    Best regards

    Hi
    You cannot check profit centre wise inventory (of materials) directly. But you can get profit center wise inventory GL accounts data in FS10n transaction. Choose dynamic selection options - and input profit center. It will show Inventory GL accounts balance period wise.
    You can check MARC table - and find the materials with concerned profit center. Then stock value of those materials in MC.9/MB5b transaction.
    Thanks

  • Vendor line item report based on profit centre wise like FAGLL03

    We have profit centre wise GL Line item report i.e FAGLL03.  Is there any such report for vendor line items with profit centre.
    I want to see open items of vendor for a particular profit centre.

    Hi BSR,
    I think there are some 'recherche' reports which should fulfill your needs.
    Please call the transaction FGI0.
    There you got the following folders.
    002 Payables According to General Ledger Account Assignments
      0SAPPAYABL01 Payables per Profit Center
      0SAPPAYABL02 Payables per Segment
    003 Receivables According to General Ledger Account Assignments
      0SAPRECIEV01 Receivables per Profit Center
      0SAPRECIEV02 Receivables per Segment
    These reports should fulfill the need, to display items of vendors
    or customer according to the NewG/L 'splitting criteria'.
    With Best Regards,
    Gladys Xing

  • Report with date range where the daily customer receipt profit centre wise

    Hi Experts,
    Could you please suggest me is there any developed  standard report or t-cod eis available  with which i can get date range where the daily customer receipt profit centre wise can be obtained............
    Thanks in Advance........
    Santosh Gupta...

    Hi:
              For this purpose you can develop Z report. There is no such standard report for it. Copy FBL5N to make a Z copy of it and use the table FAGLFLEXA for each document posted in BSEG/BKPF. You can also make use of BTE 1650.
    Regards

  • Profit centre-wise Vendor/Customer outstanding

    I am working in ECC6. Profit Centre and Segments are activated.
    While I am posting a vendor invoice, I assign the profit centre in the expenses account and the vendor is also posted to that profit centre while posting.
    Now my requirement is to view the profit centre-wise vendor outstandings. I tried to execute the Open item report per profit centre (S_ALR_ 87013343 & S_ALR_87013344). However, I am unable to see any output figure. The list is coming as zero. System shows a message "Report 8A4-0012 does not contain any data pages".
    Is there any other report or what is wrong with the above report ?
    Regards

    The profit centers are not posted directly in PCA.
    The Vendor/Customer reconsilatin accounts should NOT be 3KEH
    Have you run:
    F.5D - Calculate
    F.5E - Post
    F.5F - Display Log
    or
    1KEK - Transferring Payables/Receivables

  • Business areawise and profit centre wise debtors balances

    Hi All,
    I want to know the standard T code to see the debtors/Creditors balance report based on business area and profit centre wise (not debtors aging report).
    Thanx.
    SP Shukla.

    Hi,
    Use t.code: SARP, then select report tree as FIAR then click on display icon, here you will get no of reports for customers.
    all the best
    Prasad

  • P&L report Profit center wise

    My client is asking for a P&L report Profit center wise but in that report he is asking to include below line items
    COGS:
    Direct Labor and Overheads
    Variances:
    Material rate variances
    Labor rate variances
    Labor usage variance
       Could you please advise is it possible to include above line items in a report painter or we have to go for a development (ZProgram).

    Hi
    PCA report does not have categorization of variances.... You need to develop a Z report...
    PCA can give you variance figure for each material... But it does not store categories, as far as I know
    br, Ajay M

  • Sales report for plant wise

    Dear All,
    I would like to know the sales report for plant wise, my client is having 1 sales org &  3 plants , will this do or can I go for more sales orgs? If so how will I get the plant wise report?
    Thmx&Regards,
    Ramu

    Hi
    You can view the list of sales orders in VA05 with plant as the selection criteria. Though Plant is not included in the Further Selection Criteria, you can add this by following the below steps.,
    Goto IMG - Sales & Distribution - Sales - Lists - Define Selection Criteria - execute
    In the screen - goto New Entries and add the following details..
    1. Program Name - SAPMV75A
    2. TRG (Transaction Group) - 0
    3. Display Group - K
    4. Event - SELK
    5. It - 8
    6. Field Name - WERKS
    Enter the details and save the changes. Goto VA05 and you can see the field PLANT in the Fur Sel Criteria.
    Thanks,
    Ravi

  • Sales Report Material Group-wise

    I want to generate Sales Report Material Group-wise is there any standard report.
    regards,
    Rajesh

    Hi
    Use the T.code: MCBK, this report tells you about Total stock received, total stock issue for sales order against the material group.
    Reward if it helps
    Regards
    Prasanna R

  • Automatic payment method for business area wise or profit centre wise?

    hi,
    tell me about customization of Automatic payment method for business area wise or profit centre wise? or where we have to assign
    Regards,
    Munna
    Edited by: munna !! on Jan 18, 2008 7:38 AM

    App?

  • Table for Profit centre wise G/L account data

    Hi all,
    is there any table or any function module  updating the  profit centre wise balance for G/L accounts. BSEG has profit centre but we are not prefering as it a cluster table.

    Hi,
    You can look at GLPCA or GLPCT (totals) tables.
    Regards,
    Eli

  • G/L Account & Profit Centre Wise  Trial Balance Report

    Im working on a Client which is in 5 version and does not have the new GL account and document split.
    They require a  report where they could get the trial balance report (Gl accoun & profit centre).Standard report F.48 provides only Gl Account wise.
    Please suggest me on how i can start this develpomnet.As per my view i need to update a Z table with profit centre and Gl account Amounts and then in turn fetch the values to my report.
    Can the SDN experts help me on this,i would be very gratfull.

    hi,
    you can use these tables for trial balances g/l account wise.
    TABLES : glt0 ,
                   skat ,
                   t001 .

  • Cash flow Report-profit centres

    My requirement is to make cash flow reports for profit centres.  In our case new GL is activated with profit centre clearing scenario.  Is the standard reports is based on Profit centres or company codes ?

    Hi Prasanna
    In the BP master you set a delay of 7 days for example, as this customer always pays 7 days late. The cash flow report will take the due date of an invoice and add 7 days. So if you run the cash flow report by weeks, then the due amount for that BP should move to the next week for example.
    Kind regards
    Peter Juby

  • Cost of sales for profit centre accounting

    Hi all,
    we are running SAP R/3 vers. 4.7.
    We have set up cost of sales in finance (FI), which means that we can report by functional areas for a company code. Next step requested is to have a P&L statement structured by functional areas for profit centers.
    Is that possible? Can someone advise how to do?
    Appreciate any comments and suggestions.
    Kind Regards
    Reinhard Wiggers / Ahlstrom

    Dear Nizamkz
    As you would be aware, the condition type for Cost of Sales is VPRS. 
    Normally, in pricing procedure, we set this condition type as statistical with Subtotal as B and Requirement as 4.
    While creating sale order, you can see this in condition tab with the cost fetching from material master Accounting1 tab.
    This inventory cost is updated as and when you do PGI which you can see in MB51 where the delivery document reference will be displayed against each and every item you PGId and alongside will be the item cost.
    thanks
    G. Lakshmipathi

Maybe you are looking for