Generate a Sales report filtered by US State

I need to generate a sales report by US state. Currently, I don't even see "state" as a data point on the sale reports. What can I do to make this work?

Hi Antonio,
Personally I would add two sales stage fields to your report. Make one of them a BIN, e.g. go to column formula and select "BIN"... Then create two groups 1 for Wons and the other for Active. The code works out something like this:
case WHEN "Historical Sales Stage"."Sales Stage" IN ('2: Initiate Relationship', '3: Assess and Evaluate Needs') then 'Active' WHEN "Historical Sales Stage"."Sales Stage" = 'Closed/Won' then '' else "Historical Sales Stage"."Sales Stage" end
You put a prompt on this field where the user can select whether they want to see Won/Active if they want to see all they just skip the prompt, any use to you?
Oli @ Innoveer

Similar Messages

  • How to generate Top sales report from SAP data ?

    Hello experts,
    I am completely a newbie to SAP BO , can any one guide me how to generate TOP sales of the year report from SAP data ?

    Hi David,
    First Let me know the Source & Tools to involve.
    Let me go with the generic approach:
    If the source is BW, then you can create the logic in query designer designer and then you can incorporate the data into the dashboard or webi or crystal report whatever its.
    If the source is sql or anyother DB then it can also be achievable in crystal or webi to write the logic in top 10 values by ranking then you can incorporate the data into the dashboard, but here you can limit the top or bottom values.
    Hope this helps, please revert for more clarifications on this.
    --SumanT

  • 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]'

  • Error in sales report

    Hello experts,
    I am generating the sales report where for some billing document all variable cost,total cost of goods sold is appearing but for some billing document its not.Can anybody say what i s the reason.
    Thanks

    I am generating the sales report
    Not sure whether it is a standard one or zee. 
    Nevertheless, you need to make few checks in the following areas:-
    1)  If pricing procedure is different, then go to V/08, select that pricing procedure and ensure that the condition type VPRS is maintained with Subtotal B and Requirement 4
    2)  In material master, go to sales org.data and check whether "1" is maintained for the field "Matl statistics grp".
    3)  In VL02N, for that delivery, ensure that you could see the corresponding material document.  If not, check what movement type is flowing in that delivery document.
    thanks
    G. Lakshmipathi

  • Unable to generate Sales Report of Business Partner  by State-XL Reporter

    We are not able to generate Sales Report of Business Partner  by State using XL Reporter.
    The issue is that we can not access the Bill to State for BPs, or for that matter the Ship-to State.  We can access Bill T street, block, city, country u2013 everything except state.
    There is a CRD State, but for sales reports this is useless.  Can someone advise on this?
    Thanks in advance,
    Srini

    You can get around this by creating a UDF and formatted search to populate it.
    The XL Report can then be created, but, watch out on upgrade - XL Reports with UDF's are not easy on upgrade, especially where the UDF will be a run parameter. I often have to re-write after upgrade, so store a base one without the parameter setting

  • Territory Wise Sales Report

    I want to generate territory wise sales report using sql server reporting services from sap b1.  How can I define the hierarchy where my state will be the top group, the territories will be the sub groups and the executive name and sales value will be the details.  How can I transform the parent, child relation into a group, sub group option in a report.  Kindly provide sample sql query for the same.
    Thanks in advance.

    Dear Gordon,
    As advised by you i have created territory hierarchy in the territory setup, where zone is the first level, state is the second level and territory (district) is the third level and in the BP master territory field this third level is picked. I am finding it difficult to develop hierarchy wise report where the report when run should show the zone wise net sales summary (net in the sense, minus all the sales returns and credit notes, etc) and when drilled should show the state wise total and in the last level the territory wise sales and if possible one more drill where the BP under that territory with sales amount will be shown.  Request you to kindly help me with a base query wherein i can modify the same to develop many variation of the same report.  Thanks in advance.

  • Sales Report for US Sales and Use tax

    Hi,
    I'm looking for t-code to extract detailed sales report having Gross sales, Exempt sales , Ship to state, Ship to County\ City,  Sales Tax collected. If I'm getting this report i can verify what my sales tax software is updating.
    When i extract  tcode - ZINVLIS i don't get much detail.
    Please help me in extracting complete sales detail which can be used for sales and use tax verification process and audit purpose.
    Thanks,
    Karthik

    Hi Karthik,
    There is no standard report available as per my knowledge.You may develop Z report to achive your requirment. Check some LIS report can give data (MC01 is transaction where you can check all type of key figure reports)
    Regards
    Mani Kumar

  • SALES REPORT (Credit memos Subtracted)

    Hi all,
    I would like to come up with a detailed Sales Reports that shows the Quantity and Value of items sold per day (AR Invoices) excluding the credit memos. I later want to use the same query in crystal reports. I came up with the below query; the select statements are executing individually but using 'UNION ALL' I am getting a 'Conversion' error.
    SELECT T0.[CardCode]Code, T4.[SuppCatNum]cat, T4.[FrgnName]frn, T1.[Quantity]InvQ, T0.[DocTotal]InvT,0 MemoQ,0 MemoT FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry full outer JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode full outer JOIN OUSR T3 ON T0.UserSign = T3.USERID full outer JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01')  AND T0.DocDate=[%0]
    union all 
    SELECT  0 Code, 0 cat, 0 frn, 0 InvQ,0 InvT, T1.[Quantity] MemoQ, T0.[DocTotal] MemoT FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry full outer JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode full outer JOIN OUSR T3 ON T0.UserSign = T3.USERID full outer JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0]
    kindly assist refine this query or come up with a better one altogether. Thank you.

    Hi,
    Try:
    SELECT T0.CardCode Code, T4.SuppCatNum cat, T4.FrgnName frn, T1.Quantity InvQ, T1.LineTotal InvT,0 MemoQ,0 MemoT
    FROM OINV T0
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN OITM T4 ON T1.ItemCode = T4.ItemCode
    WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0\]
    union all 
    SELECT  '', '', '', 0,0, T1.Quantity, T1.lineTotal
    FROM ORIN T0
    INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN OITM T4 ON T1.ItemCode = T4.ItemCode
    WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0\]
    Thanks,
    Gordon

  • Error in Sales-A/R-Sales Report-Sales Analysis

    Dear All,
    After upgrading Sap 2007B ( PL:10 ) to sap 8.8 ( PL:05), we are facing some problems like when we generate Sales Analysis report Under....Sales-A/R------Sales Report.....Sales Analysis.....select Quaterly Report. In item Description it gives the numeric values instead of item names.
    So plz help us on this matter......................

    Dear Dinesh,
    There seems to be some data corruption/inconsitency in your database.
    Please Log your call to the SAP Support team.
    Thanks
    Asif

  • While generating the huge report getting Java Heap Space Error

    Hi All,
    We are using XML Publisher 5.6.2. we have to generate the huge report which contains more than 300 sql statements. Since our schema structure we can not reduce the queries. Now we are facing issue while generating the report. It takes lot of time and gives 'java heap space error'. We are using data template and RTF template for generating excel report.
    Can anybody help me to resolve the issue? or is there any other way to generate the huge reports?
    Thanks,

    Hi,
    I had seen the forum, but we had already adjusted the parameters in the oc4j "-XX:MaxPermSize=128m -Xmx512m" values to 4096. but still we are getting the java heap space error. since we increased the size of xmx value, XML Publisher occupies 61% of memory of the server. B'coz of this our other applications are getting affected.
    and also, since we are using XML Publisher 5.6.2, can you please assist us how to set the scalable property to 'true'.
    Thanks,
    Ramya.
    Edited by: user753355 on Aug 12, 2009 3:35 AM

  • Report in which collect statement .

    report in which collect statement  is used and also its purpose.

    COLLECT
    Basic form
    COLLECT [wa INTO] itab.
    Addition
    ... SORTED BY f
    Effect
    COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
    If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
    If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields.
    If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
    If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab .
    After COLLECT , the system field SY-TABIX contains the index of the - existing or new - table entry with default key fields which match those of the entry to be processed.
    Notes
    COLLECT can create unique or compressed datasets and should be used precisely for this purpose. If uniqueness or compression are unimportant, or two values with identical default key field values could not possibly occur in your particular task, you should use APPEND instead. However, for a unique or compressed dataset which is also efficient, COLLECT is the statement to use.
    If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing this can you guarantee that
    the internal table will actually be unique or compressed, as described above and
    COLLECT will run very efficiently.
    If you use COLLECT with an explicitly specified work area, it must be compatible with the line type of the internal table.
    Example
    Compressed sales figures for each company
    DATA: BEGIN OF COMPANIES OCCURS 10,
    NAME(20),
    SALES TYPE I,
    END OF COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 10.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Tiger'. COMPANIES-SALES = 20.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 30.
    COLLECT COMPANIES.
    The table COMPANIES now has the following appearance:
    NAME SALES
    Duck 40
    Tiger 20
    Addition
    ... SORTED BY f
    Effect
    COLLECT ... SORTED BY f is obsolete and should no longer be used. Use APPEND ... SORTED BY f which has the same meaning.
    Note
    Performance
    The cost of a COLLECT in terms of performance increases with the width of the default key needed in the search for table entries and the number of numeric fields with values which have to be added up, if an entry is found in the internal table to match the default key fields.
    If no such entry is found, the cost is reduced to that required to append a new entry to the end of the table.
    A COLLECT statement used on a table which is 100 bytes wide and has a key which is 60 bytes wide and seven numeric fields is about approx. 50 msn (standardized microseconds).
    Note
    Runtime errors
    COLLECT_OVERFLOW : Overflow in integer field when calculating totals.
    COLLECT_OVERFLOW_TYPE_P : Overflow in type P field when calculating totals.

  • 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

  • Can i get month, quarterly, half yearly, yearly wise sales report basing on

    hi,
    sap gurus,
    good evening to all,
    how can i get month, quarterly, half yearly, yearly wise sales report basing on division and material.
    is there any std transaction code for that.
    customization is requried for that.
    regards,
    balaji.t
    09990019711

    Standard SAP SD Reports:=
    Statistic Group:
    Purpose u2013 To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type .....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Regards,
    Rajesh banka

  • Material Group-wise Sales Report

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

    Hi Vinod,
    MB52 is giving stock of Material on Hand, I want sales report.
    regards
    Rajesh

  • EU Directive Change on Supply of Services (EU Sales Report)

    This thread is relevant for EU localizations + Switzerland only.
    The Council of the European Union has amended Directive 2006/112/EC with Directive 2008/8/EC as regards the place of supply of services. Besides introduction of two significant rules determining the place of supply of services to taxable persons (where the recipient is established) and non-taxable persons (where the supplier has established his business), the Directive requests from every taxable person indentified for VAT purposes to submit a recapitulative statement including service transactions.
    The SAP Business One Solution Management is working on the solution to meet the requirements from this Directive effective 01.01.2010. We are considering to modify setup of Tax Groups to differentiate service Tax Groups from those used for inventory item Tax Groups and to modify respective existing reports - EU Sales Report and 349 Report (Spain) - and/or to introduce new report to include service transactions.
    We also wait for relevant national authorities from all countries to provide specification on required structure and data of new recapitulative statement incl. service transactions.
    Feel free to raise / post any comment, suggestion, expectation from this modification.
    Thank you.
    Peter Dominik
    B1 Solution Management

    Hello,
    The SAP Note 1398353 has been released containing recommendations to B1 users and planned solution outline regarding change in EU Sales Reporting (to include also service supply) effective January 1, 2010.
    Peter Dominik
    B1 Solution Management

Maybe you are looking for

  • Setting max-height with contain for bg image

    Hi , I currently have a simple image that I want to sit in the top right corner, however I would like it to scale so the whole image fills the right hand of the viewport (only if they make the viewport smaller than the original image though). The con

  • Host config in mac OS for PI

    Hi I have installed SAP gui in Mac os. I am able to access the abap gui of PI with no issues. I would like to know how to configure the host file to include PI server to access the java gui of PI. In short i would need to know how to access and how t

  • Elements 10 won't finish installing. it says installing required shared technologies and wont go any

    I tried installing elements 10 last night and part way through it just kept saying installing required shared technologies and stayed on that and won't go any farther. I've tried uninstalling it and starting over but it won't let me do that either. I

  • ALEAUD01 idoc

    Hi, I am receiving a 850 from edi translator via PI into ECC. Can I use ALEAUD message to send the idoc status back to translator via PI. Since the incoming order will have sending partner type as 'KU' and it seems ALEAUD works only for logical syste

  • Pass output of one script to other

    Hy friends, I have created some 4 test scripts as below- Script-1:-PR Creation Script-2:-PR release Script-3:-PO creation wrt PR Script-4:-PO release Now I want to pass output of first script (PR No which is created) to third test script to create PO