Solution : https://service.sap.com/sap/support/notes/1269791 (SAP Service marketplace login required)
Summary :
When using the BUPA_SEARCH or BUPA_SEARCH_2 modules to locate Business Partners multiple times in a single LUW, the modules fail to return results after the initial query. This issue stems from the improper handling of the global variable gv_do_special_search, which persists across calls without reset, affecting subsequent searches. This variable was designed to optimize search performance under specific conditions but causes errors when the initial conditions are not met in consecutive searches. SAP Note recommends implementing provided corrections to reset the gv_do_special_search variable after each call, ensuring it doesn't carry over the previous state.
Key words :
terms bupa_search bupa_search_2 gv_do_special_search reason, prerequisites program error, called multiple times, business partner category, module bupa_search, variable gv_do_special_search, business partners, multiple calls, single luw, call onwards
Related Notes :
1172948 | SAP Solution Manager: Basic functions |