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

ABAP Start Routine Error

$
0
0

Hi,

 

 

I wrote the below in my start routine but getting error while loading data because of the Exporting

EXPORTING

         i_date         = X_DATE

 

ZDOC_DATE is a Char with DATS

 

Please let me know how to correct this...

 

Thanks in advance

 

DATA : X_DATE LIKE sy-datum.
  CLEAR X_DATE.
  X_DATE = <SOURCE_FIELDS>-/BIC/ZDOC_DATE + 1.


     CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
         i_date         = X_DATE
         i_periv        = 'X1'
       IMPORTING
         e_buper        = ev_fiscper
         e_gjahr        = ev_fiscyear
       EXCEPTIONS
         input_false    = 1
         t009_notfound  = 2
         t009b_notfound = 3
         OTHERS         = 4.

     ev_fiscper2 = ev_fiscper.
     ev_fiscyear2 = ev_fiscyear.


Viewing all articles
Browse latest Browse all 2756

Trending Articles



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