Skip to Content
author's profile photo Former Member
Former Member

posting of page

hi everybody,

I have a problem regarding the posting of page in web dynpro.I have 2 views. in first view,after the click of button , i am checking for the validation of the input field in the * ' wddobeforeaction method ' * and if error is occurring then i want to print the error message on the same screen for the input field.But as i have jointed these two views , my error message is printing on the other page.I want it to print on same page and the untill and unless the all the input data is correct,the page should not be posted.

I have use

CALL METHOD l_message_manager->REPORT_SUCCESS

for the message printing .

Thanks in Advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 06:14 AM

    Hi Vaibhav,

    As per this requirement we should write validation and message display code in to button on click action method instead of WDDOBEFOREACTION method. that is we should create one action for this button ,that time system automatically create one method , in that method we should write validation and message display code .

    If u have any clarification ask me...

    Regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 08:43 AM

    Hi vaibhav nirmal ,

    Instead of showing a sucess message, show an error message which is having option to cancel navigation. and also write code to display error message before firing the plug.

    Regards

    Sarath

    Add a comment
    10|10000 characters needed characters exceeded

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.