‎2016 Mar 10 8:25 AM
Hi SCN-Community,
I have a requirement to create a HCM-Report with a changing selection screen.
The following image (created with Microsoft Word) shows the desired result.
A Dynpro, containing two subscreens, is supposed to have a tree model on the left and based on the selected entry a subcreen is filled on the right.
The problem however is the use of logical databases. As we need a selection exactly like the standard logical database selection, we would like to include it in the dynpros:
However, the logical database selection overwrites all dynpros and seems to be only useable with standard selection-screens.
Does this mean, that we can only use logical databases with selection-screens and cann't combine it with dynpros?
Thank you
‎2016 Mar 10 2:21 PM
‎2016 Mar 10 2:21 PM
‎2016 Mar 10 4:01 PM
A logical database has various events which are also report based as well. Raymond is giving good advice here but he has missed out one vital step.
Where you would write out the results table or display an ALV grid on the screen with the data from your logical database export that table to memory.
Then in the initialisation event read that memory id. If it's populated, attach a docking container to the default screen. Then look at adding a splitter to that docking container so you then have a container for your tree and the result report.
Don't forget to free the memory id when you have read it though.
Rich
‎2016 Mar 11 11:23 AM
Thank you for your fast answers! I will give it another try with your tips!
Martin