How to Group Invoce Qualtity in SD by Month based on Billing Date

Hi,
I have Invoice quantity in a cube whcih I want to group monthwise.
For example :
Material            Billing Date        Invoiced Quantity
Material 1        Jan-15,2007         100
Material 1        Jan-20,2007           50
Material 1        Jan 23,2007           10
Material 2        Jan 14,2007           70
Material 2         Jan 10, 2007         10
In the Report, I want to show it as
Material 1         Jan-2007             160
Material 2         Jan-2007               80
How do I do this. How can I group the Material like this in the report.
Any suggestions are really appreciated.
Thanks

Arvind,
Hopefully i understood your requirement correctly.
What you need to do is to add the infoobject 0calmonth to your Infoprovider, and write the update rules to transform your date to 0calmonth.
Then change your query to display material and 0calmonth in the rows, and the trick will be done.
Hope it helps,
Gili

Similar Messages

  • R12: How to filter AP and PO Accrual Reconciliation Report based on GL Date

    Hi,
    Anybody know how to filter AP and PO Accrual Reconciliation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    In 12 you can rebuild and run the report for a particular period, but not a single day if that's what's required

  • How to get the first day in the month from a domain date ?

    Hi,
    I like to know how to get the first day in the month from a domain date?
    Thanks
    Stephen

    Hi Gokul...
    Instead of using the funtion module you can just write the 3 statements of code to get the first day of the week.
    Its similar to the above one but instead of writing case statement you can achive the following.
    data : w_res type i,
             w_data type d,
    w_res = w_date mod 7.
    w_date = w_date - w_res.
    write w_date.
    This works.
    Regards,
    Siddarth

  • How to add a new metadata field to iPhoto where new field is calculated as age in years and month based on a specific date and the date photo was taken ? I want to calculate and display the age of my two kids on every photo.

    Hi
    How can I add 2 new metadata-fields to every photo in iPhoto ?
    The new fields should state the age of my kids in years and months based on the date that they were born and the date that photo is taken.
    Exampel:
    My son is born 01.01.2010
    My daughter is born 01.01.2012
    Photo taken by data
    Aage of son
    Aage of daughter
    01.07.2011
    1 year 6 month
    not born yet
    01.01.2014
    4 year 0 month
    2 year 0 month
    I would like to be able to search by kids age and get the info displayed when doing slideshows.
    How to do this in iPhoto ?
    Any alternatives to accomplish the same ?
    Kind regards

    It can't be done with iPhoto.  There are some DAM (digital asset management) applications that can write to other IPTC fields that iPhoto can't read. One such app is Media Pro 1.
    However you would have to calculate the age for each date and add it to one of the fields. There are online age calculators that can do that for you: Age Calculators
    If you go thru that much trouble then use iPhoto, make the calculations and add the age to the Description field.  Then you can use Smart Albums to search for 1year 6 month text.
    OT

  • How to group photos in folders, in the main photos app in my iphone4 ?

    How to group photos in folders, in the main photos app in my iphone4 ?

    You can update your iPhone to iOS 5, in iOS 5, it will allow you to create albums in your photo app and it also allows you to move the photos from album to another album

  • How to group a report by formula field.

    Hi,
    I need to create a report based on the following report:
    http://s464.photobucket.com/albums/rr8/einas121809/
    This new report should be grouped by days and status. Then, each group should display the details of each record such as Report No, Open Date , Due Date and Summary.
    It is not a problem to display the report details, but I need to know how to group them since it involve calculation.
    Thank you in advance,
    Regards,
    einas.

    Hello,
    Right what you want to do is to get a crosstab which can be found in your toolbar or under Insert menu Insert --->Crosstab.
    You might need to use a working day formula something like this
    WhileReadingRecords;
    Local DateVar Start := {StartDate};   // place your Starting Date here
    Local DateVar End := {EndDate};  // place your Ending Date here
    Local NumberVar Weeks;
    Local NumberVar Days;
    Local Numbervar Hol;
    DateVar Array Holidays;
    Weeks:= (Truncate (End - dayofWeek(End) + 1
    - (Start - dayofWeek(Start) + 1)) /7 ) * 5;
    Days := DayOfWeek(End) - DayOfWeek(Start) + 1 +
    (if DayOfWeek(Start) = 1 then -1 else 0)  +
    (if DayOfWeek(End) = 7 then -1 else 0);  
    Local NumberVar i;
    For i := 1 to Count (Holidays)
    do (if DayOfWeek ( Holidays<i> ) in 2 to 6 and
         Holidays<i> in start to end then Hol:=Hol+1 );
    Weeks + Days - Hol
    If you need to calculate bank holidays then you have to create an array like this
    //Holiday Listing formula to go into the report header of the report.
    BeforeReadingRecords;
    DateVar Array Holidays := [
    Date (2003,12,25),
    Date (2003,12,31)
    0
    The workingdays formula needs to go into the Row and then distinct Count your orders. That should give you how many orders took x amount of days.
    Then you need to further develop your formula so that it shows <20 days, more than 20 days etc.
    Create something like this first and then ask further questions if you are stuck.
    Hope this helps
    Regards
    jehanzeb

  • Can't understand how this group by clause works

    The Schema is as below: (http://www.psoug.org/reference/rollup.html)
    CREATE TABLE grp_rep (
    person_id NUMBER(3),
    division VARCHAR2(3),
    commission NUMBER(5));
    INSERT INTO grp_rep VALUES (1,'SAM',1000);
    INSERT INTO grp_rep VALUES (2,'EUR',1200);
    INSERT INTO grp_rep VALUES (1,'EUR',1450);
    INSERT INTO grp_rep VALUES (1,'EUR',700);
    INSERT INTO grp_rep VALUES (2,'SEA',1000);
    INSERT INTO grp_rep VALUES (2,'SEA',2000);
    INSERT INTO grp_rep VALUES (1,'EUR',800);
    COMMIT;
    Query1:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY person_id, ROLLUP (person_id, division);
    Query2:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division, ROLLUP (person_id, division);
    The results of query1 are okay. It has results from rollup and group by person_id.
    But, in Query2 results of rollup are missing and results of group by division is there.
    Anyone can explain how the group by clause works when there are multiple columns involving CUBE, ROLLUP and simple column names?
    Regards.

    Thank you shoblock!
    but, What i m really looking for is,
    How group by clause works when i add regular column along with RollUp in group by clause?
    I have understood simple group by clause like
    ...group by column1,column2,column3....
    n I also know simple rollup clauses like
    ...group by rollup(column1,column2,column3,...)
    But my Problem is how does this work:
    ...group by column2,rollup(column1,column2,...)
    ...group by column1,rollup(column1,column2,...)
    See below Results:
    Query1:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY person_id,ROLLUP ( person_id, division );
    Result:
    PERSON_ID DIVISION SUM(COMMISSION)
         1      EUR      2950
         1     SAM      1000
         2      EUR      1200
         2      SEA      3000
         1           3950
         2           4200
         1           3950
         2           4200
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division,ROLLUP ( person_id, division );
    Query2:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division,ROLLUP ( person_id, division );
    Result:
    PERSON_ID DIVISION SUM(COMMISSION)
    1 EUR 2950
    2 EUR 1200
         1 SAM      1000
    2 SEA 3000
    1 EUR 2950
    2 EUR 1200
    1 SAM 1000
    2 SEA 3000
    EUR 4150
    SAM 1000
    SEA 3000
    guys, help me make understand above results!
    Regards.

  • How to group PRs in SNP

    Hi Experts,
    1.How to Group PRs considering the future PRs  to make a container load of single product of a single vendor .
    2. How to group the PR's of different products to make a container load of a single vendor .
    Like in TLB we club STR's to STO to make a full container load ,Can we also use TLB which should use the results of SNP Heu or Opt or CTM i.e PR's to vendor , and Club then using the TLB profile.
    Pls Confirm .
    Thanks.
    Ballack

    Hi Ballak,
    Yes you can use TLB functionality for heuristic results. Please go through the following Note.
    Note: 514947
    Regards,
    Kishore Reddy.

  • How to group or print index of Event Key Photos?

    I am making some backup dvds of my library for off site storage. I would like to make an index print of the event key photos but can not figure out how to group them. Can you make a smart album (clearly iphoto has them tagged in some way)? Is there just an option for printing them that I can't find? There must be a more elegant solution than opening each event and copying the key photo to an album...

    Can you make a smart album (clearly iphoto has them tagged in some way)? Is there just an option for printing them that I can't find?
    No and No I'm afraid.
    IPhoto menu -> Provide iPhoto Feedback for feature requests.
    There must be a more elegant solution than opening each event and copying the key photo to an album...
    Either that or tag them with a keyword, flag them or rate them and use that as the basis of a smart album.
    Regards
    TD

  • Need to Know How to Group Report in 30-Second Time Intervals

    I am trying to group records in the report based on a date/time field in a table.  The user enters a date/time range to report on, and I want the the records from the table that fall within the date/time range entered to be grouped in 30-second intervals on the report.  I've tried a number of different things and can't seem to get anything to work.  Can anyone provide some insight into how this can be done?  Thank you in advance!!

    Hi Joy,
    Sorry for the late reply.
    What you want to do is create a formula something like this (Syntax hasn't been verified... at all)
    whilereadingrecords;
    //I'm assuming your datetime field is a string. It probably isn't but you can do the same op with another
    //data type. I've also assumed (likely wrongfully) that the time in seconds is the last two digits
    //for sake of argument, your date time field has this format: YYYYMMDD-HH:MM:SS
    stringvar strSecondsOfCall;
    stringvar strYourGroupString; //or something
    strSecondsOfCall := right(<yourfield>, 2);
    if(strSecondsOfCall > "30") then strYourGroupString := left( (<yourfield>,15) & "30"
    else strYourGroupString := left( (<yourfield>,15) & "00"
    So, what the formula does is determine if the seconds portion of the date time occured in the former or the ladder half of the minue, and assigns it the floor value (arbitrary implementation on my part, you can call it whatever you like).
    Now, in your report, use the group exppert to group based on this formula field, and you should get the data the come out grouped in 30 second intervals.
    ie: You'll have groups like:
    20081231-12:59:00
       -all of the calls that happened from 59:00 - 59:30
    20081231-12:59:30
       -all of the calls that happened from 59:30 - 00:00
    Happy new year!!!

  • How to group together contacts?

    Hi there, I would like to know how to group people/phone numbers together under one category. For instance I have a ton of people from work I need to put into my phone but want to put them and their numbers all under one category like "Work" and be able to open it up and theres all my contacts from work. If anyone can help me I would appreciate it. I did look for answers but I kept getting things about grouping emails and thats not what I'm looking for,

    You can create groups of contacts on your computer, then sync them on your iPhone. But you will not be able to select a group as text recipient. As of today, you need an application for that. I have create a free application, Easy Group, to handle this missing feature.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How to group from two fields?

    Afternoon all,
    Any ideas how to group a report by using two fields in one formula?
    I have two fields in a table
    1: Stock_Code
    2: Misc_Code
    I need to group my report by Stock and Misc code combined. How would I be able to do this by using formula?
    Regards
    Jehanzeb

    See I tried that already pandabear however for some reason it doesn't bring the results from both fields. It is only bringing results from one field.
    The report criteria is
    {lab_credits.date_created} in date(2007,01,01) to date(2007,12,31) and
    {lab_reasons.reason_code}={?Reason_Code}
    the formula I used initially was
    {lab_credits2.stock_code}+{lab_credits2.misc_code}
    but then tried
    {lab_credits2.stock_code}+ " " +{lab_credits2.misc_code}
    however both didn't seem to work under the above conditions.
    The output should be
    5-760
    7-240
    7-250
    7-821
    AR
    CARR
    GLAZE
    TINT
    U-113
    U-114
    Where 5-760 and U-113 data is coming from stock_code field and AR to TINT is coming from Misc_code field.
    The output is ignoring the Misc field values under the given criteria.
    Regards
    Jehanzeb

  • How to group arts into a group

    I look in AIArtSuite but could not figure out how to group multiple arts into a group.
    Please help.

    Thanks very much, this is how I ended up doing:
    There are 2 arts to be grouped: image (kPlacedArt) and path (kPathArt).
    I created a new art of type kGroupArt and place the other two inside it.
        sAIArt->NewArt(kGroupArt, kPlaceAboveAll, nil, &group);
        sAIArt->ReorderArt(image, kPlaceInsideOnTop, group);
        sAIArt->ReorderArt(path, kPlaceInsideOnTop, group);

  • How to group all the reports and execute like single application ?

    Hi,
    I am trying to develop some reports in Crystal Reports XIR2 , here i have Design and Preview options that is for every report i should see , how to group all the reports and execute like single application?
    any option is there to run the report
    i mean is it possible to have a home page from there have links to each report and when i click on the link corresponding report should be shown , if it is possible , How?
    Regards,
    kathyaini

    You will want to look into Crystal Reports Server, it does exactly what you describe and more:
    http://www.businessobjects.com/product/catalog/crystalreports_server/
    Download a trial of CR Server here:
    http://www.businessobjects.com/product/freetrials.asp

  • How to "group by" and display  in separated table views

    What cloud be the approach to the following scenario:
    1) A RFC returns a list of lot of invoices.
    2 How to group by "customer code" and display in separated table views  for each customer "group of invoices" ?
    Is there a way to do this using VC or only using WebDynpro ?
    thanks

    Issac,
    you dont hv to do this using dynpro. you can achieve this in vc by using the 'Filter' operator. from the output port of the rfc, feed the results to multiple filters. hv one filter for each segregation (for eg for each customer code). Then feed these filtered entries to the table views.
    prachi

Maybe you are looking for

  • Everything crashes after FCS Remover

    Hi Everyone, So I think FCS Remover has buggered up my Final Cut Studio... I wanted to do a fresh install of FCS 2.0 so that I could put all the extra content on an external HD (i work on my G4 powerbook so space is important). I used FCS Remover to

  • ITunes does not start up when iPod attached

    This is a new problem. Don't know why. I have to start iTunes manually when I plug in the iPod. It then sees the ipod but does a very quick update. I don't know why itunes won't start up by itself anymore. Any yes, the box telling it to do so is stil

  • My Office 2004 docs from leopard when sent to PC are the size of postage stamps

    I recently upgraded to Leopard on my iMac. I have Office 2004. No problems previously. Now when I send my 2004 Word docs to a PC when they are opened they are the size of postage stamps - help!

  • OSX 10.4.6 - mDNSResponder

    Hi! When I open the console I always see some kind of error that happens very often and it seems like it's about my own computer IP that was given by my Vigor2200e router. Here is the error code: mDNSResponder: ERROR: pktResponseHndlr - received malf

  • MySql Auto Backup, Please help!

    Hi all, i am creating a java program which can auto backup Mysql database, im totally new to this kind of program, anyone got any idea? any reference and where can i get it? thanks for helping. regards, howsen