cancel
Showing results for 
Search instead for 
Did you mean: 

New Provide statement in ECC 6.0

Former Member
0 Kudos

Hi All,

I am getting infotype 0001 information by using function module HR_READ_INFOTYPE.Now i need to check the Employee subgroup (PERSK) change from 11 to 12 .For this i need to use PROVIDE statment and if change happens i need to make a returning parameter false.

How can i use the new provide statement

l_sub is a flag.

*provide fields * from p0001 into l_temp VALID l_sub*

BOUNDS persk AND persk BETWEEN l_begda AND l_endda.

i am not getting any records while running this query.Can you please help me out.What l_temp returns if the loop pass success.In bound what i need to give here i need to check the persk value.

Thanks

Chandu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandu,

When you are using the bounds statement in a provide field statement,

the two fields on which the bound condition is being applied have to be

different columns of same type of the table from which you are selecting the values..

For eg

PROVIDE fields * from p0001 into itab valid flag1 BOUNDS begda AND endda

BETWEEN pnpbegda AND pnpendda.

What you are using is not giving any values is because it is referring to only

one column of the table p0001.

Get Back if u still have Doubts

Ira !!

Answers (0)