‎2008 Mar 12 10:18 AM
HI,
i use fm with test data directory that i put and when i do call to fm with in first time i get the data that i wont but when i call the fm in( i push back ) second time i get the data from the first call and second call there is buffer that i have to clean or something else ?
Regards
‎2008 Mar 12 10:26 AM
Come out of the function module test framework completely and redo your test.
matt
‎2008 Mar 12 10:32 AM
hi Matthew Billingham
thanks
what u say that this is o.k. because when i come out completely its work o.k. but the problem is that its not happen in all my fm just this.
regards
‎2008 Mar 12 12:24 PM
Some function modules set/read data that's in the global data of the function group. Some don't. The one you're having trouble with obviously does.
When these fm are used programmatically, you'll find that there is often a call to a function module that does a refresh, before they're used.
matt
‎2008 Mar 12 12:39 PM
hi,
i there is way to now which fm have this trouble and which don't ?
Regards
‎2008 Mar 13 8:15 AM
The only way you could find out would be by looking at the code. If the function module changes data that is defined in the global data of the function group, then you could have this problem. Another clue would be to look for function module in the same function group that is called something like "RESET_BUFFER".
matt