Hr infotype handling
Hi All,
I have a problem regarding HR I nfotypes.Actually someone deleted the absence quota (infotype 2006) for some employees from sap.Now our project manager wants the log of last month to see which user deleted the record.
I m uses the following procedure :
There is a program RPUAUD00 provided by SAP which allows us to see any changes that happens to data in an infotype through add / modify / delete. When you execute this this program and specify the employee code and infotype in the selection screen, it gives us details of when the data was changed, who changed the data and what data was changed in a particular infotype.
I GET THE DETAILS REGARDING OTHER INFOTYPES LIKE 0007,0001 ETC.But not be able to find the log for infotype 2006 (for absense quota).
Kindly tell me other solution if any or any document related to HR infotype handling.
regards,
Amit
your best bet would be the person who created the dynamic action.. usually the functional analyst.. you can take a look at the entries in v_t588z via SM30/31.Once you display the entires, an F1 on each field on the screen will tell you what it is for & F4 will give you the possible options..
~Suresh
Similar Messages
-
Create Custom Infotype and handle Modification/Updation
Hi All,
I need to create a custom infotype and handle few checks while creating/updating the existing one.
I have gone through the existing threads and have figured out the creation part.
Could anyone tell me where i need to code the checks while creating/updating.
I tried editing the PBO/PAI of the Module pool program, but as its standard, is asking for access key. Do we need to code this in any userexit or implement BADI.
For example,
a) i need to check that only one instance of the infotype should be valid for an
employee at a time
b) This infotype should be created for only Employees and not contingent workers.
c) Few fields on the body section needs to be updated/modified.
Thanks and Regards
Manish.You can use the IN_UPDATE or AFTER_INPUT Methods of the BAdI HRPAD00INFTY to perform your validations.
Arya -
How to handle pay scale tables in infotype 0008?
Hi friends,
I have 2 questions:
1) What's the difference between "Pay Scale Groups And Levels" (view v_t510) and "Pay Grades And Levels" (view v_t710). And In which case apply each one?.
2) I have a pay scale table with differents levels, for each level i have a minimun and maximun salary. I think i can handle this by using "pay grades and levels", but in the infotype 8 in the pay scale data i indicate the type, the area, and when i going to select the group the search help displays the values of the "pay scale groups and levels" and i would like to know how to display the "pay grades and levels" instead of the displayed currently?.
Thanks in advance,
Albio Vivas.-1. Pay scales - > These are used when you have logical step increases in employee's salary. Fixed increases that can be defined in configuration. These are good, becuase they are easily maintained through configuration and standard programs update the employee master data for you.
Pay grades - > These are used when you do not have fixed compensation for employees and need a salary range to go by, so you use these are a range.
2. As for manipulating whether an employee used a scale or a grade list on info type 8 is dictated by feature TARIF located in transaction PE03.
thanks.
JB -
HCM process & Forms - Need logic to handle the Error's when Infotype Update
Hi Experts,
Currently im working with HCM process and forms workflow's. I have ten HCM workflow's and everything is working fine.
Now the issue is, at the time of save, if there is any error like infotype lock or any other Master data error's, then the standard task responsible for save the data, returns the Status as Error.
Already the approval process for the request is carried out, and it can not be make it again. So I need to save the data without re execution of the process or without re-approval.
I searched in standard workflow also. There is no option to handle the Infotype update Error's.
So can any one give me some hint about this? Without the re-initiation i need to save the data's.
Thanks for your time and Suggestions.If you are using the framework to update specific infotypes and they are locked for "no apparent" reason you'll want to open an SAP message. I would highly discourage you from going down the path of calling that FM, from within workflow no less. Workflow in the framework was not intended to do such operations, this is supposed to be handled in the decoupled infotype framework (through configuration)... not to mention you won't be using the dec. infty framework by calling that function.
While I've had to do this before, it was because of a limitation in the framework not something as trivial as a locked infotype. Who knows, it might actually be locked for a legitimate reason?
Andy -
How to handle two operations on same infotype in SAP_PA backend service?
I have a requirement where I need to design the process either create or change the record of a child in infotype 0021.
The SAP_PA does not allow multiple operations on same infotype. It would be great if someone can give me an idea as to how this scenario can be handled.Hi,
You can add the following code in on approve method to show popup to the user,
IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
REFRESH lt_buttons.
lss_button-id = 'btnyes'.
lss_button-text = 'YES'.
lss_button-on_click = 'YES'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
lss_button-id = 'btnno'.
lss_button-text = 'NO'.
lss_button-on_click = 'NO'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = 'ATTENTION'
iv_text = 'Are you sure you want to edit this document?'
iv_btncombination = '99'
iv_custombuttons = lt_buttons
RECEIVING
rv_result = req_edit.
req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
req_edit->open( ).
RETURN.
ELSE.
lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
lv_outbound = lr_node->get_event_name( ).
* CLEAR ptc_pricing_status.
* lv_outbound = req_edit->get_fired_outbound_plug( ).
IF lv_outbound = 'YES'.
you can use the submit report code here and you can al the validations here
ELSE. " No
if user clicks no nothing to do..
ENDIF.
CLEAR req_edit.
ENDIF.
Best Regards,
Dharmakasi. -
Infotype 5 to 2006 conversion - Handling retro updates to absence record
Greetings,
My query is related to IT 5 to IT 2006 conversion and the required configuration to correctly update the quota balance for past dated changes to absence hours.
The scenario:
Infotype 5 is converted to 2006 effective 01.01.2009 and the remaining entitlement balance is transfered to quota IT. An absence record which is prior to 01.01.2009 is then changed to correct the hours (say from 8 to 4). In such a case the desired result is: addition of 4 hours to quota (in IT 2006). However, this does not happen. We have simulated the scenario. Neither IT 5 nor IT 2006 is updated.
Kindly help with approaches we could take.
There are a large number of absences having complex user exits. Creating new absence is therefore not suitable. We have considered options such as updating through absence user exit or populating PTQUODED during conversion. Looking for an optimal solution.
Thanks for help.Hi,
Please check the below program, which might be helpful for you.
RPTLEACONV - Transfer of Remaining Leave from infotype 0005 to infotype 2006.
Regards
Team Member. -
Handling for un-authorize access to infotype
I am calling function module to add the record in info type, i want to set a returncode if user is not authorized to access infotype
but nothing has come in wa_return even the infotype is not getting updated
data: wa_return type bapiret1.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9077'
number = wa_p9077-pernr
validityend = wa_p9077-endda
validitybegin = wa_p9077-begda
record = wa_p9077
operation = 'INS'
IMPORTING
return = wa_return.
please guideThis forum is for Web Dynpro ABAP directly related questions only. This question has no relation to Web Dynpro ABAP. Locking thread.
-
Hi Masters,
Can you please let me know the perfect reason for infotypes concept in HR-ABAP.
1 Why we are using infotypes and exactly what is purpose?
2.Why we are using LDB's why cannot we extract data directly from database tables?
3.Can you please give me clear explanations about these infotypes.Hi
Infotype(s) are used in the Personnel Management (PA) module primarily. This is where personnel master data is stored. Data is grouped according to subject matter. The Human Resources component aims to enable the user to process employee data in an effective structure in accordance with business requirements. The data structure of infotypes mirrors a logical set of data records. Infotypes can be identified by their four-digit keys, for example, the Addresses infotype (0006). To facilitate reporting on past employee data, infotypes can be saved for specific periods.
Some people use the term HR ABAP to describe the method of managing the infotype data. Typically HR logical databases are used which offers more secure methods of accessing the infotype data. Once the infotypes are declared, you can use standard macros to access the data. Table TRMAC holds the macro name and the code behind it. This makes developing HR programs much quicker and easy to turn around.
HR uses INFOTYPES instead of tables.
There are different sub modules exist in HR.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/bb/bdb041575911d189240000e8323d3a/frameset.htm
see this link you would get information about types of infotypes
Logical databases are special ABAP programs that retrieve data and make it available toapplication programs. The most common use of logical databases is still to read data fromdatabase tables by linkin them to executable ABAP programs.
Logical databases contain Open SQL statements that read data from the database.You do not therefore need to use SQL in your own programs. The logical database reads theprogram, stores them in the program if necessary, and then passes them line by line to theapplication program or the function module LDB_PROCESS using an interface work area .
For further info
check link http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
1. A logical database is in fact
a program only.
2. This LDB provides two main things :
a) a pre-defined selection screen
which handles all user inputs and validations
b) pre defined set of data
based upon the user selection.
3. So we dont have to worry about from
which tables to fetch data.
4. Moreover, this LDB Program,
handles all user-authorisations
and is efficient in all respects.
5. tcode is SLDB.
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
<b>REward fi suefull</b> -
Issue in radio button group in module pool in infotype creation
Hi,
I have a custom infotype,where there are six radio buttons belonging to same group for different mode of payment.Issue is when user clicks a radiobutton,a subscreen opens .there are six different subscreens when user clicks on each of the six radio buttons.
Requirement is when user clicks one button ,one subscreen opens but the other radio buttons(whcih are eligible to be open) gets disabled .I have tried to handle the issue manually through coding ,but i think the issue is with the radiobutton grouping.
How to make the other radio buttons open for input even when the user has clicked on one button and the subscreen opens corresponding to the screen so that the imemediately ther user clicks on another radio button and get the corresponding subscreen opened for him.Pls advise.I have written a custom module in PBO section of my custom infotype.There i have written this code:-
LOOP AT SCREEN.
READ TABLE fp_it_payment_opt_open INTO wa_payment_opt_open WITH KEY scrname = screen-name.
IF sy-subrc = 0.
screen-input = c_input_on.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
The internal table it_payment_opt contains all the radio buttons and checkboxes and is populated when the radio buttons and checkboxes are turned input on while modifying the screen depending upon course of my price and personnel subarea.
While calling subscreen area in PBO,the radiobuttons get into a state of input-off automatically.so i have written a z-module after
the module hidden_data .
PROCESS BEFORE OUTPUT.
general infotype-independent operations
MODULE before_output.
CALL SUBSCREEN subscreen_empl INCLUDING empl_prog empl_dynnr.
CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
infotype specific operations
MODULE p9300.
CALL SUBSCREEN subscreen_area INCLUDING subscr_prog subscr_dynnr.
MODULE hidden_data.
module z_open_paymnt_optns.
My problem has been solved ,hence am closing the thread.Thanks to all of you. -
How to know the Infotype of a wage type and table ARRRS trigering ?
Dear SAP-HR experts .
I am bit confused in one thing , a wage type named 4EW2 (It is Emp welfare fund)
It is deduction wage type .
(a.) How can i know that in which Infotype this wage will appear .
I tried IT-14 / 15 but it is not there .
(b.)When i see the clusters it is appearing in table ARRRS and DDNTK .
When this table will trigger in payroll run . ?
Thanks & Regards : rajneeshHi,
Please check the table v_t512z if you want to check the wagetype that in which infotype it will belong.
2. ARRRS Triggers whenever there is a insufficent funds left in your gross after deducting the staturary deduction, then based on the characterstic of wage type amount will be send to arrears Table. so that it will be deducted in the next pay period.
Diffrence between ARREARS and DDNTK is :-
If amount goes to ARREARS Table then it will be deducted on the next pay period based on buiness logic to handle the arrears.
if amount goes to DDNTK which means deduction not taken then for that particular pay period this deduction is not taken and should not be consider is fututre pay period also.
Hope this would help you.
Thanks,
Amar -
Problem related to error handling in Proxy for Inbound
Hi All,
I have a requirement to process the inbound interface , which internally updates the HR Infotypes.
I need to handle all possible erorrs and store it in the custom table.
Can anyone please guide, as to how to catch the errors and wht type of errors can be there.
How to do that?
Any help will be gr8.
Regards,
HeenaHi Heena,
the thread has been moved to ERP - Payroll as the application experts my be able to provide the list of error codes.
Regards
Kenny Scott
XI/PI Forum Moderator -
HR ABAP How to Write BDC For Infotype 0586
Hi Experts
Can Any One tell me how to write BDC for Infotype 0586 and also 585.
If we enter into the maintaining Screen, the lines in the Screen will dynamically changing depending on the values.
When I am doing recording , If I press page down after entering values in top lines, the lines are changing and the records are not updating Correctly.
I need to write BDC to Create Change.
Can any one please help me in this regard?
Thanks in Advance.
Regards
Avinash.http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://www.google.co.in/search?hl=en&q=SAPBDCtable+control&meta=
http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm -
How to Handle Dynamic actions in batch mode???
Hello Experts,
We have a requirement where we need to automate PA40. The data would be sent in csv file and we need to perform the required steps to insert data into Infotypes.
The issue is in batch mode (background mode), the dynamic actions wouldn't be called and the business wants the dynamic actions to be considered as well.
Pls let me know if there is any way we can interpret the dynamic actions dynamically; meaning the prog should be able to handle the newly created dynamic actions as well.
Any pointers to this are highly appreciated.
Regards
RKHi.
As far as i know, the limitation comes from the BDC execution itself, it doesn't really matter whether the execution is online or in batch mode.
* dynamische Massnahme
IF sy-binpt EQ space.
* befinden wir uns im ALE-Eingang ?
CLEAR: ale_flag. "XFYAHRK063273
call function 'RHAP_ALE_FLG_GET' "XFYAHRK063273
importing "XFYAHRK063273
ale_flg = ale_flag. "XFYAHRK063273
IF ale_flag IS INITIAL. "XFYAHRK063273
IF pspar-vinft NE space. "infotype view "XYLPH9K007065
PERFORM dyn_measure IN PROGRAM (view_repid). "XYLPH9K007065
ELSE. "XYLPH9K007065
PERFORM dyn_measure.
ENDIF. "XYLPH9K007065
PERFORM process_m
One thing you could try to do to avoid this and get the dynamic measures executed is to use the NOBINPT variable of the OPTIONS structure in CALL TRANSACTION
DATA opt TYPE ctu_params.
opt-dismode = 'A'.
opt-nobinpt = 'X'.
CALL TRANSACTION 'PA30' USING bdcdata OPTIONS FROM opt.
PERFORM close_group. -
hello gurus,
I seen one post on how to handle popups.
the post is like this...
Many times in transaction pop-up screen appers and for this screen you dont pass any record but some indication to system telling it to proceed further.
For example u have a screen (pop up) with YES, NO Buttons on it.
To handle such screen, system has provided a variable called BDC_CURSOR. we pass this variable to BDC_DATA and process the screen.
Usually such screen appers in many transactions, in this you are just passing information that YES you want to save the information, that means YES should be clicked. so you are transferring the information to BDCDATA i.e., field name of YES, which is usually SPOP_option. Instead of BDC_OKCODE. you are passing BDC_CURSOR.
please kindly explain me how to handle the pop screens in detail if possible send me a sample code, pleaseHi Ashok,
I checked transaction PA40, but I am not getting any pop up message. Have you done the recording for PA40 in SHDB? I think in recording, you just need to press enter if any pop up comes. One more suggestion, instead of BDC, a function module ''HR_INFOTYPE_OPERATION' can be used for HR infotype update. I have used the same FM forinfotype 0017( travel privileges) update.
Regards,
Pranjali -
LSMW - How to handle delimited records?
Greetings everyone,
I want to change infotype records with LSMW. I've done this with the use of a batch input recording.
This works, but only when the record is not delimited. Otherwise, the first record is modified but an error is given for subsequent records saying no batch input could be found.
I don't know how to handle this problem. Can anyone please help me?The txt file is tab delimited but that is not the problem.
I'm talking about another kind of delimit
The problem lies with the database records that I want to change. This works, but the moment the infotype record is delimited (or split), the recording isn't valid anymore (because it doesn't expect another screen).
So then I get an error saying no batch input can be found, and it skips the record(s) and continues with the next pernr.
Maybe you are looking for
-
Neither drive has enough room to consolidate the entire library. And over time (for reasons I just chalk up to the Acer being a bad computer), I've inadvertently created multiple "libraries". After everything went missing somehow a couple of years
-
DYNPRO_SEND_IN_BACKGROUND errors in source system
Hi All, Yesterday night we kicked DELTA Process Chain. The PC failed While loading the 0GL_ACCOUNT Attributes, and showing the message Errors in Source System. and also Failed at Cost Element Attributes but both the error messages are same. Checked t
-
Nokia Ovi Mail Not Working In C3-00
I had purchased Nokia C3 last month and updated it to the latest version and using it very well but all of a sudden 2 days back Nokia Ovi mail is not working whenever i start it and ry to open any of my accoun (gmail.hotmail,ovi) it keeps on loading
-
Problems/Q​uestions with BB Q10
Hi Guys I have some problems with my BB Q10... I'm from Switzerland and my English is not perfect, so i hope you understand everything and you can help me. First: The BB Q10 ist be configured with the ActiveSync for Mails, Contacts and Calender with
-
XMLBeans - Regarding "HAS A" relation
Hi, I am new to XMLBeans and using the same for converting JavaBeans to XML. I do have some exposure to JAXB. I am planning to use XMLBeans in place of JAXB. I could not find few answers in the Internet. Please do help me on the below query: As Menti