Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: Derived week commencing from date

$
0
0

Hi Pawan,

 

you need to add one more condition, if the date is sunday, then populate the same date as print date.

 

for eg:-

pass the date to the below FM, and if the day is 7 i.e Sunday,

then zWkcom = Zprint_dt

 

CALL FUNCTION 'DATE_COMPUTE_DAY'

     EXPORTING

       date = w_first_date    (pass your print date here)

     IMPORTING

       day  = w_day.

 

 

Regards,

Sakthi.


Viewing all articles
Browse latest Browse all 8902

Trending Articles



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