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

Module pool

Hello all,

Is there any characteristic differences in showing an error message in PBO and PAI.

Please help.

Rakesh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:24 AM

    hi,

    we have to give the error messages in PAI only.If u give the error messages in PBO then it wont get triggered.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:38 AM

    Hi ,

    If you give an error message then subsequent code including the PBO event will not get excecuted untill the error message condition fails.So for this what you can do is,give the Information message instead of error and clear your internal table of the table control.This will solve your problem.

    Regards,

    Priyanka.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:27 AM

    Hi

    We will do all field validations in PAI only and trigger the messages based on the validation in PAI itself

    So trigger them in PAI not in PBO.

    Reward points for useful Answers

    Regards

    Anji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:45 AM

    Hi,

    Messages should be displayed only after some user Actions, so always do such work on PAI.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:47 AM

    hi

    u can write it in PBO also.. but we ususlly give PF status at PBO. in PAI we do all validations.'

    so it will be very much accurate if u write it in PAI itself..

    lets say i am writing codings for PF status like SAVE BACK etc in PBO, then i can write like

    if OK_CODE = 'SAVE'.

    insert ...

    message ....

    endif.

    so according to yr need u can decide..

    reward if useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 09:55 AM

    Hi Rakesh,

    Mostly We can Trigger in PAI, but nobody use PBO for Debugging,

    PAI

    *****

    All the validation process are done in PAI only, in PAI we will move all the screen values to internal table.

    PBO

    ******

    All the screen purpose is doing in PBO only for example Screen Enable and

    Disable, The PBO is used to move Internal table data to Screen.

    IF USEFULL REWARD

    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.