Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

data selection period

manubhutani
Active Contributor
0 Likes
790

when we say that in PNP LD

if data selection period is filled, then those records which overlap this date are selected,

but after get pernr, still all the records are fetched in internal tables mentioned in Infotype statement

what does this exactly mean, plzz help

regards

manu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
767

Hi Manu

When you enter the data selection period, it would just check the employees IT0001 record is present in the given date and for the given selection criteria say Company code, Personnel area etc. of LDB. This actually does not mean that the records in your internal table would be falling within that period, you will still get the all the records for the employee. The F1 help on the selection screen for that field gives you more information.

Hope this helps.

Regards

Ranganath

5 REPLIES 5
Read only

Former Member
0 Likes
768

Hi Manu

When you enter the data selection period, it would just check the employees IT0001 record is present in the given date and for the given selection criteria say Company code, Personnel area etc. of LDB. This actually does not mean that the records in your internal table would be falling within that period, you will still get the all the records for the employee. The F1 help on the selection screen for that field gives you more information.

Hope this helps.

Regards

Ranganath

Read only

0 Likes
767

Hi Ramesh

Thanks for the reply.

but if it checks IT0001, then everytime record would be found, as IT0001 has time constr 1

and record will be there everytime,please help

regards

manu

Read only

0 Likes
767

Hi Manu

Yes, you will always find a record in IT0001. What actually meant here is, say you run the program for CCode XXXX. The employee has two IT0001 records as below

01.01.2010 to 31.01.2010 XXXX

01.02.2010 to 28.02.2010 YYYY

Now if your data selection period if 01.01.2010 to 15.01.2010 and Ccode is XXXX, this employee would be selected for further processing. Now for the same data selection period if the program is run for Ccode YYYY, this employee would not be selected. Because it wil check for the record validity in this data selection period, which fails there.

Hope i am more clear this time.

Regards

Ranganath

Read only

0 Likes
767

Hi Ramesh

Thanks for the reply

but here if we don't put the company code on sel screen, and only person sel period is there,

then also records will be selected.

regards

manu

Read only

0 Likes
767

Hi Manu

In that case it will just check for a valid record in IT0001 nothing else. That means any personnel number which the user is authorized to will be selected. Basically it means there is no real use of entering data selection period in this case.

- Ranganath