Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP Start Routine Error

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.

replied

your code needs to be betrween a loop endloop statement as per my previous mail.

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question