‎2007 Mar 02 10:50 AM
‎2007 Mar 02 10:53 AM
Hi,
What do you mean by Deep Structure?
We use Clusters like PCL1,2,3, and PCL4 in payroll processing and also uses ORT,RT,IT and OT internal tables apart from other CD clusters.
Be clear in the question.
Regards,
Anji
‎2007 Mar 02 11:04 AM
Hi what is ORT and OT ?
do we use Repeate structure for payroll calculation.
‎2007 Mar 02 11:13 AM
Check this link -
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/4f/d528ff575e11d189270000e8322f96/frameset.htm">Clusters</a>
What you are saying as deep strructures are actually the clusters in payroll.
Check report RPCLSTRU to vies the results through clusters.
Regards,
Amit
Reward all helpful replies.
‎2007 Mar 02 11:25 AM
Hi Vamsi,
Have a look at this structure <b>"PAY99_RESULT"</b>.
It is a deep structure... now if you have to read RT table i.e. the Result Table it means....
The RT will be in the deep structure of PAY99_RESULT.
Therefor you need a struture of type PAY99_RESULT
DATA current TYPE pay99_result.
Current is of type PAY99_RESULT which has RT table within Inter-rt.
So you can declare one more line type of current as.
DATA inter-rt LIKE LINE OF wa_current-inter-rt.you may get the results in current using FM <b>PYXX_READ_PAYROLL_RESULT</b> and then you may use
READ TABLE wa_current-inter-rt INTO inter_rt
WITH KEY lgart = 'XXXX'.Now you got the Result table in WorkArea in inter_rt for a particular Wagetype.
Hope this will help you.
~Bhawanidutt.