2006 May 19 7:18 AM
Hi!
I've created a dynpro with an ALV-Grid for Data-Overview and a lot of fields on the dynpro to change/insert additional data.
How can I read data back from the dynpro fields when changing the selected row at the ALV.
At the time of handling the event, the data entered on the dynpro isn't actual available in my coding.
Thanks for any hints!
Peter
2006 May 22 1:31 PM
Hi,
in your PAI put these code in the Very Beginning.
CALL METHOD G_GRID->CHECK_CHANGED_DATA
IMPORTING
E_VALID = L_VALID.
CALL METHOD CL_GUI_CFW=>FLUSH.
CALL METHOD CL_GUI_CFW=>DISPATCH.and this will update the changed data to your Itab.
Regards
vijay
Hi!
I've created a dynpro with an ALV-Grid for Data-Overview and a lot of fields on the dynpro to change/insert additional data.
How can I read data back from the dynpro fields when changing the selected row at the ALV.
At the time of handling the event, the data entered on the dynpro isn't actual available in my coding.
Thanks for any hints!
Peter
2006 May 19 8:12 AM
You need an event for SAP send you data into your program.
Could you send the peace of code of the PAI and PBO ?
Rgd
Frédéric
2006 May 22 1:12 PM
Hi!
This is the dynpro-logic:
process before output.
module status_9210.
module vorschlag_9210.
call subscreen g_buch_button
including sy-repid g_buch_button_subscreen.
process after input.
chain.
field: zhrtv_planzusatz-buch_status,
zhrtv_planzusatz-buchungscode.
endchain.
chain.
field: zhrtv_planzusatz-betrg,
zhrtv_planzusatz-waers.
endchain.
module save_data_9210.
The PBO-Coding is just do fill the ALV-Grid and switch some dynpo-fields.
In the module save_data_9210 the entered data is saved to the corresponding structures.
Thanks for help!
Peter
2006 May 22 1:31 PM
Hi,
in your PAI put these code in the Very Beginning.
CALL METHOD G_GRID->CHECK_CHANGED_DATA
IMPORTING
E_VALID = L_VALID.
CALL METHOD CL_GUI_CFW=>FLUSH.
CALL METHOD CL_GUI_CFW=>DISPATCH.and this will update the changed data to your Itab.
Regards
vijay
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |