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

Re: display 24th september 2015 in code

$
0
0

Hi Anshika,

 

DATA: lv_field type length 2,

       lv_date  type ekko-aedat,

     lv_datemonth(30) type c.

 

IF lv_date+4(02) EQ  '01'.

   lv_field = 'st'.

ELSEIF lv_date+4(02) EQ  '03'.

   lv_field = 'rd'.

ELSE.

  lv_field = 'th'.

ENDIF.

 

READ table itab(FM Internal table ) with key mn = lv_date+4(02).

if sy-subrc is initial.

lv_month = itab-ltx.

endif.

 

CONCATENATE lv_date+6(02) lv_field lv_month lv_date(04) into lv_datemonth.

 

Hope it helpful,

 

Regards,

Venkat.


Viewing all articles
Browse latest Browse all 2895

Trending Articles



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