Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 4032

Requesting for a BEX Report query assistance while designing.

$
0
0

Hi Team,

 

While designing an HR Head count report, I've an requirement as shown in the Screen Shot below.

 

So, Actual requirement is i need to maintain, Closing Head count of previous month to be an opening head count of the next month.

Hr Head count.JPG

 

Closing Head count:-it is based on selection showed in the screenshot BelowClosing Head Count.JPG

 

 

Joinee:- it is based on selection showed in the screenshot below

Joinee.JPG

 

Resignee:- it is based on selection showed in the screenshot below

Resignee.JPG

Transfer In:- it is based on selection showed in the screenshot below

Transfer in.JPG

Transfer Out is based on the ABAP/4 code return at the End Routine Level that is mentioned below.

 

l_date = wa_result-CALDAY + 1. " get start date for next transfer

READ TABLE it_psa into wa_psa WITH KEY

pernr = wa_result-EMPLOYEE

CALDAY = l_date      " check start date

massn = '07'.

if sy-subrc = '0'.

   if wa_psa-massg = '02' or wa_psa-massg = '01'.

   wa_result-/bic/ZHDCNTTRA = '1'.


So, Kindly some one help how to keep the Opening Head of next month will be an closing head count of the previous month.


Thanks & Regards.

P Sriram


Viewing all articles
Browse latest Browse all 4032

Trending Articles



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