HR_READ_INFTY
Hi,
Can you just tell me the difference between
HR_READ_INFOTYPE and
RP_READ_INFOTYPE.
Thanks,
satya
Hi,
HR_READ_INFOTYPE is a Function Module.
Without Using LDB we can use this function module.
HR_READ_INFOTYPE will always return to the structure definition, not the infotype table definition.
call function 'HR_READ_INFOTYPE'
exporting
TCLAS = 'A'
pernr = person
infty = '0002'
begda = begdat
endda = enddat
importing
subrc = return
tables
infty_tab = p0002
exceptions
infty_not_found = 1
others = 2.
RP_READ_INFOTYPE is a macro .
Use Of LDN is Compulsery
All infotype records for one person in a given time period are put in one internal infotype table (defined by means of the programming language declaration INFOTYPES).
RP_READ_INFOTYPE pernr infty inftytab beg end
Input Parameters :
pernr :Personnel number of the person requested
infty : Infotype number of the infotype requested
inftytab :Name of the internal infotype table
beg :Validity start date of the time interval
end :Validity end date of the time interval
Outputs:
PNP-SW-FOUND = 0, if there is no matching record in the dataset
PNP-SW-FOUND = 1, if there is at least one matching record in the dataset
PNP-SW-AUTH-SKIPPED-RECORD = 0, if the HR authorization check has retained no record due to lack of authorization
PNP-SW-AUTH-SKIPPED-RECORD = 1, if the HR authorization check has retained at least one record due to lack of authorization
internal infotype table, containing all matching records for which the user is authorized (this table can also be empty).
Thanks & Regards.
Shiva vs.
Similar Messages
-
ABAP-HR, Organization managemnt function module
Hi friends,
In ABAP-HR, i want all function modules we use regularly or hardly.
Thanks&Regards,
Shiva PrasadCertain function modules which work with PA infotypes are HR_READ_INFTY and HR_INFOTYPE_OPERATION.
Function modules which work with PP infotypes you can find by selecting using
RH_READ_INFTY_*
Some function groups used in HR are given below.
RPAI HR: Analysis from Infotypes
RPBS HR Error Processing
HRGL Read leave data
HRTIM00WORK-SCHED-CONVERT Replacement Modules for Func. Group RPTM
RPTM H
HRPAY99_OC New off-cycle functions
HRTIM00ACTUALTIMES Calculation of Actual Personnel Times
PA03 HR: Read personnel control record (PA03)
CAPP Time Sheet: Approval
APPL Business Object Applicant
VAP1 Concerns Applicant
HRP3 Module for feature tree maintenance
HRXSS_CAT_WEBDYNP Web Dynpro: RFC
RPAT Data transfer and interfaces
RHOV HR-CA Utilities for Vacancies
PAPL HR applicant data workflow
RPAP_WORDPROCESSOR Interface Between PA-RC and MS Word
RPAP_DATA_MINING Data Collection PA-RC Letters
HRCM Compensation Management
RHBY_2 Integration Switches
HRTC HR-CA: Account Assignment Block/Check
PARA Annual salary functionality (ANSAL)
RPCA Function Modules for CATT Procedures
PTWS HR-TIM: Personal Work Schedule
PDSU Connection to SAP Structural Graphics
Regards,
Aravind -
Modifying SPRPS field in an infotype record
Hi experts,
I have a requirement in which i need to modify the lock indicator value of an existing 2001 infotype record. That is, initially when a record is created, i need to update the lock inidicator field as 'X'. Then after few approvals, i need to read the same recoed from infotype 2001 and need to modify the lock indicator with blank. Can the same requirement be achieved using HR_INFOTYPE_OPERATION ?
Is it possible to modify the SPRPS field with the value blank ' ' using HR_INFOTYPE_OPERATION'?
Regards,
ShanthiYes it is. All you need is to provide correct key fields of the record vis this FM exporting parameters and for record parameter pass structure for the record with all the target data (new data for the record).
So basically the structure will hold all the information as it is right now + field SPRPS with changed value. To ensure you provide correct data, you can first read appropriate record entry with HR_READ_INFTY -> get required entry from result list -> then change only field SPRPS and pass it back to HR_INFOTYPE_OPERATION on input.
Please refer http://www.sapdev.co.uk/fmodules/fms_HR_INFOTYPE_OPERATION.htm.
Regards
Marcin
Maybe you are looking for
-
I removed some files ... and now ...
I have had a few adventures with my Mac during the last year. Basically - do it like in the textbook! I happened to want to change my Main account, because of much "garbage" lieing around. So, after a few nice tips, I just did that. Mail, Files and w
-
Flash Player not working on website
I have been getting complaints that my flash videos on http://www.lakefishingtechniques.com are not working right on safari moble. How can I correct this?
-
Dear Sir Inspetion is active for material type ROH.UD is made for inspection lot and stock is transferred to UR.After that due to some problem , we want to camcell the GRN.So again stock is taken back to QI by activating inspection type 08.Then also
-
I have an application that I want to be able to enter a guided procedure process at the exact step that the user left off from. This would be similar to clicking on an activity in the user's universal worklist. I am going to have a view created wit
-
Forms are working as far as calling the thank you page, but the content from the form is not being emailed to the recipient. Can anyone tell me what to do please. Here's a link: http://www.multi-craft.com/contact_us/contact_us.html THANKS!