SSHR Extra Information Type - Restricting date entered
As part of out draft SSHR build, we have created an EIT (and made it available via a function in Self-Service) to capture MOT and Licence Expiry Dates relating to an employee's private vehicle.
Is it possible to restrict the date entered to prevent users entering a past date i.e. an expired MOT/Licence?
Many thanks,
Create user hook for the API hr_person_extra_info_api.
In the user hook write your code to validate.
It will raise error in the page.
Regards,
Peddi.
Similar Messages
-
Extra information type DFF getting erored
Hi
When I am trying to compile the predefined Extra information type DFF it is getting errored out saying
"The descriptive flexfield "Extra Person Information" of application "Human Resources" uses features which are only supported in Oracle Forms. This flexfield may not function in other environments such as OA Framework or PL/SQL APIs.
The number of warning messages: 1.
The context field uses reference field "INFORMATION_TYPE".
BLOCK.FIELD references are only supported in Oracle Forms."
When I try to verify the same in the Metalink it is suggesting me for some patch. buti am not ok with applying patch without know reason or work around to solve this issue
If anyone knows please do let me know
Thanks a lot for your time
Regards
Ramesh Kumar SHi
thanks for your reply,
i am not using this in the Selfservice, I am using it only in the core HR.
but i am not able to see even a single context value in the
People--> Enter and maintain-->others--> extra information form
Please advice me how it is possible to bring up these context values in this form.
If any setup have to be modified means, what changes has to be made
Please advice
Regards
Ramesh Kumar S -
Viewing/modifying Extra information Types from self service
Hi, Is it possible to mody extra information types from Self Service and does anyone know where I can find setup documents?
check this - http://oracleappssol.blogspot.co.uk/2012/08/creating-extra-information-types-as.html
-
Extending SSHR Special Information Types validation
Hi,
I have a requirement to validate new entry or update on specific type of SIT after clicking Apply button.
Other than validating values, i also required to set specific attribute value based on user input
The problem occurs cos I can't find where they put the inputted value in the ViewObject, except from oapagecontext.getParameter("HrKeyFlex1").
The navigations are Employee Self Service -> Special Information Types -> Click Add on one detail table. when examined, it show values from a Key FlexField (KFF) and (if rendered) Desc FlexField (DFF).
Based on "About this Page" information, the KFF and DFF stored in SpecialInformationUpdateVO, but there is only a set of Attribute1 to Attribute20 which hold values for DFF, where are field Segment1 to Segment20 which hold values for KFF ??Hi,
thanks for replying,
I'm afraid I don't understand the solution you gave since I'm still a newbie, only a week ago assigned to learn extending OA Framework.
I only can find corresponding VO which is
oracle.apps.per.selfservice.specialinformation.server.SpecialInformationUpdateVO.xml
oracle.apps.per.selfservice.specialinformation.server.SpecialInformationUpdateVORowImpl.class
oracle.apps.per.selfservice.specialinformation.server.SpecialInformationUpdateVOImpl.class
So far I come with a work around to validate each field individually, but this method can't set or change user inputted value
Step I've done :
1. extend oracle.apps.per.selfservice.specialinformation.webui.SitUpdateCO controller class to at.oracle.apps.per.selfservice.specialinformation.webui.ATSITUpdateCO
2. Override processFormRequest method, retrieve values from form request parameter
String cost_center = (String) oapagecontext.getParameter("HrSitKeyFlex2");
String nature = (String) oapagecontext.getParameter("HrSitKeyFlex3");
String activity = (String) oapagecontext.getParameter("HrSitKeyFlex4");
String item = (String) oapagecontext.getParameter("HrSitKeyFlex1");
String unit_price = (String) oapagecontext.getParameter("HrSitKeyFlex12");
make a call to PL/SQL stored procedure to validate these values, if the result is error, then raise an OAException
3. personalize the page so it will use extended controller
I need to set Segment7 (HrSitKeyFlex7) which hold total_price
to HrSitKeyFlex1 * HrSitKeyFlex12
Could you give further explanation on :
1. find corresponding (KFF) classes, looking at the SpecialInformationAM, no VO or AM query fields from hr.per_analysis_criteria table
2. what is VRule KFF bean ? and how to add
3. Cross Validation Rules to KFF metadata (do you mean TABLE with metadata ?, am i suppose to create a trigger on insert ?) -
Mapping of Special Information Type function to SSHR HR professional menu
Hi ,
Can we add the Special Information Type (SIT) or Extra Information Type (EIT) function to HR Professional menu.
Thanks
SivaCreate a different functions for various SIT Functionality.
like
OA.jsp?akRegionCode=HR_CREATE_PROCESS_TOP_SS&akRegionApplicationId=800&OAFunc=TEST_HOLIDAY_SIT_SS (URL)
pAMETranType=SSHRMS&pAMEAppId=800&pProcessName=HR_SIT_JSP_PRC&pItemType=HRSSA&pCalledFrom=TEST_HOLIDAY_SIT_SS&pPersonID=&pFromMenu=Y (Parameter)
Personlize the page on Function level for various SIT Functionality. -
Oracle hrms install additional information types for classification
Hi,
We have ran out of DFF segments in the Orgn screen. Requirement is to capture additional information against Organizations.
As a work around, we intend to capture additional information by adding NEW information type for the classification 'HR Organization'.
Appreciate if any one can provide some tips on this.
Thanks,
RaghuAvaneesh,
I see your message and it may relate to what I'm trying to do.
I need to set up an extra information for Assignments, particularly for contingent workers.
Could you explain how to access "Register Extra Information Types"? and what is Org Developer DF, or any equivalent for Assignments?
Thanks,
Skip -
"[Oracle][ODBC]Restricted data type attribute violation
Hi,
I have a program that use the database object,TQuery in Borland C++ Builder 5 to access information on an Oracle8i table. The program was working fine until I updated the Oracle8i ODBC driver from 8.1.5 to 8.1.6.
I am getting the error :
"[Oracle][ODBC]Restricted data type attribute violation."
I can't see what I have done wrong with the SQL statement in the query as it is only a select * from table statement. Can anyone help me with this ? Thank in advance.
C.M.I think I had found what is causing the problem. It looks like the latest Oracle ODBC driver doesn't like any table that
consists of any 2 fields of type NUMBER but with 1 of them having
NOT NULL. >example : >Name Null? Type>-------- --------
----------------- NO1 NUMBER>NO2 NOT NULL NUMBER>I think this is
a bug. >null
I am not sure what you mean by the statement
"the latest Oracle ODBC driver doesn't like any table that
consists of any 2 fields of type NUMBER but with 1 of them having
NOT NULL"
Do you mean there cannot be two not null number columns in a
table witht he latest Oracle ODBC driver.
I am running into the same problem as you did. I am getting a
restricted type violation, and have isolated the column and it is
a number(x,y). I have the the Oracle Client 8.01.06.00 driver
and I have PowerBuilder8.0 as the GUI.
Any help would be much appreciated,
Thanks in advance,
Khanh -
What types of data are entered in the order type?...
Hello SAP-team!
What types of data are entered in the order type?
- Settlement profile
- Sample order
- Settlement rule
- Order category
- Costing sheet for overhead rates
ps: thanks to SAP-community!
EugeneHi,
What types of data are entered in the order type?
- Settlement profile- True
- Sample order -True(by model order)
- Settlement rule-True
- Order category-True
- Costing sheet for overhead rates-False
Regards
Sudhakar Reddy -
HT201269 What type of data/information can be transferred through iCloud?
Hi there,
I just received my new iPhone 5, & I still have my old iPhone 3GS, which have all of my ringtones & songs that i used to listen to, & I would like to have them on my new iPhone 5.
But the problem is that I no longer use my old PC, which used to have the data that my iPhone 3GS currently carry, such as Ringtones, Music...etc.
So my concern is, Do Ringtones & Songs can be transferred via iCloud as well from my old iPhone to the new one? & what other type of data/information can be transferred through iCloud?
& if my Ringtones have been successfully transferred to my new iPhone 5, would the ringtones be assigned to the same people that had their unique ringtones when they call me? Or shall I assign them manually by myself again?
Waiting for your reply,
HosamHi,
You can Bind the Boolean type of webdynpro to the CheckBox in Adobe Interactive Form.
Just define the value Attribute in the Context of type Boolean and bind the Checkbox in Aif with this attribute.
Sample Code:
if (wdContext.currentContextelement.reason == true)
ur validations.....
Regards
Mustafa -
Extra Information In SSHR & Hierarch for Approvals
Hi members
We want to implement the following SSHR
Employee contract
Employee extra information like loans, housing
But unable to find that how to enable these items for self service.
Secondly Pls guide me that how we can assign any hierarchy that is to be used for approvals.
Regards
AliLook at the document (available via MetaLink) called Deploy Self Service HR. This is a good refernce to start with.
For approvals, I suggest you consider using AME (Dynamic Approvals) where you can define business rules to specify approvers.
Regards
Tim -
hi all,
I have created a generic data source which is extracting data using the FM.
I wana restrict my data by packet size. how can i do this?
my FM is
FUNCTION zstock_requirement.
""Local interface:
*" IMPORTING
*" VALUE(I_DSOURCE) TYPE RSISOURCE OPTIONAL
*" VALUE(I_REQUNR) TYPE RSREQUNR
*" VALUE(I_MAXSIZE) TYPE RSMAXSIZE DEFAULT 1000
*" VALUE(I_INITFLAG) TYPE RSINITFLG OPTIONAL
*" VALUE(I_UPDMODE) TYPE RSUPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE RSDATAPID DEFAULT 50000
*" VALUE(I_READ_ONLY) TYPE SBIW_BOOL DEFAULT SBIW_C_FALSE
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE MDEZ OPTIONAL
Maximum number of lines for DB table
STATICS: s_s_if TYPE srsc_s_if_simple,
counter
s_counter_datapakid LIKE sy-tabix,
cursor
s_cursor TYPE cursor.
DATA : lt_mdezx TYPE TABLE OF mdez,
la_mdezx LIKE LINE OF lt_mdezx.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
CASE i_dsource.
WHEN 'ZSTOCK_REQUIREMENT1'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e009(r3). ENDIF.
this is a typical log call. Please write every error message like this
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
APPEND LINES OF i_t_select TO s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF s_counter_datapakid = 0.
SELECT matnr FROM mara INTO TABLE i_matnr
WHERE mtart IN ('ZFIN','ZRAW','ZSMI').
If not i_matnr is initial.
SELECT matnr werks FROM marc INTO TABLE i_input FOR ALL ENTRIES IN i_matnr
WHERE matnr = i_matnr-matnr.
endif.
CLEAR wa_input.
LOOP AT i_input INTO wa_input.
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
EXPORTING
PLSCN =
matnr = wa_input-matnr
werks = wa_input-werks
BERID =
ERGBZ =
AFIBZ =
INPER =
DISPLAY_LIST_MDPSX =
DISPLAY_LIST_MDEZX =
DISPLAY_LIST_MDSUX =
NOBUF =
IMPORTING
E_MT61D =
E_MDKP =
E_CM61M =
E_MDSTA =
TABLES
MDPSX =
mdezx = lt_mdezx
MDSUX =
EXCEPTIONS
material_plant_not_found = 1
plant_not_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE i000(abc) WITH 'information'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT lt_mdezx INTO la_mdezx.
APPEND la_mdezx TO e_t_data.
ENDLOOP.
ENDLOOP.
ENDIF.
s_counter_datapakid = s_counter_datapakid + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION.Hi,
One thing why u want to restrict data package. Anyway if it is delta enbaled u will make it as a initial load then delta load.
Its very complex to implement datapackage as well as cursor and fetch statement in function module.
Thanks,
Debasish -
Hi All,
I have a select-option for Date.I need to restrict dates within a month??
How can i do that??Hi ,
Same problem i also faced , so you will follow below code you will get the solution definately .
SELECT-OPTIONS : S_CALP FOR RFPDO1-SZISABRZ NO-EXTENSION obligatory , "date
DATA:
v_text TYPE STRING,
v_from_month TYPE STRING,
v_to_month TYPE STRING,
V_LEAP TYPE I . "leap year variable
From/To date validation
CLEAR : v_days .
CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
EXPORTING
I_DATE_FROM = CALC_PERIOD_FROM "date low
I_DATE_TO = CALC_PERIOD_TO "date high
IMPORTING
E_DAYS = v_days.
From/To date validation
clear : v_text , v_to_month , V_YEAR ,V_LEAP.
v_text = CALC_PERIOD_FROM .
v_from_month = v_text+4(2).
clear : v_text .
v_text = CALC_PERIOD_TO .
v_to_month = v_text+4(2).
V_YEAR = v_text+0(4).
IF NOT V_YEAR IS INITIAL . "logic for leap year .
V_LEAP = V_YEAR MOD 4 .
ENDIF .
****logic for months validation
IF NOT v_from_month = v_to_month .
RETURN-MESSAGE = 'From/To Month should be same !'.
APPEND RETURN.
EXIT.
ENDIF .
IF ( v_to_month = '01' OR
v_to_month = '03' OR
v_to_month = '05' OR
v_to_month = '07' OR
v_to_month = '08' OR
v_to_month = '10' OR
v_to_month = '12' ) .
IF NOT v_days EQ 30 .
RETURN-MESSAGE = ' Please Enter Valid Date !'.
APPEND RETURN.
EXIT.
ENDIF .
ELSEIF ( v_to_month = '04' OR
v_to_month = '06' OR
v_to_month = '09' OR
v_to_month = '11' ) .
IF NOT v_days EQ 29 .
RETURN-MESSAGE = 'Please Enter Valid Date !'.
APPEND RETURN.
EXIT.
ENDIF .
ELSEIF v_to_month = '02' .
IF V_LEAP = 0 .
IF NOT v_days EQ 28 .
RETURN-MESSAGE = 'Please Enter Valid Date !'.
APPEND RETURN.
EXIT.
ENDIF .
ELSE .
IF NOT v_days EQ 27 .
RETURN-MESSAGE = 'Please Enter Valid Date!'.
APPEND RETURN.
EXIT.
ENDIF .
ENDIF .
ENDIF .
Regards ,
Nilesh Jain . -
how can we restrict the No. of SITs available through a specific hr responsibility..pls advise
Here are the steps on how to restrict SITs
1.Create a custom form
Go to US HRMS Manager -> Security -> Custom form
Select Enter Person Special Information in the 'form to be customized' field
Give a name to custom form and save
In the restrictions, select 'Restrict by Special Information type' and select the SIT name in the value field.
Check exclude or include depending on whether you want to include or exclude that SIT
Save the record
2.Create a taskflow node
Go to US HRMS Manager -> Security -> taskflow node
Enter a name for the node
Select 'Enter Person Special Information' in the form field
In the customization field, select the custom form that you have created in step1
Save the record
3. Assign the node to taskflow
Go to US HRMS Manager -> Security -> taskflow definitions
Query for your taskflow (e.g. US HRMS Person Taskflow)
In the node name field, select the node that you have created in step 2 and save the record
Requery the taskflow
Put the cursor in the navigation options
delete 'Special' node, save the record and add the node that you have created
Now you can only see those specific SITs that you have included in the custom SIT form
Note: Do not use seeded taskflow, create a copy of it and then once the node is added, add the taskflow to the function in function definition form.
Let me know if you have any questions..
-Jay -
Unable to send the data entered in sap portal
Hi
All
i am trying to configure and test Leave Request from portal. When, we create the leave request and submit for the first time, it is giving the error/message Unable to send the data entered However, if do a submit for the second time, the same leave request, it sends the leave request.
Please share your valuable thoughts or solutions.Thanks in advance.
Tanks
Rafi ShaikHi Rafi,
We are also facing similar kind of issue.
When i select type of leave as annual it is giving an error message as
" Parameter missing in call of method BUILD_ACTOR_SELECT_CLAUSE in class CA_PT_REQ_ACTOR "
But when i select some other leave type and click review it is working fine, again if i click on previous step and change the leave type to annual it is working fine without giving any error message.
Please let us know how you have solved your issue?
Thanks.
-Suresh -
Restricting data entry to a particular language in the form
Hi,
I created a multilingual form in which all the fields of the form are in a particular language . Now am trying to restrict data entry in the form to that language at the client side only . Say if it is a form in french, can we restrict the data entry to french only . The approach i was trying to implement was adding a script against the change event of all data fields and see if the characters lie in the range of the language unicode character set . But have not been successful in it yet . Can anybody help me find some way or provide any sample for it ?
ThanksHello, I'm German
Probably you can restrict the characters used for text entry, so for example ü is allowed in the German form but not in French.
But you will NEVER be able to restrict the users staying only writing French in French forms 100%.
1) You sometimes, not often, do encounter letters that are not typical for the language. (Though it can appear in any kind of word, it's quite regular for names.)
2) Let's say I fill the French form. I encounter a problem when I type in the word "Müller". This word wouldn't be French at all. The text will be delted and probably given an error message. Well... I learn out of this error message. Next time I'll type Mueller. ^^
(I knew several pages were people were restricted to talk English by forbidding letters that were not used in English very often... That didn't stop us violating that rule. The only error that really bugged us wasn't the restriction in not using letters that don't exist in English but the "please don't swear or insult so." error that kept appearing for ex. when we used the German word for "that" (= "dass"). They just didn't like the last 3 letters.)
3) Many countries have the same or include other countries unicodes. For example English could be written in the German form or in the French form.
4) You can't get out the syslanguage as far as I know. This would be a great hint which language the person is using.
5) I don't think you can use the spellcheck in any way... great violation against spellchecking could also be a hint for another language.
I know a quite big internetcommunity which did try to accomplish the same as you do. After about 2 years and a lot of experiments they stopped their efforts and were content by popping up the random error-messages warning that you don't have to insult, just like those other communities mentioned above. ^^ (Though they tried to restrict the insulting parts to the language used that didn't work out. Too many people knew how to insult in other languages ;D or which words were similar to insults.)
People just never do what they are supposed to do and are quite nasty finding workarounds...
My advice to you would be:
Don't make the effort.
Sorry for not being able to provide you with a solution, but the opposite.
Lisa
Maybe you are looking for
-
How can I restore the firefox session when there is no previous version available?
I had a lot of tabs opened for months now but this has happened before when I was able to restore the tab history in the profile folder in firefox with the "sessionstore.js" file and look up previous versions that were available. When I exited firefo
-
How to create multiple pages within one navbar entry
I'm trying to revamp my site to include specific information and files for the classes I teach at the university. What I'd like to do is to have one entry on the navbar entitled "University Classes" or some such, and have it lead to a page where I ca
-
After update ios6 my siri does not work anymore. Could my help somebody?
-
Optical output question.
Hello, I'm hoping that someone knows the answer to this: If I sync protected music files, purchased from iTunes, to the Apple TV, what type of signal is output from the OPTICAL digital jack, when I playback the protected songs on the Apple TV? Thanks
-
Hi Please advise is there any COPA Reconciliation report other than KEAT & KEAW? can any one using any such customized report . Thankx Deepak Edited by: SDeepakKr on Oct 30, 2010 12:10 AM