2005 Apr 08 1:28 PM
Hello,
I try:
Parameters: pa_waers TYPE WAERS.
WAERS is a ddic data element for currencies and also a domain with this name exists. The domain WAERS has a check table TCURC.
When I press F4 for my field PA_WAERS in the Selection Screen, I assume a value help from the check table TCURC.
I activated and re-generated my coding (as mentioned in the ABAP-Keyword help for "PARAMETERS") but it still does not work.
Does anybody has a clue why this does this not work.
The same thing is for a parameter:
Parameters ..... type CTU_MODE.
Domain CTU_MODE has value Fields (A, E, B) but also here on my program no F4 help occurs.
Thanks in advance
Stefan Berger
2005 Apr 08 1:41 PM
Hi Stefan,
I have no explanation why it's not working implicitly but as a workaround you can use this definition:
Parameters: pa_waers TYPE WAERS MATCHCODE OBJECT RSCURRENCY.
Kind regards
Ralf
Hello,
I try:
Parameters: pa_waers TYPE WAERS.
WAERS is a ddic data element for currencies and also a domain with this name exists. The domain WAERS has a check table TCURC.
When I press F4 for my field PA_WAERS in the Selection Screen, I assume a value help from the check table TCURC.
I activated and re-generated my coding (as mentioned in the ABAP-Keyword help for "PARAMETERS") but it still does not work.
Does anybody has a clue why this does this not work.
The same thing is for a parameter:
Parameters ..... type CTU_MODE.
Domain CTU_MODE has value Fields (A, E, B) but also here on my program no F4 help occurs.
Thanks in advance
Stefan Berger
2005 Apr 08 1:41 PM
Hi Stefan,
I have no explanation why it's not working implicitly but as a workaround you can use this definition:
Parameters: pa_waers TYPE WAERS MATCHCODE OBJECT RSCURRENCY.
Kind regards
Ralf
2005 Apr 08 1:55 PM
A value table is assigned to a domain. It becomes a check table when a foreign key relationship is established for a field in a table. The field uses the data element and the data element uses the domain.
For example, if you try:
PARAMETERS: PA_WAERS TYPE EKKO-WAERS.You will get the F4 help you are looking for. If you use tran SE11 and view EKKO, find field WAERS, use tab Entry Help/check and you will see that table TCURC has been established as a check table. You can use the foreign key button to see the relationship that has been established between EKKO and TCURC.
Also, domains cannot be used to type a field. Your reference to CTU_MODE must be referring to a Data Element. I tried this in a 4.7 system and the F4 works for me. What version are you using?
2005 Apr 08 2:04 PM
Stefan,
domain WAERS has no value range.
Wherefrom shall F4-Help take the values.
So correct codeing is:
Parameters: pa_waers TYPE TCURC-WAERS.
Andreas
2005 Apr 08 2:59 PM
Thank you all for your help!
Charles: I'm working with 4.6C
Andreas: I thought the "parameter .... type ..." refers to the Data Element WAERS.
The Data Element WAERS has a Domain WAERS which has a checktable TCURC.
I thought it should use the F4 help from here.
I think the problem is solved here.
Thanks for your help again.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |