on 09-30-2008 1:50 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For HR_READ_INFOTYPE there is enough document in se37>HR_READ_INFOTYPE >function module documentation read this.
and RP_READ_INFOTYPE FM is wrong it should be as
RP-READ-INFOTYPE and it is a macro.which is used to read data from any infotype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HR_READ_INFOTYPE
above one is function module to read infotype
RP_READ_INFOTYPE.
i belvie this must be RP_PROVIDE_READ_INFOTYPE
This is a macro to read infotype
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.