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

Restrict parameter only enter numerical character

Former Member
0 Likes
543

Hi expert,

I have Parameter of 30 field but i want to give user f4 help so user can select customer number and name will be attached and showed into parameter but when he want manually enters only number(customer number ) he can enters not name.

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
505

Hi Rajeev, Your question is not clear.

For customer to enter only numbers in a parameter , then declare the parameter as type N.

PARAMETERS:p_test1 TYPE n LENGTH 10.

Then you can enter numbers only.

Also if you wanto to hide name, then

p_test2 TYPE c LENGTH 10 NO-DISPLAY.

Regards,

Niveditha


Read only

Former Member
0 Likes
505

Hi Rajeev

Use 2 Parameters, one for Customer Number and Customer Name.

When User Selects the Customer No. from F4, Customer Name can be populated in the Second Field.

Regards

Sajid