Skip to Content
0
Former Member
May 04, 2008 at 05:19 PM

Selection screen and F4 help

330 Views

Hi all,

I have just started learning ABAP, so I am pretty new to this ABAP world. It is obvious to have bunch

of doubts as well.

I am using sample tables given in SAP. i.e. SBOOK and SCUSTOM.

Here are my doubts:

[1] I need to show following selection screen:

Country Code: GB*

*GB is in standard box.

Now I know that if I will use following then I can get above box:

PARAMETERS: country like scustom-country default 'GB'.

But my problem is as parameter name can be just 8 char long how can i get 'Contry Code:' instead of just Country.

[2] Now another doubt is that for the same field I want to put F4 help and display only 7 country codes out of total available in original SCUSTOM-COUNTRY column. I am storing all these 7 codes in an internal table so I can use internal table as well.

Also I would like to print full country name with code or just Country name and if you double-click you can get

2 char long country code in the box. (like demo_f4_de does.)

I know this much:

PARAMETERS: country like scustom-country default 'GB'.

AT SELECTION-SCREEN OF VALUE-REQUEST FOR country.

Please help me out with my small doubts so that I can learn it effectively.

I appreciate your help.

Thanks a lot in advance.