Skip to Content
0
Former Member
Dec 03, 2007 at 03:56 PM

Assigning value to variable defined as LOCAL in standard program

70 Views

Hello Gurus,

We have a Z function module which gets called via standrad SAP program. Now inside this Z FM we have to code such that it updates an internal table defined via LOCAL in program LQEEMF72 (Main program SAPLQEEM). Is this possible ?

I tried following :

DATA gt_qasptab TYPE qaspr OCCURS 0.

FIELD-SYMBOLS: <qasptab>.

ASSIGN ('(SAPLQEEM)QASPTAB[]') TO <qasptab>.

gt_qasptab[] = <qasptab>.

and at the end

ASSIGN gt_qasptab[] TO <qasptab>.

This does not work. How to update the table QASPTAB ?

Please provide your suggestions ....

Thanks in advance 😊 <REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Dec 28, 2007 8:26 AM