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: 

Enable user to provide entry in F-02 even after error message

0 Kudos

Hi everyone,

Consider the scenario:

Step 1-  Go to f-02 transaction --> Enter details:

Step 2- enter amount and press profitability segment.

In the profitability segment, i am doing a validation on customer if the customer is blocked or not. If blocked an error message is being displayed mentioning "Customer is blocked".

But at this point as the message type is 'E', further processing is not allowed.the user cannot reenter the correct customer.

Is there any way to allow user to re enter the customer field without leaving the screen or input is enabled for customer.

I tried using message type 'W' but it does not suffice the situation as it shows message but it does further processing in the transaction.

Thanks in advance.

Regards,

Roshan.

1 REPLY 1

Former Member
0 Kudos

Dear Roshan,

I have seen the standard SAP logic in that screen, it used

Message e780(ke) with ls_error-keyid_o ls_criteria-fieldname.

and System will enabled the field again.

How do you place your logic and how do u display your error message ?

Regards,

Yance