Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Table join between PA0001 and CATSCO

$
0
0

Hi Experts,

 

I am working on a report and want to select only those employess who entered time (CATSCO data ) based on work date which is a select option on selection screen and i want to filter them based on personnel subarea ( PA0001-BRTL) on selection screen.

 

Below is my select query:

 

select fields from pa0001 and catsco inner join based on pernr

CATSCO-WORKDATE in s_workdate

PA0001-SUBAREA    in s_subarea

 

 

PA0001 has 5 entries for a pernr and subarea on selection screen  and it fetch all of them .

CATSCO has 3 entries for pernr and given workdate on selection screen and it brings all of them.

 

 

I am expecting the query to pick only 1 entry from PA001 based on subarea and workdate on selection screen but i dont know how i can use

ENNDA and BEGDA based on workdate on screen.

 

Can someone please suggest?


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>