Skip to Content
0
Former Member
Nov 18, 2005 at 03:56 PM

Capture Screen message while ME21N

67 Views

How can I capture the PO Number while executing Me21N.

In one report I am called ME21N. SAP Displays message PO <PO Number > Created. I want to capture the PO Number and wanted to do further processing.

I tried to get data from SYST MSGV1, MSGV2 MSGV3 MSGV3. But all variables are blank.

I cant use set and get parameters. Because if user exit PO creation without creating the PO then get parameter picks the last created PO number.

CALL TRANSACTION 'ME21N'.

EBELN = ???????