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

MODULE POOL PROGRAMMING

Former Member
0 Likes
663

Hi ,

First when i enter into the screen some fields are mandatory.So when i click the button in the application tool bar i want to disable the input.

My pbm is the error message showed as 'Enter all the fields'. coz the fields are mandatory.

i doesnot allow the button to click....help me please......

Thank u,

Manjula Devi.D

Read the Rules of engagement

Edited by: Vijay Babu Dudla on Jan 20, 2009 3:58 AM

6 REPLIES 6
Read only

Former Member
0 Likes
645

Hi,

Can u explain ur requirement clearly.

Thanks.

Read only

Former Member
0 Likes
645

Hi,

Instead of making the fields as mandatory you could write a code logic to check whether any input has been made or not.

This way you could avoid the check on any particular Function code.

Read only

Former Member
0 Likes
645

Hi,

Remove the fields as Mandatory and write a code for that to show error message.

Eg:

if gv_kunnr is initial.

Message 'Make entry in all required fields' TYPE 'E'.

endif.

Hope it helps!!

Regards,

Pavan

Read only

Former Member
0 Likes
645

turn off the required option from the fields...and put the code check for mandatory inside PAI

Read only

Former Member
0 Likes
645

Hi,

Change the Input Field Program Attributes from 'Required'.

Change some of the Logic written in the Flow Logic of the Screen., Inside the PAI with Stmt FIELD <Screen Field> MODULE <module1>. In this Module1 check the Field is initial and give the Error/Warnings as required.

See the Concept of CHAIN-ENDCHAIN & FIELD < > MODULE < > .

Regards,

GP.

Read only

Former Member
0 Likes
645

Remove the mandatory option. Write a code to check if the field is initial or not. If its initial then give an error message. now also set an flag = X.

if flag = x.

clear flag.

else.

if field is initial.

flag = x.

give error message.

endif.

endif.