08-20-2009 2:48 PM
Hi,
Is there any function module or class for changing the service line item values in Purchase order?
while creating PO, if we select the item category as 'D'. we will be getting the service tab like account assignment tab.
in service tab we are having multiple service line item.
i want to change the price of some service line items programatically.
if any one knows the function module/ Class for changing the PO service Line item please let me know
Thanks in advance
Laxman
08-20-2009 2:52 PM
in BAPI BAPI_PO_CHANGE parameter table POSERVICES. (Look at OSS [Note 561507 - BAPI_PO_CHANGE for services|https://service.sap.com/sap/support/notes/561507] for more information, this is the note released with this parameter)
Regards,
Raymond
10-02-2009 4:08 PM
Raymond ,
Recently we are upgraded to ECC 6.0. all the changes that are mentioned in the note are implemented in ECC 6.0
when i Check the bapi_po_change function module documentation it clearly says that " you can oly created service item, you cannot change them ".
I have tried to change the price of service entry with BAPI_PO_CHANGE. but it not changing.
please help me is there any alternative process to change the serivce price.
Thanks for helping me in this and sorry for the late reply due to vacation
Thanks
Laxman
10-02-2009 10:22 PM
Make sure you are using BAPI_TRANSACTION_COMMIT after calling the BAPI.
10-05-2009 10:40 AM
J@y,
yeah, I'm using 'BAPI_TRANSACTION_COMMIT' after the callin the BAPI.
In the return table of 'BAPI_PO_CHANGE'. I'm getting the message 'NO DATA CHANGED'
Thanks
Laxman