Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 5631

Re: No Extraction of Data per InfoPackage in DataSource based on a generic function module

$
0
0

Hi Michael

 

Two things come to my mind:

Is the no more data correctly raised? (The error messages might help you indicate)

 

    CASE SY-SUBRC.

      WHEN '0'.

      WHEN '1'. RAISE NO_MORE_DATA.

      WHEN '2'.

        LOG_WRITE SY-MSGTY SY-MSGID SY-MSGNO SY-MSGV1 SY-MSGV2.

        RAISE ERROR_PASSED_TO_MESS_HANDLER.

      WHEN OTHERS.

        LOG_WRITE SY-MSGTY SY-MSGID SY-MSGNO SY-MSGV1 SY-MSGV2.

        RAISE ERROR_PASSED_TO_MESS_HANDLER.

    ENDCASE.

 

2nd when you appended E_T_DATA did you close the cursor?

      CLOSE CURSOR S_CURSOR.

      MOVE 1 TO SY-SUBRC.

 

hope it helps

Martin

 


Viewing all articles
Browse latest Browse all 5631

Trending Articles



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