Clear Static Variable of a standard program in a custom program
I am using 2 standard function modules - UWS_BW_EX_WS_QUEST_TEXT and UWS_BW_EX_WS_ANSWER_TEXT in my custom program one after the other.
Both these function modules access the Function Module - UWS_BW_GET_SURVEYS. Here the static variable 'SD_NO_MORE_DATA' is flagged once the Function Module UWS_BW_EX_WS_QUEST_TEXT is executed. So i fetch the data and then call the Function Module UWS_BW_EX_WS_ANSWER_TEXT. At this time the variable 'SD_NO_MORE_DATA' is already flagged and hence it exits and does not provide me the desired result.
The only way is to clear the flag of the static variable in my custom program. How do I do this? I tried FREE MEMORY (seems obsolete), it did not work. Can anybody guide me here please.