Application Development 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: 

Selection screen of logical database PCH

former_member368169
Participant
0 Kudos

Hi all,

I am writing a report using the logical database PCH. For this report I need the full selection screen of the logical database, especially the structure parameters. However, wenn I test my program, I only get a reduced selection screen without the structure parameters and the "further conditions". According to the documentation I found, this behaviour appears when you set the selection screen version to '900' in the program attributes. In my program, the selection screen version is empty, and I still get the reduced screen. The missing selection fields are even totally unknown to the ABAP compiler. E.g. when I try to assign the field PCHWEGID in my report, I get a "field unknown" error message from the compiler.

I have compared my report in various aspects to the standard report RHSTRU00 which shows the behaviour I want, I did not find any difference, and yet I get a different behaviour.

Any ideas how to fix this?

Thank you

Alexandre

1 ACCEPTED SOLUTION

former_member186052
Active Participant
0 Kudos

Hi,

Did you declare the below statement?

TABLES: OBJEC, GDSTR.

Regards,

-Sandeep

2 REPLIES 2

former_member186052
Active Participant
0 Kudos

Hi,

Did you declare the below statement?

TABLES: OBJEC, GDSTR.

Regards,

-Sandeep

0 Kudos

Hi Sandeep,

That was it. I forgot to declare GDSTR. Now it works.

Thanks a lot!

Alexandre