Effective dates
Hi All,
I have page thats stores effective dated data, in this page there is a field which prompts for emplid and the main table is the job table.
If my effective date for the data is < 1998 i can't find any employees, where as if it is > 2000, i can find some employee.
Appreciate it if someone can tell me why is this happening or what triggers this scenario?
You mean even if the prompt table is just a view?
emplid View selects from job table, if the effdt of the data i'm suppose to enter is < effdt of emplid job data, i will not see the emplid?
if thats the case, i have to input the effdt of the data >= to emplid effdt?
thats answers my question, thanks
Similar Messages
-
Please let me know the table and field for the Effective date the employee moved into the job
LisaHi Lisa,
the fileds BEGDA and ENDDA represent the Effective date and end date of the EE assigned to the Job
Thanks
Cheera -
How to create a filter based on Effective date EFFDT
Hello to all,
I am currently creating reports from an HR database that stores records by employee (EMPLID) based on effective date(EFFDT) and Effective Sequence (EFFSEQ).
It is easy to get a report that shows all entries up to a certain data (using <= or >=), however, I am not able to create a Filter (in the report or in the prompt)
that shows me the MAX(EFFDT) up to a certain data dd/mm/yyyy. (any one)
The sql script we use is the follwiing
SELECT A.EFFDT, A.EFFSEQ, A.ACTION, A.EMPL_CLASS, *
FROM PS_JOB A
WHERE A.EMPLID=' ' ----*(PROMPT1)*
AND A.EFFDT=(SELECT MAX(B.EFFDT) FROM PS_JOB B
WHERE B.EMPLID=A.EMPLID
AND B.EFFDT<=' ') *(PROMPT2)*
AND A.EFFSEQ=(SELECT MAX(B.EFFSEQ) FROM PS_JOB B
WHERE B.EMPLID=A.EMPLID
AND B.EFFDT=A.EFFDT)
Do I need to create a variable? If yes, How?
Please send me your suggestions or past experiences with BI on the subject.
Thanks
RobertoHi Roberto,
I would create a session variable via the Oracle BI Administration Tool.
See the following of how to achieve this:
http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_Variables4.html
Reference this variable in your filter. It looks something like this VALUEOF(NQ_SESSION."VARIABLE_NAME")
Good Luck,
Daan Bakboord -
Windows 8.1/Server 2012 R2 Exams - EFFECTIVE DATE ADJUSTED!
Hi, everyone.
Microsoft has adjusted the effective starting date of when the Windows 8.0 exams and Windows Server 2012 exams will be updated to Windows 8.1 and Windows Server 2012 R2 at Prometric.
The new effective date is January 28, 2014.
This means that current study materials for many of these exams remain current. You have a little extra time to pass these exams before they are updated.
Which exams specifically? Other questions? Learn more or ask questions at the following blog entry:
http://borntolearn.mslearn.net/btl/b/weblog/archive/2014/01/09/mcsa-windows-8-and-mcsa-windows-server-2012-exams-to-be-updated-january-28-2014.aspx
Good luck!
Best wishes, Davin MickelsonHi, Ken.
Unfortunately, this exam will be updated on January 28th, 2012 to Windows Server 2012 R2 and Windows 8.1.
It's too bad that Microsoft did not update the 70-417 exam description to tell you that. I know they
did update the exam descriptions for the other core exams, like 70-410.
70-410
http://www.microsoft.com/learning/en-us/exam-70-410.aspx
70-417 UPGRADE
http://www.microsoft.com/learning/en-us/exam-70-417.aspx
You have three painful choices:
Just take it anyway. Know that only some of the exam questions were updated. You can also learn what they are testing you for on the exam. You may even get lucky and still pass. You do have four (4) days to cram.
Reschedule the exam while paying that $35 reschedule fee.
Cancel the exam.
New study books will be released this spring. Here is the list from O'Reilly:
http://search.oreilly.com/?q=%22Server+2012+R2%22+exam&x=9&y=15
Sorry that Microsoft didn't update the exam's description. That's why I had the post turned into a sticky.
Good luck with your decision and with your exams.
Best wishes, Davin Mickelson -
GL Trial Balance Report with Effective Dates as Parameters
We have a requirement to show the GL Trial Balance report with Effective dates as Parameters.
Current Analysis:
The Journals get updated with corresponding CCID in GL_BALANCES table when the Journal is posted. GL_BALANCE is SOB specific, if the SOB has month as period then the balances in GL_BALANCES would get updated against the month(period).
To overcome the period problem, we explored the option of using a View based on GL_JE_HEADERS and GL_JE_LINES for 'Posted' Journal Batches of a SOB. We are checking whether the GL_JE_HEADERS.default_effective_date lies between the :p_from_date and :p_to_date which is sent to the Report as a parameter. The above idea does not return expected data when the custom Trial Balance Report is run.
Following is the Query being used:
SELECT cc.segment4 ACCOUNT, bal.code_combination_id,
bal.begin_balance_dr
+ SUM (NVL (gljel.accounted_dr, 0)) opening_bal_dr,
bal.begin_balance_cr
+ SUM (NVL (gljel.accounted_cr, 0)) opening_bal_cr,
ffv.description,
(SELECT SUM (NVL (gljel.accounted_dr, 0))
FROM gl_je_headers gljeh,
gl_je_lines gljel,
gl_code_combinations gcc
WHERE gljeh.default_effective_date BETWEEN :p_from_date
AND :p_to_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.code_combination_id = gcc.code_combination_id
AND gljel.period_name = gljeh.period_name
AND gljel.set_of_books_id = :p_set_of_books_id
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND gljeh.actual_flag = 'A'
--AND gljel.code_combination_id =
-- bal.code_combination_id
AND gcc.segment4 = cc.segment4
GROUP BY gcc.segment4) c_dr,
(SELECT SUM (NVL (gljel.accounted_cr, 0))
FROM gl_je_headers gljeh,
gl_je_lines gljel,
gl_code_combinations gcc
WHERE gljeh.default_effective_date BETWEEN :p_from_date
AND :p_to_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.period_name = gljeh.period_name
AND gljel.code_combination_id = gcc.code_combination_id
AND gljel.set_of_books_id = :p_set_of_books_id
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND gljeh.actual_flag = 'A'
AND gcc.segment4 = cc.segment4
GROUP BY gcc.segment4) c_cr
FROM gl_period_statuses per,
gl_code_combinations cc,
gl_balances bal,
gl_je_headers gljeh,
gl_je_lines gljel,
fnd_flex_values_vl ffv,
fnd_flex_value_sets ffvs
WHERE cc.chart_of_accounts_id = :p_chart_of_accts_id
AND bal.currency_code = :p_currency
AND bal.actual_flag = 'A'
AND bal.period_name = per.period_name
AND cc.template_id IS NULL
AND cc.code_combination_id = bal.code_combination_id
AND per.set_of_books_id = :p_set_of_books_id
AND per.application_id = 101
AND :p_from_date BETWEEN per.start_date AND per.end_date
AND gljeh.period_name = per.period_name
AND gljeh.default_effective_date <= :p_from_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.period_name = gljeh.period_name
AND gljel.set_of_books_id = :p_set_of_books_id
AND ffv.flex_value_set_id = ffvs.flex_value_set_id
AND ffvs.flex_value_set_name = 'JSWEL_ACCOUNT'
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND cc.summary_flag = ffv.summary_flag
AND cc.segment4 = ffv.flex_value
AND gljeh.actual_flag = 'A'
AND gljel.code_combination_id = bal.code_combination_id
GROUP BY bal.begin_balance_dr,
bal.begin_balance_cr,
cc.segment4,
ffv.description,
bal.code_combination_id
Kindly suggest if I am missing anything. I am sure that the great guns here can help me out.
Thanks
Sumitsuggest to create customize TB report.
-
Inserting rows in cursor and breaking up when effect date matches
Hi
I have created a table cadreinc (empno varchar2(8), pay number(5), da number(5) , scale varchar2(11), effectdate date , flag varchar2(1)) with values as shown below.
04485816 12800 4200 09300-34800 1-Jan-2006 Y
04485816 13000 4200 09300-34800 1-Jul-2006 Y
04485816 13450 4600 09300-34800 27-Sep-2006 Y
04485816 13675 4600 09300-34800 1-Jul-2007 Y
04485816 14200 4600 09300-34800 1-Jul-2008 Y
04485816 14650 4600 09300-34800 1-Jul-2009 Y
I just want to manipulate data into another table by using this data and i want the result as
04485816 12800 4200 09300-34800 01-jan-2006
04485816 12800 4200 09300-34800 01-feb-2006
04485816 13000 4200 09300-34800 1-Jul-2006
04485816 13000 4200 09300-34800 1-aug-2006
like data reproduced on every month and get changes in value based on the effect date.
how to write pl sql program for this??
I have tried some what like
DECLARE
EMP VARCHAR2(8);
PAY NUMBER(5);
GP NUMBER(5);
SCALE VARCHAR2(11);
INC date;
PAD VARCHAR2(11);
FL VARCHAR2(1);
CURSOR A IS SELECT EMPNO,VIPAY,GRADEPAY,VISCALE,INCDATE,FLAG FROM CADREINC;
BEGIN
<<i_loop>> FOR I IN A LOOP
INC:=I.INCDATE;
FL:='Y';
<<j_loop>> FOR K IN 1..12 LOOP
INSERT INTO CADREFIX ( EMPNO,VIPAY,GRADEPAY,VISCALE,INCDATE) VALUES
(I.EMPNO,I.VIPAY,I.GRADEPAY,I.VISCALE,I.INCDATE);
I.incdate:=LAST_DAY(I.INCDATE)+1;
EXIT j_loop WHEN pay>i.vipay and inc=i.incdate and fl='Y';
--EXIT WHEN INC='01-JUL-2010';
END LOOP;
-- i.INCdate:=LAST_DAY(I.INCDATE)+1;
EXIT i_loop WHEN pay>i.vipay and inc=i.incdate and fl='Y' ;
END LOOP;
COMMIT;
END;
but unable to get the desired results. The pay comes for every 12 months instead of upto effect date.
Please help.Hi,
Welcome to the forum!
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
If you're asking about a DML statement, such as INSERT, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
Always say which version of Oracle you're using.
See the forum FAQ {message:id=9360002}
Here's one way to do what you want in pure SQL. Since I don't have your table, I'll use scott.emp to show the way:
WITH data_by_month AS
SELECT TRUNC (hiredate, 'MONTH') AS hiremonth
, COUNT (*) AS cnt
FROM scott.emp
GROUP BY TRUNC (hiredate, 'MONTH')
, got_repeat_num AS
SELECT hiremonth, cnt
, MONTHS_BETWEEN ( LEAD (hiremonth) OVER (ORDER BY hiremonth)
, hiremonth
) AS repeat_num
FROM data_by_month
SELECT ADD_MONTHS ( r.hiremonth
, c.column_value - 1
) AS report_month
, cnt
FROM got_repeat_num r
CROSS JOIN TABLE ( CAST ( MULTISET ( SELECT LEVEL
FROM dual
CONNECT BY LEVEL <= r.repeat_num
AS sys.odcinumberlist
) c
ORDER BY report_month
;You can use a query like this in an INSERT or MERGE statement.
If you need to use PL/SQL, then you can use an INSERT or MERGE statement, with a sub-query like the one show above, in PL/SQL. -
How to control "To" Effective Date of Element Entry Screen in Assignment.
hi,
How do I Control the "To" Effective Date which is defaulted to 13th Apr 2007 in the Element Entry Screen of Assignment .When the screen is date tracked to
01-APR-2007 and running payroll for the Month of April 2007.
Navigation
People--->Enter---->Assignment---->Element Entry
RamIn addition to what Tim Mentioned it can also be depends on what date you attached this element to the employee
you might have attached this element on 13th Apr 2007 to this particular assignment
Regards
Ramesh Kumar S -
How to pull the job with the latest effective date in PSFT?
Hello,
I am running the PSFT 9.1.1 connector workforcefullsync.
I ran into a problem when the user has multiple job records. Each time that the user job is updated, a new job record is created. So, when the data comes from PSFT, for a user, we have multiple jobs records with different effective date (For example <EFFDT IsChanged="Y">1996-10-21</EFFDT>). OIM is only interested in the latest EFFDT.
Question 1: is it something that we can set on the PeopleSoft side, so that only the job with the highest EFFDT is sent to OIM?
Question 1b: is this is not easy to accomplish from the PSFT side, can I use transformation in the connector to only pull the job record with the highest effective date?
Question 2: if the EFFDT shows a date in the future (HR wants to disable a person in the future), does OIM ignore this change until the sysdate is after that EFFDT date?
Thanks
PS: workforcefullsync worked fine if the file contains only 1 job per employee. When the xml files contain multiple job records, I got the error:
ERROR QuartzWorkerThread-1 OIMCP.PSFTER - oracle.iam.connectors.psft.common.handler.impl.PSFTWorkForceSyncReconMessageHandlerImpl : handleMessage
ERROR QuartzWorkerThread-1 OIMCP.PSFTER - 1
ERROR QuartzWorkerThread-1 OIMCP.PSFTER - Description : 1
ERROR QuartzWorkerThread-1 OIMCP.PSFTER - java.lang.ArrayIndexOutOfBoundsException: 1
Edited by: user12049102 on Mar 22, 2010 12:06 PMHello,
When the PSFT team sends a message over to OIM to disable a user with today's date, the user got disabled fine in OIM. A reconciliation event is created.
When the PSFT team sends a message over to OIM to disable a user with a future date for EFFDT, let's say 3/31/2010, no reconciliation event was created.
Does OIM store this information somewhere so that it will process it later on?
It's a good thing that OIM does not disable the user who has an EFFDT in the future, but we don't want that record to be forgotten.
Please help.
Thanks -
Effective date for a Formulation row
Hi,
our customer manage in JDE the effective date for each formulation row.
I.e.: In a particular formulation a particular salt is valid from 1-gen-2013 to 1-feb-2013.
In the same formulation another salt is valid from 2-feb-2013 to 1-mar-2013.
Is there a way to handle this also in PLM4P? Are there other customer that have the same formula management?
I hope my question is clear.
Thanks and regards.
Stefano.Hi Stefano,
have you thought about using the Alternate Input Items to achieve this scenario? you can put description to clarify that the particular salt only available in certain amount of time. Hope this will be helpful.
Thanks,
Jessie -
Outer join with effective date in peoplesoft query
Hi,
I'm trying to join two tables using outer join. Both tables are effective dated:
Dept_Tbl: dept_id, status, effdt
Tips_Tbl: dept_id, tips_id, effdt
Not all records in Dept_Tbl are in Tips_Tbl. I need to get all active depts and their most recent tips_id if they have one.
select a.dept_id, b.tips_id
from dept_tbl a, tips_tbl b
where a.status = 'Active'
and a.effdt =
(select max(a_ed.effdt) from dept_tbl a_ed
where a.dept_id = a_ed.dept_id
and a_ed.effdt <= SYSDATE)
and b.dept_id(+) = a.dept_id
and b.effdt =
(select max(b_ed.effdt) from tips_tbl b_ed
where b.dept_id = b_ed.dept_id
and b.tips_id = b_ed.tips_id
and b_ed.effdt <= SYSDATE)
The query only returns records that are in both tables.
Is there a way for outer join to work with effective dates?
Thanks in advance,
RegHere is an example of one solution. Note the use of NVL on both sides of the equal sign since both sides could be NULL in the case of the outer join
with dept_tbl as (select 1 dept_id, SYSDATE effdt FROM DUAL),
tips_tbl as (select 1 dept_id, NULL effdt FROM DUAL)
select a.effdt
from dept_tbl a,
tips_tbl b
where b.dept_id(+) = a.dept_id
and NVL(b.effdt, SYSDATE) = NVL((select max(b_ed.effdt)
from tips_tbl b_ed
where b.dept_id = b_ed.dept_id
and b_ed.effdt <= SYSDATE), SYSDATE);
EFFDT
5/7/2007 3:25:00 PM -
HRXSS_PER_BEGDA - Implementing Custom Effective Dates with a BADI
What am I missing?
We have a need to implement different effective dates based on infotype.
( For example, we want changed to IT 210 (US - WithHolding) to be effective
on the first day of the current (unprocessed) pay period).
IT 6 (address) anf 9 Bank will also have there own date logic.
To this end, we implemented BADI HRXSS_PER_BEGDA through the config,
as ZHRXSS_PER_BEGDA with an implementation class
of ZCL_IM_HRXSS_PER_BEGDA .
To keep it simple, as a first test, we left the business logic out and just hard coded a date as follows:
method IF_EX_HRXSS_PER_BEGDA~DEFAULT_DATE.
if INFTY = '0006' .
begda = '20071001' .
endif .
endmethod.
( an external breakpoint confirms that the code is reached)
I would have thought that this would have set the start date to 10/01/2007 .
When I chang an address through the portal, the effective date, both displayed on the ESS side, and as saved on the backend, is always [today].
What am I missing?
...Mike
We're running :
NW 2004S, ESS 1.0 SP09 Web DynProVersion
with ECC6.0 ERP2005 on the R/3 sideHI Michael,
I have similar problem that you described here. I have implemented the BADI - HRXSSPER_BEGDA to default the start date of dependents' infotype (0021) to a date in the past based on employee's hire date. However, the start date is always shown as current date. I have used a simple code as
IF INFTY = '0021'.
BEGDA = '20090901'.
ENDIF.
I shall be glad if you help me resolve this issue. Thanks a lot.
Regards,
Shakir -
Trying to get ending effective date for groups of rows
Hi Everyone,
I've searched the forums, but I can't find a post that presents a problem quite like this.
I have some data that looks like this:
ID_NUM EFFECTIVE ALLOC_PERCENT ACCT
101 01-JUL-11 21 A1
101 01-JUL-11 72 A2
101 01-JUL-11 7 A3
101 01-JUL-12 20 B1
101 01-JUL-12 80 B2
101 01-JAN-13 20 A1
101 01-JAN-13 20 A2
101 01-JAN-13 50 A3
101 01-JAN-13 10 B1
101 01-JUN-13 50 A1
101 01-JUN-13 50 A2(note - I manually inserted blank lines for clarity)
Here's the logic: The rows represent a percentage allocation to the account number for the specified id number, for that effective date. A newer effective date supercedes previous ones, and if any row in the conceptual group is superceded, then they all are.
I'm trying to find out the date when each group's effective period ended, and include that in the result set so that I can subsequently calculate the number of days a given row was effective; something like this;
ID_NUM EFFECTIVE END_DATE ALLOC_PERCENT ACCT
101 01-JUL-11 01-JUL-12 21 A1
101 01-JUL-11 01-JUL-12 72 A2
101 01-JUL-11 01-JUL-12 7 A3
101 01-JUL-12 01-JAN-13 20 B1
101 01-JUL-12 01-JAN-13 80 B2
101 01-JAN-13 01-JUN-13 20 A1
101 01-JAN-13 01-JUN-13 20 A2
101 01-JAN-13 01-JUN-13 50 A3
101 01-JAN-13 01-JUN-13 10 B1
101 01-JUN-13 <null> 50 A1
101 01-JUN-13 <null> 50 A2The END_DATE of the group is the EFFECTIVE_DATE of the following group (ordered by ID_NUM, EFFECTIVE_DATE).
The last two rows' END_DATE is null because there is no group of rows with a later effective date - in my process, I'll NVL that to sysdate so that my days calculations will be valid.
I tried some analytic queries with LEAD, but I couldn't figure out how to make it get the next group's effective date. I could get the next row's effective date, but not the next group's. I couldn't specify how many lead rows to look ahead, because there is not a consistent number of rows in each group.
How do I populate the END_Date column?
Here's the code to create the above.
create table t
(id_num number,
effective_date date,
alloc_percent number,
acct_code varchar2(4)
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jul-2011',21.0,'A1');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jul-2011',72.0,'A2');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jul-2011',7.0,'A3');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jul-2012',20.0,'B1');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jul-2012',80.0,'B2');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jan-2013',20.0,'A1');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jan-2013',20.0,'A2');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jan-2013',50.0,'A3');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jan-2013',10.0,'B1');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jun-2013',50.0,'A1');
insert into t (id_num,Effective_date,alloc_percent,acct_code) values(101,'01-jun-2013',50.0,'A2');
commit;
select * from t;Oracle version information:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
"CORE 11.2.0.3.0 Production"
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Thank you very muchselect id_num,
effective_date,
first_value(effective_date)
over(
partition by id_num
order by effective_date
range between 1 following and unbounded following
) end_date,
alloc_percent,
acct_code
from t
order by id_num,
effective_date
ID_NUM EFFECTIVE END_DATE ALLOC_PERCENT ACCT
101 01-JUL-11 01-JUL-12 21 A1
101 01-JUL-11 01-JUL-12 72 A2
101 01-JUL-11 01-JUL-12 7 A3
101 01-JUL-12 01-JAN-13 20 B1
101 01-JUL-12 01-JAN-13 80 B2
101 01-JAN-13 01-JUN-13 20 A1
101 01-JAN-13 01-JUN-13 10 B1
101 01-JAN-13 01-JUN-13 20 A2
101 01-JAN-13 01-JUN-13 50 A3
101 01-JUN-13 50 A1
101 01-JUN-13 50 A2
11 rows selected.
SQL> SY. -
Skills Profile - Enhance Web DynPro to handle Effective Date
We are working with the ESS BP on ECC 6.0 and have a requirement to enter an Effectivity Date for the start of a qualification. The trouble is that the existing function for updating the qualification profile (XSS_SKL_APPLY_QUALI_PROFILE) does not allow for a beginning date to be passed in. Instead it uses the current date (Sy-Datum) which is set on initialization of the SkillsApplication (via FM XSS_SKL_INITIALIZE_DATA). I have tried to enhance the structure for the qualification profile (structure RHXSS_SKL_EMPLOYEE) but it is marked as Can Not be Enhanced by SAP.
Does anyone have any thoughts on a good way to add this functionality? I'd hate to throw away all of SAP's work with the SkillsApplication and write one from scratch just for this small change, but it's looking like that might be my only option.The following describes the changes required for adding the effectivity date to the Standard Skills Profile Web Dynpro Java screen.
ABAP Changes
1. Get modification keys for hte following structures and change the enhancement category of the strucures to "Can Be Enhanced Deep".
RHXSS_SKL_EMPLOYEE
RHXSS_SKL_PROF_UPD
RHXSS_SKL_QUALIPROFILE
2. Add appends to each of the structures in step 1 for feidl ZEFFDATE
RHXSS_SKL_EMPLOYEE - ZZEFFDATE type BEGDATUM
RHXSS_SKL_PROF_UPD - ZZEFFDATE type String
RHXSS_SKL_QUALIPROFILE - ZZEFFDATE type BEGDATUM
3. Enhance the following function modules for setting/getting the values of ZZEFFDATE
XSS_SKL_APPLY_QUALI_PROFILE
XSS_SKL_CONFIRMATION_DATA
XSS_SKL_GET_PROFILE_OVERVIEW
XSS_SKL_GET_QUALI_DETAIL_DATA
4. Enhance the following Includes using the Modification Assistant or Enhancement Framework for setting/getting
LRHXSS_SKL_INTERFACEF01
LRHXSS_SKL_INTERFACETOP
Java Changes
Track: Make a new track for the ESS Component. A quick SDN search should produce for you a Cookbook for setting this up in the NWDI
DC: esssklsap.com
1. Reimport the Skills model to get the ABAP changes into WebDynpro
2. Create a new Application (zSkillsApplication in my case)
3. Modify the Application properties to tell the framework manager to use the CcSklConfiguration component for navigation configuration
Properties
sap.authentication = true
sap.xss.configurationComponentDC = sap.com/ess~skl
sap.xss.configurationComponentName = com.sap.xss.hr.skl.CcSklConfiguration
4. In the Interface Controller of Component CcSklConfiguration, modify the navigation Graph as follows
navigationGraph =
new NavigationGraph(
new NavigationPath[] {
new NavigationPath("",IFPM.EVENT_START,"OVERVIEW"),
new NavigationPath("OVERVIEW",IFPM.EVENT_EDIT,"DETAIL"),
new NavigationPath("OVERVIEW",IFPM.EVENT_ADD,"SELECT"),
new NavigationPath("OVERVIEW",IFPM.EVENT_REVIEW,"REVIEW"),
new NavigationPath("OVERVIEW",IFPM.EVENT_REMOVE, "OVERVIEW"),
//begin replace ERICV - Go Straight to Review&Save
// new NavigationPath("DETAIL",IFPM.EVENT_ADD, "OVERVIEW"),
new NavigationPath("DETAIL",IFPM.EVENT_ADD, "REVIEW"),
//end replace ERICV - Go Straight to Review&Save
new NavigationPath("DETAIL",IFPM.EVENT_BACK, "OVERVIEW"),
new NavigationPath("DETAIL",IFPM.EVENT_SELECT, "SELECT"),
new NavigationPath("SELECT",IFPM.EVENT_EDIT, "DETAIL"), >
5. In the Component FcSklBusinessLogic, make the following changes:
a. Perform the context mapping of the new ZZEFFDATE field in the Interface Controller and Standard Controllier
b. Modify the insUpdSkill method of the Component Controller to populate the Effective Date
try {
wdContext.nodeApply_Quali_Profile_Input().bind(
(Xss_Skl_Apply_Quali_Profile_Input) model.createModelObject(Xss_Skl_Apply_Quali_Profile_Input.class));
Xss_Skl_Apply_Quali_Profile_Input input = new Xss_Skl_Apply_Quali_Profile_Input();
Rhxss_Skl_Employee insUpdVector = new Rhxss_Skl_Employee();
insUpdVector.setSkill_Id(wdContext.currentContextElement().getQualiId());
insUpdVector.setExist_Profcy(wdContext.currentContextElement().getProfDropDown());
//Begin Insert ERICV - Add Effective Date to Skills Qualification
insUpdVector.setZzeffdate(wdContext.currentContextElement().getZzEffDate());
//End Insert ERICV - Add Effective Date to Skills Qualification
input.addProfile_Ins_Tab(insUpdVector);
wdContext.nodeApply_Quali_Profile_Input().bind(input);
wdContext.currentApply_Quali_Profile_InputElement().modelObject().execute();
} catch (Exception ex) {
fpm.getMessageManager().raiseException(wdThis.wdGetAPI().getComponent(), ex);
6. In the Component VcSklDetail make the following changes:
a. Context mapping of all relevant nodes to get the new ZZEFFDATE field in the context
b. Screen modifications to get the ZZEFFDATE on the screen
c. Modify the initDetail method of the Component Controller
if ((sklOutputElement.getExpiry_Date() == null) || (sklOutputElement.getExpiry_Date().equals(""))) {
wdContext.currentContextElement().setLicenceVisibility(WDVisibility.NONE);
//begin insert ERICV - set the zzEffective Date
//convert date to java.util.date
SimpleDateFormat sdf = new SimpleDateFormat("mm/dd/yyyy");
try {
java.util.Date myDate = sdf.parse(wdContext.currentGet_Quali_Detail_Data_OutputElement().getStart_Date());
sdf.applyPattern("yyyy-mm-dd");
wdContext.currentContextElement().setZzEffDate(Date.valueOf(sdf.format(myDate)));
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
//end insert ERICV - set the zzEffective Date
//@@end -
Auto Pay Effective Date Discrepancy
I was wondering if anyone else has had issues setting up auto pay. In my situation I set up auto pay on Feb. 24th. My billing date is the 11th of each month. I then received an email from Verizon stating that I signed up for auto pay and the effective date (in bold) would be March 10th 2011. I assumed that my bill would get paid automatically on 3/11 because of this. However this was not the case because I neglected to read the sentence that followed that stated that auto pay will not begin until after the next bill suggesting 4/11. I ended up receiving an email about my service being disconnected due to failure to pay on my account. I find the first email that was sent out about the auto pay being set up being very misleading, and to contradict itself. This needs to be fixed so others don't get stuck with needless late fees, and calls to customer service. I would also like to be able to set up email alerts online if a bill is past due one day after the due date or if an auto payment fails instead of only receiving one if the service is about to be disconnected because it's so far past due.
Why did you "reset" the auto pay? When setting up auto pay, they tell you to continue to make payments until you receive a bill telling you that the account is set up for auto pay and to not pay the bill. They don't tell you to make a payment and then "reset" auto pay if you are worried about the setup. "Resetting" auto pay before it is completely setup may simply postpone or lengthen the time before it is applied to your account.
Do you have your auto pay set up to be credited on the 26th of the month? If so, make a manual payment prior to your due date of July 1. Don't do anything to the auto pay as this may postpone it yet again before taking effect. Your next due date should be the same each month. so that would make your July 26th payment for the bill due on August 1. -
How to Set the Effective Date to Sysdate in OAF Page
Hi All,
I am new to OAF and started working on OAF. I have a unique situation and I am unable to get it going. Here is the situation.
1) Currently on Benefits module when an user logons he/she will be directed to FamilyMbrsPG. In this Page I had extended the controller(BenEnrlHeaderCO) to set the Effective Date to as that of life event occured date. This is working fine.
But the issue arrises when one clicks the next button on FamilyMbrsPG. The requirement is when One navigates to CurrOvwPG at that page the effective date needs to be reset to Sysdate which I am unable to do. But the probloem is when I am trying to debug the controllers files of CurrOvw It is pointing to the controller class of FamilyMbrsPG which is BenEnrlHeaderCO.
I was trying to reset the Effective Date as of sysdate.
Can you please let me know as how to proceed from here.
Thanks and Regards
Vinod
Edited by: user5149618 on Sep 17, 2009 8:01 PMHi Gauravv
Well here it is
1) But the probloem is when I am trying to debug the controllers files of CurrOvw It is pointing to the controller class of FamilyMbrsPG which is BenEnrlHeaderCO
In this scenario what is happening is for the page CurrOvwPG there are 6 controller class files which are as follows.:
1) BeneficiariesOverviewCO.java
2) CoveredDependentsOverviewCO.java
3) CurrentBenefitsCO.java
4) CurrentBenefitsTopCO.java
5) SelectionOverviewTableCO.java
6) SelectionsOverviewCO.java
When I ran the project in debug mode and placed the breakpoints for the controller class files. As soon as I click the next button in FamilyMbrsPG the breakpoint in occuring at line31 of BenEnrlHeaderCO which is again a controller class file for FamilyMbrsPG which has been already extended to set EffectiveData to that of Life even occured Date.
Now in CurrOvwPG I need to reset the EffectiveDate to Sysdate. Please let me know if this is clear...
Thanks and Regards
Vinod -
Different Effective Date in One BOM with only ONE Change Number
Hi gurus
here is my complete question?
Is it possible to realize this function that Different Effective Date in One BOM for different BOM items with only ONE Change Number?
Thanks for your information/help in advance.Dear Zhao,
Using One change number it's not possible to define a different valid from date for the BOM changes of a single material BOM.
In case if the same change number is used for making different material's BOM component,then a different valid from date for
each BOM can be defined,but at any given point not for each component/item level of the same BOM.
Check and revert back.
Regards
Mangalraj.S
Maybe you are looking for
-
Hi, before Go-live we take all master data and transaction data from the client. There are two scenarios. 1.Year End 2.Middle of the year in the first case we upload only balance sheet items. 1.inventory 2.AP 3.AR 4.Asset 5.GL depend upon requirement
-
Temporary email address in Transaction ME21N
Experts I want to maintain (temporary email address in Transaction ME21N) e-mail address in the PO header details of the vendor and the system has to send the PO from the temporary email address. But it is considering from the vendor master only .How
-
how to find clearing document number if i have purchaseorder number and invoice number???
-
Can't stop the syncronizer from starting
I am runnning Elements 8 on an XP system. When the Photoshop.Com syncronizer runs, it sucks the life out of my CPU. That would be ok with me because it appears I should be able to tell PS8 to only sync when the system is idle, however I can't keep
-
Far Cry 4 - computer froze. Only hard reset helps.
Hello dear forum. First my pc: 4790 stock 8gb ram Sabertooth Z79 Mark2 Msi Gaming 980 ( Oc factory ) Corsair 750 RM HDD 500GB SATAIII So 5 days ago when playing Far Cry 4 my computer suddenly freezes with "BZZZZZ" sound. ( ctrl alt del and so on didn