09-08-2014 1:46 PM
Hey experts,
when I add this to my code
selection-screen dynamic selections for zbr_t_autori
and I want activate it, it writes out an error
The addition "DYNAMIC_SELECTIONS" is only allowed in INCLUDE DB__SSEL.
and I don't know how to solve it, what is that include db__ssel?
Can anybody help me.
Regards,
Robert
09-08-2014 1:53 PM
If you are not creating a logical database (transaction SE36) you are not allowed to use this syntax, in, this case to create dynamic selections use following FM
Regards;
Raymond
09-08-2014 1:53 PM
If you are not creating a logical database (transaction SE36) you are not allowed to use this syntax, in, this case to create dynamic selections use following FM
Regards;
Raymond
09-08-2014 2:32 PM
I created a logical database, but the error remains. How should I use it?
those FMs I didn't check already, but I will. Thank you.
09-08-2014 3:36 PM
Check this:
Structure of Logical Databases - ABAP Programming (BC-ABA) - SAP Library
Where are you using this code?
selection-screen dynamic selections for zbr_t_autori
It should be in the include reserved for your LDB selection:
09-09-2014 9:01 AM
I'm using it in my top include in my modulepool. I created that logical databse in the same packet, but it is not working. I checked the link and it says that I have to define my selection-screen in special selection include? How should I create my selection include? Can you help me a bit more, I'm so confused. Thank you.
09-09-2014 9:33 AM
Yes, you should add in the selection include of the logical database, in my last answer I give you the print. Go to SE36, flag Selections then Change, add the dynamic selection there.
Regards,
Felipe
09-09-2014 10:59 AM
Okey I added the
SELECTION-SCREEN DYNAMIC SELECTIONS FOR zbr_t_autori.
to my selection include in my created logical database.
And now, how can I call that selection screen in my module pool program?
09-09-2014 1:04 PM
Hi Robert, you cannot assign a logical database to a module pool program, you can do it with a report program as below.
Regards,
Felipe