10-23-2007 9:16 AM
Hi experts,
Have a problem with selection screen for an HR report. Here's the code:
selection-screen begin of block b2 with frame title text-002.
parameters:
payid like pc261-payid modif id spe. "pay identification
select-OPTIONS:
s_payty for pc261-payty." modif id spe. "pay type
selection-screen end of block b2.
I get this error message :" field pc261-payty is unknown."
Mind you, I don't get any errors if I put payty in parameters as I have done for payid. The structure pc261 can be acessed by double click, so it's obviously visible. Please advise.
10-23-2007 9:23 AM
10-23-2007 9:23 AM
10-23-2007 9:27 AM
Hi Stanley,
If pc261 is structure then you can also use
DATA pc261 type pc261.
Then you will not get this error.
Regards,
Atish
10-23-2007 9:26 AM
If you are using SELECT-OPTION, then declare the table name used for reference there in TABLE attributes.
Regards,
Amit
Reward all helpful replies.
10-23-2007 3:32 PM
10-23-2007 3:32 PM