Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Logical Database Selection in Dynpros

Former Member
0 Likes
907

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

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
871

In a first step ignore the tree and develop the report with the logical database managed selection-screen. Then in INITIALIZATION/AT SELECTION-SCREEN OUTPUT attach a docking container to the left of the screen and implemnt your tree there.

Regards,

Raymond

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
872

In a first step ignore the tree and develop the report with the logical database managed selection-screen. Then in INITIALIZATION/AT SELECTION-SCREEN OUTPUT attach a docking container to the left of the screen and implemnt your tree there.

Regards,

Raymond

Read only

0 Likes
871

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

Read only

0 Likes
871

Thank you for your fast answers! I will give it another try with your tips!

Martin