2007 Jul 10 9:16 AM
Hello guys,
I'm writing a little report for training & event.
I have standard the objecttype on that screen & an objectid. If i click on the f4-button, i get the standard F4 help, with too much information... I only need 5 different objecttypes but the standard F4 help gives me more than 100.
When i tried to write my own F4 help for that field, and i used the command :
at selection-screen on value-request for pchotype.
then i get an errormessage : <i>The addition "ON VALUE REQUEST FOR" is not allowed with database-specific PARAMETERS or SELECT-OPTIONS.</i>
Does anyone has a solution for this?
Kind regards,
Tom
2007 Jul 10 9:21 AM
Hi
Can you post your code?
It should be like this:
parameters: pchotype like ....
at selection-screen on value-request for pchotype.
or
select-options: pchotype for .....
at selection-screen on value-request for pchotype-low.
at selection-screen on value-request for pchotype-high.
Max
2007 Jul 10 9:21 AM
Hi
Can you post your code?
It should be like this:
parameters: pchotype like ....
at selection-screen on value-request for pchotype.
or
select-options: pchotype for .....
at selection-screen on value-request for pchotype-low.
at selection-screen on value-request for pchotype-high.
Max
2007 Jul 10 9:30 AM
I use the standard selectionscreen that comes with logical database PCH.
If i take al ook at screen 1000, the only thing i see for that field is :
FIELD !PCHOTYPE MODULE %_PCHOTYPE .
If i use the code below, i get the error mentioned in my startpost :
at selection-screen on value-request for pchotype.
PERFORM create_F4_otype.
If i use pchotype-low or -high, then i get a different error :
<i>"ON VALUE REQUEST FOR" should be followed by <parameter> or <select-option>-LOW / <select-option>-HIGH.</i>
2007 Jul 10 9:27 AM
See generally " value Request For " is being used to get the drop down list for the particular variable which has been defined with either parameters or select-options type for selection screen.
select-options: variable
parameters : variable
at selection-screen on value-request for variable .
call function 'F4_FILENAME'
....i think this should solve your purpose
2007 Jul 10 9:48 AM
@Raja Babu :
the problem is not to create the f4-help, but to do it for a field of a standard selectionscreen for logical database pch...
2007 Jul 11 7:32 AM
2007 Jul 11 7:34 AM
Hi Tom
I think in this case you have to raise message to the SAP.