Skip to Content
0
Former Member
Jun 04, 2008 at 02:54 PM

Getting PO number in EXIT_SAPLEBND_002

111 Views

Hello,

I've put code in EXIT_SAPLEBND_002 (include ZXM06U22), and in order to trigger my release strategy I need to pass a "Y" in I_CEKKO-USRC1 if the total net value price on the PO that has been changed has increased in value or percentage over a given tolerance in a control table.

My problem is that I need the PO number to be able to find the data I need using the CHANGEDOCUMENT_READ_HEADER FM. CEKKO doesn't contain the PO number, and when I try to use IT_BEKPO I keep getting an error that it is not a table with a header record.

What is the best way to get the PO number within this exit?

Thanks in advance,

Angela