How to retrieve start and end date values from sharepoint 2013
Hi,
How to retrieve start and end date values from new event form of calendar in SharePoint foundation2013
Thanks
Gowri Balaguru
Hi Srini
Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
Thanks
Tripple k
Similar Messages
-
0Person to 0employee loading, how to handle start and end date
Hi
I need help on some basic understanding of time dependent master data object.
In my scenario i am loading 0employee and 0Person from R/3. I need to update 0employee from 0person.
0employee
BEGDA ENDDA PERNR Position....................So many fields
10.10.2001 10.10.2004 8000123 Associate
11.10.2004 10.10.2008 8000123 Consultant
11.10.2008 31.12.9999 8000123 Senior Consultant
0Person
BEGDA ENDDA PERNR City....................So many fields
10.10.2001 10.10.2003 8000123 Singapore
11.10.2003 10.10.2007 8000123 Tokyo
11.10.2007 31.12.9999 8000123 Newyork
As the begining and end date are different i can't simply read City from 0person into 0employee. If i go for checking the city for the start and end date in 0employee, i will get multiple records ( If try to get city for 0employee's first record, i will get 2 city Singapore and Tokyo).
Please help me out how to handle this ...... i think i am missing somelink somewhere
Thanks
Tripple kHi Srini
Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
Thanks
Tripple k -
Hi All,
I need to get the start date and end date of a month by passing parameter like 'MAy-2011'
Result should be start date - 01-MAY-2011 and end date - 31-MAY-2011
thnxsI did the documentation drill down for you :
http://tahiti.oracle.com/
http://www.oracle.com/pls/db112/homepage?remark=tahiti
http://www.oracle.com/pls/db112/portal.all_books
http://www.oracle.com/pls/db112/portal.all_books#index-SQL
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/toc.htm
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions.htm#i1482196
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions002.htm#i88891
from here on you should be able to find a solution on yout own. -
What parameters determine Planned order production start and end dates?
Greetings
We are using the graphical planning table @ MF50 to firm Planned Orders (Basically checking off "Firm Order" field within the Planned Order). We are on ECC 6.0
Whenever I backflush, the production start and end dates get overwritten (The Basic dates do not change).
I would like to prevent this. Can someone advise me on what parameter controls how the production start and end dates getting changed?
Thank you
HanarinHi,
Calculating production dates ( Lead time scheduling) are explained in detail in the SAP help URL as below:
If "Automatci Scheduling indicator" is set in the customizing for scheduling parameters then after every change relevant to scheduling, the production order is also automatically rescheduled before saving.
You need to check these settings.
regards
Datta -
How to input my own Validity Start and End Dates in ME21N
Hi All,
I have to change the Validity Start and Validity End date in Addiitional Data Tab of ME21 transaction( PO Create ) using default Customer Values.How Can i accomplish it?
I have used the BAdI ME_PROCESS_PO_CUST and implemented it, I have coded in the method PROCESS_HEADER.First I retrieved the data using get_data( ) method, changed the values with Customer Values and called the method set_data( ).
However my validity start and End Dates and not changing.
Even in ME21N if I create the PO with my own Validity Start and End dates, and go to ME23N to display the created PO, still in the additional data tab, the start and End dates are current date and Next date respectively.why its happening?
Thanks in advanceHi,
Can you please let us know in which business scenario this is required.
SAP has provided separate functionality of Outline Agreement for considering validity period.
If you let us know the business scenarion some solution/workaround can be suggested.
Regards -
How to determine current period start and end dates
Hi All,
If given previous period start date and end date, how to determine current period start date and end date?
Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Can you please suggest an FM to determine the current period dates?
Thanks & Regards
Gowthami>
gowthami karunya wrote:
> If given previous period start date and end date, how to determine current period start date and end date?
> Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Hello,
I am assuming you have the Company Code with you & proposing this solution.
TABLES: bkpf.
PARAMETERS:
p_bukrs TYPE bukrs.
SELECT-OPTIONS:
s_date FOR bkpf-budat.
DATA :
l_perio LIKE bkpf-monat,
l_poper TYPE poper,
l_year LIKE bkpf-gjahr,
l_spmon TYPE spmon,
l_periv TYPE periv,
l_date1 TYPE datum,
l_date2 TYPE datum.
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = s_date-high
IMPORTING
fiscal_year = l_year
fiscal_period = l_perio.
CONCATENATE l_year l_perio INTO l_spmon.
* Get the next period
IF l_perio < 12.
l_perio = l_perio + 1.
ELSE.
l_perio = '01'.
l_year = l_year + 1.
ENDIF.
MOVE l_perio TO l_poper.
SELECT SINGLE periv INTO l_periv
FROM t001
WHERE bukrs = p_bukrs.
IF sy-subrc = 0.
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date1
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date2
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE: / l_date1, l_date2.
ENDIF. -
How to change both start and end dates for an business event (or any object
Hi all.
We are in the case to change the validity dates for several business events in training management.
The special point is that both, start and end date, have to be changed.
In example, business event 00000001 is valid from 2010.01.01 to 2010.01.31 and shoud be "moved" from 2010.05.01 to 2010.05.31.
So if i run RHBEGDA0 report to change start date first, it doesn't work propperly because new start date is bigger than old enddate.
Next thing we thought is to change end date first, using RHGRENZ1, and then change the start date, with the report RHBEGDA0. Problem with this solution is that a business event duration shoud be calculated taking care of free days (weekends and day ofs).
Is there any better solution for this?
Thanks in advance for your help.
Best regards.Hi,
I gueass the best solution is to use PV1A t-code.
You can write an LSMW for this t-code if the number of business events to be maintained is huge.
Regards,
Dilek -
How to change Validity Start and end dates on a lane ?
Hi,
I am trying to change Validity start and end dates on a lane for a product specific assignment.
What I see is as follows
1) Lane created by system /others I can delete and give the required start /end date ?
I want to know if I can change the end date without deleting the lane as its tough to delete a lane in production.
Thanks
-Venky.Hi,
we can change the start period and end period in the Transportation lane using the table /SAPAPO/TRPROD.
And then using the update command you can change the start time and end time of the product.
Regards,
Hyma. -
How to find the start and ending dates of a quarter of a particular fiscal
Hi Experts,
I need a function mudule which returns starting and ending date s of a particular quarter of a particular fiscal year .
For Example: if pass 1 quarter and 2002 or 2 quarter 2002 it has to give me the star and end dates of that particular quarter na d fiscal year.
Please help me which is urgent for me.Hi Kishan thanks for reply.
But given function module the 2nd one is full but it is giving me the calender year dates but i need fiscal yea dates.
fro example: if i pass 1 st quarte and 2006 it is to give me the 1st-april to 30-jun2006.
And need this quater starting date and ending date for as per USA fiscal year calender.
If u get any idea plz let me know.
thanks.
Dashmantha. -
[CF10] CFINPUT custom validation start and end dates
Hello, everyone,
Another developer that I am working with is working with a form that has start and end dates. He'd like to be able to use custom JavaScript validation to make sure that not only are the dates in proper format (that part of the JS is working fine), but that it will also check to make sure that the start date will always be prior to (or equal to) the end date, and will throw an alert if the end date is before the start date.
I've Googled for this, and am finding informative suggestions on just making sure the date is in the right format, or falls within a certain range, but nothing on how to make sure that one date is before (or less than) another.
I'm guessing that data binding might be a part of it. Can anyone suggest how to set these fields so that each has a validateat="onblur" that will check both values?
Also, as a related issue, he has the CF datepicker working as far as entering the dates, but since the field doesn't get/lose focus on this, how do we trigger the function?
V/r,
^_^i had tried this a few times but I kept getting an invalid numer to character error. Maybe my syntax was off. Let me try again.
I must have had syntax errors. I tried it again, the way you typed it out and it worked. Before I was using '/' instead of '-' to separate the date fields.
Thanks again!! -
Getting the start and end dates of the week
Hi,
I was stuck with a problem in getting the start date and end date of the week,i know the month ,week and year also,with these three values how can i get the start and end dates of a week.please help me
ThanksThere is no simple way. It has to be a math calculation.
There are several ways you can get the dates. First you have to know what day is January 1st and what day is december 31st for a particular year. Second you have to check whether the given year is a leap year or not. Based on the abvove information you should be able to find out what day is a particular date.
Hope this helps to get you started.
- Venkat Dhurjati. -
Update Contract Start and End dates via BAPI_SALESORDER_CREATEFROMDAT2
Hi Experts.
We are successfully using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.
Only problem is that the contract start and end date do not get updated.
We are passing that in ORDER_HEADER_in-CT_VALID_F and ORDER_HEADER_IN-CT_VALID_T.
After debugging, I found that there is one more table SALES_CONTRACT_IN in SD_SALESDOCUMENT_CREATE. Updating the values in that table works.
But the problem is this table is not available in BAPI_SALESORDER_CREATEFROMDAT2. How to update Contract start and end dates from this FM ?
I could not find anything in the search of this forums. So I guess this is not an issue and I am doing something wrong. Can someone suggest to me please?
Thanks in adv.
AishiAre you creating a contract or a sales order?
-
SNP Planned order start and end dates are not calculated correctly
Hello SNP Guru's
The SNP planned orders generated after the Heuristics run, have a start and end date based on the Activity Duration (Fixed), while the resource consumption is based on the Bucket Consumption (Variable), which is correct.
The Activity Duration (Fixed) is based on the BOM Base Quantity. So if the Activity Duration = 1 day, and if the order quantity is more than a day, the start and end dates, still shows as 1 day. So no matter what is the order quantity, the start and end dates is always = 1 day.
Does anyone have any experience in implementing any code to change the start and end dates on SNP Planned Order?
Seems like it should work as standard.
Am i missing something?
Thanks,
MangeshDear Mangesh,
SNP is a infinite planning tool. If you have defined fixed duration to be 1 DAY in the activity, no matter how many quantity you input for your planned order, the order will last for one day. If the resourced is overloaded, you then run capacity levelling to
banlance the capacity. What your expected beahavior happens in PPDS planning.
Claire -
URGENT REPORT START AND END DATE
GUYZ help me how to generate a report with start date and end date, two text item or calendar rpresent start and end date, it will generate only the start to end date... plzz put the code guyss..
this is my code when i call my report in runtime only in client server .. i want to generate it wit start and end date but dunno newbie ..
Declare
v_Rep varchar2 (30);
repid report_Object;
begin
repid:=find_report_object('dept');
v_rep:=run_report_object(repid);
end;Check this sample Code..
DECLARE
pl_id ParamList;
pl_name VARCHAR2(10) := 'repdata';
BEGIN
pl_id := Get_Parameter_List(pl_name);
IF Id_Null(pl_id) THEN
pl_id := Create_Parameter_List(pl_name);
Add_Parameter(pl_id, 'P_STARTDATE', TEXT_PARAMETER,:BLK_CTRL.P_TODATE);
Add_Parameter(pl_id, 'P_ENDDATE', TEXT_PARAMETER, :BLK_CTRL.P_CURRENCY);
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
ELSE
Destroy_Parameter_List( pl_id );
END IF
RUN_PRODUCT(REPORTS, 'D:\MMRROLDL.RDF' ,SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id ,NULL);
END; -
Calculate Start and End date in Connect By -- When Hirerchy Changes
/* Formatted on 5/20/2013 9:53:00 AM (QP5 v5.115.810.9015) */
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Hello , Can some one Please help me or Guide me in calculating Start and End dates for the below logic
I want to calculate the Manager Hirerchy for the given Agent.
Then Below Query is working fine and its giving me the desired results
But when there is a change in the Manager Hirerchy or Manager gets Promoted
Then i need to calculate the start date and end date.
CREATE TABLE PERSON_DTL
SID VARCHAR2(10 BYTE),
EMP_MGRS_ID VARCHAR2(10 BYTE),
START_EFFECTIVE_DT DATE,
END_EFFECTIVE_DT DATE
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M100', 'M107', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M101', 'M102', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('A100', 'M100', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M100', 'M101', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M107', 'M102', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M102', 'M103', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M103', 'M104', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('A101', 'M105', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into PERSON_DTL
(SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
Values
('M105', 'M106', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;
SELECT CONNECT_BY_ROOT (b.sid) agent_sid,
TRIM (
LEADING ',' FROM SYS_CONNECT_BY_PATH (b.sid, ',')
|| ','
|| b.emp_mgrs_id
PATH,
START_EFFECTIVE_DT Start_dt,
END_EFFECTIVE_DT End_dt
FROM PERSON_DTL b
WHERE CONNECT_BY_ISLEAF = 1
START WITH sid IN ('A101', 'A100')
CONNECT BY PRIOR b.emp_mgrs_id = b.sid
This is the results that i am getting now.
AGENT_SID PATH START_DT END_DT
A100 A100,M100,M101,M102,M103,M104 1/1/2010 12/31/9999
A100 A100,M100,M107,M102,M103,M104 1/1/2010 12/31/9999
A101 A101,M105,M106 1/1/2010 12/31/9999
Results Required
A100 A100,M100,M101,M102,M103,M104 1/1/2010 5/18/2013
A100 A100,M100,M107,M102,M103,M104 5/20/2013 12/31/9999
A101 A101,M105,M106 1/1/2010 12/31/9999May be this..
SQL> select agent_sid,max(path) path,max(start_dt) start_dt,
2 min(end_dt) end_dt
3 from
4 (
5 select agent_sid,path,start_dt,end_dt,
6 sum(flg) over(order by rn) sm
7 from
8 (
9 select agent_sid,
10 path,
11 start_dt,
12 end_dt,rn,
13 case when path like lag(path) over(order by rn)||'%' then 0 else 1 end flg
14 from
15 (
16 SELECT CONNECT_BY_ROOT (b.sid) agent_sid,
17 TRIM (
18 LEADING ',' FROM SYS_CONNECT_BY_PATH (b.sid, ',')
19 || ','
20 || b.emp_mgrs_id
21 )
22 PATH,
23 START_EFFECTIVE_DT Start_dt,
24 END_EFFECTIVE_DT End_dt,rownum rn
25 FROM PERSON_DTL b
26 START WITH sid IN ('A101', 'A100')
27 CONNECT BY PRIOR b.emp_mgrs_id = b.sid
28 )
29 )
30 )
31 group by agent_sid,sm
32 order by agent_sid;
AGENT_SID PATH START_DT END_DT
A100 A100,M100,M101,M102,M103,M104 01-JAN-10 18-MAY-13
A100 A100,M100,M107,M102,M103,M104 20-MAY-13 31-DEC-99
A101 A101,M105,M106 01-JAN-10 31-DEC-99Edited by: jeneesh on May 20, 2013 7:54 PM
Not thoroughly tested.And not sure whether an easy way exists..
Maybe you are looking for
-
How to link Invoice Quantity and Confirmed quantity in schedule line
Hello, I'm working for a report in BW. The user want to compare the invoice quantity to the confirmed quantity in schedule line for a sales order. I can't find any table linking these two fields. Could you help? Thanks a lot Jeannie
-
Songs stop prematurely in iTunes 10.6.1.7
I've seen this question asked many times as I search the forum but very few answers. After upgrading computers and copying all of my music into iTunes on my new PC, some of my songs (about 40% of them) now stop playing prematurely and go to the next
-
Access Connections main service stops randomly
Hi all, I have a T60 at work with the latest version of Access Connections. Over the last few weeks, my Access Connections will randomly show that it disconnects in my system tray. However, I am still connected to my company's network. Our te
-
Hi, i need meter the frquency by this method: The frequency reading shall be obtained every 10 s. The frequency output is the ratio of the number of integral cycles counted during the 10 s time clock interval, divided by the cumulative duration of th
-
I should not have to "expand" a rectangle before resetting its bounding box
When you create a rectangle and rotate it, the Reset Bounding Box command is available to you, but selecting it does nothing. To get it to work, you have to "expand" the rectangle first, and then select Reset Bounding Box. This is idiotic. If I've ex