Skip to Content
author's profile photo
Former Member

Calling a popup dialog box and trigger workflow from a PO change BADI

We've a PO change BADI that is is called when one uses PO create of change transaction. In this BADI we are triggering a workflow in the background.

Now User is asking me to display a diaglog box when wt exceededs a certain limit.

When I add code for displaying dialog box in the BADI, I get the error message "Control Error".

It works fine w/o the dialog box.

Any clue why I am getting this error message?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 04, 2005 at 03:08 PM

    Atul,

    Welcome to the ABAP forum!

    The triggering of the workflow is probably executed in an update module and therefore you get the error. You should also be getting an update terminated message.

    In order to display a dialog box, you must look for a BADI method that can implement customer validations.

    Take a look at method CHECK of the BADI ME_PROCESS_PO_CUST.

    Cheers,

    Ramki Maley.

    Please reward points if the answer is helpful.

    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm

    Message was edited by: Ramki Maley

    Add comment
    10|10000 characters needed characters exceeded