Flexible appraisal read appraisee number within BADI HRHAP00_VALUE_TYPE
We are on EHP5 based HCM system.
We are using BADI HRHAP00_VALUE_TYPE implementation HRHAP00_VALUE_TYPE_Q. and i am trying to enhance this implementation to incorporate some custom logic to filter the drop down values. This requires Pernr of Appraisee for the appraisal document.
Since this BADI interface does have any reference to Appraiser Id or any other appraisal document related information, so I am unable to read Appraisee employee number.
If there is any generic method, which i can call from this BADI implementation to find out which appraisal doc has called this BADI implementation? Sy-uname only can give me Pernr of processor, it can be either employee or manager. And we wont be able to differentiate.
Thanks for your time.
Rgds,
Hi Sudhir,
I am also facing the same issue.Please let me know if you have solution.
Also please let me know in which enhancement area(OOHAP_BASIC) we need to assign this custom badi implementation.
Regards,
Arun.
Similar Messages
-
I am new to Labview, I am communicating with a TQ8800 Torque meter via RS-232. The 16 digit data stream is as follows:
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Each digit indicate the following status :
D0 End Word
D1 & D8 Display reading, D1 = LSD, D8 = MSD
For example :
If the display reading
is 1234, then D8 to D1 is :00001234
D9 Decimal Point(DP), position from right to the left
0 = No DP, 1= 1 DP, 2 = 2 DP, 3 = 3 DP
D10 Polarity
0 = Positive 1 = Negative
D11 & D12 Annunciator for Display
Kg cm = 81 LB inch = 82 N cm = 83
D13 1
D14 4
D15 Start Word
I am using a modified version of the basic_serial_write_read.vi. I am attempting to parse the 16 digit data stream extracting out the number and whether it is positive or negative. I am having trouble with the decimal point placement. Is there an example that could help me with this? After the number is parsed I am then comparing it to see if it is within +/- 9.2 N cm. If it is then the test passes. I am outputing the data to a file. I have included the vi. Also how can I check for different units of the annunciator. Any help would be appreciated. Thank you.
Attachments:
basic_serial_read.vi 100 KBWhat is the definition of the End Word? You will likely need to figure this out experimentally (the manual doesn't seem to define it). Whatever it is, you should set that as the termination character and enable the termination character. That will help you in keeping your messages in sync. Just tell the VISA Reads to read more than a message should be, something like 30 should work nicely.
The error you are seeing is a buffer overload. This means that the instrument is sending data to you faster than you can process it. So you need to figure out how to perform the read faster. File IO is slow. So you should put that into a seperate loop so that your loop does nothing but read the data from the port as quickly as the data comes in. Use a queue to send the data from the reading loop to the logging loop. This is known as a Producer/Consumer.
And here is a cleaned up version of your code. No need for your express VI or the formula node. Some other general cleaning up also done to make it easier to read.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
serial read.png 80 KB -
Read serial number in badi MB_MIGO_ITEM_BADI
Dear all,
I'm trying to read the serial number in the method item_modify for a MIGO.
The structure which can be read in this BADI doesn 't contain the serial number. I searched on the forum, but doesn 't find some guidance. Someone who can help me ?
thnx in advance !Hi Bjorn,
I'm trying to do the same, which is to modify the serial number that was auto populated, you achieved this via an additional tab?
Regards,
Neesha -
Appraisal Template Appraiser and Appraisee Name Format
I am using the Text Replacement BAdi 'Name of Appraiser and Appraisee'. This BAdi uses the variable &1 for Appraiser and &2 for Appraisee. My issue is the format it displays Last Name, First Name. Within IMG under Personel Data there is a Name Format that creates format options. The option to change the name format for specific programs I am assuming would be where I could change the format to be First Name Last Name format. My question is what would be the program name for Performance Management within the portal? That is where I would like to change the format is in my portal. Thanks.
Edited by: Mary Jo Wartner on Mar 25, 2010 9:30 PM
Edited by: Mary Jo Wartner on Mar 26, 2010 4:12 PMHi Nandy,
As I understood you would appraisal items come from position requirements. If this is the case and If you go in standard way by adding requirements to your position you can use "Fixed enhancement" in "Dynamic Settings" section. The name of BADI is "HRHAP00_ENHANCE_FIX" otherwise you should develop your own code and use it through "Free enhancement"
Regards,
Omid -
How to read a variable within a VC code. I am using BADI based VC code.
How to read a variable within a VC code. I am using BADI based VC code.
Lets say I have a variable for a fiscal period that holds cumulative month.
If user enters 03/2014 in that variable, it will have month starting from Jan till March.
Within VC code I would like to read the last month which is
03/2014 and based on this month I would like to do some calculation on all the records using the last month.
Since VC code runs for one record at a time and there is no way I can store this value.
Is there a way to go about it....any suggestions would be of great help.
Thanks.Any suggestions would be highly appreciated.
Thanks! -
Performance Management EHP4 Flexible Appraisal Process
Hi
We are in the process of building Performance Management using Enhancement Package 4 in ECC 6.0 in our test system. We have activiated flexible appraisal process and have completed the necessary config for ESS and MSS and appraisal template.
The MSS user can create the appraisal and define the objectives etc. The ESS user can view the appraisal but cannot add comments. On checking the appraisal template we have created a criteria for employee comments and an element called additional comments the tab 'element access' has been marked against the employee as follows:
Participant = Employee
Plan:Access = Change
Review Access = Change
Completed = Display
So we do not know why the ESS user cannot add comments.
Can anyone help on this issue?
Many thanks
JulieMany thanks for this - we have checked the template level and have the column access for column 'objectives' (which is what is used at element level for appraisee comments) and if we change the column owner to 'appriaser and appraisee' it works for the appraisee but not for the appraiser. So we have a choice either it is set to appraiser and it works fine for the manager or we change it to appraisee and appraiser and it works fine for the ESS user.
Perhaps there is something else we need to check? -
Hi
Friends can any one tell me pls , is there any table stores Appraisal Id and Personal number with
( Appraisee and Appraiser name ) ? i got HRHAP table but it don't show any values ...
My req is in my selection screen user will enter personal number and Apprisal ID and i have to create
Apprisal template for this employee and at last i have to display these all details with ( appraisee and appraiser name and number )
Pls share your input on this.
Regards
MeetaHi
On the screen am using this F4 help to get Appraisal_ID ,
but once user select any one it is coming as just 8 digit objid then how i can compair this objid with tables like HRHAP ,
HRHAP_APPER
HRHAP_APPEE in these all three its come as long string... pls help me to resolve this..
pchplvar TYPE plvar ,
lt_templates TYPE hap_t_templates,
lw_template TYPE objec.
PARAMETERS: template TYPE hap_template_id.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR template.
CALL FUNCTION 'HRHAP_POPUP_F4_TEMPLATE'
EXPORTING
add_on_application = 'PA'
plan_version = pchplvar
IMPORTING
t_templates = lt_templates.
READ TABLE lt_templates INTO lw_template
INDEX 1.
IF sy-subrc EQ 0.
template = lw_template-objid.
ENDIF.
Regards
Meeta -
Smsy "Read System Number" customer number unknown for installation
Hi gurus,
I 'm configuring SMSY and following the steps outlined in the IMG in the basic settings and trying to configure RFC connections to/from satellite systems. In SMSY, I have 2 systems configured SMA and BIF.
tcode SMSY-> Systems -> SAP ERP -> SMA , Tab "System Data in SAP Support Portal".
Click "Read System Number" returns error SAP customer number unknown for installation number 0020179718. <-Why?
Click "Installation Data" shows data from SMP with correct installation number and correct customer number 706822.
The S-user listed under "Contact Persons" is not mine, not the correct one. <- Why? How to fix?
The system number from SMP matches value in System Number field.
Click "System Data" shows data from SMP also shows correct data.
Why unable to "Read System Number" when the correct system number is read via "Installation Data" and "System Data"?
tcode SMSY->Systems->SAP ECC->BIF, Tab "System Data in SAP Support Portal".
Click "Read System Number" returns error "SAP customer number unknown for installation number 0020472810". <- Why?
Click "Installation Data" shows data from SMP with correct installation number and correct customer number 706822.
The S-user listed under "Contact Persons" is correct one.
The system number from SMP matches value in System Number field.
Click "System Data" shows data from SMP also shows correct data.
Why unable to read system number?
When I login to SMP with same S-user, under System Data Maintenance, the same data is displayed as in "Installation Data" and "System Data" links.I don't know what happened. I came into work today and tested the "Read System Number" and it worked. I read thru the 2 notes you mentioned, just read now. The first notes I had already followed before opening this thread. The 2nd notes also talked about turning off BAdI implementation AI_SDK_SP_RFC_RP, of which I did a couple of days ago before opening this thread. I had turned turned off BAdI and simplified the AISUSER table and removed the customer number field, in order to get back to the "single-user number" basic setup in the IMG.
I had found the problem with the wrong contact info on the SMA system. It was wrong in the SMP system maintenance under installation data.
Thanks for your help.
-Don. -
Flexible appraisal processes & predefined Performance Management process.
Good Night.
What is the diference between Flexible appraisal processes & predefined Performance Management process and in what case i have that use it?
Kind Regards-Hi Juan,
Flexible Appraisal Porcess- As the name suggest you have the flexibilty to design your apparisal templates using the functionalities provided by SAP.
For eample: Using transaction PHAP_Catalog_PA or OOAM, you can design your apparsail template.
Predefined Appraisal Template: Again as the name suggest, SAP has pre-designed the strucure for defining the appraisal template. After clicking on the tab for Predefined appraisal process in IMG node, you will follow the number of screens in sequece.
Excellent material is available on SAP Servicemarketplace for Performance Appraisal in EHP4. Please check the link below:
https://websmp109.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000687484&
Thanks!
Best Regards,
Chetan -
How to remove leading zeros for an item number within quickviewer
how to remove leading zeros for an item number within quickviewer. Pls help
ask your abap guy to do it. not portal guys business.
-
Magic number mismatch: bad mzip file in 3750 stack switch
Hi All can anybody help me in this error msg
"magic number mismatch: bad mzip file"
I am trying to upgrade the switch with"c3750e-ipbasek9-tar.122-55.SE5.tar" in 3750 stack switch it is showing this error msg while booting
thanks in advanceHi,
The reason you are getting this error message on the switch is a corrupt or wrong IOS image "c3750e-ipbasek9-tar.122-55.SE5.tar".
If the switch is in rommon mode, and you have any other image in the switch, boot it using that image. Once the switch is up, download and copy the correct IOS image once again on the switch and try to upgrade.
If you need help in finding the correct IOS image, give me the exact switch model number, i will help you with that.
But forsure the image is wrong or corrupt and that is why you are getting this error.
Thanks
Ankur
"Please rate the post if found useful" -
Predefined appraisal process and flexible appraisal process
Hello
I read the new presentation about the New in Performance Management (SAP enhancement package 4
For SAP ERP 6.0) I don't understand the connection between predefined appraisal process and flexible appraisal process.
Can I use these 2 processes together?
Is the new "Predefined Performance Management Process: Calibration" work with flexible appraisal process or this is 2 different system and process?
For example This process of predefined appraisal compare "final appraisal" of workers. Where this "final appraisal" is stored . In which question of the appraisal form ?
In the presentation Sap wrote "Team calibration based on overall appraisal". What is "overall appraisal" in terms of appraisal form ?Hi,
so to answer your questions:
Can I use these 2 processes together?
No these are 2 different functionalities. The reason they were delivered at the same time is because they are using the same technology (web dynpro)
Thus the 'calibration' which is designed for Predefined does not exist for Flexibe.
So with EHP4 SAp delivered the new Predefined functionality
and the Flexible which is basically the same functionality as before but using web dynpro instead of BSP page.
Regarding "Team calibration based on overall appraisal". This functionality allows manager to compare the individual appraisal documents of the employees that reports to him.
You can find some more information on these fucntionalities in SAP help link below
http://help.sap.com/erp2005_ehp_04/helpdata/en/cd/dae8a24ab011d18a0f0000e816ae6e/frameset.htm
Hope this help
Sarah -
Hi guys/gals,
Im looking to be able to find a number (any number) within a text string, what i ultimately want to do is crop the number out of the string to just be left with a number value, the only problem is the string could be any length and the number doesnt necessarily start at any point from the last character
I have items on the stage named 'image0', 'textfield2', 'button500' etc, as you can see the prefix before the number isnt a fixed length so I couldnt use substr and set an index, and since the number could be any number i couldnt set the index as a certain value before the end of the string. (ie it might return '500' or 'ld2' or 'ge0' in the examples given before)
I was looking into how to use IndexOf, but I dont really know how to make it so that it finds any number rather than a specific one
can anyone help me out?
ThanksOne way to do this is by using regular expressions. In the example below, the str string has anything that is not a number removed.
var str:String = "button500";
var regex:RegExp = /\D/g; // matches anything that is not a digit
var numStr:String = str.replace(regex, "");
trace(numStr); -
Random number within TWO ranges
Is there anyway to select a random number within TWO ranges ? For example, a random number between the range (10 to 50) OR (100 to 200).
Thank you !This is a simple class that produces a number between a range:
class RandomRange
static java.util.Random random= new java.util.Random();
* Return an int between n1 and n2
static int getIntBetween(int n1, int n2) // n2 must be greater than n1 or n2-n1 must be positive
// get random number between 0 and the range(n2 - n1)
int result= random.nextInt(n2- n1);
// plus the offset
result += n1;
return result;
// return random.nextInt(n2 - n1) + n1;
// the result is n2 exclusive, to make it inclusive return (result + 1)
* Return a double between d1 and d2
static double getDoubleBetween(double d1, double d2)
return random.nextDouble()*(d2 - d1) + d1;
// d1 and d2 can be any value
* Return a float between f1 and f2
static float getFloatBetween(float f1, float f2)
// similar
}---------------------------------- -
HT1349 my iphone imei number is bad
my iphone imei number is bad is there a way to bypass this or next question is there a way to set iphone with out active sim card
No. If they can't recover it at https://iforgot.apple.com it's useless. It's likely the phone is stolen.
Maybe you are looking for
-
Error in File-RFC-File Without BPM
Hi, We are following this wiki [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)] and we are getting Error: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error in sender
-
Hi, F.52 running succesfully for a GL(Recon) for all profit centers. When I am using for a selected profit center interest is coming wrong 'cos report is taking balance carryforward for all profit center not for the selected one. Any suggestion. Than
-
Qosmio G10: Monitor completely blacked out
Hello! I have this problem with my Qosmio G10, I turn on the laptop, the fan makes a high noise and finally it logs in Windows. Meanwhile, i cannot see what's happening, because the screen is blacked out. I just hear the sound for the Windows log on.
-
After Effects error: invalid filter (25::3)
Someone reported this error when using my plug-in on a Mac. It works fine on my Mac and on many others, but reports this error on his system. My globalsetup code gets called and works fine, but AE reports this error. Any ideas?
-
Approach Composite application: sales
Hi everyone, I'm doing my thesis on Enterprise SOA for college and building a composite application using CE 7.2: BPM, BRM, Web Dynpro JAVA. I was hoping to get your thoughts on my approach to see if it is realistic. It will be an application that ha