Application Development and Automation 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 only

Accessing different internal tables in different programs through a common

Former Member
0 Likes
468

Hi All,

I have a requiremnt where I have to write a common form which will be called in 8 different programs. These programs have an internal table which has different structure in different programs but there is a common field for 'comment' in it. I have to update this comment field for variuos records in the internal table for a particular program through this form.

Thanks for providing the solution.

Regards,

Sachin

1 ACCEPTED SOLUTION
Read only

prasenjit_sharma
Active Contributor
0 Likes
442

Hi,

Welcome to SDN!

For your requirement you may think of using field-symbols. For example use field-symbol for the internal table and along with it pass the data type of the internal table to the form, this way you can use the component 'Comment' of the table and update it.

Regards

Prasenjit

Hi All,

I have a requiremnt where I have to write a common form which will be called in 8 different programs. These programs have an internal table which has different structure in different programs but there is a common field for 'comment' in it. I have to update this comment field for variuos records in the internal table for a particular program through this form.

Thanks for providing the solution.

Regards,

Sachin

2 REPLIES 2
Read only

prasenjit_sharma
Active Contributor
0 Likes
443

Hi,

Welcome to SDN!

For your requirement you may think of using field-symbols. For example use field-symbol for the internal table and along with it pass the data type of the internal table to the form, this way you can use the component 'Comment' of the table and update it.

Regards

Prasenjit

Read only

Former Member
0 Likes
442

I knew it has to be by the use of field symbol. We can have the tables parameter in the function module and then also we can use it as the tables passed by reference in the tables parameter.