2008 Jun 05 3:51 PM
Dear ABAPERS,
i want to copy ALV fieldcatalog data to Screen fields.
for that i have one global structure which contains ALV data and i am creating a same structure of screen fields and doing move-corresponding and by this Global Table of ALV copying data to the structure (of screen fields) but this is not passing to the screen fields.
Please suggest what needs to be done.
Also tell me if i m wrong and you have some other options.
<REMOVED BY MODERATOR>
Thanks
Diva
Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:06 AM
Dear ABAPERS,
i want to copy ALV fieldcatalog data to Screen fields.
for that i have one global structure which contains ALV data and i am creating a same structure of screen fields and doing move-corresponding and by this Global Table of ALV copying data to the structure (of screen fields) but this is not passing to the screen fields.
Please suggest what needs to be done.
Also tell me if i m wrong and you have some other options.
<REMOVED BY MODERATOR>
Thanks
Diva
Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:06 AM
2008 Jun 05 3:52 PM
2008 Jun 05 3:56 PM
MOVE-CORRESPONDING GS_ALV_HC_MSG_SELECTED TO TT_SCRN_STRUC.
GS_ALV_HC_MSG_SELECTED is my global structutre of ALV
TT_SCRN_STRUC. structure of screen fields.
and by MOVE-CORRESPONDING data get copied to TT_SCRN_STRUC.
but this data is not displaying on my screen field.
2008 Jun 05 4:03 PM
Hi,
Where have you written this Move-Corresponding? - Data transfer between program and screen fields should be done in PBO of the screen
Screen fields are created with the same name as in the structure you mentioned? For example, your structure TT_SCRN_STRUC has a field FIELD1. Screen field should be created with the name TT_SCRN_STRUC-FIELD1. Then only it can display the value of that structure field
Are you able to debug and check if data is populated in TT_SCRN_STRUC?
More over, Is it a table - Multiple entries or Single selected entry from ALV? and are you using a table control to display all records?
Brief your requirement a bit.
Thanks and Regards,
Lakshmi.
2008 Jun 05 4:09 PM
Divya,
GS_ALV_HC_MSG_SELECTED is my global structutre of ALV
TT_SCRN_STRUC. structure of screen fields.
and by MOVE-CORRESPONDING data get copied to TT_SCRN_STRUC.
you said your ALV structure is like of GS_ALV_HC_MSG_SELECTED and you are displaying TT_SCRN_STRUC data after move-corresponding how can it be possible.
you have to define your ALV structure like TT_SCRN_STRUC than it could be shown.
Amit.
Edited by: Jony on Jun 5, 2008 5:09 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |