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

Differentiate between button events in WD ABAP Interactive form ?

Hi ,

I have a senario in which I have 2 buttons in a Webdynpro ABAP Interactive form.

Button1 is to fectch some values from the back and set in the context so that it is populated in the form.

Button2 is submit button which calls a BAPI in the backed..

I need to differentiate between the events of these 2 buttons in my Webdynpro ABAP onSubmit event..

Is there any way to differentitate which button I have clicked in the form.. ????

Thanks

Siva

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 02:58 AM

    Hi Sivaraj,

    you can try defining an action on OnCheck action. I think it should work.

    If it doesnt work then, define an attribute in the context, and place it on the form, make this field invisible. Then on click on button set some values in this attribute. Read the attribute value in the ABAP. And perform the action according to that.

    Hope this helps,

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 09:41 AM

    Thank you

    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.