08-21-2007 4:21 PM
Hello,
I'm trying in program SAPMV50A to access a variable defined in another program SAPLV09C. The external variable is an internal table named gt_xvbpa.
In debug when i'm in SAPMV50A if i try to see the contents of '(SAPLV09C)gt_xvbpa' i can see it, but when i try to assign it's content to an internal table in SAPMV50A the assign command returns sy-subrc = 0. The code is :
DATA: begin of lt_xvbpa occurs 0.
include structure VBPAV.
data: end of lt_xvbpa,
var type string.
field-symbols: <f1> type any.
Var = '(saplv09c)gt_xvbpa'.
Assign (var) to <f1>.
lt_xvbpa = <f1>.
Does anybody have one idea why the assign command fails ? am i done it the correct way ?
Or does anybody knows another way to access to another programs variables ?
Thanks in advance,
Paulo Sousa
08-21-2007 4:22 PM
08-21-2007 4:22 PM