Convert date 17-sep-2007 to 2007-09-17 format
Is it possible to convert date say 17-sep-2007 to YYYY-MM-DD format?
if so is there any Function module to implement this?
Awaiting for ur reply....................
Hello,
try this
REPORT ZTEST.
DATA : V_DATE LIKE SY-DATUM,
V_DATE1(10).
V_DATE = '01012007'.
CONCATENATE V_DATE4(4) V_DATE2(2) V_DATE+0(2) INTO V_DATE1.
WRITE : V_DATE1.
Reward if helpful,
Regards,
LIJO
Similar Messages
-
Exporting data to Excel 2007 from SAP report
Dear all,
Earlier we used to have Excel 2003 and while downloading data from MC.9 Report - Export - Transfer to XXL, we could able to download the data.
Now we have installed Excel 2007 and trying to download the data from MC.9 report, its opening excel, but no data is being copied,,, blank excel sheet,,,, further we could not able to download the data.
Is there any setting need to be done in SAP reporting or excel 2007 to download the data to Excel 2007.
thanks in advance.
urendraPl. go through the following step.
1. Execute MC.9
2. Select (click on) key figure column
3. Select Time series Button (CtrlShiftF4)
Now seperate window will come.
4. Select the button Save to PC file (shift+F8)
By this procedure you can download to excel
Regards
Amol -
Error: No exchange rate from CAD to USD and date 28.02.2007 found
Hi BW experts,
I getting following error in report :
<b>No exchange rate from CAD to USD and date 28.02.2007 found (currency transl. TRAV/TRAV)
Notification Number BRAIN 380 </b>
<b>
I am getting this message for only 4 months i.e March April,May,June but rest of months its fine.</b>
Currency translation is done in query with a variable.
I tried the following solutions:
1.transfer Exchange rates from source systems Via Program :RSIMPCURR
2.I checked in Table <b>TCURR</b> and there exists a exchange rates between CAD to USD.
3.I checked TCODE: RSCUR the variable exists and created properly.
4.I searched through forums but none of them present a clear solution.
<b>SO can somebody help me to solve this error ,its very urgent</b>
nullSo check in OB08 which gives the overview of Currency Exchange Rates for each month.Check what is the exchange rate maintained for the months u r looking into.
Else ask the users what exchange rates they maintained for those months and upload the exchange rates for those months.
Here is the link which will explain how to load the exhange rates.
<u>http://help.sap.com/saphelp_nw04s/helpdata/en/36/412ad80cb511d5b2df0050da4c74dc/content.htm</u>
Thanks & Regards,
Suchitra.V -
Disable automatic insertion of date in Word 2007
Hi
We use Office 2007 Danish and I need to find the setting that disables the automatic correction/insertion of dates in Word 2007. If I want to write
24. february 2011 it automatically corrects it to 24. february 2011-03-17. I have looked everywhere, but can't find the setting that I have to disable?
Can anyone help?
/LasseTHIS WORKED ! Thanks Stefan. Sadly I have no understanding of how and why it worked and I wish MS would make something like this much easier to turn on and, more importantly, turn it OFF.
Thank you very much, I miss the old ? Help at the top of the toolbar.
I'm glad you found my reply useful. :-)
Note that newer versions of Word make it easier to turn off AutoComplete suggestions. In Word 2010 and 2013, you'll find the option at File tab | Options | Advanced.
Stefan Blom, Microsoft Word MVP -
Error message "Transfer date 30.06.2007 is more than one year after the clo
Hi SAP expert,
I received error message "Transfer date 30.06.2007 is more than one year after the closed fiscal year" - message number AC 187. Used Tcode OAAQ when tried to reverse year end closing for depreciation area. How can i correct this problem? I want to finish for the whole year 2007 depreciation.
Hope u guys can help me. Thanking u in advance.
Regards,
NazrulHi SAP experts,
any solution for my porblem?
TQ -
Data bank mysql I have a camp type she dates 30-12-2007. I eat may I filter
data bank mysql I have a camp type she dates 30-12-2007. I eat may I filter records ='30-12-2007' like solving
try {
getSessionBean1().getRecadosPesquisa().setObject(1, dropDown4.getValue());
getSessionBean1().getRecadosPesquisa().setObject(2, calendar1.getDateFormat()); <-???????????
recadosPesquisaDataProvider.refresh();
staticText16.setText(recadosPesquisaDataProvider.getValue("recados.data"));
} catch (SQLException ex) {
ex.printStackTrace();
The BD:
SELECT ALL recados.idrecados,
recados.data,
recados.propriedade
FROM recados
WHERE recados.propriedade = ? <-???????????
AND recados.data >= ? <-?????????
Thanks
I Type from Brazildata bank mysql I have a camp type she dates 30-12-2007. I eat may I filter records ='30-12-2007' like solving
try {
getSessionBean1().getRecadosPesquisa().setObject(1, dropDown4.getValue());
getSessionBean1().getRecadosPesquisa().setObject(2, calendar1.getDateFormat()); <-???????????
recadosPesquisaDataProvider.refresh();
staticText16.setText(recadosPesquisaDataProvider.getValue("recados.data"));
} catch (SQLException ex) {
ex.printStackTrace();
The BD:
SELECT ALL recados.idrecados,
recados.data,
recados.propriedade
FROM recados
WHERE recados.propriedade = ? <-???????????
AND recados.data >= ? <-?????????
Thanks
I Type from Brazil -
HOW TO GENARATE DATE LIKE 12 DEC 2007 USING xp20:format-dateTime(dateTime a
HOW TO GENARATE DATE LIKE 12 DEC 2007 USING xp20:format-dateTime(dateTime as string, format as string). PLEASE HELP.
If i look at the w3 org i would say :
xp20:format-dateTime('yourfield','[D]-[[MN,*-3]-[Y]')
or just MN will do too. -
All the dates get exported to excel correctly but the format changes from English(1/3/09) to European(3/1/09). Any suggestions would be greatly appreciated. Thanks.
Moving to Acrobat forum.
-
Error converting data type nvarchar to numeric 'witholding tax' (OWHT)
Hi Guys.
After I have upgraded my clients 2007 PL 30 database to 8.81 PL05, and running a repair to fix inconsistincies, I am receiveing some error when opening any sales documents.
It takes place when I open a sales document, or browse previous docs. When browsing previous docs, it onlly happens on some of them.
I also receive a different error when viewing sales orders: Error converting data type nvarchar to numeric (CRD2).
Any ideas how to fix it?
It does not limit me from processing and using the rest of the functionality. All calculations with queries in the docs are still working.
Thanks.Hi,
Please check Note No. : 1402855 and see if the same applied to the issue mentioned by you.
Kind Regards,
Jitin
SAP Business One Forum Team -
Converting date format from in mapping
hi xi friends.
in my scenario i just want to convert date format from 12022007 which is file to 12.02.2007 which is in target bapi.
waiting for u.
bye.
regards.
seeta ram.Hi,
if I understood you correctly you want to transform from ddMMyyyy (your format in the external file) to yyyyMMdd (format of ABAP datatype DATS):
Then all you need to do is to use the standard function TransformDate (as already described above).
Enter in the field "Format of source Date": ddMMyyyy
Enter in the field "Target Format": yyyyMMdd
That's it.
Regards,
Helmut -
Convert data from CRM2007 to CRM70
Hi
We are moving from crm 2007 into crm7.0. This is not a upgrade project, we are doing a fresh new implementation of crm70 system with lot of new capability additions. And as part of this effort , one major thing is data conversion from the crm 2007 system to the crm 70 system. The data that we have to move/convert into the new crm70 system are:
a)Interaction Records
b)Service Tickets
C) Org structure, Category modeller, rule modeller , etc
Has any one done data coversion from 2007 to 70 during the upgrade or during the whole new build like we are doing? If so, please let me know how you guys handled it. Any ideas will surely be appreciated.
Thanks,
RaviYou could use Oracles Migration Workbench
http://www.oracle.com/technology/tech/migration/index.html -
How to convert date format(mm/dd/yy) into dd-mm-yy
I want to convert date format(mm/dd/yy) into dd-mm-yy
like 12/23/06 into 23-sep-06hey, you can use SimpleDateFormat to format your date. this is sample code, maybe could help you.
class dateFormat
public static void main(String[] args)
Date now = new Date();
System.out.println("Before format : "+now);
SimpleDateFormat sdf = new SimpleDateFormat( "dd-MM-yy" );//Change your date format in here.
String display = sdf.format(now);
System.out.println("After format : "+display);
}If you already understand about my sample code, i think it's easy to make your own date format. Just modified few line of my code. -
Convert date format from MONTH-YEAR to dd/mm/yyyy
Dear All
i want to get parameter in form of MONTH-YEAR AND WANT TO CONVERT DATE INTO 'THIS FORMAT dd/mm/yyyy' IT GIVES ME ERROR PLEASE GUIDE.
SELECT
TO_CHAR (PTP.END_DATE,'MONTH-YY') ,
to_date ( TO_CHAR (PTP.END_DATE ,'DD-MONTH-YYYY') ,'dd/mm/yyyy'),
--- i want to gent parameter in from of MONTH-YEAR AND WANT TO CONVERT DATE INTO 'THIS FORMAT dd/mm/yyyy' IT GIVES ME ERROR PLEASE GUIDE
to_date ( TO_CHAR (PTP.END_DATE ,'MONTH-YYYY') ,'dd/mm/yyyy'),
ADD_MONTHS((to_date ( TO_CHAR (PTP.END_DATE ,'MONTH-YYYY') ,'dd/mm/yyyy'),-1)
--- i want to gent parameter in from of MONTH-YEAR AND WANT TO CONVERT DATE INTO 'THIS FORMAT dd/mm/yyyy' IT GIVES ME ERROR PLEASE GUIDE
ptp.END_DATE PERRIODS_NAME
from per_time_periods ptp
Regards
Edited by: user10941925 on Nov 28, 2011 12:23 AMHello just check
SQL> select hiredate from emp;
HIREDATE
17-DEC-80
20-FEB-81
22-FEB-81
02-APR-81
28-SEP-81
01-MAY-81
09-JUN-81
09-DEC-82
17-NOV-81
08-SEP-81
12-JAN-83
03-DEC-81
03-DEC-81
23-JAN-82
14 rows selected.
SQL> select to_char(hiredate,'month-year') from emp;
TO_CHAR(HIREDATE,'MONTH-YEAR')
december -nineteen eighty
february -nineteen eighty-one
february -nineteen eighty-one
april -nineteen eighty-one
september-nineteen eighty-one
may -nineteen eighty-one
june -nineteen eighty-one
december -nineteen eighty-two
november -nineteen eighty-one
september-nineteen eighty-one
january -nineteen eighty-three
december -nineteen eighty-one
december -nineteen eighty-one
january -nineteen eighty-two
14 rows selected.
SQL> select to_char(hiredate,'dd/mm/yyyy') from emp;
TO_CHAR(HI
17/12/1980
20/02/1981
22/02/1981
02/04/1981
28/09/1981
01/05/1981
09/06/1981
09/12/1982
17/11/1981
08/09/1981
12/01/1983
03/12/1981
03/12/1981
23/01/1982
14 rows selected.
SQL> -
How to convert date ="23-08-13" to date="23-AUG-13"?
Hi,
Need help!!!
I wanna convert date='23-08-13' to date='23-AUG-13'.
How can i do it????
Please help as soon as passibleYour date string is a character format one, can not be accepted as a date. Hence,I would like to request you to change your datatype as DATETIME. As satheesh suggested, you can do the formatting at application side.
But for any case, you want to do it at SQL Server, the below is another option.(assuming the month follows the same format 0 will be prefixed for 1-9 digits)
Declare @chardate varchar(8)='23-08-13'
Select LEFT(@chardate,3)+Case
When charindex('-01-',@chardate,0) <> 0 Then 'Jan'
When charindex('-02-',@chardate,0) <> 0 Then 'Feb'
When charindex('-03-',@chardate,0) <> 0 Then 'Mar'
When charindex('-04-',@chardate,0) <> 0 Then 'Apr'
When charindex('-05-',@chardate,0) <> 0 Then 'May'
When charindex('-06-',@chardate,0) <> 0 Then 'Jun'
When charindex('-07-',@chardate,0) <> 0 Then 'Jul'
When charindex('-08-',@chardate,0) <> 0 Then 'Aug'
When charindex('-09-',@chardate,0) <> 0 Then 'Sep'
When charindex('-10-',@chardate,0) <> 0 Then 'Oct'
When charindex('-11-',@chardate,0) <> 0 Then 'Nov'
When charindex('-12-',@chardate,0) <> 0 Then 'Dec'
else '' end +RIGHT(@chardate,3) -
Need to convert Date from calendar to String in the format dd-mom-yyyy
Need to convert Date from calendar to String in the format dd-mom-yyyy+..
This is absolutely necessary... any help plz..
Rgds
ArwinderLook up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
Arwinder wrote:
This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
----------------------------------------------------------------
Maybe you are looking for
-
I tried to create a broschure with 16 sites. Open format of one site is 210x210 Closed format is 210x99. I tried a lot but I beleave Indesign accept only to organise the printarea from left to right. But I need a top-down site oranisation. I hope any
-
Can I copy from Ipod??.
When I try to play my library content it tells me "The item cannot play because the original file cannot be found". I think I accidentally deleted the files thinking (wrongly) that the files were in Itunes Library. My question is....can I copy all th
-
How do i rubber band audio?
i am tryin to bleep out swear words, and i have applied tone, but need to rubber band the bits of audio to lower them slightly, as i can still clearly hear the words coming through, i dont even know how to see the rubber banding on the timeline
-
My Camera Is Recording Color Bands Can Someone Help???
I use a samsung sc-hmx20c HD camera to record my ps3 video game footage For some reason when i record there are red and blue lines of color either up and down or in circular directions.I use a tripod and turn all the lights off in the room. The camer
-
Performance counter in storport?
Hello, I would like to expose a custom performance counter from a storport driver. Can i just use kcs.h or do i have to plumb it through in a different way?