One Month Sales

HI Friends,
In my Report I want to see the one month Sales Data like as,
How much sales is happened on Monday in one coloum,
How much sales is happened on Tuesday in one coloum and like Wednesday, Thursday, Friday and Saturday.
Plz give me u kind reply.
Regards,
Rams.

Hi Ram,
    I will give you the scenario. You should convert it into ABAP code.
You have a variable where the user enters the date.
Well you will have in columns values for MONDAY, TUESDAY........
For all these columns you need to create variables which accept multiple values with no user input allowed.
In the you have to read from the calender what all dates fall under what days of the month the user enters and return the value to the variables used in the columns.
It will certainly be a good and workable code. It will workout. Its good if you are familiar with ABAP.
Hope this helps you......

Similar Messages

  • "how to use Query include one month "

    Hi all expert,
    How to make a request how to add table "QTYSALES one month yesterday"
    so that I can compare with this month.
    Query me this:
    SET ARITHABORT OFF
    SET ANSI_WARNINGS OFF
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand, convert(varchar,SUM(T0.BaseQty*T1.NumInSale)) AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END)))AS 'TURN OVER IN MONTH'
    ,round(convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END))),4)* 30 AS 'Turn Over Days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE Month(T0.DocDate) = Month(GetDate()) AND Year(T0.DocDate) = Year(GetDate())
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand
    union
    SELECT T1.ItemCode, T1.itemname,T1.OnHand, '' AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,'No Sales' AS 'TURN OVER IN MONTH'
    ,NULL
    FROM DBO.OITM T1
    WHERE T1.ITEMCODE NOT IN (SELECT ISNULL(ITEMCODE,0) FROM INV1)
    GROUP BY T1.ItemCode,T1.itemname,T1.OnHand
    ORDER BY 1
    thanks for all
    Edited by: rachelhel on May 20, 2009 8:06 AM

    haiiii allll pls help...thankss
    Hi consulatant B1
    How to use Query
    My goal is to create a table to see * The number of sales in a month yesterday *
    I want to make a request showing the amount of sales at the end of the month.
    For example this month is on May 25, so I want to show the Quantity of one month April 25
    I have tried several times, but still just wrong.
    I need expert help to solve the problem for me.
    thanks

  • Time Series Line Chart - Monthly Sales - Make $0 or "No Sales" show up - not skipped

    Post Author: kevinday17
    CA Forum: Charts and Graphs
    I have been messing with my chart for a while and I guess I'll just ask for help since I can't figure it out.  All I am trying to do is chart out monthly sales dollars by customer.  Simple enough...I have it working except I want to be able to see a $0 plotted on my graph when there were no sales in a month.  Currently it just skips over that month and goes to the next where there is data (month after i.e next group summary field)).  I've tried all sorts of ways of grouping.  If I use the "group by date, monthly," on the "Order Date" field, I can't chose it as the "On Change of" under Advanced chart (single arrow is greyed out).   So I ended up making a huge formula to make my own groups of months.  My GH2 is the customer (and my chart), GH3 is my Grouping for month and year, and the detail is every single sales order.  My graph points are based on summary data; sum of all the sales orders for that customer for that month. 
    How do I tell Crystal Reports that if there were no sales in December, then tell me 0.  Don't just ignore it.
    Maybe there is an option to make the X Axis Fixed with points (month-year, in order).  It would be nice to have it uniform for every customer.  I would love to see every graph that prints out have 36 x-axis coordinates; one for every month of the last 36 months (jan-05, feb-05, mar-05......dec-07) regardless of whether or not the customer had sales or not.
    Thanks so much in advance. 
    Kevin

    Post Author: V361
    CA Forum: Charts and Graphs
    I have CR XI, I created a formula and used it to create the chart section
    if (isnull ()) then 0 else
    So if your AMNT is a null value it should put 0, else the AMNT

  • Monthly Sales Order query Doc Status problem

    Hi Experts,
    I am having an problem while making a total monthly sales order query in which I am not getting the document status which are Open - Printed. Also note that these document which are open printed are not having any target document.
    SELECT T0.[DocStatus],T1.[TargetType],T0.[CANCELED],T0.[CardCode], T0.[CardName], T0.[NumAtCard], T5.[SeriesName], T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal],T0.[Max1099]'Total Before Discount',T0.[TotalExpns],T4.[descript]'Territory',T2.[SlpName]'Employee Name'
    ,T0.[discsum]  FROM ORDR T0  ,RDR1 T1,OSLP T2,OCRD T3,OTER T4,NNM1 T5  where  T0.DocEntry = T1.DocEntry AND T0.SlpCode = T2.SlpCode AND T0.CardCode = T3.CardCode
    AND T3.Territory = T4.territryID AND T0.Series = T5.Series and T0.[CANCELED]='N' and T1.[TargetType] is not null
    My mission for the above query is to have Total Monthly Sales Orders with value exluding the cancelled and closed sales sales ( close here means - which are manually done by right click on sales order screen and selecting Close )
    Please guied how to solve this issue because in the back end for Sales Order which have turned to deleivery are showing doc status as closed and the sales order which are manually closed are also showing doc status as closed. How to diffrentiate between them.
    Waiting for a positve feedback.
    Regards,
    Rahul

    Try this one:
    SELECT DISTINCT T0.[DocStatus],T0.[CardCode], T0.[CardName], T0.[NumAtCard], T5.[SeriesName],
    T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal],T0.[Max1099]'Total Before Discount',
    T0.[TotalExpns],T4.[descript]'Territory',T2.[SlpName]'Employee Name',T0.[discsum]
    FROM DBO.ORDR T0
    INNER JOIN DBO.RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN DBO.OSLP T2 ON T0.SlpCode = T2.SlpCode
    INNER JOIN DBO.OCRD T3 ON T0.CardCode = T3.CardCode
    INNER JOIN DBO.OTER T4 ON T3.Territory = T4.territryID
    INNER JOIN DBO.NNM1 T5 ON T0.Series = T5.Series
    where  T0.[CANCELED]='N' and T1.[TargetType] != -1
    Thanks,
    Gordon

  • Previous month sales against each date

    Hi all,
    I am working on Bo XI 3.0.
    I have a requirement where i need to display in table  -"Date" then "sales" and against that in the same table "previous month's sales"
    For e.x
    date              sales            previous month's sales
    01/04/08        45637            63536
    02/04/08          73565           78556
    and so on..
    Any one having any clue please reply .
    Thanks in advance,
    Gaurav
    Edited by: Gaurav Gayawar on May 22, 2009 7:23 PM
    Edited by: Gaurav Gayawar on May 22, 2009 7:43 PM

    Hi,
    Can you go through the forum which has been answered:
    How to calculate "Last Month Sales revnue"
    Let me know if this works.
    -Madhu.

  • Calculate Last 12 months Sales

    Hi Experts,
    I need to have MAT value in Reporting.
    MAT Value = Last 12 Months Sales Value/12.
    How can i achieve this.
    Please suggest the best way to have MAT value.
    Thanks in advance,
    Rafi

    Hi,
    Create one restricted key fig by offsetting month for last 12 months and drag sales value key fig into that.
    Now create a formula variable by dividing the newly created restricted key fig with 12.
    hope it helps...
    regards,
    Raju

  • Monthly sales ordr in alv

    hi,       i am facing a problem in creation of sales order for a particular sales organization where in i need the sales orders raised by customers of the sales organization in a report which shows the sales order number,material data in it,quantity,cost,but my requirement to display the sales month wise for all customers .for example what r the sales orders raised in january by all customers of  sales org should come under jan month,like what r the orders raised by customers in febraury in january month like this i need for a particular financial year ,my problem is i am unable to split the sales based on months,i am able to get all months sales order with out classification under one set.....if

    HI RAJ,
    this is sample code it may help u,
    u do like this pass ktab to alv u got list by monthly.
    but first field 'erdat' b/c we use this field i at end of.
    types : begin of ty_vbak ,
           erdat type erdat,
          vbeln type vbeln_va,
          end of ty_vbak.
    data : itab    type table of ty_vbak,
           ktab    type table of ty_vbak,
           wa_itab type ty_vbak,
           ty_wa_itaB TYPE TY_VBAK,
           TEMP(2) TYPE C.
    select vbeln erdat from vbak into CORRESPONDING FIELDS OF table itab
    where vbeln > 100.
    sort itab by erdat.
    LOOP AT ITAB INTO WA_ITAB.
    APPEND WA_ITAB TO KTAB.
    AT END OF ERDAT+4(2).
    CLEAR WA_ITAB.
    APPEND WA_ITAB TO KTAB.
    ENDAT.
    ENDLOOP.
    regards,
    chandu.

  • Hot to select last month sales using fiscal calendar

    Hi All,
    I have the following query listed below
    select DISTINCT
    -1,
    vODS_GLBalance_test.Page,
    vODS_GLBalance_test.FiscalYearId,
    vODS_GLBalance_test.FiscalMonthOfYearId,
    GLAmount
    From ODS.Staging.vODS_GLBalance_Test
    Left Outer Join Ods.JJill.tODS_GLBalance
    ON tODS_GLBalance.FiscalYearId = vODS_GLBalance_Test.FiscalYearId
    AND tODS_GLBalance.FiscalMonthOfYearId = vODS_GLBalance_Test.FiscalMonthOfYearId
    AND tODS_GLBalance.Page = vODS_GLBalance_Test.PAGE
    where vODS_GLBalance_Test.fiscalyearid = YEAR(GETDATE())
    AND vODS_GLBalance_Test.fiscalMonthofyearId = MONTH(GETDATE())-1
    The query runs fine and gives me the exact data if we are in lets say 2014 and months > 3.But my issue here is i am using a fiscal calendar and fiscal calendar months is not always MONTH(GETDATE())-1, for ex if we are in feb 2014 then the logic above will
    give us Jan 2014 but it should give me jan 2013 as the fiscal year starts from feb and ends in jan.
    Can someone please help me with any suggestions?
    Thanks. 

    Hi Naomi,
    Thanks for the reply as i was waiting for the answer i tried this one and looks like its working as our calendar month is always +1 of fiscal month 
    select DISTINCT
    -1,
    vODS_GLBalance_test.Page,
    vODS_GLBalance_test.FiscalYearId,
    vODS_GLBalance_test.FiscalMonthOfYearId,
    GLAmount
    From ODS.Staging.vODS_GLBalance_Test
    Left Outer Join Ods.JJill.tODS_GLBalance
    ON tODS_GLBalance.FiscalYearId = vODS_GLBalance_Test.FiscalYearId
    AND tODS_GLBalance.FiscalMonthOfYearId = vODS_GLBalance_Test.FiscalMonthOfYearId
    AND tODS_GLBalance.Page = vODS_GLBalance_Test.PAGE
    where vODS_GLBalance_Test.calendaryearid = YEAR(GETDATE())
    AND vODS_GLBalance_Test.calendarMonthofyearId = MONTH(GETDATE())
    I am not sure if you have remembered but i was struggling with bringing past 3 months sales to update, do you think something of this logic may help us anyway? 
    Any suggestions please?
    Thanks

  • One Month Since I Pre-Ordered My iPhone 4s

    It was about a month ago.  I strolled into my local Best Buy and placed my order for the new iPhone 4s.  It had finally come to the Sprint Network.  I was excited.  I pictured myself getting lost in DC with only the snarky, smart @$$ voice of SIRI to guide me safely home.  On my way, I would use my Urban Spoon app to checkout local restaurant to grab a bit to eat.  I couldn't wait until October 14.  I even took the day off.  It was just like Christmas.  I remember getting up early that morning, taking a shower and heading out to College Park.  I was in so much of a hurry, I didn't check the time.  I stop off at the local dinner to grab a sandwich.  I walked through the door at 10:05am and give the sales clerk my receipt.  And that's when it happen...........nothing!!!  Happy One Month Pre-Order iPhone 4s Anniversary!!!

    Happy 1-Month!!! How many of your friends got their Iphone 4s' while you are unable to get your own? My boss even got his before me, safe to say he got his at an Apple store. No longer will I go to Best Buy for Apple phones.

  • One month qantity

    Hi,
    Input screen with  date period  then for Particular Material want to display  sale order qty for one month.
    then total of quantity.
    Thanks
    Moderator Message: I've already locked one thread of yours here: material based total in month. Let me repeat that this is not a forum where you can get your work done by others. You need to put some effort from your side. Also, repeatedly ignoring the warnings of the Moderator could invite deletion of your user id.
    Edited by: kishan P on Aug 31, 2010 10:58 AM

    wdmn wrote:
    I chose to separate the current year as a catalog and have V5.2 update only that portion of all images and left years 2007 to 2012 untouched.
    I'm not intending to update those images to 5.2 until this correction of feathering for the clone brush is adjusted.
    If you haven't deleted your original catalog attached to v4.4 the older images can still be retrieved by opening Lr4.4.if you have kept it installed.
    Yes, that's the approach I'm taking...back to my old 4.4 catalog and wait. Thanks for the info regarding the 3-month estimate. That's what I suspect might be the case, and I'm frankly p*ssed to hear that (if it's true).
    Before purchasing the LR 5 upgrade I'd been carefully monitoring posts in this forum during the 5 beta and then after the 5.0 release. When 5.2 issued and seemed to fix some of the egregious issues I stopped checking the forum so carefully--concentrated on getting my Mac OS updated so I could get LR 5.x. I got everything installed and updated and then within 5 minutes of using it saw the problem (and did a forum search) and realized I'd pulled the trigger too quickly. Well, it's only 79 bucks, and I will... eventually...get to use a fixed version.
    Phil

  • I waited one month for purchasing a BROKEN laptop of Lenovo!

    Hi everyone,
    I have placed a U310 laptop last month.
    For some strange reasons, this laptop has been sent to Lenovo warehouse and it takes around another two weeks for me to get it!
    However, when I opened the UPS package received yesterday, then I found
    THIS LAPTOP HAS A BROKEN TOUCHPAD! please enjoy pictures. Is this the laptop I waited for more than one month!? **bleep**!?
    Link to picture
    Link to picture
    Now, what makes more me angry is the retarded Lenovo service.
    The story is, I need to wait more than half hour to get online representative, then they will tell you to call someone.
    That takes another half hour! So, after I fininshed this, I am still waiting for this POST SALE TEAM answering my phone.
    I am sorry I cannot afford so much time on this.
    Here is Order Number - 4242135568. Hope someone comes to help me with this.
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

    haha **bleep**. i wonder how that happened with the lid down.
    that's what you get for have extra fancy glass trackpad.
    Y580 3610qm

  • How to run logic one month at a time

    Hi All
    I got a script logic funding.which contains 6 sub logics in it.
    for ex: funding calc
    tax lgf
    initialize lgf
    fund_ob lgf
    funding lgf
    dirtax lgf
    reservers lgf.
    my problem is if i run the above logic for full year my balance sheet is out of balace. becoz my fund_ob is pulling prior values.
    how can i run above set of logic by month wise.
    for jan:
    tax lgf
    initialize lgf
    fund_ob lgf
    funding lgf
    dirtax lgf
    reservers lgf.
    feb:
    tax lgf
    initialize lgf
    fund_ob lgf
    funding lgf
    dirtax lgf
    reservers lgf.
    thanks everyone

    If you are saying that you need to run a different set of logic for one month vs. another month,. then take a look at *Logic_BY and *Logic_Mode and *Logic_Property keywords in the online help, these allow you to run a different "default" logic script based on (in your example) the time dimension member being sent.  You will need to add a property called LOGIC to the Time dimension, and populate it with the name of the logic file you'll call in logic.
    Greg

  • I am a Creative Cloud Member and have the Membership for one Year but in one month it syays expired

    I am a Creative Cloud Member and have the Membership for one Year. It has been only one Month and the Plan says expired. I am not sure what has happened but I am unable to find any Customer Care Number of Adobe.  Can anyone please help. Its Urgent. I use MAC.

    Moving this discussion to the Adobe Creative Cloud forum.
    Abhishek_zico you should be able to contact our support team at Contact Customer Care.  You will want to work directly with our support team regarding the status of your subscription.

  • P2415Q - No display over DVI, HDMI. No menu. Worked perfectly for one month over display port

    Reason Line: Dell P2415Q. After one month working perfectly over display port, no display on screen over Display Port or HDMI, no response to menu buttons, backlight and power LED on but no image on screen.
    Problem Description
    The monitor worked out of the box for one month using the display port to mini display port cable provided with the monitor, which was plugged into my XFX 7970 and 7950 graphics cards. It supported 4K at 60Hz and was exceptional for photos, videos and games. On Wednesday the monitor stopped working, no image or menu is displayed on the monitor. I plugged in my old monitor to help diagnose via DVI from the same graphics card. When I press the power button on the Dell P2415Q monitor, the power LED lights up and the computer detects the monitor (as shown in the windows screen resolution menu). It sets it as a secondary display but the monitor remains black, I can see the power LED and backlight is on. No power saving mode popup appears on the monitor, when I press the menu buttons there is no response from the screen, it remains black. I repeated with a HDMI cable the same issue occurs with no response or image. I repeated and disabled crossfire (which allows the graphics cards to function independently) and tried the second graphics card with no response. I tested the HDMI cable I used on my old LG monitor, it works well. I have tried connecting a laptop over HDMI to the monitor too, with no response from the monitor. I have exhausted all the tests I can think of, I presume I will have to return the monitor for repair or replacement under warranty. A question to the dell rep and community - is there anything else I can try / do to get it working? 
    Monitor / Computer Details
    Monitor service tag: <removed>
    Computer: Non-Dell, self build about 2 years ago. Ivy Bridge i5, Gigabyte Sniper Motherboard, 16GB RAM, XFX 7970 GPU and XFGX 7950 GPU in crossfire, 256GB SSD, 860W Corsair AX power supply (860W on 12V rails). Windows 7, 64-bit. (Secondary Monitor LG D2342).
    Operating System: Windows 7, 64 Bit.
    Video Card: XFX 7970 and XFX 7950 in Crossfire (tested separately, monitor produces fault with both).
    Video Card Driver: 14.12 AMD Catalyst Driver (rolled back to older driver, monitor still produces fault).
    Video Card Output Ports: Tested with miniDP and HDMI on both cards, with crossfire enabled and disabled. Monitor still produces fault.
    Video Card Cable: miniDP to DP cable provided with monitor. HDMI cable, tested with alternate monitor to confirm it functions correctly.
    Monitor Menu Button: Non responsive, when power is turned on the computer successfully detects the Dell P2415Q monitor, the backlight turns on but no image appear on the screen. Pressing the menu buttons yields no result - menu does not appear on the screen. Power LED is on.
    Monitor Purchase: Purchased from Overclockers.co.uk March 2015.

    * Turn the monitor off
    * Disconnect all cables from the monitor including the power cable
    * Press the monitor power button in for 15 seconds
    * Reconnect the monitor cables and re-test. If still no go, your only option is to get it exchanged per the purchased warranty
    * But first the service tag must be transferred into your name using this form

  • Creative Cloud is taking too much time to load and is not downloading the one month trial for Photoshop I just paid money for.

    Creative Cloud is taking too much time to load and is not downloading the one month trial for Photoshop I just paid money for.

    stop the download if it's stalled, and restart your download.

Maybe you are looking for

  • Same number range for two different series groups?

    Dear all, There are two scenarios 1.Normal export under bond case, series group is 20 and number range maintained,running number is 300016 2.Another scenario,where ARE1 document generation for Deemed exp customer(already customised) , series group is

  • Icon on home screen - yellow globe

    I have only had my Blackberry for a few days but an icon appeared on it earlier today has which is exactly where new SMS and email notifications appear. It is a yellow globe like the browser icon and has a '1' next to it. I do not know what this mean

  • How do I make final cut pro 10.0.9 work with os x yosemite

    Was slow to upgrade desktop to Yosemite. Now find that Final Cut Pro version 10.0.9 will now open or work.  I've seen several posts - and have attempted those solutions but before I can get to it, the program automatically shuts down.  Any suggestion

  • Oracle 9i installation on SuSE 7.3 freezes

    Hello- just tried to install Oracle 9i on my SuSE 7.3 Linux box. After the software installation I tried to create a new database with "dbca", but when Oracle starts to create the database it freezes the whole system. I can't even move the mouse curs

  • Send email settings

    Hi, I am trying to send an email on a button click event. I do not see any error when the function module to send email is executed but I did not see any email to my personal email address too. Can you please guide me step by step that which all sett