Skip to Content
0
Former Member
Jan 14, 2011 at 12:39 PM

Purchase requistion - total item values from bespoke button on ME52n

46 Views

Hi Experts,

Can anyone advise the best way to get the total Purchase req value (sum of Price Valuation PREIS) when a bespoke button is clicked on ME52n from the application bar and Z code is entered. GOS is being used here.

This by passes all SAP standard checks (normally done when the check icon is clicked) so the Z code does not have access to any of the item data other than the current item.

I need to do a call to a function module within the Z code and need the total PR value as an input paramter.

Many thanks, Jas.