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

hr abap

Former Member
0 Likes
575

Hi guyz,

i dunno if im in right place for this question,

my question is :

at the moment in my program there is a statement,

provide * from p0002 between qppnp-begda and qppnp-endda.

now i wan it like

greater than or equal to qppnp-begda

with out chaging qppnp-endda..

advise

regards

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
547

Change the statement as followng -

provide * from p0002 where begda >= qppnp-begda

between qppnp-begda and qppnp-endda.

3 REPLIES 3
Read only

Former Member
0 Likes
547

The statement itself gives U records between begda and

endda ..

It means all the records with the following condition would be

fetched ..

p0002-endda >= qppnp-begda and

p0002-begda <= qppnp-endda.

U cannot change the CONDITION in provide ...

Read only

amit_khare
Active Contributor
0 Likes
548

Change the statement as followng -

provide * from p0002 where begda >= qppnp-begda

between qppnp-begda and qppnp-endda.

Read only

0 Likes
547

amit thanks for your reply

provide * from p0002 where begda >= qppnp-begda

between qppnp-begda and qppnp-endda.

but why we using "between qppnp-begda and qppnp-endda" agen...

do i get the right output....

i wanna change BEGDA into greater than or equal to

but ENDDA shud be same...

am i confusing u??

sorry if i do

regards