Provide Logic for Day,week,month,year..
Hi Experts,
My Requirement is as follows...
The field is for plant maintenance cycle in days/weeks/months/yrs. The table shows it as a floting number for MMPT-ZYKL1.
But the transaction IP02 shows this field as a numeric field. There is some background method being done on this field before display.Can i have the logic for Day,week,month,year..
Could any one please provide logic for this...............will appreciated..
Thanks ,
vamsilakshman.p
Hi..
try below code.
CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
EXPORTING
char_unit = <W_MMPT-ZYKL1>
decimals = 0
exponent = 0
fltp_value_si = <W_MMPT-ZEIEH >
indicator_value = ‘X’
masc_symbol = ' '
IMPORTING
char_value = <res__number_days>.
regards.
laxman
Similar Messages
-
Disconnected Slicer in PowerView - Hour | Day | Week | Month | Year | Max
I want to create a Power View chart in Power BI with the Minute/Hour/Day/Week/Month/Year filters:
Workbook can be downloaded at:https://www.dropbox.com/s/r00btg5zb8snohz/Disconnected%20Slicer%20Demo.xlsx?dl=0
when MINUTE is selected the chart should display:
Total Number of Msgs vs. X-axis showing the last 60 seconds (from current time) with 5 or 10 seconds interval.
when Hour is selected the chart should display:
Total Number of Msgs vs. X-axis showing the last 60 minutes (from current time) with 5 minutes interval.
ex: 10:00AM 10:05AM 10:10AM ...................................11:00AM
when DAY is selected the chart should display:
Total Number of Msgs vs. X-axis showing last 24 hours (12AM to 11:59PM with 1 hour interval)
when WEEK is selected the chart should display:
Total Number of Msgs vs. X-axis showing the last 7 days from current datetime stamp with 1 day interval.
when MONTH is selected the chart should display:
Total Number of Msgs vs. X-axis showing the 30 days from current datetime stamp with 1 day interval
when YEAR is selected the chart should display:
Total Number of Msgs vs. X-axis showing the last 12 months from current day with 1 month interval
It would be great if the PowerView chart can be made to look something like this:
shown in the below link:
When '5 Day' is selected the values in the Y axis and X axis change automatically.
Here's the link:
https://www.google.co.in/search?&biw=1600&bih=799&sclient=psy-ab&q=google+share+price&oq=google+share+price&gs_l=serp.3..0l4.148.192.3.270.2.0.0.2.2.0.0.0..0.0.msedr...0...1c.1.60.serp..0.2.11.Jf8jXyUgmDA&pbx=1&bav=on.2,or.r_qf.&bvm=bv.82001339,d.dGY&ech=1&psi=qcGPVJmeJoHGmQXsooDACQ.1418707370733.9&ei=nsOPVJGiI6GgmQW0g4LABA&emsg=NCSR&noj=1
for more clarifications and information please feel free to reach out to me at [email protected]
www.twitter.com/mph88Hi Manjunath,
Currently looking into a possible solution although some of the limitations within Power View restrict how close we can get to the ideal result. Still exploring some approaches :)
Regards,
Michael Amadi
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
Website: http://www.nimblelearn.com, Twitter:
@nimblelearn -
Report by Day/Week/Month/Year
Hi All,
I have the table showing below
Empid name tikcetno Completed date
694 anil 10051 23-Jun-09
695 madhu 10052 23-Jun-09
694 anil 10053 23-Jun-09
695 madhu 10054 22-Jun-09
695 madhu 10055 6-Jan-09
I need to create the report which will show employee wise count of tickets in a day,week,month and year.
Day: count(tickets) for current date
Week: count(tickets) for current week
Month: count(tickets) for current month
Year: count(tickets) for current year
I need to show all these four columns in a horizantal table. I am using crystal reports2008. Please help me. ur help would be appreciated.
Anil.Hi,
create 4 formulas for day, week, Month and year
for ex, in Day formula
IF Date Field = CurrentDate then 1 else 0... similarly for other ranges. Create a Group based on employee, and insert a SUM summary field of these formulas in Group header.
Hope this will help you.
Jyothi
Edited by: Jyothi Yepuri on Jul 13, 2009 3:04 AM -
When setting up a SQL 2000 Database Maintenance Plan the drop down for Remove files older than is not populating with hours, days, weeks, or months. It is just blank. The version is Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 2). Is there a fix for this issue?This also works. All the credit goes to a user named eyechart. Great directions provided as well.
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=47575
sqlmaint.exe
was missing from MSDE 2000, but that was fixed in SP1 I think. Since this is SP3
you probably have a missing registry value for the backup directory.
I
had to fix a similar problem last year on a bunch of laptops. They were all
missing a registry value. Anyway, here is the fix:
1. Fire up regedit and
look under HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer
2. Ensure you have
a string value called BackupDirectory. The value for this should be the path to
your backup dir. The default value is C:\Program Files\Microsoft SQL
Server\MSSQL\BACKUP
btw, this fix assumes you have a default instance
installed. A named instance will have slightly different registry location and
filesystem path.
-ec
Edited by -
eyechart on 03/25/2005 21:04:27 -
Window size for day, week, month
In Tiger you could have a unique window size for the day view, week view, and month view. Is this option gone with Leopard? I liked viewing my day, week, and month in different size windows just by clicking on the buttons and having it go to that view.
Hi..
try below code.
CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
EXPORTING
char_unit = <W_MMPT-ZYKL1>
decimals = 0
exponent = 0
fltp_value_si = <W_MMPT-ZEIEH >
indicator_value = ‘X’
masc_symbol = ' '
IMPORTING
char_value = <res__number_days>.
regards.
laxman -
I'm liking Mountain Lion a lot so far, except for the new iCal performance. iCal has never been as good as the MS Office calendar, not even as good looking much less flexible and, for me at least, a lot less intuitive. And that points to another big problem Apple's increasing totalitarianism has created: I would change back to the MS Office calendar in a micro-second if it weren't for the fact that Apple has never created a way for us to coordinate our iPhones with the Office calendar. My life with Apple goes back to the birth of the Mac and it at once gives me chuckles and fits of righteous indignation that for decades Apple criticized (and sued) Microsoft for its attempts to channel users of its products to other MS products by making 'third party' products not work well with MS software. There's a lot of truth to the idea that Apple is becoming a bully in its steady insistence on giving us fewer and fewer ways of putting together software and hardware sets that we think are the best for us. Whatever happened to Apple's free spirit!?!?!?!?
I can do all the whinging above because Apple has always built exceptional products and because even now its service performance is fifty times as good as any other company I do business with. If you doubt that, just try to get any kind of support from Microsoft.No point in whinging here, we are all just users. Use Apple feedback.
-
HT2513 Unable to change the view on the day, week, month, & year tabs
When I click on the tabs in the iCal window on my iMac, there is no response. It works properly in iCloud.
Sometime over the weekend, it started working. I think it was a conflic between my previous gmail calendar set up, which was also syncing with Outlook at my office. I turned disabled the gmail account on my iphone and stopped the google calendar sync on Outlook.
Now calendar, contacts, and email are all synced up just fine. I have my iphone, my imac, and Outlook on my pc at work all talking to each other without conflict . . . finally! -
Function Modules to get First day of week, month, Year
Can anyone name the Function Modules for getting First day of week, month ,year.
to get first day of week use this function; WEEK_GET_FIRST_DAY
CALL FUNCTION 'WEEK_GET_FIRST_DAY'
EXPORTING
WEEK = '201107'
IMPORTING
DATE = l_date
EXCEPTIONS
WEEK_INVALID = 1
OTHERS = 2.
with DATE_COMPUTE_DAY function you can get date number in week.
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING
DATE = workdate
IMPORTING
DAY = day_of_week_num
EXCEPTIONS
OTHERS = 8.
CASE day_of_week_num.
WHEN 1.
hold_day_of_week = 'Monday'.
WHEN 2.
hold_day_of_week = 'Tuesday'.
WHEN 3.
hold_day_of_week = 'Wednesday'.
WHEN 4.
hold_day_of_week = 'Thursday'.
WHEN 5.
hold_day_of_week = 'Friday'.
WHEN 6.
hold_day_of_week = 'Saturday'.
WHEN 7.
hold_day_of_week = 'Sunday'.
WHEN OTHERS.
hold_day_of_week = 'invalid'.
ENDCASE. -
How long is the $24.99 subscription period for iTunes Match, nowhere does it show the time period? Week, month year?
It's an annual amount - it's at the top of that page :
iTunes Match requires an annual subscription fee of $24.99 -
Daily, Weekly, Monthly, Yearly Backups & Tapes Pooling
We are running number of servers, and have recently migrated from HP Data Protector to System Center DPM 2012 SP1. I am facing two issues here in which the potential solution is requested. I have created one Protection Group with 1 week retention for Daily
Backup. Different selections or sources are part of this protection group from different servers.
1. The issue # 1, is that when I wanted to create more Protection Groups for Weekly, Monthly and Yearly Tape Backups, then I could not select those volumes which are already part of Protection Group that I created for the Daily Backup (probably due to the
reason that same data source can't be part of multiple protection groups). The data source selection will repeat in all protection groups, so please advise how can I achieve daily, weekly, monthly and yearly backups?
2. Can I restrict some specific tapes (by allocating through bar codes) to each protection group so that only specific tapes will be used for daily, weekly, monthly and yearly backup? This way the offsite tape movement will also be achieved.
Need solution on both issues. Please help.Hi,
For item 1. use following PG settings.
1) In the protection group, select short term tape and long term protection.
2) Select daily, only full backup, or Full plus incremental based on your needs.
3) For the long term goals, select weekly, monthly, and yearly.
For item 2. - there is no provision in DPM to specify certain tapes for each goal, but if you create a colocation PGset, you can specify how long to write to a tape and control if different goals use the same tapes or not by adjusting expiry tolerance.
See Colocate data from different protection groups on tape
http://technet.microsoft.com/en-us/library/jj628040.aspx
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
Calender:Obtaining days/weeks/months between a start & end Calendar range
I have a startDate and endDate of Calendar type. From this start and end calendar values I want to obtain all the days/weeks/months.
Eg
Calendar beginDate; // is 14-Oct-2006
Calendar endDate; // is 20-Mar-2007
If I am looking at the months between the two calendar values, I want to be able to know that
[1] there are 6 months
[2] The months are Oct 2006, Nov 2006... Mar 2007 (across years i.e. 2006 and 2007 as well)
I want to be able to have a generic solution to do this at the days and weeks level as well.
Really appreciate all help.
Thanks,I was able to come up with a solution, if any better is known, please suggest:
Summary of what I did:
[1] First formated the end and start Calendar dates using SimpleDateFormat, and brought it to the 'MMM yyyy' structure, so that I have a common base to compare on
[2] depending on condition, I increment the month and copy the result into an ArrayList that I need for use later.
Snippet of the code is here:
SimpleDateFormat monthYear = new SimpleDateFormat("MMM yyyy");
ArrayList<String> MonthInDateRange = new ArrayList<String>();
Calendar calTempDate, calStartDate, calEndDate, calCurrentDate;
String StartDateFormat, EndDateFormat;
TempDateFormat = StartDateFormat;
StartDateFormat = monthYear.format(calStartDate.getTime());
EndDateFormat = monthYear.format(calEndDate.getTime());
MonthInDateRange.add(StartFormat); // Starting Month
calCurrentDate = calStartDate;
while ( !(TempDAteFormat.equalsIgnoreCase(EndDateFormat)) ) {
calCurrentDate.add(calCurrentDate.MONTH, +1);
TempFormat = monthYear.format(calCurrentDate.getTime());
MonthInDateRange.add(TempFormat);
Would like to know whether any of you have used a function in Calendar that can help me acheive the same thing, but in a more efficient manner. As I am looking for something generic that I can use at different levels daily,weekly, monthly (currently what I solved above), etc.
Thanks,
Edited by: mnr on Dec 5, 2007 6:01 AM -
TZ of Day/Week/Month View is US/Pacific - Info Box & System TZ US/Eastern
Just noticed this - don't think its been happening for long - probably a couple of days at the worst.
When I create a New Event, the Time Zone is automatically incorrectly set to US/Pacific. I change it to Eastern (via Info Box) and it displays in the Info Box as Eastern, but the Daily/Weekly/Monthly view seems to remain at US/Pacific. (System prefs set to Eastern TZ).
In addition ALL my events display in Day/Week/Month view as US/Pacific TZ, even tho Info Box TZ (and system TZ) is US/Eastern.
For Example: Info box says event starts at 5PM goes to 9PM, Time Zone is US/Eastern. Calendar Display in Day, Week or Month shows event from 2PM to 6PM.
This has affected every one of my events.
I am running OSX 10.4.9,build 8P135 iCal Version 2.0.5 (1069)
iCal Support for Time Zones turned On.
Date/Time System Preferences appear to be OK
System Time (measured by Menu Clock and verified by save time on a file) is OK - (Am writing this at about 2:40PM EST, Sunday 6/3/2007.
Here's my Software Update.log
2007-05-15 23:43:37 -0400: Installed "Java 1.3.1 and 1.4.2 Release 2" (2.0)
2007-05-15 23:44:19 -0400: Installed "iTunes Phone Driver" (1.0)
2007-05-15 23:44:42 -0400: Installed "X11 Update 2006" (1.1.3)
2007-05-15 23:45:15 -0400: Installed "QuickTime" (7.1.6)
2007-05-15 23:46:24 -0400: Installed "Security Update 2007-004 (PowerPC)" (1.1)
2007-05-16 00:51:49 -0400: Installed "J2SE 5.0 Release 4" (4.0)
2007-05-16 01:21:55 -0400: Installed "Java for Mac OS X 10.4, Release 5" (5.0)
2007-05-31 01:21:19 -0400: Installed "Security Update (QuickTime 7.1.6)" (1.0)
2007-05-31 01:23:41 -0400: Installed "Security Update 2007-005 (PowerPC)" (1.1)
2007-05-31 01:24:42 -0400: Installed "iTunes" (7.2)
Looked in various logs but didn't see anything that seemed suspicious to me.
Help or suggestions about where to look to uncover solution to this mess appreciated.
Mini - 1.42 Mac OS X (10.4.9) 1Gig (self installed)It was US/Pacific -
I just changed it to US/Eastern and everything seems to work correctly now. I never even noticed that setting before - I guess I may have reset it by accident?
I see you're from Bristol, UK. A friend told me a few hours ago that he has to make a business trip there sometime this summer and was thinking about bringing his family (from Boston, USA). We were not too clear on English geography tho - is Bristol a decent family vacation destination?
Mini - 1.42 Mac OS X (10.4.9) 1Gig (self installed) -
Does anyone know of any way to add a quarterly view mode? (in otehr words being able to see 90 days at a time as an added view option - Day/Week/Month/Quarter)
If not, are there any third party workarounds that can modify and provide a 90 day view mode in iCal?
At the very least is there any EFFECTIVE way to communicate and get this easy enhancement added to the upcoming version of iCal.
It is incredibly inconvenient to have to move calendar items to the following month with the restrictive view of only one month. IN other words, if I wanted to move an appointment from February 24 to say March 20 I am forced to manually open the item and type in new dates.
A great system program known as DateBook Pro 4.0 had such a view option and I absolutely miss it EVERY day!I am experiencing the same symptoms - Day, Week, Month and the Today button are all grayed out. It particularly seems to happen if I've left iCal running overnight. The only way I've found to fix it is to re-start iCal. When this is happening, the only way to navigate to a different week (or month) is to use the menu "Go to date" function. I think the onset of this problem relates to an Apple software upgrade , but I can't be sure which one.
-
Day/week/Month is gray
all buttons or tabs in the gray bar (including today/next day/week/month) are gray and can't be selected. how do i enable them?
I am experiencing the same symptoms - Day, Week, Month and the Today button are all grayed out. It particularly seems to happen if I've left iCal running overnight. The only way I've found to fix it is to re-start iCal. When this is happening, the only way to navigate to a different week (or month) is to use the menu "Go to date" function. I think the onset of this problem relates to an Apple software upgrade , but I can't be sure which one.
-
What happened to search last day, week, month?
On Lion, the "search by" day/week/month isn't in sidebar. Where did it go?
Press Command-F to open the Find version of Spotlight.
Click the first dropmenu (should be showing "Kind" as default) and select any of the 'date' items - Last opened date, Last modified date, Created date.
Then click the dropmenu just to the right of that one, after the word "is" - you can set the day/week/month parameter there.
Note that the second dropmenu is sensitive to the context of the first one - it will change to reflect choices appropriate to the first one.
Also, you can use the "+" button at the end of that line to add an additional row of dropmenus. This allows you to add additional parameters/constraints to the search.
Maybe you are looking for
-
My itune card is not readable please help?
Hi, I have recently bought an itunes card and it's not readable. Please help me on this. thanks
-
LCM Error in promoting Crystal Reports using Dynamic Cascading
Hi, I am having one Crystal report, developed in CR XI R2 ,it is using one Dynamic cascading prompt.The DB is Oracle Server. The report is working fine on standalone desktop as well as Dev server . But when i try to move this report using LCM to Prod
-
LSMW for Purchasing Contracts(ME31k) for Services
Hi All I am hoping that someone would be able to guide me or give a suggestion on this. I have seen many questions asked in the forum about upload for Service Conrtacts but none of these have been clearly answered. The standard idocs PURCONTRACT_CRE
-
Normalising XML structure.
I have this xml file which has white space in every element. I need to normalise the whole xml structure so that i do not have any extra spaces. Right now i have to use normalise space function in transformation for each element. Is there any way nor
-
No more Count (distinct) : Power View in Excel 2013
Hello, I used to create a Power View report using this field "Sport" where I choose Count (Distinct) Today this option is not available in the drop down menu. What did I miss? Thanks