‎2006 Sep 01 12:23 AM
Good day to all;
I'd like to call a function module within my program and interrogate one of its fields once it is complete. The field itself is not returned through the function module's interface, so in stead of trying to rewrite the thing, I'm wondering if I can just request it?
I've ran a search on this and noted that someone said it may be possible to assign a field symbol to a program's variable, but that in order to actually gain access your program must be on the same calling stack.
‎2006 Sep 01 1:57 PM
Hi. Maybe I don`t understant what you mean, but
when you first call a function module, the system assigns their data areas firmly to the main program of the program group. Subsequent calls from other program groups do not change this initial assignment. The main program whose data is shared by an external subroutine can depend on the call sequence.
And when you call a function module, work areas of the function group are not linked to the calling program. When you call an external subroutine from a function module, the work areas of the subroutine are linked to the main program of the function group.
‎2006 Sep 01 2:33 PM