Skip to Content

How many times and when is the counter value incremented in FUNCTION RSAX_BIW_GET_DATA_SIMPLE?

During the execution of FUNCTION RSAX_BIW_GET_DATA_SIMPLE when exactly is the counter value incremented ? This article says 2 times, but could it be more than that?

Generic Extraction via Function Module

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 16, 2015 at 11:49 PM

    Hi,

    Basically there are two modes:

    • Initialization mode (IF i_initflag = sbiwa_c_flag_on. - first call by SAPI);
    • Data transfer mode (all subsequent calls by SAPI).

    Only for the data transfer mode the counter is incremented with 1 for every data package. So it depends on how many data packages there are, e.g.:

    Data package 1 -> counter = 1

    Data package 2 -> counter = 2

    Data package 3 -> counter = 3

    ...

    Data package n -> counter = n

    Best regards,

    Sander

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      In this case you will have 10 data packages which are processed in 10 calls. These data packages correspond to the data packages you will see in the PSA in BW.

      Including the first call (initialization) and the last call (raising NO_MORE_DATA) the Extractor is called 12 times in total. You can easily verify it by putting a break-point in the upper part of the Function Module and run the extraction checker using t/code RSA3.

      Best regards,

      Sander

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.