Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

BEx: User exit for text variable on formula

$
0
0

Hi experts

 

We have a text variable to display the calendar day on a formula.

The screen shows you on the left side the formula. On this formula the coding below calculates the calendar day, in our case: YYYYMMDD.

How do we get the external format like on the right hand side? DD.MM.YYYY

 

Thanks

 

Capture.JPG

 

WHEN 'ZCALDAY_TV_001'.

    DATA: range_low_11B(8) type c.

    IF I_STEP = 2.
      LOOP AT i_t_var_range INTO loc_var_range WHERE VNAM = 'ZCALDAY_CE_011'.

        clear l_s_range.
        range_low_11B = loc_var_range-low.

        l_s_range-low = range_low_11B.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.

        APPEND l_s_range TO e_t_range.
      ENDLOOP.
    ENDIF.


Viewing all articles
Browse latest Browse all 3668

Latest Images

Trending Articles



Latest Images

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