Absence on a holiday related to PA30
Hello.
Currently when creating a new absence on IT2001 it allows the user to save partial absences (time gone that is less then their normal time scheduled to work).
We need the user exit to check the number hours that the specific employee would normally work and then look at the number of hours the absence is trying to create.
If the absence has less (or more) hours then their normal work schedule, the record should not be allowed to save.
The record should only be allowed to save if the hours from IT2001 matches their normal work hours.
Any idea how to acomplish this?
Tanks in advance..
Hi Pranu,
In IT 0007 you have field called daily working hours.You can USE dynamic action on IT 2001 where you can configure one form, in that subroutine you can write the code you required action will be configured in T588Z table.Hope this will help you.You can get more help on dynamic action in forms.
Hope this will help you.
Thanks and Regards,
Narendra.Somarouthu
Similar Messages
-
Ways to find tables related to PA30
Hi all,
Hi,
I am having the list of transactions.I want to find the list of tables updated by the transaction.
I need the various ways to find the same and let me know the best method for that.
Any pointers will be highly appreciated.Hi ,
Here are the ways I follow . From the transaction find the program name and goto transaction SE80 . Give the program and you will see a tree like where the first one is Dictionary Structures . Expand that and you will see all the tables used for that program . They will have the actual tables that get updated as well as the configuration tables used in that transaction .
The other method is to use the SQL trace .
Please let me know if there are any other methods .
Thanks . -
How to create an absence on a non-working day?
Hi HR experts,
Is it possible to create an absence on a non working day or holiday? I tried to do so and I get all these information messages, until it finally saves. But it wont accept any number of Absence hours. Is there a way to allow it to accept 10 hours of absence for a holiday?
I'd appreciate your insight, thanks in advance!hello annalyn,
I think you have got 2 possibilites.
you have to change the absence definitions for entering on free-days
table: V_T554S
are you using TM?
if yes, you can change in a rule the working hours.
or second solution would be changing T556C for this absence. also and this i have not tested changing the day type.
regards
Stefan -
Display Additional Absence Details based on Absence Type selected
On Oracle Absence Details screen through SSHR,
Can display of Additional Absence Details fields be related to Absence Type field in any way ? Requirement is to display additional flex fields only for one absence type and not for others but in SSHR, additional absence details fields are always shown irrespective of what user selects.
Thanks,
TanveerHi Tanveer,
Context sensitive DFFs are currently not supported by OAF and there an ER 6625335 logged by Oracle for the same.
In absence of context sensitive DFF you can use the $FLEX$ option, using this option you can define dependent segments which will get enabled only in case of a specific value for all other values the fields will be read-only.
Also, in order to read the absence data while leave application you will have to read the absence_type data from the HTML code stored in the HR_API_TRANSACTIONS table dumped into a column CLOB named TRANSACTION_DOCUMENT. For more details on how to read XML data from HR_API_TRANSACTIONS refer the link http://www.apps2fusion.com/apps-training/apps-functional-documents/ame-sshr/436-parse-xml-hrapitransactions-sshr-hrms-self-service
Hope it helps. Let us know if you need further details.
Thanks,
Sanjay -
Anyone know if/when Apple will remove the holiday music from my front page. I'd love to see some suggestions - but since I bought about 30 holiday tracks half my suggestions are holiday related. Holiday is also appearing as one my preferred catageories up top.
I'd love to be able to filter out holiday music. It's really annoying.
--*RobYou could make a playlist of all of your songs. (I'm assuming you will recognize all of the things you added to the library and be able to pull them into a playlist.) Then when you want to listen to things, you can click on this playlist and when you want to sync things to an iPod (assuming you have things set to update manually) you could sync only this playlist to your iPod.
(As an older mother who likes all of the music in our household in one library, I'm not sure why this is a big problem. Don't you like knowing all the songs your family owns? Won't this prevent duplicate purchases?) -
How do I add U S holidays to ical
Some U S Holidays are missing ,ie:Thanksgiving.
I thought that I would post what I have found out so far in case it might help someone else.
One way to do this is to download an app to the iPhone that contains the holidays. I found one called USAHolidays that was free. You can then export the holidays from the app to your calendar. They then sync with your calendar on iCloud. The only problem is that this app is a little unwieldly. You have to check off each holiday that you want to export for each year. And it only includes years 2011-2015.
Of course the other way to do this is to just post the holidays manually to either the iPhone calendar or the iCloud calendar as recurring events and let them sync up. (It is probably easier to post to the iCloud.) You would only have to do this one time. This will put the holidays on to your calendars indefinitely. The problems with this are the "holidays" relating to Easter (Ash Wednesday, Palm Sunday, Good Friday, Easter Sunday).. The logic to determine those days is beyond the capabilities of the calendaring function. You would have to look those dates up and post them manually for each year. I know that not everyone is interested in having all of these "holidays" on their calendar, so the problem would be minimized for them.
This may be basic stuff for a lot of you experts, but some of use are newbies and learning as we go. -
Optional holidays configuration
Dear Experts,
Could any one please help me in creating optional holidays. Also please let me know whether we can restrict only two optional holidays per employee in the given optional holiday list.
Thanks in advance
Regards,
NavyaHi,
Probably you can do something like this:
1) Maintain Optional Holidays with customer defined Holiday Class - say 4.
2) Create Absence type Optional Holidays with Quota 2 days.
3) Maintain the Absence type only for Holiday Class 4.
Hope this help.
Regards. -
Hi
I like to know from which tables the absence details was populating related with workflow and SSHR status like pending approval,completed and cancelled
thnks
Shyam kumarI think it is being populated dynamically from query.
You can check the query of the VO that gets the data.
If you click on About this Pgae link -> goto Business Components -> View objects and then select AbsenceSummaryVO, you will get the query that is getting data for the absence summary table.
Hope this helps.
Regards,
-Deb -
Re: Java & Microsoft ??
Conscientiously speaking, how could point #7 on MS IE EULA (attached
below) be valid ? Is what Microsoft's saying here really true? Could somebody pls
clarify at the earliest, if possible.
Thanks & regards,
Is Java Finished?
http://story.news.yahoo.com/news?tmpl=story&u=/nf/20030904/bs_nf/22216
MICROSOFT INTERNET EXPLORER, VERSION 5.2, AND SOFTWARE RELATED
COMPONENTS.
END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement
("EULA") is a legal agreement between you (either an individual or a
single entity) and Microsoft Corporation for the Microsoft software
product(s) identified above which may include associated software
components, media, printed materials, and "online" or electronic
documentation ("SOFTWARE PRODUCT"). By installing, copying, or
otherwise using the SOFTWARE PRODUCT, you agree to be bound by the
terms of this EULA. If you do not agree to the terms of this EULA, do
not install or use the SOFTWARE PRODUCT. If the SOFTWARE PRODUCT was
purchased by you, you may return it to your place of purchase for a
full refund.
The SOFTWARE PRODUCT is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The SOFTWARE PRODUCT is licensed, not sold.
1. GRANT OF LICENSE. The SOFTWARE PRODUCT is licensed as follows:
* Installation and Use. Microsoft grants you the right to install and
use copies of the SOFTWARE PRODUCT on your computers running validly
licensed copies of the operating system for which the SOFTWARE
PRODUCT was designed [e.g., Windows(r) 95; Windows NT(r), Windows
3.x, Macintosh, etc.].
* Backup Copies. You may also make copies of the SOFTWARE PRODUCT as
may be necessary for backup and archival purposes.
Components. Certain software components of the SOFTWARE PRODUCT are
subject to the following additional provisions:
NetMeeting. NetMeeting contains technology that enables applications
to be shared between two or more computers, even if an application is
installed on only one of the computers. You may use this technology
with all Microsoft application products for multi-party conferences.
For non-Microsoft applications, you should consult the accompanying
license agreement or contact the licensor to determine whether
application sharing is permitted by the licensor.
2.
DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
* Maintenance of Copyright Notices. You must not remove or alter any
copyright notices on all copies of the SOFTWARE PRODUCT.
* Distribution. You may not distribute copies of the SOFTWARE PRODUCT
to third parties.
* Prohibition on Reverse Engineering, Decompilation, and Disassembly.
You may not reverse engineer, decompile, or disassemble the SOFTWARE
PRODUCT, except and only to the extent that such activity is
expressly permitted by applicable law notwithstanding this
limitation.
* Rental. You may not rent, lease, or lend the SOFTWARE PRODUCT.
* Transfer. You may permanently transfer all of your rights under
this EULA, provided the recipient agrees to the terms of this EULA.
* Support Services. Microsoft may provide you with support services
related to the SOFTWARE PRODUCT ("Support Services"). Use of Support
Services is governed by the Microsoft polices and programs described
in the user manual, in "on line" documentation and/or other
Microsoft-provided materials. Any supplemental software code provided
to you as part of the Support Services shall be considered part of
the SOFTWARE PRODUCT and subject to the terms and conditions of this
EULA. With respect to technical information you provide to Microsoft
as part of the Support Services, Microsoft may use such information
for its business purposes, including for product support and
development. Microsoft will not utilize such technical information in
a form that personally identifies you.
* Compliance with Applicable Laws. You must comply with all
applicable laws regarding use of the SOFTWARE PRODUCT.
3. TERMINATION. Without prejudice to any other rights, Microsoft may
terminate this EULA if you fail to comply with the terms and
conditions of this EULA. In such event, you must destroy all copies
of the SOFTWARE PRODUCT.
4. COPYRIGHT. All title, including but not limited to copyrights, in
and to the SOFTWARE PRODUCT and any copies thereof are owned by
Microsoft or its suppliers. All title and intellectual property
rights in and to the content which may be accessed through use of the
SOFTWARE PRODUCT is the property of the respective content owner and
may be protected by applicable copyright or other intellectual
property laws and treaties. This EULA grants you no rights to use
such content. All rights not expressly granted are reserved by
Microsoft.
5. U.S. GOVERNMENT RESTRICTED RIGHTS. All SOFTWARE PRODUCT provided
to the U.S. Government pursuant to solicitations issued on or after
December 1, 1995 is provided with the commercial rights and
restrictions described elsewhere herein. All SOFTWARE PRODUCT
provided to the U.S. Government pursuant to solicitations issued
prior to December 1, 1995 is provided with RESTRICTED RIGHTS as
provided for in FAR, 48 CFR 52.227-14 (JUNE 1987) or FAR, 48 CFR
252.227-7013 (OCT 1988), as applicable.
6. EXPORT RESTRICTIONS. You acknowledge that Software Product is of
U.S. origin. You agree to comply with all applicable international
and national laws that apply to the Software Product, including the
U.S. Export Administration Regulations, as well as end-user, end-use
and destination restrictions issued by U.S. and other governments.
For additional information, see .
7. NOTE ON JAVA SUPPORT. The SOFTWARE PRODUCT may contain support for
programs written in Java. Java technology is not fault tolerant and
is not designed, manufactured, or intended for use or resale as
on-line control equipment in hazardous environments requiring
fail-safe performance, such as in the operation of nuclear
facilities, aircraft navigation or communication systems, air traffic
control, direct life support machines, or weapons systems, in which
the failure of Java technology could lead directly to death, personal
injury, or severe physical or environmental damage.
8. NO WARRANTIES. To the maximum extent permitted by applicable law,
Microsoft and its suppliers provide the SOFTWARE PRODUCT and any (if
any) Support Services related to the SOFTWARE PRODUCT AS IS AND WITH
ALL FAULTS, and hereby disclaim all warranties and conditions, either
express, implied or statutory, including, but not limited to, any (if
any) implied warranties or conditions of merchantability, of fitness
for a particular purpose, of lack of viruses, of accuracy or
completeness of responses, of results, and of lack of negligence or
lack of workmanlike effort, all with regard to the SOFTWARE PRODUCT,
and the provision of or failure to provide Support Services. ALSO,
THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET
POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT, WITH
REGARD TO THE SOFTWARE PRODUCT. THE ENTIRE RISK AS TO THE QUALITY OF
OR ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE PRODUCT AND
SUPPORT SERVICES, IF ANY, REMAINS WITH YOU.
9. EXCLUSION OF INCIDENTAL, CONSEQUENTIAL AND CERTAIN OTHER DAMAGES.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
MICROSOFT OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT
LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER
INFORMATION, FOR BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS
OF PRIVACY, FOR FAILURE TO MEET ANY DUTY INCLUDING OF GOOD FAITH OR
OF REASONABLE CARE, FOR NEGLIGENCE, AND FOR ANY OTHER PECUNIARY OR
OTHER LOSS WHATSOEVER) ARISING OUT OF OR IN ANY WAY RELATED TO THE
USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT, THE PROVISION OF OR
FAILURE TO PROVIDE SUPPORT SERVICES, OR OTHERWISE UNDER OR IN
CONNECTION WITH ANY PROVISION OF THIS EULA, EVEN IN THE EVENT OF THE
FAULT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY, BREACH OF
CONTRACT OR BREACH OF WARRANTY OF MICROSOFT OR ANY SUPPLIER, AND EVEN
IF MICROSOFT OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
10. LIMITATION OF LIABILITY. Notwithstanding any damages that you
might incur for any reason whatsoever (including, without limitation,
all damages referenced above and all direct or general damages), the
entire liability of Microsoft and any of its suppliers under any
provision of this EULA and your exclusive remedy for all of the
foregoing shall be limited to the greater of the amount actually paid
by you for the SOFTWARE PRODUCT or U.S.$5.00. The foregoing
limitations, exclusions and disclaimers shall apply to the maximum
extent permitted by applicable law, even if any remedy fails its
essential purpose.
11.
MISCELLANEOUS.
If you acquired this SOFTWARE PRODUCT in the United States, this EULA
is governed by the laws of the State of Washington. If you acquired
this SOFTWARE PRODUCT in Canada, unless expressly prohibited by local
law, this EULA is governed by the laws in force in the Province of
Ontario, Canada; and, in respect of any dispute which may arise
hereunder, you consent to the jurisdiction of the federal and
provincial courts sitting in Toronto, Ontario. If this SOFTWARE
PRODUCT was acquired outside the United States, then local law may
apply.
Should you have any questions concerning this EULA, or if you desire
to contact Microsoft for any reason, please contact the Microsoft
subsidiary serving your country, or write: Microsoft Sales
Information Center/One Microsoft Way/Redmond, WA 98052-6399.
Si vous avez acquis votre produit Microsoft au CANADA, la garantie
limit�e suivante vous concerne :
RENONCIATION AUX GARANTIES. Dans toute la mesure permise par la
l�gislation en vigueur, Microsoft et ses fournisseurs fournissent le
Produit Logiciel et tous (selon le cas) les services d'assistance
li�s au Produit Logiciel ("Services d'assistance") TELS QUELS ET AVEC
TOUS LEURS D�FAUTS, et par les pr�sentes excluent toute garantie ou
condition, expresse ou implicite, l�gale ou conventionnelle, �crite
ou verbale, y compris, mais sans limitation, toute (selon le cas)
garantie ou condition implicite ou l�gale de qualit� marchande, de
conformit� � un usage particulier, d'absence de virus, d'exactitude
et d'int�gralit� des r�ponses, de r�sultats, d'efforts techniques et
professionnels et d'absence de n�gligence, le tout relativement au
Produit Logiciel et � la prestation ou � la non-prestation des
Services d'assistance. DE PLUS, IL N'Y A AUCUNE GARANTIE ET CONDITION
DE TITRE, DE JOUISSANCE PAISIBLE, DE POSSESSION PAISIBLE, DE
SIMILARIT� � LA DESCRIPTION ET D'ABSENCE DE CONTREFA�ON RELATIVEMENT
AU PRODUIT LOGICIEL. Vous supportez tous les risques d�coulant de
l'utilisation et de la performance du Produit Logiciel et ceux
d�coulant des Services d'assistance (s'il y a lieu).
EXCLUSION DES DOMMAGES INDIRECTS, ACCESSOIRES ET AUTRES. Dans toute
la mesure permise par la l�gislation en vigueur, Microsoft et ses
fournisseurs ne sont en aucun cas responsables de tout dommage
sp�cial, indirect, accessoire, moral ou exemplaire quel qu'il soit (y
compris, mais sans limitation, les dommages entra�n�s par la perte de
b�n�fices ou la perte d'information confidentielle ou autre,
l'interruption des affaires, les pr�judices corporels, la perte de
confidentialit�, le d�faut de remplir toute obligation y compris les
obligations de bonne foi et de diligence raisonnable, la n�gligence
et toute autre perte p�cuniaire ou autre perte de quelque nature que
ce soit) d�coulant de, ou de toute autre mani�re li� �, l'utilisation
ou l'impossibilit� d'utiliser le Produit Logiciel, la prestation ou
la non-prestation des Services d'assistance ou autrement en vertu de
ou relativement � toute disposition de cette convention, que ce soit
en cas de faute, de d�lit (y compris la n�gligence), de
responsabilit� stricte, de manquement � un contrat ou de manquement �
une garantie de Microsoft ou de l'un de ses fournisseurs, et ce, m�me
si Microsoft ou l'un de ses fournisseurs a �t� avis� de la
possibilit� de tels dommages.
LIMITATION DE RESPONSABILIT� ET RECOURS. Malgr� tout dommage que vous
pourriez encourir pour quelque raison que ce soit (y compris, mais
sans limitation, tous les dommages mentionn�s ci-dessus et tous les
dommages directs et g�n�raux), la seule responsabilit� de Microsoft
et de ses fournisseurs en vertu de toute disposition de cette
convention et votre unique recours en regard de tout ce qui pr�c�de
sont limit�s au plus �lev� des montants suivants: soit (a) le montant
que vous avez pay� pour le Produit Logiciel, soit (b) un montant
�quivalant � cinq dollars U.S. (5,00 $ U.S.). Les limitations,
exclusions et renonciations ci-dessus s'appliquent dans toute la
mesure permise par la l�gislation en vigueur, et ce m�me si leur
application a pour effet de priver un recours de son essence.
DROITS LIMIT�S DU GOUVERNEMENT AM�RICAIN
Tout Produit Logiciel fourni au gouvernement am�ricain conform�ment �
des demandes �mises le ou apr�s le 1er d�cembre 1995 est offert avec
les restrictions et droits commerciaux d�crits ailleurs dans la
pr�sente convention. Tout Produit Logiciel fourni au gouvernement
am�ricain conform�ment � des demandes �mises avant le 1er d�cembre
1995 est offert avec des DROITS LIMIT�S tels que pr�vus dans le FAR,
48CFR 52.227-14 (juin 1987) ou dans le FAR, 48CFR 252.227-7013
(octobre 1988), tels qu'applicables. Sauf lorsqu'express�ment prohib�
par la l�gislation locale, la pr�sente convention est r�gie par les
lois en vigueur dans la province d'Ontario, Canada. Pour tout
diff�rend qui pourrait d�couler des pr�sentes, vous acceptez la
comp�tence des tribunaux f�d�raux et provinciaux si�geant � Toronto,
Ontario.
Si vous avez des questions concernant cette convention ou si vous
d�sirez communiquer avec Microsoft pour quelque raison que ce soit,
veuillez contacter la succursale Microsoft desservant votre pays, ou
�crire �: Microsoft Sales Information Center, One Microsoft Way,
Redmond, Washington 98052-6399.It's true.
These two systems together (or independently?) should not be used for mission critical systems, ie the specialized systems that these run on must be like 100% or six sigma or whatever.
There was another thread floating around about this. -
Modules for recommending new catalog item price
Hi,
we have catalog item price history, we have customer purchase history, which module(s) can/should we use to price a new product?
Thanks
hyangHi, hyang,
I think you might want to think about a metric you want to optimize, such as the monthly/weekly revenue of this new product, or number of items sold per month/week, while taking the price as an important factor. Then, from the historical sale history, you
can train a model and see how price is impacting the metric. The model might give you some insight of the relationship between the price and the metric.
Alternatively, if you do want to directly determine the price, you can build a regression model, where the target is the price, the variables might include features of products, how long this product has been on market, the demand of this product, whether
it is seasonal, holiday related product, etc.
Hope at least it can give you some hint at least.
Thanks.
Hang -
Hello,
I am looking for a Enhancement/BADI for infotype 0024, i want this to trigger when the infotype is about to be saved to the database tables. I checked BADI HRPAD00INFTY, but it is not triggering for infotype 0024. The data for IT0024 is saved in HRP10001 so this is a bit different from other infotypes.
Can anyone help me in this case?
Thanks.hi,
check out these exits related to pa30.
Exit Name Description
HRPBAS01 User Exit for HR Master Data
HRPC0001 HR: PC download authorization
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
PARA0001 Enhancement for Determining the Number of Periods
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBASRP01 PA: User exit distributed reporting
hope this helps.
reward if helpful. -
Entity-level screen text substitution
I am trying to create an entity-level attribute that will allow me to substitute text on an entity-level screen.
My data model is: Global --> the employer --> the date of the absence from work. When asking about each absence, I want to display the name of the employer on the screen. Because you can only substitute (using public names) attributes at the same entity level as the screen, I need to make an attribute at the level of the absence that is equivalent to the name of the employer.
How do I do this?
(I suspect that I need to use ForScope(), but it's not clear to me how to use this to assign a value to a text attribute.)
Thanks for any guidance you can provide.I'm assuming you know how to set up regular substitution where everything is at the same entity level, so I won't go into that.
To substitute the name of the employer into labels on screens at the entity level below (the 'absence' level), you need to create an attribute at the 'absence' entity level, then infer its value based on the name of the employer. You'll need to use the 'For' function, and the reverse text of the relationship from Employer --> Absence
There was a related question asked yesterday on the forum (Refering to entity instances from a more specific entity context I'll use the example from that to explain:
We have the following entities:
Global -- one-to-many --> the cat (Relationship text: the cats)
the cat -- one-to-many --> the cat's toys (Relationship text: the cat's toys; Reverse relationship text: the toy of the cat)
To substitute in the name of the cat into a label on a question screen about the cat's toy, I need to create an attribute at the entity level of the cat's toy ("the cat's toy name substitution variable" in this example). Then set it to be equal to the variable which collects the cat's name ("the cat" in this example), using the 'For' function and the reverse relationship text:
the cat's toy name substitution variable = For(the toy of the cat, the cat)Then create a public name for "the cat's toy name substitution variable" (e.g. "CatNameSubstitution"), then plug that into the screen label in the usual way, i.e. %CatNameSubstitution%. Since the substitution variable is at the entity level of the cat's toy, it will work. -
Calculate number of columns dinamically in webi report
Hello,
I have the following problem.
I have to develop a report, that it has to show a table that their columns have to be data intervals, and their rows have to be diferent rates.
Example.
29/01/2011
30/01/2012
31/01/2013
01/02/2014
29/01/2012
30/01/2013
31/01/2014
23/03/2014
Capital
200
300
400
500
Amortization
20
10
30
30
Interest
2
2
5
4
Fees
0
0
0
0
The report has 3 prompts: Start Period Date, End Period Date and Periodicity
Where Start Period Date and End Period Date are the interval of dates
and Periodicity can be one of that values "Annual", "Semiannual", "Quarterly", "Monthly", "Weekly" and "Daily"
In the example table the promts are:
Start Period Date: 29/01/2011 (see it in the first column, first row)
End Period Date: 23/03/2014 (see it in the last column, second row)
Periodicity: "Annual"
The problem is how to calculate dinamically (in execution report time) the number of columns to show in the report and their intervals dates.
The facts view has the following structure (the BBDD is sql server):
View: loans_schedule
Columns:
loan_id --> id to another view named loans that contains all the credit operations.
reference --> id of one reference in the operation
maturity_date --> date
Capital --> rate
Amortization --> rate
Interest --> rate
Fees --> rate
Ex of view data (note that the report has to aggregate by maturity_date in the date intervals of the report table):
Loan_id
Reference
Maturity_date
Capital
Amortization
Interest
Fees
1
1312PR
30/01/2011
100
10
1
0
2
1312PR
30/07/2011
100
10
1
0
3
1312PR
30/01/2012
100
5
1
0
4
1312PR
30/07/2012
100
5
1
0
5
1312PR
30/01/2013
100
0
0
0
6
1312PR
30/07/2013
400
30
5
0
7
1312PR
30/01/2014
500
30
4
0
View: loans
loan_id --> link with loan_id of loans_schedule view
internal_reference --> id of the operation
reference --> 1 internal reference can have 1 or N references
Operation beginning date --> when operation starts
Operation end date --> when operation ends
The problem is how can generate dinamically the number of columns and agregate the rates into each column.
I have achieved to generate dinamically the number of columns by creating a table (isolated in the universe) that has a dimension and its values are a sequence the numbers (from 1 to 1000) and this let me to show dinamically the number of columns regarding the interval of dates introduced by the user through the report promts.
The problem is when I try to agreegate the rates information to show in the corresponding column...
I do the following formula:
if maturity_date between (Column_Start_Date and Column_End_Date) then
[Rate]
else
0
But this returns always 0, and I think that the cause is that the table that I use for calculating the columns are not linked with my facts view.
When I drag the "Maturity_Date" to the table that has the columns dinamically, Webi tells me that the objects are incompatible.
Can you help me?
Note: it is posible to add columns to the views if it helps to solve the problem.
Thanks
PilarHi,
There are no direct oracle function that could be used to get the desired results.
However you could try using something like
SELECT COUNT( *)
FROM
(SELECT ROWNUM RNUM
FROM ALL_OBJECTS
WHERE ROWNUM <= TO_DATE('&1') - TO_DATE('&2') + 1
WHERE TO_CHAR(TO_DATE('&2') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
Give the two date ranges that you want to look for with the highiest one first. i.e say for example - 01-FEB-2011 to 31-DEC-2010 would give the working days in JAN. However note that you might have to check for holidays related to that country/region (which could be added as a seperate table).
If you need to get an extra day in addition to the weekends, please give the dates accordingly
SQL> SELECT COUNT( *)
2 FROM
3 (SELECT ROWNUM RNUM
4 FROM ALL_OBJECTS
5 WHERE ROWNUM <= TO_DATE('01-FEB-2011') - TO_DATE('01-JAN-2011') + 1
6 )
7 WHERE TO_CHAR(TO_DATE('01-JAN-2011') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
COUNT(*)
22 -
How to configure Counting RUle?
Dear Team,
How to configure Counting rulee seperately for Working days & Calendar days for both general shift employees & Shift Employees,what cahnges we need to do in day type, workschedule rule etc.,Please help.
Regards,
Mythiliyou should understand thebusiness scenario
do yo want to count the absence s if you apply on weekoffs(sat/sun)
do want to count the absence if you apply on public holiday
based on the condition s we will configure counting rules.....
for all the shifts if you have same weekoff s you can configure one coutnign rules, or shifts containf each different weekoffs eg:mon or sat or wed then you have configure different coutnign rules
you can give the same coutnign rule and you can give different sequetial nos
these are the below steps to cinfigure the coutnign rule
1. Click on the sub node u201C Define Counting ruleu201D
2. Click on new entries
3. Maintain ESG time quota type as u201C9u201D
4. Maintain PS grouping for time quota type as per the grouping mentioned in the node u201C Group Personnel sub area for Time Quota typeu201D
5. Maintain the sequential number as per the sequence of absences.
6. Following settings for: Conditions for current day --- Flag on all the options except Sunday (if you have sat and sun day week off then donu2019t select satday also)
7. In Day type field u201C work acc. To work scheduleu201D.
8. Holiday class: Maintain in holiday class select all except not a public holidayu201D(no mean to apply absence on public holiday )
9. Condition for planned hours: In this field all the absence have the two field planned hours= 0 and planned hours>0 being selected.
10. Condition for absence/attendance: In this field all the absences have the two fields < 1day and full day being selected.
11. Quota multiplier: For all the absence type the quota multiplier is maintained as 100% except sick leave (half pay) where the quota multiplier is 50%
12. Deduction rule: The deduction rules are assigned to each of the corresponding absence type. Applicable to those absence types which has quota attached to it.
13. Save your settings
Edited by: Piscian . on Jul 14, 2011 10:46 AM -
Hi Experts,
Greetings !!
One of our user is facing a weird issue while he is trying to apply for a leave through ESS.
He is applying for a leave for absence type ABC for which he is having enough quota, an error message is coming while he is submitting the leave as below:
"No absence quota type 1/01/20 on 17.06.2014" - This error is of absence type XYZ,
More information about this issue:
- Employee has enough quota for which he is trying to apply for leave
- The error message which is showing as error (absence type XYZ 1/01/20) is a different absence type and this absence type is delimited on 31.12.2010.
- Though the leave type is delimited, it is coming as error message for only one employee while he is applying for leave of a different absence type.
Can some one help me providing solution how to fix this issue. Thanks in advance.In leave request we consider all open requests of absences for validating current request and not necessarily current request that's the reason you get error message for an absence which is not related to the one you are applying read here the concept http://scn.sap.com/thread/2068984 http://scn.sap.com/thread/3508890 Read note 1070831 which explains how quota deduction is done both in leave request and TMW which are based on same technology. So to summarize Absences are picked up for the quota deduction , they are picked in the ascending order of the begin date of the absences \In the standard TMW framework, when the data is simulated it first backtracks the PA2001 record and based on the ascending order the quota is deducted, therefore the first quota is deducted by the simulated requests and the Infotype 2001 record is deducted from the second Infotype 2006 record. so check for this user if he has any open request ie in sent/approved not yet posted status which ll also account for quota!! and will sorted again in ascending order and all requests will be considered for quota deduction if they are open!
Maybe you are looking for
-
Hi I have an issue pertaining to FI-AR in Payment Terms. We have a requirement in which we would like to define payment terms based on both document date and posting date. If suppose the billing for invoice has been done on 1.1.2009, and if the payme
-
Please help. My account with CC info has been hack...
Hi! Last night, someone hacked my Skype account. I can still get in through my connected Microsoft Live-account, but I am not able to shut him/her out. I have even tried contacting the hacker via text message, as my account is set up with a british c
-
USB Audio on 27" Cinema Display doesn't work on 27" iMac
I have a new 27 inch display paired with my 27 iMac (i7), When selecting "Display Audio" as a sound output device it does nothing and switches right back to Headphone port. And I have installed the 27 inch update before the display arrived... does an
-
Setup PRINT server in Apex 3.0?
Hi all, I need setup print server on upgraded Apex 3.0 and looking at instructions or manuals thanks in advanced Gordan
-
Creating External Services in CAF
Hi All, I am developing CA using CAF. I want to use external services i.e Web Services & RFC. How can i create them??? How do i import these services??? Thanks. Cheers Gaurav Raghav