Skip to Content
0
Former Member
Dec 15, 2008 at 12:43 PM

IPC

58 Views

Hi All,

I have two questions.

1. I have a condition type which is marked as manual condition in a pricing procedure. When i am manually adding a condition record to the order document using the function module PRC_PD_HEAD_ADD_COND. I get an IPC error:

Condition 0HA0 cannot be processed manually

--> com.sap.spe.pricing.transactiondata.exc.ManualChangeNotAllowedException: Condition 0HA0 cannot be processed manually

at com.sap.spe.pricing.transactiondata.impl.PricingCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(PricingCondition.java:2813)

at com.sap.spe.pricing.transactiondata.impl.HeaderCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(HeaderCondition.java:355)

at com.sap.spe.document.rfc.AddPricingConditions.handleDocRequest()V(AddPricingConditions.java:118)

at com.sap.spe.document.rfc.DocHandlerAdapter.handleRequest()V(DocHandlerAdapter.java:72)

at com.sap.spe.base.util.jco.HandlerAdapter.handleRequest(Lcom/sap/vmc/RFCContainer/Call;)V(HandlerAdapter.java:103)

at com.sap.vmc.remserver.RFCDispatcher.privHandleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:927)

at com.sap.vmc.remserver.RFCDispatcher.handleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:681)

at com.sap.conn.jco.rt.JCoServer.dispatchRequest(Lcom/sap/conn/jco/rt/AbapFunction;)V(JCoServer.java:1605)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:2388)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:1695)

at com.sap.conn.jco.rt.JCoServer.listen()V(JCoServer.java:1375)

at com.sap.conn.jco.rt.JCoServer.run()V(JCoServer.java:1299)

at com.sap.vmc.remserver.RfcServer.run()V(RfcServer.java:386)

at java.lang.Thread.startup(Z)V(Thread.java:754)

2. I have a condition type in a pricing procedure which is not marked as a manual condition. and i am trying to change the condition rate of the condition type using the function module PRC_PD_HEAD_CHANGE_COND. I see an error in VMC log:

Message: Exception occured

--> java.lang.NullPointerException

at com.sap.spe.document.rfc.ChangePricingConditions.handleDocRequest()V(ChangePricingConditions.java:131)

at com.sap.spe.document.rfc.DocHandlerAdapter.handleRequest()V(DocHandlerAdapter.java:72)

at com.sap.spe.base.util.jco.HandlerAdapter.handleRequest(Lcom/sap/vmc/RFCContainer/Call;)V(HandlerAdapter.java:103)

at com.sap.vmc.remserver.RFCDispatcher.privHandleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:927)

at com.sap.vmc.remserver.RFCDispatcher.handleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:681)

at com.sap.conn.jco.rt.JCoServer.dispatchRequest(Lcom/sap/conn/jco/rt/AbapFunction;)V(JCoServer.java:1605)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:2388)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/JCoServer;Ljava/lang/String;)V(MiddlewareJavaRfc.java:1695)

at com.sap.conn.jco.rt.JCoServer.listen()V(JCoServer.java:1375)

at com.sap.conn.jco.rt.JCoServer.run()V(JCoServer.java:1299)

at com.sap.vmc.remserver.RfcServer.run()V(RfcServer.java:386)

at java.lang.Thread.startup(Z)V(Thread.java:754)

Any suggestions why i see these errors.

Thanks in advance.

Chan