Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read a table control in other Dynpro

Former Member
0 Kudos

Good morning,

I have extended infotipo 8, simply to add a text field, but it interests to me to read the content of the table control where the concepts of list and their amounts are specified (Modupool MP000800 300 Dynpro table control TC).

I have used the system function:

CALL 'SAPCORE' ID 'ID' FIELD 'PROGRAMS'

ID 'TABLE' FIELD pxa-sys.

It does not bring the data to me.

Is possible to read the data introduced in a table control in other dynpro??

Thanks!

Gonzalo.

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Hello Gonzalo,

Have you tried to use the FM : DYNP_VALUES_READ ?

regards,

Naimesh

0 Kudos

Hello!

Yes, I have used that module DYNP_VALUES_READ, but I cannot bring the content of a table control, for that reason utilize the function of system with this code:

CALL 'SAPCORE' ID 'ID' FIELD 'PROGRAMS'

ID 'TABLE' FIELD pxa-sys.

FIELD-SYMBOLS <f1> I define it with the same structure that table control TC.

TC is the name of table control.

But takes place a DUMP because the TC content cannot be assigned a FIELD-SYMBOLS <f1>

Regards,

Gonzalo.

Message was edited by: Gonzalo Alvarez

Former Member
0 Kudos

if the program is still loaded in the memory, you can use field symbols for access the internal table

regards