capturing error messages from po bapi and displaying in dialog box
I am new to Webdynpro Abap . I had a requirement to create a purchase order Webdynpro . I used the BAPI 'BAPI_PO_CREATE1' . How can i display the error messages from Return tab of the BAPI and display as a dialog box to the user .