How to change generation date of absence quota with Time Evaluation methos
Hi all,
IS there any way to change generation date when TIme Evulation generate absence quota?
Currently system will use last day of month as generation date, Validity and Duduction period set correctly.
Base entitlement relate with Monthly,
Accrual period setting in selection rule is Month
Example: system generation absence quota in PT60 with 1 day Normal Leave Entry date 31.06.2011
Valid from 01.06.2011 to 31.12.2012 ; Deduction from 01.06.2011 to 29.02.2012 (extras 2 month)
Can we change ENtry date to 28.06.2011 , because in the last day of month they did not yet have quota but they need it for advance (approver from his/her Manager) ...
Thanks,
R1V
Hi,
The best way i think is to have negative deductions for the quota.
This time as it is on 28 you want to push it to 2 days earlier and later if there is another person with a day as 25, you need to again change the generation date isnt it.
Instead, if you have the negative deductions, you need not worry about the generation date.
Hope this helps.
Cheers,
LG
Similar Messages
-
How to Update Absence Quota with Time Evaluation
Dear Friends,
I would like to know how do we update absence quota within time evaluation. Currently i'm using UPDTQAXX, it works but when i search this forum everybody was using this simple code:
HRS=something
ADDDBxxxx
and the quota is updated. I just dont get it, with adddb its only update the daily balance table, how does that enable us to updated the 2006 infotype? Many ThanksADDDBxxxx adds the value of the number of hours field to the specified time type in the table of day balances (TES), it does not update the quota.
You can use function QUOTA to accrue absence entitlements periodically based on this customizing: Personnel Time Management>Time Data Recording and Administration>Managing Time
Accounts Using Attendance/Absence Quotas>Calculating Absence Entitlements>Rules for
Generating Absence Quotas>Define Generation Rules for Quota Selection.
You can use a time type to prorate that accrual -
How to change the date generate absence quota(Time Evaluation)
Hi all experts,
Currently system use Time Evaluation, and generate absece quota in last day of month.
So any way to change that system will use differ day to generate absence quota?
Example use day 28 of each month will generate absence quota? Have any enhacement or configuration?
Thank you,Tatsuya,
there 2 better solutions for this, one is Generate Period Parameters and according accordingly the month end date you follow and use the same period parameter in V_T559L table to your Quota.
and other Solutions is Write a PCR like Below.
ABCD (PCR Name)
varstcrumo
Varstreday
28
hrs=1
adddbTIME (TIME - Daily Time type - Create it in V_t555a table)
Save it and go to TM04 Schema, and put this PCR with Function ACTIO and make sure to insert this before QUOTA Function and Before CUMBT. and save it, and dont forget to put TIME Time to your Base entitlement.
you can run Time Evaluation to test it...let me know how it worked. -
Absence Quota In Time Evaluation
Hi,
I am working on Absences,i done the configaration part for abxebnce quota and i excute the report RPTQTA00.Its working fine for all Absence QTs.
But while i am running the PT60 its displaying only one Absence QT. I need to see the all the Absences QTs for that Ee.
Can U any body help me Hw to See the all Abs. QTs of that Ee.
Thanks In Advance
SwarupaHi
Executing RPTQTA00 and Time Evaluation are two different concept of Quota Generation. You have to executed RPTQTA00 before than Time Evaluation for Ee then you can see all the Absence quotas via time evaluation.
Once you execute time evaluation you can do the following :
click any of the date then click Manage Time Account > Quota > ABWKONTI.
In ABWKONTI you will see those quotas, which you generated via RPTQTA00 (but depends upon the Selection rule you've customized in V_T559L) and the till date Quota Generation for those Absences for which you put the button on Increase.
e.g., Ee DOJ 01.01.2008, you run RPTQTA00 on 01.01.2008 and CL and SL gets generated as follows :
CL Quota - 01.01.2008 to 31.12.2008
SL Quota - 01.01.2008 to 31.12.2008
After this you are executing Time Evaluation and you client execute time evaluation on daily basis. so when you run time evaluation on 01.01.2008 system will check the increase button in customization of Time Evaluation and credited the Quota depending upon the customization u've did in V_T559L (like you want to accrue Ee quota on a daily basis or calendar year.) so system reflects everyday quota for such absences in the log you can view these daily generated quotas in various sections of Time Evaluation.
hope it suffice
Regards
Pradeep -
Not able to generate the absence quota WITHOUT Time Evaluation
Hi ALL,
When i try to generate the absences quota for employees without time evaluation using program RPTQTA00, I am not able to generate it.
And i am getting "E You have not selected any generation rules".
Kindly if any one come across this issue please throw some light and do a favour.
thanks allHi,
Pls check the follwing tables if u have made correct assignments
v_t559l
v_554s
v_556c
Check Quoma Feature
Check what status u selected in IT7
Check if ur using correct Schema
If ur Using RPTQTA00 then use No Generation,and if ur using PT60/RPTIME00 change it to Increase.
Check if u have maintained correct quota groupings.
Revert back if its not solved
Regards -
How to change the date format?
Hi,
I need to display the data format as(YYYY-MM-DD). But now it displays(2009-1-9)
Here is my code snippet which i used to display the data format as(2009-1-9)
*<INPUT TYPE=TEXT NAME="date_submitted" MAXLENGTH=20 SIZE=10 VALUE="" onBlur= "return dateSubmitted()"> (YYYY-MM-DD)*
*<SCRIPT LANGUAGE="javascript">*
dateSubmitted()
*</SCRIPT>*
function dateSubmitted()
if (document.pgUpdate.date_submitted.value == "")
date = new Date();
month = date.getMonth() + 1
document.pgUpdate.date_submitted.value =
date.getYear() + "-" + month + "-" + date.getDate();
return true;
Can anybody help me how to change the date format?
Thanks in advance!prit123 wrote:
use SimpleDateFormat class. The code is :He posted a Javascript related question, not a Java related question.
Please use forums devoted to Javascript. You're here at a Java/JSP forum.
There are JS forums at webdeveloper.com and dynamicdrive.com. Good luck.
String formatPattern = "yyyy-mm-dd";
SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
sdf.format(yourdate);yyyy-mm-dd denotes year-minutes-days. Please go read the SimpleDateFormat API as well. -
How to change billing date in S1 - cancellation billing document
Dear Friends,
Could you please tell How to change billing date in S1 - cancellation billing document which is even not released to accounting & in gray mode.
Is it possible?
Thanks in advance.
RanjanDear,
Thanks for asking exact problem.
1. PGI in 2008
2. F2 Billing date in 2003 ( By mistake by the user)
3. S1 Billing date in 2008
4. PGI reverse in 2008 & OBD deleted in 2008
So reduced billing qty is shown in report in 2008 because of S1 Billing date in 2008,
Billing qty is not matching with the actual PGI quantity.
So here if the cancellation billing document S1 could be changed for billing date in 2008, then you could balance it
Now my issue is how to balance it.
hope you find it it very interesting
Awaiting your response.
Ranjan -
How to change release date in UCM
Hi
How to change the date(release date) of the released content?
Thanks
DeepakHi ,
What is the purpose to do that for a content that is already released ?
If you want to do this en-masse then use Archiver and Import Map to achieve this .
Thanks,
Srinath -
Hi all,
How to change a date value from "java.util.Date" to "java.sql.Date"?
I m still confusing what's the difference between them.....
thanks
Regards,
KinThanks
but my sql statement can only accept the format (yyyy-MM-dd)
such as "select * from xx where somedate = '2004-12-31'
but when i show it to screen, i want to show it as dd-MM-yyyy
I m using the following to change the jave.util.Date to str and vice versa. But it cannot shows the dd-MM-yyyy. I tried to change the format from yyyy-MM-dd to dd-MM-yyyy, it shows the wrong date in my application.
public String date2str(java.util.Date thisdate) {
if (thisdate != null) {
java.sql.Date thissDate = new java.sql.Date(thisdate.getTime());
return date2str(thissDate);
} else {
return "";
public String date2str(java.sql.Date thisdate) {
if (thisdate != null) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
return sdf.format(thisdate);
} else {
return "";
public java.util.Date str2date(String thisdate) {
String dateFormat = "yyyy-MM-dd"; // = 1998-12-31
java.util.Date returndate = null;
if (thisdate != null) {
SimpleDateFormat dateFormatter = new SimpleDateFormat(dateFormat);
try {
returndate = dateFormatter.parse(thisdate);
} catch (ParseException pe) {
System.out.println (pe.getMessage());
return returndate;
} -
How to change the date and time during OVM installation for Fusion Apps
Hi,
The customer is using Fusion Instance which is a V1 (Build 19) OVM installation shipped by Oracle with Demo Data (including seeded user IDs and roles) in it.
Now they have issue with Date format for the application on the screens is showing MM/DD/YYYY where as it should be (Singapore) Standard is DD/MM/YYYY.
Q/A: How to change the date/time in OVM image
Refer SR : 3-5640792461
Regards
Ganesh AnanthapadmanabanNot a problem. There are a number of other system and network setup commands that you might find useful at some time. From within the Remote Desktop Admin in the Send Unix Command window type:
networksetup -help
systemsetup -help
That will give you lists of the commands, including the one I posted above, with their basic syntax. They're handy to know.
Cheers. -
How to change the date format in xml form?
hi,
How to change the date format in xml form?
For example: 11/20/2008 3:00:03 PM -> 11-20 03:00
Any opinions greatly appreciated!
Thanks.
Edited by: ke wenxing on Dec 2, 2008 8:33 AMYou could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
Click the defaults button and change the date format.This changes date format for all the dates in your login. -
How to change the date format YYYYMMDD to MM/DD/YYYY
Hi ,
How to change the date format YYYYMMDD to MM/DD/YYYY .
Ex : 20071008 to 10/08/2007
Is there any function module for this ??
Regards
RahulHi Sharma,
check the code:
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-031.
PARAMETERS: date1 RADIOBUTTON GROUP rad1 DEFAULT 'X', "SAP date format YYYYDDMM
date2 RADIOBUTTON GROUP rad1, "Date format like aprial31, 2006
date3 RADIOBUTTON GROUP rad1, "Date format like 31 apr,2006
date4 RADIOBUTTON GROUP rad1, "Date format like DD/MM/YYYY
date5 RADIOBUTTON GROUP rad1. "Date format like DD.MM.YYYY
SELECTION-SCREEN END OF BLOCK b2
FORM getmonth .
SELECT mnr
ktx
ltx
INTO TABLE T_month
FROM t247
WHERE spras = 'EN'.
IF sy-subrc NE '0'.
MESSAGE I "Message - Not able to get month values from the table T247
ENDIF.
ENDFORM.
DATA : temp_date(16) TYPE c,
temp1_date(60) TYPE c,
year(4) TYPE c,
daymonth(11) TYPE c,
daymonth1(11) TYPE c,
month(9) TYPE c,
day(2) TYPE c,
mon LIKE t247-ktx,
len TYPE i .
MOVE date TO temp1_date .
CONDENSE temp1_date NO-GAPS.
MOVE temp1_date TO temp_date .
IF date2 EQ 'X'. "The date format is like Aprial 31, 2007
CONDENSE temp_date NO-GAPS.
SPLIT date AT ',' INTO daymonth year.
IF STRLEN( year ) NE '4'.
error = 'X'.
WRITE : 'Invalid date format.'.
ELSE.
daymonth1 = daymonth.
CONDENSE daymonth1 NO-GAPS.
_len = STRLEN( _daymonth1 ).
l_len = 13 - len.
SHIFT daymonth1 RIGHT BY len PLACES.
CONDENSE daymonth1 NO-GAPS.
month = daymonth1.
CONDENSE month NO-GAPS.
SORT t_month BY monthltx.
READ TABLE t_month WITH KEY monthltx = month.
IF sy-subrc <> 0.
error = 'X'.
WRITE : 'Invalid date format.' .
ELSE.
len = STRLEN( month ).
CONDENSE daymonth NO-GAPS.
SHIFT daymonth LEFT BY len PLACES.
day = daymonth.
CONDENSE day NO-GAPS.
CONCATENATE year t_month-monthnumber day INTO o_date.
ENDIF.
ENDIF.
ELSEIF p_date3 EQ 'X'. "The date format is like 31 apr, 2007
CONDENSE temp_date NO-GAPS.
SPLIT i_date AT ',' INTO daymonth year.
IF STRLEN( year ) NE '4'.
error = 'X'.
WRITE : 'Invalid date format.'.
ELSE.
daymonth1 = daymonth.
CONDENSE daymonth1 NO-GAPS.
SHIFT daymonth1 LEFT BY 2 PLACES.
CONDENSE daymonth1 NO-GAPS.
month = daymonth1.
CONDENSE month NO-GAPS.
TRANSLATE month TO UPPER CASE.
SORT t_month BY monthstx.
MOVE month to mon.
READ TABLE t_month WITH KEY monthstx = mon.
IF sy-subrc <> 0.
error = 'X'.
WRITE : 'Invalid date format.' .
ELSE.
CONDENSE daymonth NO-GAPS.
day = daymonth+0(2).
CONDENSE day NO-GAPS.
CONCATENATE year t_month-monthnumber day INTO o_date.
ENDIF.
ENDIF.
ELSEIF p_date4 EQ 'X' OR p_date5 EQ 'X'. "Date format is like DD.MM.YYYY or DD/MM/YYYY
CONDENSE temp_date NO-GAPS.
IF STRLEN( temp_date ) EQ 10.
o_date0(4) = temp_date6(4).
o_date4(2) = temp_date3(2).
o_date6(2) = temp_date0(2).
ELSE.
error = 'X'.
WRITE : 'Invalid date format.' .
ENDIF.
ENDIF.
IF STRLEN( o_date ) NE '8'.
error = 'X'.
WRITE : 'Invalid date format.'.
ENDIf.
ENDFORM. " f0100_conv_date
Reward if helpful.
Regards,
Harini.S -
How to change the dates for open enrollment
Hi Experts,
I am implementing ESS BP 1.0 on EP 7.0 SP11 ERP2005. In the benefits and payment workset, there is open enrollment process which is allowed between certain dates. How to change those dates in the backend system?
Thanks!The open enrollment period dates can be changes under Benefits>Flexible administration>Define administrative parameters.
Thanks -
How to change the Data sources after deploying the application ??
Hi All,
i want to know how to change the Data sources after deploying the application to the application server ???
I'm using Oracle Application Server 10g Release 3 (10.1.3.1.0)Can you access the Enrprise Manager website of the target Application Server from your location? If so, you can change the datasource in it. If not, yo can bundle the datasource definition in your archive and use that one instead of the one configured in the target OC4J container. Or this will just be the responsability of your customer: whenever you send a new WAR file, they have to modify the datasource if needed and deploy the application?
-
Crystal ActiveX Runtime Lib: Change text data source path at run time.
We have some PCs running Crystal Reports 10 and some running CR 9 and 8.5. For each PC, we set up a System DSN ODBC data source (in Control Panel - Administrative Tools) for pulling data from text files to
generate reports.
Recently we wrote some routines (see the Visual Basic example at the
end of this message) to change the path of the data files at runtime.
According to the Crystal Reports Technical Reference Guide, we may use
the method LogOnServer() of an Application object or an DatabaseTable
object. However, we find that this does not work: the PrintOut()
method only pulls data from the default path as configured for the
System DSN, not from the path passed as the third parameter of
LogOnServer(). It does not return any error message.
We have also tried to use SetTableLocation() method, and it still does
not work.
Would any experts examine our code below and advise what we are missing? Thanks.
For the following VB example, we have:
System DSN Name: AP_WORKSHEET
Driver: Microsoft Text Driver
Database Directory: D:\0ood2 (i.e. the default path)
Crystal Report Document: D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt
(Which specifies that the data source text file name is BlockWS.txt)
Purpose : We would like to read the data source text file from
D:\0ood1 instead of the default path.
Following is the code of the VB macro:
Sub test()
Rem In this version of the subroutine, we call
Rem DatabaseTable.LogOnServer() and "Rem"ed out
Rem Application.LogOnServer() and SetTableLocation().
Rem We have un"Rem"ed each of them and "Rem"ed others and try to run.
Rem In all runs, data are pulled from the default file
Rem D:\0ood2\BlockWS.txt instead of D:\0ood1\BlockWE.txt.
Dim crxapp As CRAXDRT.Application
Dim crxRep As CRAXDRT.Report
Dim crxDB As CRAXDRT.Database
Dim crxTab As CRAXDRT.DatabaseTable
Dim crxConnPs As CRAXDRT.ConnectionProperties
Dim crxConnP As CRAXDRT.ConnectionProperty
Dim apropSubLoc As String
Dim apropConnBufStr As String
Set crxapp = CreateObject("CrystalRuntime.Application")
Rem
crxapp.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
Set crxRep = crxapp.OpenReport
("D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt")
Set crxDB = crxRep.Database
Set crxTab = crxRep.Database.Tables(1)
apropConnBufStr = crxTab.ConnectBufferString
apropSubLoc = crxTab.SubLocation
crxDB.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
Rem crxTab.SetTableLocation "D:\0ood1\BlockWS.txt", apropSubLoc, "DSN="
Rem Set crxConnPs = crxTab.ConnectionProperties
Rem Set crxConnP = crxConnPs.Item("DSN")
Rem crxConnP.Value = "AP_WORKSHEET"
Rem Set crxConnP = crxConnPs.Item("Database")
Rem crxConnP.Value = "D:\0ood1\BlockWS.txt"
Rem crxTab.Location = "BlockWS.txt"
crxRep.DiscardSavedData
crxRep.PrinterSetup (0)
crxRep.PrintOut
End Sub
For VB macros, the problem exists in all of CR 8.5, 9 and 10. However,
for another platform we are using, Unify Vision 4GL, it works for CR
8.5 while not working for CR 9 and 10.
Following is the source code in Unify Vision 4GL. This language may
not be popular, but I thin you are about to see how it calls the
Runtime Library methods LogOnServer(), OpenReport(), PrinterSetup() and
PrintOut().
%gfPrintCrystalReport
BOOL FUNCTION gfPrintCrystalReport($reportName)
BEGIN
if NOTMKNOWN(GF:$oSeagateId) then
create service of activex
class 'CrystalRuntime.Application'
object_ref into GF:$oSeagateId;
if MKNOWN(GF:$oSeagateId) then
begin
/* TD23013: Database directories are dynamic to
accommodate multiple user requirement of Citrix */
send message LogOnServer to GF:$oSeagateId
using
( 'PDSODBC.DLL', 'AP_WORKSHEET', '<CRWDC>DBQ='+GF:$WinTempDir,'','')
identified by $msgHandle;
if $msgHandle:MSG_STATE 'RESPONSE_PROCESSED'
then
begin
display 'Crystal Reports cannot connect
to the datasource ' for fyi_message wait;
return (FALSE)
end
send message OpenReport to GF:$oSeagateId using
($reportName, 1)
identified by $msgHandle returning
$oCrystalReport
if MKNOWN($oCrystalReport) then
begin
if (NOTMKNOWN(GF:$printerName)) then
set GF:$printerName to
$oCrystalReport->PrinterName;
if GF:$printerName $oCrystalReport-
PrinterName then
send message SelectPrinter to
$oCrystalReport
using
(GF:$driverName,GF:$printerName,GF:$portName)
identified by $msgHandle;
set $oCrystalReport-
DisplayProgressDialog to FALSE;
while TRUE
begin
DISPLAY NOTICE 'Print to : ' +
GF:$printerName
LABELS 'Ok'
DEFAULT, 'Cancel', 'Printer Setup'
RESULT INTO $userOption
switch ($userOption)
begin
case 0 :
send
message PrintOut to $oCrystalReport
using
(PROMPT_USER, NUMBER_OF_COPIES, COLLATED, START_PAGE, STOP_PAGE)
identified by $msgHandle;
set
$oCrystalReport to UNDEFINED
return
(TRUE);
case 1:
set
$oCrystalReport to UNDEFINED
return
(FALSE);
case 2:
send
message PrinterSetup to $oCrystalReport
using
(0)
identified by $msgHandle;
if
GF:$printerName $oCrystalReport->PrinterName then
begin
set GF:$printerName to $oCrystalReport->PrinterName;
set GF:$driverName to $oCrystalReport->DriverName;
set GF:$portName to $oCrystalReport->PortName;
end
break;
end
end
end
end
return
(FALSE);
ENDHi Sydney,
If you search the Developers help file you'll find info on using the method:
How to change the data source
This example demonstrates how to change the data source from native Access to an OLEDB (ADO) data source by using the ConnectionProperty Object, as well as how to change the table name by using the Location property of the DatabaseTable Object. CrystalReport1 is connected to the xtreme.mdb database found in the \Program Files\Crystal Decisions\Crystal Reports 10\Samples\En\Databases folder. The report is using the Customer table. A copy of the Customer table is added to the pubs database on Microsoft SQL Server.
' Create a new instance of the report.
Dim Report As New CrystalReport1
Private Sub Form_Load()
' Declare a ConnectionProperties collection.
Dim CPProperties As CRAXDRT.ConnectionProperties
' Declare a DatabaseTable object.
Dim DBTable As CRAXDRT.DatabaseTable
' Get the first table in the report.
Set DBTable = Report.Database.Tables(1)
' Get the collection of connection properties.
Set CPProperties = DBTable.ConnectionProperties
' Change the database DLL used by the report from
' native Access (crdb_dao.dll) to ADO/OLEDB (crdb_ado.dll).
DBTable.DllName = "crdb_ado.dll"
' The connection property bags contain the name and value
' pairs for the native Access DLL (crdb_dao.dll). So we need
' to clear them, and then add the name and value pairs that
' are required to connect to the OLEDB data source.
' Clear all the ConnectioProperty objects from the collection.
CPProperties.DeleteAll
' Add the name value pair for the provider.
CPProperties.Add "Provider", "SQLOLEDB"
' Add the name value pair for the data source (server).
CPProperties.Add "Data Source", "ServerA"
' Add the name value pair for the database.
CPProperties.Add "Initial Catalog", "pubs"
' Add the name value pair for the user name.
CPProperties.Add "User ID", "UserName"
' Add the name value pair for the password.
CPProperties.Add "Password", "password"
' Set the table name. ' for SQL types it would be "database.dbo.table"
DBTable.Location = "Customer"
Screen.MousePointer = vbHourglass
' Set the report source of the viewer and view the report.
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub
Maybe you are looking for
-
[SOLVED] ID3 tags not registering on MP3 Player
I just got a new MP3 player, and some of the ID3 tags that I've set on my music don't register. I have some other songs that were set on a Windows computer; these show up perfectly find. Every tag editor I've ever used has this problem. What is a way
-
Dear all When i using SE51 to open any screen , the screen painter can't give me the graphical layout editor and shows the following message: EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' Message no. 37033 Anyone knows what is the
-
In all my games, including browser based flash games, I've found a rather annoying keyboard problem. Whenever I hit a key, the computer believes I have hit a nunber key. If I only hit one key over and over, it cycles through numbers. So if I hit "W",
-
Question on SDN (general not abap)
Hi.... Sorry for wasting your time with general question... Please tell me how to open the diffenrent blogs in SDN? like... The SQL Trace (ST05) Quick and Easy is for to study ST05... Thanks, Naveen.I
-
Automatically triggering the Submit button (Sample Transaction Module)
Hello everyone, The requirement is to trigger the Submit button when the transactions are created via Web Service. Basically, i want to update the Status field to 'Submitted' once a new tranasction is created. The reason i am not able to update this