Skip to Content

Enable screen fields after the error message

Hi Folks,

i Guess this is a very regular question , but i tried all the options available in sdn and google to enable the fields after the error message but not able to achieve.

I want the logic to be implemented without chain End chain.

Scenario : in Va42 Tcode under contract tab- there is acceptance date and contract end date field, i have to throw an error message if acceptance date is greater than the contract end date , throw an error message

i have written the logic in the include-LV45WFZ in the form (userexit_field_modification)

Logic :

if veda-vabndat > veda-vendat

Message 'acceptance date greater than end date' Type 'S' display like 'E'

endif.

I tried different ways but still all the fields are disabling , i want only veda-vabndat field only to disable.

Could you please provide your suggestions on this issue.

Thanks in Advance.

Thanks & Regards,

Shri.

Add a comment
10|10000 characters needed characters exceeded

  • It's the include LV45WFZZ (not LV45WFZ).

    Its description says: "This userexit can be used to modify the attributes of screen fields."

    It's triggered before the display, not after input (PAI), so it can't be used for validating and sending an error message.

    Why do you say "I want the logic to be implemented without chain End chain", i.e. why don't you want to do as recommended by SAP ? (adding a "ZZ" PAI module in the dynpro flow logic, and implement it in MV45AIZZ)

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.