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

Sub screen

Former Member
0 Likes
487

In the subscreen i have add one field estimated cost(QMEL-ZZECOST).For that one i have created one append structrure in QMEL and add ZZCOST field.

Now iam creating subscreen in QQMA0008 in the screen exit SAPLXQQM 0100.

I have created in the subscreen in this exit and placed the field QMEL-ZZCOST.

This ZZCOST field is CURR field.What my problem how to check the validations.

1) when i enter the input non numeric values should issue a error message to input only numericals in the field.

2)input numerical value should not issue an error message.

please suggest logic and where i have write the logic?Help me .it is very urgent.

Thanks,

sairam

3 REPLIES 3
Read only

Former Member
0 Likes
460

Hi,

U can use this logic

if (FIELD) CO '0123456789'.

else.

message e000(zabc).

endif.

Regards,

Gaurav

Read only

0 Likes
460

Hi,

Try this logic in PAI of subscreen.


if fld_name co '0123456789.'.
"process commands... no error
else.
message e001. "E-error
endif.

Jogdand M B

Read only

0 Likes
460

Hi,

Thanks for replies.

Thanks,

sairam