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 k
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
-
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 BalaguruHi 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 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 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 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. -
Prorating Wage Type in IT0014 based on start and end dates
Hi experts
I have a scenario wherein I want to prorate a Wage type according to the start and end dates in Infotype 0014. I have tried setting the Processing Class 10 to 1. When I do this, the system prorates according to the start date. Example:
If the start and the end dates for wagetype 4000 are: 24.05.2014 to 31.12.9999, amount is 1000 and the payroll period is May'2014, then amount calculated is 258.06, which is correct.
If however, the start and the end dates for wagetype 4000 are: 01.05.2014 to 24.05.2014, amount is 1000 and the payroll period is May'2014, the system generates the amount 1000, which is incorrect.
How can we handle this? Please help.
Regards
Divya TiwariHi Divya,
Please check the below mentioned pcr's in your system.
UW14 and X011
Check above mentioned pcrs in subschemas INBD,ZNAP and share me the existing pcr's screenshot in your system.
Regards,
Haranath -
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; -
Report execution start and end date/time
Hi All,
How can one find execution start and end date/times for all reports? Basically I am looking to see what reports were run on a day, when and how long it took for each to complete.
Thank you.
DenisHi,
The "eul5_batch_reports" holds the data about the scheduled report and if you don't have any so you will not have any data.
Take a look at "EUL5_QPP_STATS"
for example:
select
qpp.qs_doc_name,
qpp.qs_doc_details,
fu.user_name Ran_by,
qpp.qs_created_date Start_run,
qpp.qs_doc_owner Doc_owner,
qpp.qs_num_rows rows_fetch,
qpp.qs_est_elap_time estimated_time,
qpp.qs_act_elap_time Run_time,
qpp.qs_act_cpu_time Cpu_time
from eul_us.EUL5_QPP_STATS qpp,
fnd_user fu
where substr(qpp.qs_created_by,2,10)=fu.user_id
order by qs_created_date -
VA42 user exit to update contract start and end dates at Item level
Hi Experts,
I need to update contract start and end dates at Item level in 'VA42' transaction, for this i am using user-exit 'USEREXIT_FIELD_MODIFICATION' in the include 'MV45AFZZ'. i am able to display the data into item level through my coding but the data is not getting updated into 'VEDA'
Note: No need to change contract start date and end date in header level. Only at item level i want to change dates.
Thanks,
Sateesh.Thanks For your reply Vikram,
i tried with 'USEREXIT_MOVE_FIELD_TO_VBAP' user-exit earlier it self its not working. Can you suggest me any another way how we can achieve this functionality. modification of Contract start date and end date in only item level.
'USEREXIT_MOVE_FIELD_TO_VBAP':
FORM USEREXIT_MOVE_FIELD_TO_VBAP.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_MOVE_FIELD_TO_VBAP, Start A
*$*$-Start: (3)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZSD_CONT_DATE. "active version
DATA : lv_var TYPE CHAR10.
lv_var = '0040000219'.
if sy-tcode = 'VA42'.
IF VBAK-VBELN EQ lv_var.
VEDA-VBEGDAT = '20140502'.
XVEDA-UPDKZ = 'X'.
VEDA-VENDDAT = '20140602'.
XVEDA-UPDKZ = 'X'.
ENDIF.
ENDIF.
ENDENHANCEMENT. -
[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!!
Maybe you are looking for
-
Hi, I recently purchased a copy of Mac OS X Mountain Lion, after playing around with notification center I realized that if I get new mail I have to open my mail in the application so that it can appear in the notification center, why cant it just ap
-
Wierd email download problem...losing messages
Anyone else had this problem - you download messages on iPhone - and often get the dreaded "no content" or "did not download message from server" message - and then when you try to download message on primary computer the message never shows up? (And
-
Has copy and paste been broken in the latest iOS in Numbers
Just tried copying and pasting in the latest version of Numbers on a V3 iPad. The only time I could get it to work, was by copying into the same table. And then only once. I've been using this for months, but not since the latest update. Anyone else
-
Does this mean that with the simultaneous bands, b/g devices won't bring down the speed of the N network? One of the biggest problems with the Time Capsule has been that to really have it work as a backup device, I have to also create a separate G ne
-
Opening an spreadsheet on another pc
Hiya, I have a VI which, when I press a certain button, opens an excel spreadsheet. I'm publishing the VI on the web using the web publishing tool. Is there any way when, on a remote machine, I take control of the VI I can open the spreadsheet on thi