Weekday for ocalday

Hi All,
I need your guidance and help on the folowing issue.
I need to develop a report where client watns to see weekday wise data in a given month, for example if my input is 08.2010 then the report should show  sales value
for all Mondays in that month, and all tuesdays value, wednesday values and so on........
I have two questions
1. how can i get text for 0calday, do i need to create text variable with customer exit, if so i request you to  give code if any body have.
2. How to resrtict weekday wise sales, as i wont have weekdays in query designer,,,coz weekday will be populated at query runtime only..
Request you all to provide valuable suggestions and help.
Regards,
Yunus

yu have to create a key figure for the data and on the dat you have to create a text object..once you open the object yu can create text variable sthere some are sap given there you can take alook at them, you need to have it a replacement path give a text variable replace it by key or text and give it a vlue or if you going to write abap code on it then give it replacement path to customer exit.

Similar Messages

  • Q or Enhancement: Different Playlist for different weekdays for iPod Alarm

    Current:I can associate a Playlist for an Alarm Setting in IPOD classic.
    Required: How to enable different playlists for different weekdays for an iPod Alarm?
    Appreciate responses.

    I think you will have to create a different alarm for each day. Name the alarm by the day of the week and select the desired playlist for that day of the week.

  • In a query, how to display the calendar day and the weekday in the heading

    Hi Experts,
    I am in a situation where I need to have calendar day and the weekday in a heading of a column in a query? we are in BW 3.5.
    Here is an example:
                         04.22.2007
                         Sun
    Branch 001      1,000.00
    Branch 002      2,000.00
    Branch 003      3,000.00
    in my query, this is a restricted key figure with sales qty and calendar day and I have a text variable to show the calendar day. In addition to that, the customer wants weekday as well.
    Not sure how to do this.
    Any help is much appreciated.
    Thanks.
    Jenny.

    Hello ,
          This InfoObject do not maintain the weekday ...so it is difficult to show the Weekday for a date as per the standard way.
              You need to write a Customer exit variable..and you need to use a Function Module : DATE_TO_DAY. This will convert your date to day ie 23.04.2007 = Monday.
          Note: This function module is not available in BW so try to copy this FM from R/3 system.
          I am sure this will solve ur issue:-)
                    --EnjoySAP
    Have a great day!

  • Reminder Mail for PO/PR approval

    Hi Experts,
    For PO/PR approval, one mail is sent to respective person.
    If the approval/reject activity is not done then one reminder mail should go after 24 hrs and after 48 hrs the PO/PR is required to approve automatically but the hours should consider weekdays also i.e. if PO/PR is created on Friday then the reminder mail should go on Monday because Saturday and Sunday is holiday.
    This process should be done using workflow.
    Please tell me the process/activity to configure this process.
    Regards,
    Amit

    But how to consider the weekdays for reminder mail.
    I think :- Write a program to store the WI's in a Ztable for which Deadline Monitoring has to be done and shcedule in background.
    Based on the date of the WI and time between the mail execution send the notification mail such a way.
    Alternative:
    create 2date and 2 time WF container elements one for latest start and other for latest end (one for each)
    Before the workitem execution check create a background acivity step execute a method and in that step check for the creation date of WI whether Friday or Saturday or Sunday.
    If its being executed on friday then export the mondays date and time to the wf container element for latest start and Tuesdays
    date and time for latest end container elements that you had created.
    In deadline monitoring tab of latest start and latest end select the Refer.date/time as Expression type and pass the new dates that you store in WF container element.
    Hope this it helps
    Regards
    Narin.

  • Function Module or alike for Data Cleansing

    Hi Experts,
    Does someone know a function module, method or something to create a complete cleansing case, that is, a cleansing case (header) and its mapping (relationship among the master and sourceu2019s fields).
    I found the FM BAPI_CLEAR_CASE_CREATE_MULTI, however it just create a cleansing case, without the mapping. So the user should use the transaction BUPA_CLEAR in order to map the fields.
    Regards,
    André

    Hello Joesph,
    What do you want to calculate?
    Check these Function Modules
    DATE_COMPUTE_DAY Returns weekday for a date
    DATE_CONVERT_TO_FACTORYDATE Calendar function: Returns factory calendar date for a date
    DATE_GET_WEEK Calendar fucntion: Returns week for a date
    DAYS_BETWEEN_TWO_DATES
    LEAP_DAYS_BETWEEN_TWO_DATES
    Thanks
    Chandran
    Edited by: Chandran Ganesan on Mar 4, 2008 2:41 PM

  • Find the 'DAY' for a given 'DATE'

    Hi Folks,
    I need a help regarding finding the day for a given date.
    My requirement is that..,
             If I enter a date using 'parameters', it should write the 'day' for the corresponding date.
    To be more specific.....,
    if I enter date as ' 07/15/2008 ' it should return me  the day as 'Tuesday'.
    Regards,
    Naveen G

    HI,
    FM LIST WITH RESPECT TO DAY, WEEK, AND MONTH.
    CALCULATE_DATE : Calculates the future date based on the input .
    DATE_TO_DAY : Returns the Day for the entered date.
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date
    RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
    MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
    MONTH_NAMES_GET : Get the names of the month
    WEEK_GET_FIRST_DAY : Get the first day of the week
    HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
    SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS : Returns the last day of the month
    DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
    Reward points if useful,
    siri

  • Weekdays and dates

    hi all,
    i have the following two requirements. Please let me know if there are any function modules for the same.
    1) I have a From-Date and a To-Date. Within this interval i want to find all the nth days of week. for example for n = 2, i want the dates for all mondays within this period.
    2) again for the interval (from-to date) i want the dates on the nth weekdays. for example, for n = 4 and weekday = 2, then i want dates for all 4th mondays of month within the period.
    (of course this means that the period will span for more than one month for the second requirement while for the first it can span for more than one week)
    regards,
    PJ

    Hi,
    combine fm <b>WFCS_FCAL_WDAYS_GET_S</b> (get workdays)
    and  fm <b>DAY_IN_WEEK</b> (nr. of the day)
    Andreas

  • When will the stores have business workshops after the 5pm timeframe, for those that work can go to them?

    When will apple stores have business/productivity workshops after the 5pm time weekdays for those that work?

    You would need to talk to the store managers about that; we're just fellow users here. I would guess that they schedule workshops during the day when traffic is lighter so as to not impact and be impacted by evening retail traffice.
    Regards.

  • How can I create a new calendar that starts the week on monday?

    Excel can do it, but I really like the template for calendars in numbers. That calendar is for printing it, so i don't need any special functionalities, only the template, with blank cells i can hand-write in.
    Thanks!

    Hi And95es,
    The Calendar template is very clever. Changing it to start on Monday would be a huge task. Here is an idea for a non-automatic calendar. Start with a table for month and year. Hide the table name if you like.
    A1 is a pop-up menu to choose a month. Type the year in B1.  I am trying to come up with a formula to show the day of the week for that month and year in B2. This is because you will have to type a 1 into the correct day in the calendar table to generate dates for the whole month.
    Create an  outline calendar like this:
    A2 contains the number 1
    B2=A2+1 and fill right
    A4=G2+1
    B4=A4+1 and Fill Right.
    Now select Row 4 and copy.
    Paste into every second row below.
    Format the table to make cells big enough to write in. Save as Template because you are about to make a calendar and you will need the template for next month.
    Type a 1 into the cell that is the first of that month. Now clear contents of cells you don't need.
    It would be handy to have a formula to show weekday for the first of the month. Not essential!
    Regards,
    Ian.

  • How do I repeat a iCal event daily without the weekends.

    My son has a practice every weekday for two months. When I go to put it on the iCal, it offers me daily, weekly, etc. and customize. Yet, the customize doesn't offer a "weekday" option. Does anyone know how to do this other than doing it daily and removing the weekend references?

    Yeah, you just do the custom option. You do it on a weekly scale, and you do it every "one" weeks or basically every week and you simply highlight the days monday through friday and leave the weekends out. Also, tell iCal the date that you want them to end on in two weeks and they'll just show up for that span of time.
    Hope that's helpful,
    Zac

  • How to hide date in calendar facet

    Hi All,
    I have a requirement to hide the Dates on the calendar and widget has to show Sat, Sun , Mon without dates.Is there any way to customize calendar app to show only weekdays but not dates?
    Note:I am supporting only week mode in my app.
    Thanks

    Yes, am talking about af:calendar; In the week view, if you observe , date is shown along with weekday ,for example sun 7/5. I want to hide 7/5 and display sunday alone.Is there a way?

  • Calculating duration between cue point?

    I'm using Flash Pro CS3. My project is AS2 targeting FP8.
    I have an flv component on stage. My .flv has cue points and
    I have buttons underneath the component that show the title of each
    navigation cuepoint in a dynamic text field. I have another dynamic
    text field that shows the cuepoint time for each cuepoint,
    positioned next the the title of the cuepoint. That all works well
    but hoping to accomplish a bit more and can't find any code help.
    The three things I'm trying to do are:
    1. Instead of showing current time at a particular cuepoint,
    show the duration of the section/chapter, if you will. How can I
    calculate duration between two cuepoints and display it in my
    dynamic text field? Is there something I should do when
    encoding/adding the cuepoints or can I use AS with the cuepoints I
    have?
    2. Once I get that duration and have it display instead of
    the actual cuepoint time, have it countdown backwards when the
    playhead is in that "chapter"?
    3. Show these times in the mm:ss format?
    Thanks for any help or links you think might be helpful...
    -Scott

    Function Modules related to Date and Time Calculations
    CALCULATE_DATE : Calculates the future date based on the input .
    DATE_TO_DAY : Returns the Day for the entered date.
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date

  • Early days in ABAP

    Hi all,
    Lets try and recollect our very early days in ABAP,when we were learning just the basics.I am sure most will have a memorable incidents of the days.To start with mine i can tell while learning the ABAP for very first time i used to be so much confused with the data declarations,why do we used structures,table type and what was the difference between them,difference with with header line and without it..also why do we need to need to maintain text modules when we can directly text boxes in forms...and a lot more. Now when i have the answers to them with experience the questions seemed so silly..:)
    Hoping to hear more silly incidents of our past.
    Thanks,
    Abhishek

    Hi,
    If your calculating dates please do not manually calculate it like that.
    You need to determine like week numbers, month and days.
    The best way to do it is by using FM related to dates. Play around with these FMs in your program:
    Function Modules related to Date and Time Calculations
    CALCULATE_DATE  - Calculates the future date based on the input .
    DATE_TO_DAY - Returns the Day for the entered date. 
    DATE_COMPUTE_DAY - Returns weekday for a date
    DATE_GET_WEEK - Returns week for a date
    RP_CALC_DATE_IN_INTERVAL - Add days / months to a date
    DAY_ATTRIBUTES_GET - Returns attributes for a range of dates specified
    MONTHS_BETWEEN_TWO_DATES - To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2 - Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES -Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS - Find the difference between two dates in years, months and days.
    WEEK_GET_FIRST_DAY - Get the first day of the week
    SD_CALC_DURATION_FROM_DATETIME - Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE - Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES - Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS - Returns the last day of the month
    DATE_CHECK_PLAUSIBILITY - Check for the invalid date.
    DATE_2D_TO_4D_CONVERSION - Year entry: 2-character to  4-character.
    DAY_IN_WEEK  - Input date and will give the name of the day 1-monday,2-Tuesday....
    SD_DATETIME_DIFFERENCE - Give the difference in Days and Time for 2 dates

  • Can i count the number of Mondays in a specific month with a formula?

    Hi
    I am looking for a streamlined way of calculating an amount to invoice for a job that I am paid for weekly, but for which I invoice monthly, meaning that I am invoicing different amounts each month, depending on how many Mondays fall in a given month (i.e. 4 or 5).
    So I am wondering if there is a function I can use to calculate the number of Mondays in a given month automatically and then I can use this value to multiply by my weekly charge to calculate the amount to invoice each month.
    Thanks
    Nick

    Responses below apply to my earlier post.
    nick_harambee wrote:
    1. What part of the formula do I need to change to do the same for other days of the week, and for other years?
    No change for other years, as the full date is entered.
    I haven't looked at changes necessary to the version above to show results for other days. See below for a new table that does all days.
    2. Would it be possible to construct one table with the calendar for a whole year, which would generate a count for each day of the week, which I could then use as and when needed? Or would it make more sense to construct a separate table for each day of the week (as I am referring to in question 1)?
    Depends what information you need.
    If you need the count for only one week day, then a table showing only the count for that day of week will avoid having to search it out.
    If you need the number of occurrences of each weekday in each month, then a table showing those, with or without an attached calendar, is in order.
    Here's one that shows the count of each weekday for each month. It uses two formulas, derived from the earlier posts by Yvan and Jerry:
    B1: =DATE($A,COLUMN()-1,1)
    B2: =IF(AND(DAY(EOMONTH(B$1,0))>28,MOD(WEEKDAY(EOMONTH(B$1,0))+7-(ROW()-1),7)<(DAY( EOMONTH(B$1,0))-28)),5,4)
    The formula in B1 is filled right to M1, and the cells are formatted to show only the Month and Year. Note that the cells actually contain Date and Time values, which are used in the second formula's calculations.
    The formula in B2 is filled right to M2 and Down to M8.
    Day names in column A are entered directly and are not used in the calculations.
    The 4 digit year number is entered directly in A1. Change this number to change the year.
    <img src="http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countw eekdaysinMonth.png" border="0" alt="Count of weekdays in month(s)">
    Conditional formatting is used to fill cells whose value is equal to 5 with a yellow background.
    Regards,
    Barry
    Edit:
    Direct address to image for use if not showing above.
    http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countweekday sinMonth.png
    Message was edited by: Barry

  • Urgent: Date format conversion

    Hi
    I need to convert the date from 08/31/2006 to 31-Aug-06 format.
    Plz help me out.  Useful answers will be rewarded.  Thanks in advance.

    Hello,
    Check the table :
    T247
    Check these fm's
    Function Modules related to Date and Time Calculations
    DATE_COMPUTE_DAY  : Returns weekday for a date
    DATE_GET_WEEK  : Returns week for a date
    DAY_ATTRIBUTES_GET  : Returns attributes for a range of dates specified
    MONTHS_BETWEEN_TWO_DATES  : To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2  : Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES  : Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS  : Find the difference between two dates in years, months and days.
    MONTH_NAMES_GET  : Get the names of the month
    WEEK_GET_FIRST_DAY  : Get the first day of the week
    HRGPBS_HESA_DATE_FORMAT  : Format the date in dd/mm/yyyy format
    SD_CALC_DURATION_FROM_DATETIME  : Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE  : Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES  : Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS  : Returns the last day of the month
    Vasanth

Maybe you are looking for