Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ALV to excel

$
0
0

Hi,

 

I am facing problem in dowloading alv to excel for one particular field.

 

Code for the column is:

 

month - yy.

 

for ex: July -13  But after dowloading it shows 13 - July.

 

CALL FUNCTION 'ISP_GET_MONTH_NAME'

      EXPORTING

       DATE               = wa_final-lwd

        language           = SY-LANGU

*       MONTH_NUMBER       = '00'

     IMPORTING

*       LANGU_BACK         =

*       LONGTEXT           =

       SHORTTEXT          = month

*     EXCEPTIONS

*       CALENDAR_ID        = 1

*       DATE_ERROR         = 2

*       NOT_FOUND          = 3

*       WRONG_INPUT        = 4

*       OTHERS             = 5

              .

    IF sy-subrc <> 0.

* Implement suitable error handling here

    ENDIF.

CONCATENATE month '-'  wa_final-lwd+2(2) INTO wa_final-month_yy.

 

Please help.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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