Report by BP, by Group, by Salesperson

Good morning
is there a report that will give the sales by BP, GROUP and by SALEPERSON
Thank you

Or you can run this Query:
SELECT T3.MailCounty, T4.FirmName,T5.SlpName, t0.docnum, T1.ItemCode, T1.Dscription, T1.Quantity,T1.LineTotal, CONVERT(nchar(8), T0.DocDate, 112) AS DATE,T1.ShipDate, T0.CardCode, T0.CardName, T0.DocDate FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OCRD T3 ON T0.CardCode = T3.CardCode INNER JOIN OMRC T4 ON T2.FirmCode = T4.FirmCode INNER JOIN OSLP T5 ON T1.SlpCode = T5.SlpCode WHERE  CONVERT(nchar(8), T0.DocDate, 112) >= [%2] AND  CONVERT(nchar(8), T0.DocDate, 112) <= [%3] AND (T5.SlpName  Like '%[%4] %' 
OR T5.SlpName  LIKE '[%4]%'
OR T5.SlpName LIKE '%[%4]')
union
SELECT T3.MailCounty, T4.FirmName,T5.SlpName, t0.docnum, T1.ItemCode, T1.Dscription, T1.Quantity,T1.LineTotal * -1, CONVERT(nchar(8), T0.DocDate, 112) AS DATE,T1.ShipDate, T0.CardCode, T0.CardName, T0.DocDate FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OCRD T3 ON T0.CardCode = T3.CardCode INNER JOIN OMRC T4 ON T2.FirmCode = T4.FirmCode INNER JOIN OSLP T5 ON T1.SlpCode = T5.SlpCode WHERE  CONVERT(nchar(8), T0.DocDate, 112) >= [%2] AND  CONVERT(nchar(8), T0.DocDate, 112) <= [%3] AND (T5.SlpName  Like '%[%4] %' 
OR T5.SlpName  LIKE '[%4]%'
OR T5.SlpName LIKE '%[%4]')
ORDER BY T5.SlpName,T4.FirmName, T1.Dscription

Similar Messages

  • Can not view/export a report which has 2 group by field when no data found

    Recently I developed a report, which contains 2 group by fields. it runs successfully when the report displays some data.
    but when there is no data, i cann't view/export this report.
    It shows nothing by html format and shows "this file cannot be opened because it has no pages" message by pdf format.
    even there is no records for this report, i still want to see the template file and show some basic information.
    please help me.
    Daniel

    I've found that, just like I used to do in Oracle Reports, if you put in a COUNT column to count your returning rows, you can put 'No Data Found' when there's no data. That way, your report will return and not error out.
    For .pdfs, this is the code I use; COUNT with code of <?if:count(field_name)=0?>.
    In the .rtf..
    COUNT
         No Data Found     
    END COUNT
    Put this in the .rtf before your data should appear or else it won't work.
    Hope this helps!
    Kris

  • Line item actuals report for Profit center group

    I am looking for a Line Item Actuals report for a Profit Center Group  on the lines of KSB 1 report for Cost center /groups.
    I tried report "KE5Z but only profit centers can be selected, not profit center groups.
    Any help on this

    Try out the following report
    S_ALR_87013326 - Profit Center Group: Plan/Actual/Variance
    Call up Actual line items, here we go you would get the profit center group reports in similar lines as KSB1.
    Award points so as to say thanks.
    Regards,
    Suraj

  • Report links by user group

    hi, is it possible to set the "report links" per user group
    for example, the report links are Download, Refresh for user group Sales.
    the report links are Download, Refresh and Modify for user group Sales Admin.
    Just wanna know whether this can be done.
    thanks!

    If "Sales" doesn't have the Answers privilege, then the "Modfiy" link won't be rendered even if specified for the request. So you can just keep it in and all users having access to Answers will see it. Read-only users (i.e. no Answers) won't.
    Cheers,
    C.

  • How to set different default interactive reports for different user groups?

    I'm probably overlooking an obvious solution, but how do I set different default interactive report for different user groups?
    For the same interactive report, I want one set of users to see a default where the default filter is based on column X. However, another group of users doesn't have authorization to see that column so I need to set the default filter to something else for them.
    Thanks

    You can set a filter on a report in a URL - would that help? I think with apex 4.x you can also link to a saved default report or alternative report...

  • Inventory reports with external material group

    Dear Friends,
    In my office in material master record material group & external material groups are maintained. I am looking for a inventory report which shall displays the stock available in paricular plant & other report of stock lying at vendor both should display the  material group & external material group. Please help.
    Thank you
    Prashant B

    There is no Inventory report with external material group field in SAP so consult Abaper to develop the customized report.

  • Consumption report Date to date ,Group & itemwise

    Dear Sap Expets,
    Can you please advise me that i want to make consumption report Date to date ,Group & itemwise ,in summary report (Total Qty and Value consumed).How is the possible it?
    Thanks
    mohit

    Hi,
    Use MB5B report for the same, it will give you qty & values for overall receipts and issues for certain period or else refer report MC.2
    Hope this will resolve your issue.
    Thanks & Regards,
    Sandesh Sawant

  • Query version of a report 'Compliance 3 - Update Group (per update)'

    Hi,
    I was wondering if it was possible to create a query where I can view number of missing updates based on
    my baseline. This will be similar to an existing report 'Compliance 3 - Update Group (per update)' and when I select a collection, I would expect it to show me the results similar to the report itself.
    Example:
    Title Bulletin ID
      Installed Required
    Security Update for Windows Server 2008 R2 x64 Edition (KB2977292)
      0 145
    Security Update for Windows Server 2008 R2 x64 Edition (KB2984972)
      0 145
    Security Update for Windows Server 2008 R2 x64 Edition (KB3002885)
    MS14-079   0
    144
    Thanks.
    144

    I'm not totally following what you're asking but why not create a new software update group (no deployments necessary) containing the same updates as in your baseline? This type of update group is informally called a compliance group. That way,
    you just run the report you've called out against this compliance group.
    Jason | http://blog.configmgrftw.com | @jasonsandys
    This is purely for reporting purposes as we currently have a problem with Reporting Services. I thought I could create a query which will list the updates we have compiles in software update group and show how many servers require that update within limited
    collection I will select on the query.
    Thanks.

  • Report S_ALR_87013336 - Profit Center Group: Balance Sheet

    Hello All
    As an output of this report (S_ALR_87013336 - Profit Center Group: Balance Sheet ) I expect :-
    1. B/S recon accounts which has received PC assignment from 1KEK.
    2. Other B/S accounts (Inventory etc) which received PC assignment while normal goods movement FI posting.
    I am getting the part 1 but not part 2 . I have tried running it with specific account number for Inventory as well but it doesnt come up. Please help
    Also it is showing in the output even the Expense account linked to PC . Not sure if there is check in the report itself to only pick B/S accounts. I know this can be worked around by creating Account Groups but want to know the nature of this report.
    Best Regards

    Hello Ajay
    Nice question and honestly i crossed that as well before, BSEG has separate number of entries for Company code for different profit centre.
    So I have many profit centres on which posting has happened.
    Is it some thing to do with we being on ECC platform and not used NEW GL ? Does SAP reports on this field only when NEW GL is activated ?
    Because not just this report but other GL line item report (S_ALR_87012282 - G/L Line Items, List for Printing ) also shows same balance with / without profit centre.
    What I am planning to do is to copy FSV to PCA account group using KE5B and then run all 1KE* transaction + use PCA report for example (S_ALR_87013326: Profit Center Group: Plan/Actual/Variance) ?Hope it will work , your opinion on this.
    Best Regards

  • Is it possble to attach the same report painter in several groups of report

    Hello,
    We have about twenty reports in a same library that must pe spread in 5 groups of reports.
    Is it possble to attach the same report painter in several groups of report
    Thanks
    Edited by: Hallouet_H on Jan 31, 2012 1:45 PM
    My problem is answered : Technical limitations to group of report (sapnote 387916).
    Report Painter Problem
    Edited by: Hallouet_H on Jan 31, 2012 3:11 PM

    A report could be attached to several reports group.

  • Matrix report with two across groups

    Hi all,
    I am facing a problem in making a multi line matrix report.
    actually I need to make a matrix report with two "across groups", but unable to get desired result.
    if any body has any idea, please share with me.
    regards
    Ata

    No,
    you must have only 1 query which extracts all your data:
    A,q1,10
    A,q2,20
    A,q3,30
    B,q1,40
    B,q3,50
    C,q2,60
    C,q3,70
    Open report builder and create a new report from wizard.
    Select the first option accordingly with your requirements and go next.
    Type a name for your report in the title field then select "Matrix" as layout and go next.
    Select SQL Query and go next.
    Type your query.
    Select the data you want on the rows (i.e. A, B, C...) and click on the ">" button in the Matrix Row Fields section, then go next.
    Select the data you want on the columns (i.e. q1, q2, q3...) and click on the ">" button in the Matrix Column Fields section, then go next.
    Select the data you want on the cells(i.e. 10,20,30...) and click on the "Sum >" button in the Matrix Cell Fields section, then go next.
    Add some totals, if you need them.
    Go next and finish.
    Now you have a report with the following layout:
             Q1           Q2            Q3       TOT
    A        10           20            30        60
    B        40                         50        90
    C                     60            70       130
    TOT      50           80           150       280Bye
    Raffy

  • List of customer report based on account group - T.Code

    Dear Guru's
               I need list of customer report based on account group in standard SAP if it there please update th T.Code as earl as possible.
    regards,
    bhanu

    Hello,
    I don't think there is a standard report for this. SE16 select table KNA1 and check for the entries with respect to account group.
    Prase

  • How do I print a contact report for a select group?

    How do I print a contact report for a select group?

    You should be able to select the group instead of all contacts. Older article.
    Contacts – Print Contact Information

  • How to see the consolidate report of Gl banlance (Group chart of account)

    Dear All ,
    We have 10 company code ,Each company code we assigned same chart of account.But Consolidate and reporting  purpose we created Group chart of account.
    Because when i saw the gl account balance ,it showing 10 company code line item for this reason we created Group chart of account created and assigned all gl account in operating chart of account.and group chart of account assigned in operating chart of account.
    But now i am not able to see the consolidate report of all company code totals.
    Can you guide me where i can see the consolidate report.of all company code trail balance and balance sheet.
    Thanks in advance
    thanks and Regards
    Girish.

    Hi Javeed,
    Thanks for immediate respose.
    But when i run f.08 it will show company code wise.But i want to see total balance of all company code so that i created group chart of account.
    Is there any method to see the total balance of all company code
    OR
    Any other method to see all company code total balance.
    thanks and regards
    Girish

  • Merging Different Reports and Sort by Groups

    Hi everyone,
    I am merging two different reports by using the "sub-report" function, but wanted to know if I can sort the primary report and the sub report by groups once they are merged?
    For example, the Primary report and the sub report share the same group names, in this case, company names.  However each report represent different data, one for sales performance of all the sales person within the company, and another are sales accounts maintained by the company.
    Ideally, I'd like to see the primary and sub report display the sales account data and sales performance data in one place so I can print them out in packages sorted by company names.   Currently, I am having to print out both reports separately and compiling the printouts manually (Very Tedious!).
    Thank You in advance!
    Frank

    Hi,
      In the case you can try linking main report with sub report using the group field. Right Click on sub report > change sub report link > select the field from main report and link  it to the sub report group field.
    Regards,
    Vinay

Maybe you are looking for

  • Simplest way to make Motion Title Template

    I'm transitioning from FCP/Suite to Adobe Suite and am ironing out the 'why doesn't X work' frustrations one by one pretty successfully...except for when it comes to Titles. For one of my clients, I have created a rather basic lower third template so

  • Ipfilter: does policy routing work on Solaris 10?

    Hello, - Does the ipf redirection (aka policy routing) feature work with the ipfilter that comes with Solaris 10? I would like to use the the ipf redirection statements "to interface:router_ip" or "reply-to interface:router_ip" as decribed in http://

  • Disable avatar image upload option in Convergence 1u3

    I would like to be able for users to have avatar images (populated by Administrators) from within Convergence 1u3 but I do not want to allow user's to be able to upload their own image. Is it possible to disable the "Upload new avatar" and "Restore d

  • Ansprechpartner in =?iso-8859-1?Q?=D6sterreich?= !?

    Hallo, ich bin auf der Suche nach einem Ansprechpartner für softwarefragen in Österreich (lt.meines Wissens in Salzburg ) ! bitte um baldige Antwort... an : [email protected] mfg alti

  • Message area

    Can we have two message area UI controls in the same view (one at the Top and the other at the bottom section) and ensure that the messages are displayed at both places? Requirement reason:The View is a very big form which the user has to fill in, an