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

Dialogprogramming

Hi experets

where you write code for Pushbuttons in Dialogprogramming.

give me detail idea

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2005 at 07:00 AM

    prabhakar,

    U have to catch the button clicks so..

    u shud write that in PAI..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2005 at 07:00 AM

    Hi Prabhakar,

    Write Code in the PAI Module in the ABAP Editor. Once the Push Button is Clicked the PAI is triggered.

    Regards,

    Sailaja

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 06, 2005 at 07:06 AM

    Hi

    In PAI event of the Dialog programming you need to validate your actions.

    For eg.

    If the function code for your pushbutton is 'CLICK'..

    Then in PAI you will have code like,

    CASE ok_code.

    WHEN 'CLICK'.

    <do some actions>

    ENDCASE.

    You need to define ok_code in the declartion as well in the element list in the screen painter.

    REgards,

    Abdul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 06, 2005 at 07:09 AM

    In PAI

    Check the Sy-ucomm

    and handle the button clicks..

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2005 at 08:03 AM

    Hi Prabhakara,

    You can write code for push button in PAI(Process After Input).In Dialogprogramming you have to write PBO and PAI. There you can write code as to what action you want against some event.You will have to use case event to capture button event.

    Hope this will help you.

    Regards,

    Albert Tigga

    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.