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

changing data in called program

Former Member
0 Likes
526

Hi Gurus,

I have an exit where I want to change the main program's internal table data dynamically in this exit FM.

In short, I want to change the internal table data in calling program being in called FM.

Can this be done? If so how?

Regds

4 REPLIES 4
Read only

Former Member
0 Likes
481

You can change the data in a field in a program using field-symbols. The field-symbols acts as a pointer to a defined field. Change the field-symbol value will in turn change the value of the field. You can also assign the value of a field from a different program ( at runtime ) to a field symbol. But I beleive that in this circumstance changing the field-symbol will not change the actual field value.

I had this same problem myself.

Read only

0 Likes
481

Yes, we can access the data of different programs using field-symbols, but now I need to update the internal table records being in called program

Read only

Former Member
0 Likes
481

hai

u can use Extenal subroutine to change the internal table in FM.

before that there must be a internal table defined in the fm.

Read only

0 Likes
481

I dont have any subroutine to run from FM, I have the internal table name and main program name.

Can I change the internal table data from the user exit function module?