cancel
Showing results for 
Search instead for 
Did you mean: 

IPC

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

Request you to please guide as to what were the steps which you followed to resolve the issue. As I am also facing the same issue.

Your help will be highly appreciated.

Thanks,

Rajwin

Former Member
0 Kudos

Hi Chanakya,

I am facing a similar issue.

I have a condition type (external data source) in a pricing procedure which is not marked as a manual condition. and i am trying to change the condition rate and value of the condition type using event.

But IPC is throwing error as condition cannot be modified manually.

Condition ZF01 cannot be processed manually

--> com.sap.spe.pricing.transactiondata.exc.ManualChangeNotAllowedException: Condition ZF01 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:3027)

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

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:116)

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

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

at com.sap.conn.jco.rt.VMCServer.dispatchRequest(Lcom/sap/conn/jco/JCoFunction;)V(VMCServer.java:911)

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

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/ServerWorker;)V(MiddlewareJavaRfc.java:2407)

at com.sap.conn.jco.rt.VMCServer.listen()V(VMCServer.java:766)

at com.sap.conn.jco.rt.VMCServer.run()V(VMCServer.java:689)

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

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

How did you resolve your issue. Pls provide your inputs.

Thanks in advance,

Vandana

Former Member
0 Kudos

Found out myself

Former Member
0 Kudos

Check the pricing procedure if the condition 0HA0 is allowed to do manual changes in CRM . It may be the way you believe in R/3, but confirm if that is so in CRM.

Easwar Ram

http://www.parxlns.com