2008 Oct 31 2:25 PM
Hi experts,
I have a table strip which is containing 3 fields. If one of them is changing then I want to make a search on that value.
So I have a field s_jahr. If it is changing then the program executes a module called m_search.
If I want to use s_jahr in the module itself it doesn't recognize s_jahr. How can I pass the value of the screen field (s_jahr) into the module?
2008 Oct 31 2:28 PM
Declare s_jahr in the common global data include (-TOP) of the main module/function group program. (Declare some structures, include in TOP, with all fields of your screen so the dynpro and program may communicate through these structure)
Regards
2008 Oct 31 2:28 PM
2008 Oct 31 2:37 PM
I guess you mean table control and not table strip.
You will have the value in the screen field name you have defined for s_jahr in the screen. Also make sure that you have declared that field in your program as well.
i.e s_jahr is the name of the screen field, then s_jahr should also be declared in your program.
regards,
Advait
2008 Oct 31 3:06 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |