cancel
Showing results for 
Search instead for 
Did you mean: 

Why the Orgunit from Orgstructure not beeing called in Get Pernr

Former Member
0 Kudos

Dear Freinds

Iam using the logical database PNP for my payroll repot. So i have modified

the selection screen and keppt only

a) paroll area,

b) otherperiod and current period

c) organizational unit.

My intention is to read all the orgunits throught function module RH_STRUC_GET

.

So when i said f4 on orgunit field normall we will get the OrgStrucutre popup,

from that popup i have select the topmost (i.e very first orgunit) .......when i executed

for the other period 01 2007 (means april 2007 i.e 01.04.2007 to 30.04.2007)

02 2007, 032007,04,2007,05,2007 & 062007 it is not even triggered GET PERNR.

however from 072007 to 122007( october2007 to march2008)getpernr it is getting triggered,

My question why is this happening iam not able to find in debugging , does the payroll area not in the periiod ?? or is this any thing like that please let me know iam not able to find ...........atleast give me some clue so that i can check in that aspect.

Please help me freinds as this has been struc .......as this more imp for my FO

Regards

syamla

Accepted Solutions (0)

Answers (1)

Answers (1)

McF
Advisor
Advisor
0 Kudos

Hi Syamala,

I do not quite understand what you want to do.

<i>My intention is to read all the orgunits throught function module RH_STRUC_GET

</i>

The normal flow is that PERNR are rtrieved based on selection criterias. THats what the selection part of a report is for.

THe field ORGEH is the field stored in IT0001, no structural evaluation. If you want to process all PERNR under one Orgunit reachable with path O-S-P simply use the Pushbuton on top of the screen. If it is not shown, use a different report class showing it.

Have a look at e.g. PAR2 transaction.

Regards,

Michael