Function module to segregate date time
Hello,
I have a field in the table which stores the date time as one whole value: 17.06.2010 16:48:51.
the data type for this field is DEC 15.
I need a FM which can segregate the date and time from this field values. I want date and time as separate values.
there must be some standard FM to do this.
any help?
Thanks & regards,
Ravish
Don't know whether this question should be answered or not.
Mods if you find it wrong , then exercise your right and lock it.
@op - use fm CACS_TIMESTAMP_GET_DATE
Similar Messages
-
FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.
HI EXPERTS,
FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.
PLS DO HELP.....Hiii gita
we have another FM SPELL_AMOUNT
regards
Jaipal -
Function Module to find date by passign the Planning Calendar
Hi All,
Can you tell me is there any function Module to find date by passign the Planning Calendar?
The requirement is i have a planning calender assigned to the Material in the MRP2 view.
Example: Material XXXXXX is assigned a Planning Calendar Z01.
Z01 is defined such that Delivery is on Monday only. This calendar says that the material is received from the Vendor only on Mondays.
So whenever i punch a Sales Order for Material XXXXXX, a PR is automatically geenrated when saving the sales order and the calculation of Delivery dates is also happening at this level.
Basing on this PR a PO is raised to a Vendor for procuring the Material XXXXXX, now my problem is for example the PO is raised today (30.04.2008), but the Materail XXXXXX is available only on next monday in my plant (05.05.2008) basing on my Planning Calendar assigned in the Materail Master, so i have to inform this dealy to my customer at the time of punching the sales order.
So is there any function Module to find date by passign the Planning Calendar?
Thanks for your valuable inputs.
Regards,
SudarshanHi Jorge,
Thanks for your reply.
I am unable to open the Function module which you have mentioned below.
I am working on 4.6 c version of SAP.
Any ways i have found one function module which is useful to my requirement as stated below:
DATE_GET_PERIOD
Thanks and Regards,
Sudarshan -
Function module to convert to time stamp format
Hi friends,
can you tell me any function module to convert date and time to time stamp format?
kind regards.Just use
CONVERT DATE d
TIME t [DAYLIGHT SAVING TIME dst]
INTO TIME STAMP tst
TIME ZONE tz.
look at this example
DATA:
tstamp type timestamp,
d TYPE D VALUE '19971224',
t TYPE T VALUE '235500'.
SET COUNTRY 'US'.
CONVERT DATE d TIME t INTO
TIME STAMP tstamp TIME ZONE 'UTC+12'.
" tstamp : 19971224115500
" (12/24/1997 11:55:00)
CONVERT TIME STAMP tstamp TIME ZONE 'UTC+12' INTO
DATE d TIME t.
Also look at the blog..
/people/himanshu.gupta/blog/2006/11/14/abap4-date-time-and-timestamps
Raja T
Message was edited by:
Raja Thangamani -
Need function module to convert system time to local time
Hi Experts,
Need function module to convert system time to local time.
i.e country specific that to in HH:MM format.
Thanks in advance.Dear Prince,
Kindly check the following link which contains the list of function modules for date and time conversion.
[http://www.sap-img.com/abap/date-month-pop-related-function-modules.htm]
Regards -
Function module to caluculate difference time
hi friends,
i need a function module to caluculate the time difference in hours..
user enters start date and time
end date and time
like
14.10.2008 10:00:00 ( start )
15.10.2008 12:30:00 ( end ).
now the difference is 26.5 hours..
i need this ..any function modules..
Thankyouyou can use this function L_TO_TIME_DIFF
-
Program or Function module to delete data from Open Hub Destination Table
Hi All,
Can anybody suggest me a Program or Function module to delete data from Open Hub Destination Table.
Thanks & Regards,
Vinay KumarYou can simply goto t-code SE14 mention the open hub destination table and Delete data by clicking on "Activate and Adjust database" with radio button "Delete Data".
Regards,
Arminder -
Function module to read data form customer tabels
hi,
can anyone suggest function module to read data form customer tabels?
Please give me reply.
TKS,
Dharani.PHi,
this thread is hvaing your answer.
Is there a Function module to get customer hierarchy data?
Regards,
Pravin -
Function Module to validate date
Hi,
Is there a Function module to validate date in transfer rules or update rules. I checked the forum, couldn't find an answer. Any help is appreciated
Thanks
BalaYou should be able to use this FM:
CALL FUNCTION 'RSAR_DATE_CHECK_PLAUSIBILITY'
EXPORTING
i_date = yourdate
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1 -
Function Module to Compare Date within date Range
Hi All,
Does anyone know Function Module to Compare Date within date Range...For example i need to find whether 08/02/2006 falls in between 07/15/2006 and 09/15/2006......data: datum type sy-datum value '20070802',
datum_low type sy-datum value '20070730',
datum_high type sy-datum value '20070930'.
If datum between datum_low and datum_high.
Endif.
Regards,
Rich Heilman -
Function module to convert date form yyyy/mm/dd to dd/mm/yyyy format
Can any one tell me Function module to convert date form yyyy/mm/dd to dd/mm/yyyy format?
have a look at the WIKI FAQs...they are very useful
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abapDevelopmentand+Programming&
For this it says:
<i>How to convert a date to internal or external format?
Use the functions modules CONVERT_DATE_TO_EXTERNAL or CONVERT_DATE_TO_INTERNAL
to convert the date. When converting to external format, the date format from the user's user profile will be used. When converting to internal format, the result will be in YYYYMMDD format.</i> -
Function module to change date format
hi
is there any function module to change date format from 20080318 to 18.03.2008Hi,
Use this FM CONVERT_DATE_FORMAT Convert date from yyyymmdd to ddmmyyyy format
Regards,
Jyothi CH. -
Function module to get 'Date one year in the past' in APO
Hi,
Required function module to get date one year in the past in APO.
Thanks and regards,
M.R.Reddy.Hi Reddy,
Try these function modules
/SAPAPO/DATE
/SAPAPO/FISCAL_BDATE
/SAPPO/MAPI_MAP_CREATDATE
/SAPPO/MAPI_MAP_POSTDATE
/SAPAPO/LCP_CALC_DATE
/SAPAPO/VS_ORDER_GET_DATES
/SAPAPO/PERIOD_CONVERT_DATE
/SAPAPO/PERIOD_DATE_GET_FROMTO
/SAPAPO/PERIOD_GET_DATE_RANGE
/SAPAPO/PERIOD_GET_FOR_DATE
/SAPAPO/PERIOD_GET_FROM_TODATE
Regards
R. Senthil Mareeswaran. -
Function module to convert date format from yyyymmdd to mmddyyyy format
function module to convert date format from yyyymmdd to mmddyyyy format
Hi Rajitha,
Do like this
Data: Var1 type sy-datum,
var2(8) type c.
var1 = sy-datum.
Concatanate var1+4(2) var1+6(2) var1+0(4) into var2.
write var2.
Reward Points if this helps,
Satish -
Is there any function module to convert date format?
Is there any function module to convert date format from mm/dd/yyyy to dd.mm.yyyy or sy-datum?
Hi,
wirte statement converts any date fomat in system date fromat
WRITE w_DateTO w_date_sys.
Regards,
Sriram
Maybe you are looking for
-
How to get the output of a standard report RFBILA00 in PDF form.
hi, I have to get the output of the standard report RFBILA00 in the PDF form. Thanks.
-
Having a problem with HP Solution Center seeing my hp6940 printer
So here's the environment, windows XP, ip address 192.168.50.2, hp 6940 at 10.9.26.100. These two networks are connected by a router. I can ping the printer, I can browse to the printer address and see the printer web pages. If I bring up HP Solut
-
EBS - Electronic Bank Statement Multiple Posting Rule for One External Transaction Type NTRF
hello SAP Gurus, I'm configuring EBS - Electronic Bank Statement. My requirement is for Bank External Transaction Type NTRF <for Incoming Payment> I want to assign 2 posting rules for Posting Area 2 that is Sub-Ledger posting viz. <1> For the payment
-
Podcast explicit tags are not being recognized
I'm using Squarespace as my website host, and have followed their instructions to insert the iTunes Explicit tag into our feed before submitting to the iTunes store. Unfortunately, after extensive testing with Squarespace support, the tags are being
-
Moderator message - please do not use expressions like "Help!!!" Hi How can I do for recover a 'Z' table on AIX?? Thanks in advance. Edited by: Rob Burbank on Apr 3, 2009 6:25 PM