Application Development 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: 

Making the Field in Input mode After Error Message

Former Member
0 Kudos

Dear ABAPers,

In CJ40 Transaction code Cost Planning will be Done.Here the User will Enter how much Percentage the user want to release.Here the user wants some control.If the User Enters more than 100 Percentage the System must give Error message.For this purpose i have written one Enhancement spot and i have written the code if Entered value Exceeds more than 100 Percentage the system must give error message.Here i am facing small probelem.if it gives error message the Field must be available for Input.How to do this.

Thanks & Regards,

Ashok.

1 ACCEPTED SOLUTION

santosh_kumarm
Participant
0 Kudos

Hi,

Use "SET CURSOR FIELD field" for your requirement and display the message in warning.

Hope it shall be useful.

Regards

Santosh Kumaar.M

6 REPLIES 6

Former Member
0 Kudos

Hi,

Try using of CHAIN/ENDCHAIN statement.

BR/Manas

santosh_kumarm
Participant
0 Kudos

Hi,

Use "SET CURSOR FIELD field" for your requirement and display the message in warning.

Hope it shall be useful.

Regards

Santosh Kumaar.M

Former Member
0 Kudos

hi ,

write your code in :

PBI of screen in chain / end chain .

for example:

to make fields LOSVN and LOSBS editable

CHAIN.
     FIELD itab-LOSVN .
     FIELD itab-LOSBS .

     MODULE lotsize_ckeck ON CHAIN-REQUEST.            "  your code 

 ENDCHAIN.

reagards

rahul

Edited by: RAHUL SHARMA on Apr 6, 2009 12:05 PM

Former Member
0 Kudos

Hi Ashok, I'm facing the same problem..

I want the fields to be editable even after the message gets displayed.

Could you please tell me how you solved this ..

Former Member
0 Kudos

Hi,

Use CHAIN and ENDCHAIN statements in pbi.

Regards,

Jyothi CH.

0 Kudos

Dear ABAPers,

My Question is Solved.

Thanks & Regards,

Ashok.