How to display the day of the week?
I can use the TODAY() function to display today's date, and I can format the cell with inspector to manipulate how to show the date, but how can I show only what the DAY of the week it currently is?
The problem with these two responses is that they are language dependant.
It would be useful to add a WEKDAYNAME() function which will return names according to the language in use.
Here is a workaround:
=LEFT(B,SEARCH(" ",B)-1)
It just assumes that B contains a date with dayname at the beginning.
Yvan KOENIG (from FRANCE mercredi 3 décembre 2008 22:05:06)
Similar Messages
-
How to display the week of the year in a report
Hi,
I am doing a report, that needs to break down the information, according to month and then week.
The week of the year isn't stored anywhere in the database, so i guess it would have to be calculated.
How would i go about doing this in report?hi, yes thats what i mean.
So if i run my report for 01-feb-2008 to 30-march-2008
it needs to group the data according to weeks.
eg. week5 (data)
week6 (data)
etc....
i got this code: select to_char(sysdate, 'IW') from dual;
will it allow me to do this? -
How to display particular day of a week?
Hi experts,
I need to display a report date wise in query designer and i have to display only wednesday data. For eg:
Date Volume Sales
06.08.2014 25 234
13.08.2014 16 121
20.08.2014 45 987
Can anyone please help me out, how to achieve this.
The selection screen contains date period. Generally user provide one month interval. From this range i need to display only wednesday data.Hi,,
Can you try this:-
-> Create a customer exit and user input type variable for the your calday.
-> In Istep 2: modify this exit variable values
you need to restrict only the dates those are needed. you can find teh relevant date using
FM CALL FUNCTION 'DATE_COMPUTE_DAY' to find your day and the date
hope this will help.
regards,
Sakthi -
How to display the sort value in the selection screen in the report title
Dear All,
How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
Good day,
Thanks and regards
Arun SHi Arun,
Try this.
1, Set one dynamic parameter,
2, Drag and drop that parameter into your report title.
3, Pass the value(sort value) dynamically from your application,
4, Cheers..
Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then set the data source from CR designer. and darg and drop that data column into the report.
Hope this will work,
Regards,
Salah
Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM -
How to Display the Predefault Date Time
Hi frnds,
How to display the Default DateTime in the date field via sctipting i have a requirementy to show in one of the date field as next day's date with 9:00 a.m time stamp(2/15/2010 9:00 A.M) the data type of that field& column is UTC_datetime.please help i am getting.
siebel beeHave a look at the function Today(), TimeStamp() and ToChar()
You should be able todo it with something similar to this:
Expr: "ToChar(TimeStamp(),'MM') + '/' + ToChar(TimeStamp(),'DD') + '/' + ToChar(TimeStamp(),'YYYY') + ' ' + ToChar(TimeStamp()+(1/24),'HH') + ':00:00'"
as a pre-default value. -
Hi All,
How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
What I want is, when I type 50 in my cell, then in my form will be show 50%
Now, I can't see the % sign on my form.
Any Idea..??
Thanks.
Regards,
VieNI know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!
-
I would like display the week is the last week of month (week of year)
Tom,
Is there a way by using SQL Plus to get a date range that would show the number of week
as well?
For example:
January 2010
S M Tu W Th F S
1 2 Week1
3 4 5 6 7 8 9 Week2
10 11 12 13 14 15 16 Week3
17 18 19 20 21 22 23 Week4
24 25 26 27 28 29 30 Week5
31 Week6
February 2010
S M Tu W Th F S
1 2 3 4 5 6 Week6
7 8 9 10 11 12 13 Week7
14 15 16 17 18 19 20 Week8
21 22 23 24 25 26 27 Week9
28 Week10
I would like display the week as per above.
we use week starting day = Sunday
First day of each year consider as week 1.
Is there a way I can do this?
Thanks.
Edited by: user10594896 on Mar 5, 2010 1:26 AM
Edited by: user10594896 on Mar 5, 2010 3:00 AMThere's lots of information you can get from dates, and it will also depend on your databases local settings...
Here's an example that works in my local settings for generating a calendar for a year (including week numbers):
SQL> break on month skip 1
SQL> set linesize 200
SQL> set pagesize 2000
SQL> column month format a20
SQL> column week format a4
SQL> with req as (select '&Required_Year_YYYY' as yr from dual)
2 ,offset as (select case when to_char(trunc(to_date(yr,'YYYY'),'YYYY'),'IW') in ('52','53') then 1 else 0 end as offset from req)
3 select lpad( Month, 20-(20-length(month))/2 ) month,
4 '('||week||')' as week, "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"
5 from (
6 select to_char(dt,'fmMonth YYYY') month,
7 case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
8 when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
9 when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
10 else to_char(to_number(to_char(dt,'iw'))+offset) end as week,
11 max(decode(to_char(dt,'d'),'1',lpad(to_char(dt,'fmdd'),2))) "Mo",
12 max(decode(to_char(dt,'d'),'2',lpad(to_char(dt,'fmdd'),2))) "Tu",
13 max(decode(to_char(dt,'d'),'3',lpad(to_char(dt,'fmdd'),2))) "We",
14 max(decode(to_char(dt,'d'),'4',lpad(to_char(dt,'fmdd'),2))) "Th",
15 max(decode(to_char(dt,'d'),'5',lpad(to_char(dt,'fmdd'),2))) "Fr",
16 max(decode(to_char(dt,'d'),'6',lpad(to_char(dt,'fmdd'),2))) "Sa",
17 max(decode(to_char(dt,'d'),'7',lpad(to_char(dt,'fmdd'),2))) "Su"
18 from ( select trunc(to_date(req.yr,'YYYY'),'y')-1+rownum dt
19 from all_objects, req
20 where rownum <= add_months(trunc(to_date(req.yr,'YYYY'),'y'),12) - trunc(to_date(req.yr,'YYYY'),'y') )
21 ,offset
22 group by to_char(dt,'fmMonth YYYY'), case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
23 when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
24 when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
25 else to_char(to_number(to_char(dt,'iw'))+offset) end
26 ) x
27 order by to_date( month, 'Month YYYY' ), to_number(x.week)
28 /
Enter value for required_year_yyyy: 2010
old 1: with req as (select '&Required_Year_YYYY' as yr from dual)
new 1: with req as (select '2010' as yr from dual)
MONTH WEEK Mo Tu We Th Fr Sa Su
January 2010 (1) 1 2 3
(2) 4 5 6 7 8 9 10
(3) 11 12 13 14 15 16 17
(4) 18 19 20 21 22 23 24
(5) 25 26 27 28 29 30 31
February 2010 (6) 1 2 3 4 5 6 7
(7) 8 9 10 11 12 13 14
(8) 15 16 17 18 19 20 21
(9) 22 23 24 25 26 27 28
March 2010 (10) 1 2 3 4 5 6 7
(11) 8 9 10 11 12 13 14
(12) 15 16 17 18 19 20 21
(13) 22 23 24 25 26 27 28
(14) 29 30 31
April 2010 (14) 1 2 3 4
(15) 5 6 7 8 9 10 11
(16) 12 13 14 15 16 17 18
(17) 19 20 21 22 23 24 25
(18) 26 27 28 29 30
May 2010 (18) 1 2
(19) 3 4 5 6 7 8 9
(20) 10 11 12 13 14 15 16
(21) 17 18 19 20 21 22 23
(22) 24 25 26 27 28 29 30
(23) 31
June 2010 (23) 1 2 3 4 5 6
(24) 7 8 9 10 11 12 13
(25) 14 15 16 17 18 19 20
(26) 21 22 23 24 25 26 27
(27) 28 29 30
July 2010 (27) 1 2 3 4
(28) 5 6 7 8 9 10 11
(29) 12 13 14 15 16 17 18
(30) 19 20 21 22 23 24 25
(31) 26 27 28 29 30 31
August 2010 (31) 1
(32) 2 3 4 5 6 7 8
(33) 9 10 11 12 13 14 15
(34) 16 17 18 19 20 21 22
(35) 23 24 25 26 27 28 29
(36) 30 31
September 2010 (36) 1 2 3 4 5
(37) 6 7 8 9 10 11 12
(38) 13 14 15 16 17 18 19
(39) 20 21 22 23 24 25 26
(40) 27 28 29 30
October 2010 (40) 1 2 3
(41) 4 5 6 7 8 9 10
(42) 11 12 13 14 15 16 17
(43) 18 19 20 21 22 23 24
(44) 25 26 27 28 29 30 31
November 2010 (45) 1 2 3 4 5 6 7
(46) 8 9 10 11 12 13 14
(47) 15 16 17 18 19 20 21
(48) 22 23 24 25 26 27 28
(49) 29 30
December 2010 (49) 1 2 3 4 5
(50) 6 7 8 9 10 11 12
(51) 13 14 15 16 17 18 19
(52) 20 21 22 23 24 25 26
(53) 27 28 29 30 31
61 rows selected.
SQL> -
In sap scripts how to display the driver program
Hi,
I Want to know the sap scripts How to display the output to driver programHi,
Go to NACE Transaction.
Select application for ex: if sales V1.
Click on output types.
Select the output type for ex : BA00
Double click on Processing routines.
There you can find the Driver Program name and Script/smart form name.
Reward if useful.
Thanks,
Raju -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks -
HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS
HI,
HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?in ur script main window
/: IF &TTXSY-PAGE& = 15.
ur text or standard text
/: ENDIF.
use this.
hope it helps if any issues revert back -
How to display the Buyer's signature in PO BI Publisher Report
Hi,
How to display the Buyer's signature dynamically in XMLP Purchase Order Report.
Please anybody help on this.Your help greatly appriciated.Hi All once again
I was able to display the signature on XMLP AP Check Print Report by went through the follwoing Tim's blog http://blogs.oracle.com/xmlpublisher/2006/04/13#a12
But in Purchase Order report requirement is different. We need to display the Buyer's signature on XMLP PO Report. So, where is the best place to store the buyers signatures.(For example if we have 10 buyers with 10 signatures respectively then after approving the PO, we should display that particular buyer's signature in PO XML Publisher report).We observed that in byuers & User's form there is no attachment feature enabled.
This is an urgent requiremnt. Please help/guide/suggest to resolve this issue.
Thanks in advance. -
How to display the results in order by based on search value
Hi All,
how to display the results in the below order.
CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200))
INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0
output:
SONGID TITLE
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
11 CICCONE, MADONNA (CA)
12 DALLIN, MADONNA LOUISE/STOCK
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
16 MIRWAIS AHMADZAI, MADONNA
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
18 MADONNA (CA),CICCONE
Expected output :
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
Please let me know is it possible to display the results in that order.
Regards,
RajasekharThis may be a bit more accurate:
SQL> SELECT *
2 FROM TEST
3 WHERE INSTR (TITLE, 'MADONNA') > 0
4 ORDER BY INSTR (TITLE, 'MADONNA')
5 ,TITLE
6 ;
SONGID TITLE
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
12 DALLIN, MADONNA LOUISE/STOCK
11 CICCONE, MADONNA (CA)
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
16 MIRWAIS AHMADZAI, MADONNA
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) -
How to display the fields in ALV Output without using Field catalog?
How to display the fields in ALV Output without using Field catalog?
Could you pls tell me the coding?
Akshitha.Hi,
u mean without building field catalog. is it? I that case, we can use the FM REUSE_ALV_FIELDCATALOG_MERGE.
data: itab type table of mara.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_structure_name = itab
CHANGING
ct_fieldcat = lt_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
*Pass that field catalog into the fillowing FM
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_grid_title = 'REPORTING'
is_layout = gt_layout
it_fieldcat = lt_fieldcat[]
tables
t_outtab = itab. -
How to display the proxy settings for a specific group of servers in an OU ?
Hi,
Can anyone here please assist me in how to display the value of Proxy server settings from the computers in a specific OU member ?
$Computers = Get-ADComputer -Filter * -SearchBase "OU=Terminal Servers,OU=Servers,DC=domain,DC=com" | Where-Object { Test-Connection $_.Name -Count 1 -Quiet }
ForEach ($Computer in $Computers) {
| Export-csv "C:\Proxy-Setting-Results.csv" -Append -NoTypeInformation -UseCulture
I've done similar script for some other task but not sure how to do this for Proxy setting.
Thanks.
/* Server Support Specialist */Proxy settings are not set in Active Directory
The below code works for 2003 servers and Win XP
$colItems = get-wmiobject -class "Win32_Proxy" -namespace "root\CIMV2" `
-computername $env:computername
foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Proxy Port Number: " $objItem.ProxyPortNumber
write-host "Proxy Server: " $objItem.ProxyServer
write-host "Server Name: " $objItem.ServerName
write-host "Setting ID: " $objItem.SettingID
write-host
You can try checking the registry values- Works in 2008 + and Windows 7
Get-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
or use netsh
netsh winhttp show proxy -r <remotemachinename>
Regards Chen V [MCTS SharePoint 2010] -
How to display the text as a Bold in the Text Element of a Smart Form
Hi,
I created one Smart Form.
In that i created the Text element.
I provide some data also in that.
It is coming as a MS WORD.
I executed my smart form.
Customer Number: &WA_KNA1-KUNNR&
it display the data of the particular customer.
But i need to display the Customer Number as BOLD or else Increase the Size.
For this also I created one SMARTSTYLE.
In that I created the Paragraph and Character Formats also.
Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
But i unable to get the CUSTOMER NUMBER in Bold.
In MS WORD we have BOLD button.
I selected the Text and Press the BOLD button. At that time it is Highlighted.
Whenever i press the SAVE Button.
Then it is not saved with BOLD.
It is coming in Normal Format.
In the ECC 6.0. I am unable to get the Text as a BOLD.
This text Element is like a MS WORD.
Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
Thank You.
Regards,
B. Krishna.Hi,
Check where u have given BOLD. In character Format or in Paragraph format.
In SMART FORM,
1. Change to OLD EDITOR if u are confused with the new one.
(This can be done by clicking the button left to new editor ).
2. If it is PARAGRAPH FORMAT,
Give the name of paragraph format in the editor.
P1 &WA_KNA1-KUNNR&
If it is CHARACTER FORMAT,
<C1> &WA_KNA1-KUNNR&
Thanks,
Nithya. -
How to display the time 00:00:00 as blank?
Dear Friends,
I have created a new field GDF_9000_CREATED_AT in the normal screen (dynpro), the format is TIMS, however, when there is no value for it, is always display like "00:00:00" on the screen.
So how to display the time 00:00:00 as blank in the normal screen (dynpro) when there is no value for it?
Thanks a lot!!In screen PBO module:
LOOP AT SCREEN.
if screen-name EQ 'my_time' AND my_time EQ time_zero.
screen-invisible = 'X'.
screen-active = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
I don't try this, but i think is true...
Edited by: Marco Modenese on May 7, 2009 10:36 AM
Edited by: Marco Modenese on May 7, 2009 10:36 AM
Maybe you are looking for
-
Runtime.exec not executing the command !
Hi all, I'm connecting to Progress Db thru JDBC trying to execute a stored procedure which has a statement Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet . when i run this code as a seperate java program
-
My G5 keeps switching itself off
I switch it on and then after about 3-5 mins it switches itself off. What gives? Andy
-
Hi Gurus, I am working in India Localization Project. I am facing one issue while receipt corrections,when i receive any materail the data of taxes is stored in ja_in_receipt_lines,but when i do any corrections through the Correction form for the sam
-
Legacy SE 6 Runtime Message When Trying to Open Adobe Creative Suite
Hello - Our office is using Adobe Creative Suite 5.5 (will be upgrading soon). However, when trying to open any Adobe apps such as Photoshop, Illustrator, etc. on ONE of our Macs, we receive a message that says "Legacy SE 6 Runtime Needs to be Insta
-
Every time I try to download an app it tells me "install failed" How do I fix this?
Every time I try to download an app it tells me "install failed" How do I fix this?