Getting the top two dates
I am using oracle 8i. I want to fetch the TOP two DISTINCT dates from the column.
select * from t1 order by 1 desc;
16-OCT-07
16-OCT-07
06-OCT-07
06-SEP-07
06-SEP-07
10-AUG-07
07-AUG-07
06-AUG-07
04-AUG-07
16-JUN-07
13-JUN-07
20-JAN-05
19-JAN-05
16-JAN-05
So the result should be ...
16-OCT-07
06-OCT-07
what is the best way to do in oracle 8i
Put some select around your ordered select.
SQL> with t1 as (select to_date('16-OCT-07','DD-MON-YY') col1 from dual UNION ALL
2 select to_date('16-OCT-07','DD-MON-YY') from dual UNION ALL
3 select to_date('06-OCT-07','DD-MON-YY') from dual UNION ALL
4 select to_date('06-SEP-07','DD-MON-YY') from dual UNION ALL
5 select to_date('06-SEP-07','DD-MON-YY') from dual UNION ALL
6 select to_date('10-AUG-07','DD-MON-YY') from dual UNION ALL
7 select to_date('07-AUG-07','DD-MON-YY') from dual UNION ALL
8 select to_date('06-AUG-07','DD-MON-YY') from dual UNION ALL
9 select to_date('04-AUG-07','DD-MON-YY') from dual UNION ALL
10 select to_date('16-JUN-07','DD-MON-YY') from dual UNION ALL
11 select to_date('13-JUN-07','DD-MON-YY') from dual UNION ALL
12 select to_date('20-JAN-05','DD-MON-YY') from dual UNION ALL
13 select to_date('19-JAN-05','DD-MON-YY') from dual UNION ALL
14 select to_date('16-JAN-05','DD-MON-YY') from dual)
15 select * from
16 (select to_char(col1,'DD-MON-YY') from t1 order by col1 desc)
17 where rownum <= 2
18 ;
TO_CHAR(C
16-OCT-07
16-OCT-07
SQL>Message was edited by:
Sven Weller: added tag
Similar Messages
-
Help needed in getting the previous Quarter Data
Hello folks,
I have this procedure where i have to modify the current procedure in the following manner:
I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
Thanks a millioin,
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
p_start string,
p_end string)
IS
v_startdate date;
v_enddate date;
BEGIN
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
open report_record for
select --distinct r.recovery_id
r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
sum(nvl(r.amount, 0)) as amt_received,
nvl(sum(case
when r.amount >= 0 then
rd.fees
else
rd.fees * (-1)
end),
0) as fees,
ec.close_date, *001* commented
(case
when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS') then
ec.close_date
else
null
end) as close_date, --*001* added
get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
nvl(etl.fee_percent_flag, 'N') workmans_comp,
max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
from recovery r,
recovery_detail rd,
event e,
client c,
branch_group b,
employer_group g,
event_case ec,
event_type_lookup etl
where r.event_id = e.event_id
and r.event_case_id = ec.event_case_id
and ec.event_id = e.event_id
and rd.recovery_id(+) = r.recovery_id
and r.recovery_date between v_startdate and
to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS')
and e.client_id = c.client_id
and g.client_id = c.client_id
and b.client_id = c.client_id
and g.employer_group_id(+) = e.employer_group_id
and b.branch_group_id(+) = g.branch_group_id
and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
group by r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
ec.close_date,
get_case_value(ec.event_id, ec.event_case_id, v_enddate),
nvl(etl.fee_percent_flag, 'N')
having sum(nvl(r.amount, 0)) <> 0
order by c.client_code,
b.branch_group_code,
g.employer_group_code,
r.event_case_id;
Edited by: user11961230 on Oct 20, 2009 9:02 AMuser11961230 wrote:
1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
If so, replace report_type in my example with frequency.
I think you want something like this:
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
( report_record in out cr_return_types.gen_cursor
, frequency IN VARCHAR2
IS
-- Declare local variables:
v_startdate date;
v_enddate date;
BEGIN
-- Initialize v_startdate and v_enddate, depending on frequency
IF frequency = 'QUARTERLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
, 'Q'
v_enddate := TRUNC (SYSDATE, 'Q');
ELSIF frequency = 'MONTHLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
, 'MM'
v_enddate := TRUNC (SYSDATE, 'MM');
END IF;
-- Subtract one second from v_enddate
v_enddate := v_enddate - ( 1
/ (24 * 60 * 60)
open report_record for
select --distinct r.recovery_id
r.event_id,
and r.recovery_date BETWEEN v_startdate
AND v_enddate
...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
Changed query to use BETWEEN -
Need to get the Top visitors for a site in SP 2013
Hi all,
I have to get the top visitors of a website which has been migrated from 2010 to 2013, Since the web analytics has been depricated in 2013, i cant find a way to get the data of the visitors count for a website, i cant create a list and store the names of
the users in that as my site would be visited by many
I have heard about using AUDIT LOGS, just wanted to reconfirm if i can do with it.
If yes, i would like to know the way too.
Thanks in advancemaybe this topic can help you :
http://social.technet.microsoft.com/Forums/lync/en-US/72eb0aaf-a34a-47a4-83c4-ec9d8527bc30/how-can-i-show-top-visitors-of-site-in-web-part-on-home-page-of-sharepoint-2013-site?forum=sharepointdevelopment
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
How do you get the Event folder date to match the media dates in FCPX
Modifying the clip date/time with the Modify command works fine ... but the Event itself still has the date the event was created, not the date of the media that it contains.
If tried using Touch on the Event folder but FCPX ignores it.
Any ideas on how to get the Event folder date to match the media dates (or set to any other date desired) so that Events sorted by date show the actual dates of the media that they contain?
Thanks
JonathanHere is the texture I've been manipulating all afternoon to try and achieve the looks i want.
and when I put this texture over the top of other images and select Multiply, and adjusted the opacity, this is what i get....
Now this kinda works?? but it still looks not as good on an asian person.
Thanks by the way to everyone for all the tips, I really really appriciate it and more suggestions for improvments are welcome! -
How can i get report between two dates?
Hi
how can i get report between two dates?
for example i want get reports between 20/4/2002 & 27/4/2002.
my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
thanks alot.
Regards
The Oracle Reports Team
http://otn.oracle.com/where exam_date between :from_date and :to_date
from_date and to_date are user_parameter -
Using SetLeaf seteaf to get the top hierarchy of the setnode its setname
hi,
using setleaf I have to set its setnode. I have to get the top standard hierarchy setname of that setnode. Is there any function module developed or is there anyway i can get the data.
KamleshTake a look at SAP program RGSEX001 - good example of several Set related functions. Also other RGSEX* programs.
Andrew -
HOw to Get the top level of Hierarchy and count on that basis
hi
i have following tables
desc hr_organizations_units_V
organization_id PRIMARY KEY
name
ORGANIZATION_type
per_org_structure_elements
organization_id_parent FK TO hr_organizations_units_V(ORGANIZATION_ID)
organization_id_child FK TO hr_organizations_units_V(ORGANIZATION_ID)
I HAVE THIS QUERY TO GET PARENT CHILD
SELECT ORGANIZATION_ID_PARENT PARENT,ORGANIZATION_ID_CHILD CHILD,ORGANIZATION_TYPE FROM PER_ORG_STRUCTURE_ELEMENTS OSE,HR_ALL_ORGANIZATION_UNITS AOU WHERE AOU.ORGANIZATION_ID = OSE.ORGANIZATION_ID_CHILD CONNECT BY PRIOR ORGANIZATION_ID_CHILD = ORGANIZATION_ID_PARENT
START WITH ORGANIZATION_ID_PARENT = 82 -- THE GRAND PARENT
ORDER BY ORGANIZATION_ID_PARENT
PARENT CHILD ORGANIZATION_TYPE
82 83 COMPANY
82 143 COMPANY
83 84 DIVISION
83 134 DEPARTMENT
83 135 DEPARTMENT
DESC per_all_assignments_f
ASSIGNMENT_NUMBER
ORGANIZATION_ID FORIGN KEY TO HR_ALL_ORGANIZATION_UNITS
THE ASSIGNMENTS ARE ASSIGNED ON DEPARTMENT LEVEL.
MY REQUIREMENT IS THAT I WANT TO GET THE
1)TOTAL NO OF ASSIGNMENTS ON THE DIVISION LEVEL
2)TOTAL NO OF ASSIGNMENTS ON THE COMPANY LEVEL
3)REPORTS LIKE PAY SLIP ETC I WANT TO GET THE ABOVE TWO LEVELS OF ORGANIZATION FOR EACH EMPLOYEE I.E DIVISION AND COMPANY OF
OF THE EMPLOYEE'S DEPARTMENT.
I WILL REALLY APPRECIATE ANY HELPING HAND.
REGARDSHere are a few ways to get what I think you are asking for now. If this is not what you want, then please provide a complete example of what you want, including sample data, and the complete query result, including numbers, based on that data, that you want, as I have done below.
scott@ORA92> -- test data:
scott@ORA92> SELECT * FROM hr_all_organization_units
2 /
ORGANIZATION_ID NAME ORGANIZATIO
82 GRANDPARENT GRANDPARENT
83 COMPANY 83 COMPANY
84 DIVISION 84 DIVISION
134 DEPARTMENT 134 DEPARTMENT
135 DEPARTMENT 135 DEPARTMENT
143 COMPANY 143 COMPANY
6 rows selected.
scott@ORA92> SELECT * FROM per_org_structure_elements
2 /
ORGANIZATION_ID_PARENT ORGANIZATION_ID_CHILD
82 83
82 143
83 84
84 134
84 135
scott@ORA92> SELECT * FROM per_all_assignments_f
2 /
ASSIGNMENT_NUMBER ORGANIZATION_ID
1 83
2 84
3 134
4 135
5 143
6 84
6 rows selected.
scott@ORA92> -- method 1:
scott@ORA92> COLUMN name FORMAT A35
scott@ORA92> SELECT RPAD ('.', 5 * (LEVEL - 1), '.') || aou.name AS name,
2 (SELECT SUM (the_count)
3 FROM (SELECT organization_id_parent,
4 organization_id_child,
5 COUNT (*) AS the_count
6 FROM per_org_structure_elements,
7 per_all_assignments_f
8 WHERE per_org_structure_elements.organization_id_child =
9 per_all_assignments_f.organization_id
10 GROUP BY organization_id_parent,
11 organization_id_child) t
12 START WITH t.organization_id_child =
13 ose.organization_id_child
14 CONNECT BY PRIOR t.organization_id_child =
15 t.organization_id_parent) AS assignments_count
16 FROM PER_ORG_STRUCTURE_ELEMENTS OSE,
17 HR_ALL_ORGANIZATION_UNITS AOU
18 WHERE AOU.ORGANIZATION_ID = OSE.ORGANIZATION_ID_CHILD
19 START WITH aou.name = '&company_name'
20 CONNECT BY PRIOR ose.ORGANIZATION_ID_CHILD = ose.ORGANIZATION_ID_PARENT
21 /
Enter value for company_name: COMPANY 83
old 19: START WITH aou.name = '&company_name'
new 19: START WITH aou.name = 'COMPANY 83'
NAME ASSIGNMENTS_COUNT
COMPANY 83 5
.....DIVISION 84 4
..........DEPARTMENT 134 1
..........DEPARTMENT 135 1
scott@ORA92> -- method 2:
scott@ORA92> COLUMN name FORMAT A35
scott@ORA92> WITH sub_query AS
2 (SELECT ose.organization_id_parent, ose.organization_id_child,
3 aou.name, COUNT (*) AS assignments
4 FROM per_org_structure_elements ose,
5 hr_all_organization_units aou,
6 per_all_assignments_f aaf
7 WHERE ose.organization_id_child = aou.organization_id
8 AND ose.organization_id_child = aaf.organization_id
9 AND aou.organization_id = aaf.organization_id
10 GROUP BY ose.organization_id_parent, ose.organization_id_child, aou.name)
11 SELECT RPAD ('.', 5 * (LEVEL - 1), '.') || name AS name,
12 (select SUM (assignments)
13 from sub_query
14 start with organization_id_child = t.organization_id_child
15 connect by prior organization_id_child = organization_id_parent)
16 AS assignments_count
17 FROM sub_query t
18 START WITH name = '&company_name'
19 CONNECT BY PRIOR ORGANIZATION_ID_CHILD = ORGANIZATION_ID_PARENT
20 /
Enter value for company_name: COMPANY 83
old 18: START WITH name = '&company_name'
new 18: START WITH name = 'COMPANY 83'
NAME ASSIGNMENTS_COUNT
COMPANY 83 5
.....DIVISION 84 4
..........DEPARTMENT 134 1
..........DEPARTMENT 135 1
scott@ORA92> -- method 3:
scott@ORA92> COLUMN name FORMAT A35
scott@ORA92> CREATE OR REPLACE VIEW sub_query AS
2 SELECT ose.organization_id_parent, ose.organization_id_child,
3 aou.name, COUNT (*) AS assignments
4 FROM per_org_structure_elements ose,
5 hr_all_organization_units aou,
6 per_all_assignments_f aaf
7 WHERE ose.organization_id_child = aou.organization_id
8 AND ose.organization_id_child = aaf.organization_id
9 AND aou.organization_id = aaf.organization_id
10 GROUP BY ose.organization_id_parent, ose.organization_id_child, aou.name
11 /
View created.
scott@ORA92> SELECT RPAD ('.', 5 * (LEVEL - 1), '.') || name AS name,
2 (select SUM (assignments)
3 from sub_query
4 start with organization_id_child = t.organization_id_child
5 connect by prior organization_id_child = organization_id_parent)
6 AS assignments_count
7 FROM sub_query t
8 START WITH name = '&company_name'
9 CONNECT BY PRIOR ORGANIZATION_ID_CHILD = ORGANIZATION_ID_PARENT
10 /
Enter value for company_name: COMPANY 83
old 8: START WITH name = '&company_name'
new 8: START WITH name = 'COMPANY 83'
NAME ASSIGNMENTS_COUNT
COMPANY 83 5
.....DIVISION 84 4
..........DEPARTMENT 134 1
..........DEPARTMENT 135 1 -
Getting the top 10 issues using a query
Version 11g, Apex 4.1
Hi There,
I have a table with the following structure
error_code date error_type
e1 10-jun-2012 P
e1 10-jun-2012 P
e2 10-jun-2012 C
e3 09-jun-2012 P
e4 09-jun-2012 D
e20 01-jan-2011 cI have to get the top 10 errors along with the counts.
I know how to get the counts, I was not sure how to restrict it to the top 10 of the whole list
Thanks,
Sun
Edited by: sun1977 on Jun 12, 2012 6:13 AMselect *
from (select error_code,count(error_code) arc from err_log group by error_code order by arc desc) where rownum < 11 ; The order by in the subquery does not garantie, that the result is ordered outside. Therefore rownum not necessarily works as expected.
But of course your questions how the top 10 are defined are important to give the correct answer.
Regards
Marcus -
How to get the sample repository data of over 6000 records for products
Hi,
I have MDM installed and ready to use with the standard 9 repositories provided by SAP. I was wondering if I can get the unarchive .a2a file with the sample data of records (I think over 6000 records) for the Products repository. I have tried to bring in the two .a2a product files that I have, but it was giving version inconsistent errors. How do and where do I get the real sample data (not the one we can create in data manager) correct version provided by SAP, so that I can get my hands on SAP data manager funtionality.
Thanks in advance,
N@v!n KHi Navin,
Business Content archives that are provided by SAP for MDM do not come with the sample data.
In the bsuiness content ,if you unzip the file you will see the a2a archive of the rep as provided by SAP and the import /export maps and the lookup data file.
There is no main records that SAP provide with the sap content it is basically the data modell that SAP provides so that the foundation is set for you and you can now import and work with the data.
However if you wish to use the demo repository or the training rep from Inquera then you will same some sample data already loaded in MDM rep to work upon.
Regarding the version problem
Check the MDM version of the business content rep with the MDM server you are using .They have to match to work correctly.
You can work with a lower archives of the rep(say SP04) with an Upgraded MDM server (say SP06) by using the Update Repository option in the context menu of the MDM server in Console.
But the vice versa is not possible.
Check you MDM server version by clicking on the MDM server and see its details in the right side record detail pane.
To know more on the demo and Inquera rep kinldy view the below links:
https://www.sdn.sap.com/irj/sdn/nw-demomodel#section21 (Demo Rep)
http://www.inquera.com/InqueraCatalog/CustomerLogin.asp(Demo Rep from Inquera you need to register and they will mail you)
Hope It Helped
Thanks & Regards
Simona Pinto -
I am adding more memory, should I replace the top two slots with the 4g memory modules, then place 2g memory modules on bottom slots. Does it even matter?
I am adding more memory, should I replace the top two slots with the 4g memory modules, then place 2g memory modules on bottom slots. Does it even matter?
-
Hi iam getting the alv grid data in excel format but iam facing one problem
hi iam getting the alv grid data in excel format but iam facing one problem ,
i.e., i want it read only but iam getting it in edit mode i use layout default in excel iam getting in xl directly but in edit mode but i need it in read only mode
what i have to do for that and bdy knows reply me i need it urgently.there's always edit-mode if you choose excel-inplace - but noone can modify/rewrite the data
A. -
Get the custom fields data at the time of save
Hi,
We have added few fields in the ICWC for the complaint screen.
At the time of save i am trigering a BADI.
I would like to check the data that is entered in those fields of complaint screen.
Is there any FM which can be used to get the data from the buffer ?
I have the header GUID available to me .
Thanks.
RHi,
Let me elaborate a bit.
Users would create the complaints in the ICWC.We have addeded few custom fields in the complaint screen.
CRMT_CUSTOMER_H_WRKT is extended with the custom fields.
At the save i am trigerring the Partner Determination BAdi.
Here i have the complaint guid at run time.
I would like to check the data entered in the custom field in the complaint screen. Based on this i would like to determine one more partner.
My question is how can i get the custom field data in the complaint screen in this BAdi.
The FM: CRM_ORDER_READ is not returning this data.Is there any FM to get this ?
Thanks.
R. -
Getting The SAP KM data in a java class
Hi Everyone
I want to get the SAP KM data to a simple java class......I am able to get this with servlet but i want not a servlet but a simple java class that can get the Documents stored in SAP KM repository..................
I am thinking of using any java Driver in some code like
Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
String url = "http://host name :port";
Connection con = DriverManager.getConnection (url, "", "");
Statement stmt = con.createStatement ();
IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
ResourceContext c = new ResourceContext(serviceUser);
IResource r = ResourceFactory.getInstance().getResource(RID.getRID("/documents/Public Documents/"), c);
System.out.println("Current user "+r.getContext().getUser().getDisplayName());
System.out.println("Current user : "+r.getContext().getUser().getDisplayName());
System.out.println("Access RID : "r.getAccessRID().toString()"<br>");
But the above code is giving an exception---java.sql.SQLException: No suitable driver
Can anyone tell me the suotable Lava driver to access SAP KM repository..Or any simple java code that can connect to SAP KM...
Waiting for Ur reply
Thanks & Regards
RupeshIs there a way to find the list of imports that a
java class file has added.Yes. It's very easy. The answer is [url http://en.wikipedia.org/wiki/Mu_%28negative%29]Mu. -
I need to get the Current System Date and time in the format
I need to get the Current System Date and time in the format
*6/24/2009 11:30:29 AM*
How do i do it ?I seem to be saying this a lot lately.
Google is your friend.
I googled "java current date format" and SimpleDateFormat featured prominently in the results. -
How do I get the last changed date & time of a file in app server?
Hi Experts,
How do I get the last changed date & time of a file in app server?
Thanks!
- Anthony -Hi,
that's what I use...
CALL 'C_DIR_READ_FINISH'. " just to be sure
CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
IF sy-subrc <> 0.
EXIT. "Error
ENDIF.
DO.
CLEAR l_srvfil.
CALL 'C_DIR_READ_NEXT'
ID 'TYPE' FIELD l_srvfil-type
ID 'NAME' FIELD l_srvfil-file
ID 'LEN' FIELD l_srvfil-size
ID 'OWNER' FIELD l_srvfil-owner
ID 'MTIME' FIELD l_mtime
ID 'MODE' FIELD l_srvfil-attri.
* l_srvfil-dir = p_path .
IF sy-subrc = 1.
EXIT.
ENDIF." sy-subrc <> 0.
PERFORM p_to_date_time_tz
USING l_mtime
CHANGING l_srvfil-mod_time
l_srvfil-mod_date.
TRANSLATE l_srvfil-type TO UPPER CASE. "#EC TRANSLANG
PERFORM translate_attribute CHANGING l_srvfil-attri.
CHECK:
NOT l_srvfil-file = '.',
l_srvfil-type = 'D' OR
l_srvfil-type = 'F' .
APPEND l_srvfil TO lt_srvfil.
ENDDO.
CHECK NOT lt_srvfil IS INITIAL.
pt_srvfil = lt_srvfil.
FORM p_to_date_time_tz USING p_ptime TYPE p
CHANGING p_time TYPE syuzeit
p_date TYPE sydatum.
DATA:
l_abaptstamp TYPE timestamp,
l_time TYPE int4,
l_opcode TYPE x VALUE 3,
l_abstamp TYPE abstamp.
l_time = p_ptime.
CALL 'RstrDateConv'
ID 'OPCODE' FIELD l_opcode
ID 'TIMESTAMP' FIELD l_time
ID 'ABAPSTAMP' FIELD l_abstamp.
l_abaptstamp = l_abstamp.
CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
TIME p_time.
ENDFORM. " p_to_date_time_tz
Regards,
Clemens
Maybe you are looking for
-
How to include a custom bkgd in the spark datagrid header
I have a CustomDatagridSkin.mxml, which is based upon the default DataGrid. I'm looking at the code, and I'm a noob, trying to make heads or tails out of it. If I could just figure out how to change the header color I would be happy. But what I'd rea
-
Is there a way to narrow app searches for special education for adults?
I wish to locate easy to use apps for a high functioning adult with Down syndrome but all items seem to be for youth. Does anyone have any suggestions where I might find stuff? There are many more Down syndrome adults around now but resources for the
-
HI all, I have 'Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod' installed, I want to create one standby DB through EM Dataguard Manager, but it is not available in EM. Even the DGMGRL command also not working. As I know Dataguard fe
-
Hi All, Hope you all are doing great. I want a clarification, What is the difference between BW-HR Mechanism & BW-Other modules (SD,MM,PP etc). Highly appreciate your response...... Thanks, KN
-
I have an iPad 3. When I try to update an apps I get the message "can't connect to apps store" even though me wifi is up and running and everything else is working fine. Does anyone know how to resolve this issue?