Skip to Content
0
Former Member
Dec 13, 2011 at 03:55 AM

Get value from another program using assign field symbol

31716 Views

Dear experts,

I'm using a user_exit, the FM doesn't pass the value with import parameters. I need to get value from the main program.

I know a way to get value by using assign to field-symbol, e.g:

FIELD-SYMBOLS: <FS_AFVGD> TYPE AFVGD.

ASSIGN ('(SAPLCOKO1)AFVGD') TO <FS_AFVGD>.

Then I can get data of structure AFVGD from the program SAPLCOKO1.

My question is how can I get data with a internal table?

I need get a table data, and if i use 'Assign ('(program)variant'), will I only get a structure data? Any other ways to use?

Will very appreciated if you can help.