Skip to Content
avatar image
Former Member

Access to external variables ( Internal tables )


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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 21, 2007 at 03:22 PM

    (saplv09c)gt_xvbpa needs to be upper case.

    Add comment
    10|10000 characters needed characters exceeded