on 04-19-2007 3:11 PM
Hr data is processed only with infotypes only. why don't process hr data with internal tables????????
>>Hr data is processed only with infotypes only.
That is how the HR system is designed in SAP.. I remember reading a while ago, that the HR-module wasn't originally part of the core SAP. They acquired a HR solutions Company & integrated it into SAP..that is the story of the INfotypes concept in SAP -HR.
>>why don't process hr data with internal tables????????
Who said NO.. when you declare an infotype with the Infotypes statement, in effect you are declaring an itab ie
Infotypes: 0001 will let you use the itab p0001 during the runtime of the Program.
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is a matter of choice.. there is always more then one way of doing things.. what is the right approach depends on the actual reqt.. Yes, you could declare with the Table statement & get the same result.. but would have to put explicit authn checks when doing a direct db read.. ie SELECT * from PA0001 etc..
~Suresh
Hi there. You use the infotypes statement when you are also using a logical database like PNP. Then in your program you can use the statement GET PERNR, which will fill the infotype tables for the associated person. You can then use macros like rp_provide_from_last to get information for the infotypes that you have declared in your INFOTYPES statement.
- April King
> They acquired
> a HR solutions Company & integrated it into SAP..that
> is the story of the INfotypes concept in SAP -HR.
Sorry Suresh, that's simply nonsense.
HR was already part of R/2 and under the development of SAPs Founder Klaus Tschira (some of his code might still be out there in the system).
INFOTYPES is a simple and elegant way to get rid of the burden to do the follwoing thigs correct:
1. Authority check
2. Time logic
That's why there is a Logical Database that does just this for you. These two things take several thousand lines to get it correct. Using the LDB reduces the effort for each developer dramatically. And this is the real reason.
Regards,
Michael
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.