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

Re: Getting the data from the table T056A

$
0
0

Hi Jain,

 

If I understand your question correctly:

- First, you may want to use Function Module CONVERSION_EXIT_INVDT_INPUT to convert from normal date to inverted date.

- Then, just use the converted values for the query.

 

E.g.

 

DATA: lv_fdate TYPE datum,

           lv_tdate TYPE datum,

           lt_56      TYPE TABLE OF t056a.

 

 

CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'

  EXPORTING

    input  = '19950501'

  IMPORTING

    output = lv_fdate.

 

 

CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'

  EXPORTING

    input  = '20130701'

  IMPORTING

    output = lv_tdate.

 

 

SELECT * FROM t056a INTO TABLE lt_56 WHERE datab BETWEEN lv_fdate AND lv_tdate.

 

 

Hope it helps. Cheers!


Viewing all articles
Browse latest Browse all 9067

Trending Articles



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