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

Enable standard fields after error message

Former Member
0 Likes
2,025

Hi All,

I have to enable the standard fields in ME11 after throwing an error message, i tried using suceess message display it like error. but its not working.

And the field which i want to enable is different, because i have implemented the code on another field. So how should i enable all the fields or specfic one field after error message. even i tried set cursor but its not working..

please help me out..

thanks in advance

Rahul

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,703

Hi Uday,

Just create an include and move your code inside that inside. Your issue will be resolved. Check the screenshot below.

Thanks!!

13 REPLIES 13
Read only

Former Member
0 Likes
1,703

Instead of chaining only the fields you are validating, chain all the fields you want to display after the ewrror. They should all be ready for input after the error.

Rob

Read only

0 Likes
1,703

Hi Rob,

Thanks for replying...

but this a standard program. and chain endchain is already there.

or may be ur saying that i have to do again chain endchain in my implicit enhancement, from where i m raising the message.

rahul

Read only

0 Likes
1,703

So long as the enhancement is in the PAI.

Rob

Read only

0 Likes
1,703

Yes it is in PAI

Tcode: ME11

Program name: SAPMM06I

screen number: 0102

MODULE PLANLIEFERZEIT. inside PERFORM planlieferzeit. before end of the form implicit enhancemnet is there...

Rahul

Read only

0 Likes
1,703

I don't think you can use enhancement points within screen-flow logic which is what you need but even if you could what you really want to do is either move the module call to within the existing chain or create a new chain around the mdoule call which is not something impliict enhancement points can achieve. I think the only way is to change the sap-standard flow logic. Of course the enhancement point can still be used for the abap code but not to achieve the chain functionality.

Read only

0 Likes
1,703

Try your enhancement within MODULE CHECK_MANDATORY_FIELDS. There are many CHAIN FIELDS.

Klaus

Read only

0 Likes
1,703

Hi,

I already tried to implement the implicit enhancement in the MODULE 'CHECK_MANDATORY_FIELDS', but over there i am getting an error while activiating the code: 'statement cannot be accessible' whenever i am writing an executable statement.

But if i got the solution for enable the standard field after throwing the error message it will be really helpful.

Even i try to throw the success message display like error, but its not triggering. i thought if i raise the error like this then we can enable all these screen fields..

can you please help me, if there is any other option for solving this problem.

Thanks in advance

Rahul

Edited by: Rahul Gautam on Oct 7, 2010 4:20 PM

Edited by: Rahul Gautam on Oct 7, 2010 5:05 PM

Edited by: Rahul Gautam on Oct 7, 2010 7:56 PM

Read only

0 Likes
1,703

hi

I found the solution

Thanks

Rahul

Read only

0 Likes
1,703

please let us know what the solution was. It may help someone else.

Read only

0 Likes
1,703

Hi Rahul,

I also have the same issue now. Can you please let me know how did you resolve this issue?

Thanks!

Read only

Former Member
0 Likes
1,704

Hi Uday,

Just create an include and move your code inside that inside. Your issue will be resolved. Check the screenshot below.

Thanks!!

Read only

0 Likes
1,703

Hi Rahul,

Thanks for your quick response. Actually I got struck in a similar issue what was discussed in this thread but not the exact one.

I have an issue in VL10A (Program: RVV50R10C , Screen : 1000). I have added 3 extra select options to the the to the existing header select options ( Shipping Point/Receiving Pt, Deliv. Creation Date, CalcRuleDefltDlvCrDt ) and I would like to enable them along with standard fields back for input if the user enters any invalid data.

I tried to implement the same logic what you mentioned above but I dont see any implicit/explicit spots in my standard screen PAI like what you have in your program.

Can you please suggest if I can implement this in my program RVV50R10C and in Screen 1000.

Thanks in advance!

Read only

0 Likes
1,703

Can anyone help me in this issue?