Skip to Content
0
Former Member
Dec 02, 2010 at 02:31 PM

Issue with BDC of ME22N to change gross price of service.

158 Views

Hi,

I have a requirement where I have to undelete the PO > services tab of the item details > change the gross price to the value thats calculated by the program for each of the services of the PO > set the deletion indicator to the PO.

The spec says to use a BDC of ME22N to acheive this but after creating the recording I have had several issues with some PO's that interrupt the BDC because they bejave differently from the recording I did.

On most cases when im running the BDC in foreground after changing the gross price and pressing enter I get a new windowthat appears asking for the account assingment of service, on this window the G/L account information is ussualy passed automatically then the bdc clicks back and the process continues normally. On other services after changing the gross price and pressing enter I get the account assignment of service window but the G/L information is not passed and when the bdc clicks back the G/L account information gets passed instead of going back and the BDC stops, if I manually click back again the process will continue.

With single service PO's the process is completing, this issue is happening with PO's that have multiple services.

I know ME22 should be used for BDC and not ME22N, but the functional insists to correct the issues with the BDC of ME22N. Also I atempted to use BAPI_PO_CHANGE but I dont think this bapi can not update the gross price of each of the services, it can change the net price but this is not my requirement.

Is there a bapi that can change the gross price of each of the services of the PO?

Please advice me on this.

Edited by: bodyboarder1 on Dec 2, 2010 3:33 PM