Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_TEM_EXPOS_GETLIST static not reset

Koja78
Participant
0 Likes
465

In BAPI_TEM_EXPOS_GETLIST a counter is used for the checks of the various range tables.

This counter is declared in its form as a static.

This static is however never reset.

So, as I want to call this function multiple times in my program... I run into problems.

Is there a solution for this?

(other then a workaround via class CL_RAW_EXPOSURE_DB_TEM)

In BAPI_TEM_EXPOS_GETLIST a counter is used for the checks of the various range tables.

This counter is declared in its form as a static.

This static is however never reset.

So, as I want to call this function multiple times in my program... I run into problems.

Is there a solution for this?

(other then a workaround via class CL_RAW_EXPOSURE_DB_TEM)

2 REPLIES 2
Read only

Former Member
0 Likes
432

Hi,

Please see the given link, it may help you.

Regards,

Shamma

Read only

Koja78
Participant
0 Likes
432

DATA: lr_manager_db TYPE REF TO cl_raw_exposure_db_tem.

lr_manager_db = cl_raw_exposure_db_tem=>get_manager( ).

lr_manager_db->get_exposures_by_ranges