Application Development and Automation 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: 
Read only

F4 help on Parameter for ddic domain does not work

Former Member
0 Likes
1,452

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

1 ACCEPTED SOLUTION
Read only

ralf_rubel
Product and Topic Expert
Product and Topic Expert
0 Likes
1,000

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

4 REPLIES 4
Read only

ralf_rubel
Product and Topic Expert
Product and Topic Expert
0 Likes
1,001

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

Read only

Former Member
0 Likes
1,000

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?

Read only

andreas_mann3
Active Contributor
0 Likes
1,000

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

Read only

Former Member
0 Likes
1,000

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.