2006 Nov 06 11:38 AM
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
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
2006 Nov 06 11:47 AM
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.
2006 Nov 06 11:51 AM
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
2006 Nov 06 11:51 AM
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.
2006 Nov 06 12:04 PM
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?
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |