2016 Oct 27 8:05 PM
Hello guys
I'm learning abap and I'm doing a module pool program.
I want to get the fields (dictionary referenced) from my screen, into a global structure, so that I can use them in the next screen.
This is my top_include:
PROGRAM ZPF_MOVIE_DYNPRO.
* TABLES AND STRUCTURES
data: ls_movie type zpf_movie,
lt_movie TYPE STANDARD TABLE OF zpf_movie.
* USAR COMMAND / BUTTONS
data: ok_code TYPE sy-ucomm.
On my screen I have fields from zpf_movie table, so I want to put them into ls_movie, and bring it to the next screen.
I tried this at an include:
ls_movie-id = zpf_movie-id
ls_movie-field1 = zpf_movie-field1
...
...
But apparently zpf_movie is not recognized.
Does anyone know how can I get these fields from the screen and set them into the ls?
Hello guys
I'm learning abap and I'm doing a module pool program.
I want to get the fields (dictionary referenced) from my screen, into a global structure, so that I can use them in the next screen.
This is my top_include:
PROGRAM ZPF_MOVIE_DYNPRO.
* TABLES AND STRUCTURES
data: ls_movie type zpf_movie,
lt_movie TYPE STANDARD TABLE OF zpf_movie.
* USAR COMMAND / BUTTONS
data: ok_code TYPE sy-ucomm.
On my screen I have fields from zpf_movie table, so I want to put them into ls_movie, and bring it to the next screen.
I tried this at an include:
ls_movie-id = zpf_movie-id
ls_movie-field1 = zpf_movie-field1
...
...
But apparently zpf_movie is not recognized.
Does anyone know how can I get these fields from the screen and set them into the ls?
2016 Oct 28 4:46 AM
This word i did not understood.But apparently zpf_movie is not recognized.
Exactly like zpf_movie ,ls_move is also declared at Global Declaration
After enter the Date definitely You are pressing some thing like button
In first screen pai you need to move
ls_movie-id = zpf_movie-id
Append the table ls_move.
Now call the second screen. Now you are in Second screen imagin,
Already data available ls_movie. then fill the required fields.
2016 Oct 28 7:52 AM
Hi ,
have you tried like this in SE51


here(marked in red color above) enter the dictionary table from where you want get the fields.
regards,
vinay.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |