on 07-22-2009 12:47 PM
Hi Experts
We are having one requirement in order page, the requirement has follows.
Currently in order page when ever user given the RDD(Requested Delivery Date ) has back date the system throwing response as warning message "RDD" Should not be back dated.
But over requirement is that warning message should change to Error Message and user should not able to create the order.
We did initial round of investigation we found out this warning message is comming from the java class ie."ItemDB.java" in the method "checkItemReqDeliveryDate".
Since this method is not calling directly from action class.Also this ItemDB class has no entry in backendobject-config.xml.
Can any please thow some pointers tell me how can we override this method to changing the warn to error.
Regards,
Satish B
We did the customization in ABAP level then we got the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Just extend the SalesDocumentDB.java class.
In order page when the page is refreshed or update the updateInBackend method.
The flow would be
updateInBackend > internalUpdateItemList(posd); > internalUpdateItemList(SalesDocumentData posd) > itemDB.checkItemReqDeliveryDate().
Just overwrite this method and change warning to message. I know this looks like little complex.
Regards,
Sateesh Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
You can change the message priorities in "itemErrMsg.inc.jsp".You will find this jsp in b2b folder of your codebase.
You can have your custom messages also.Put a validation for RDD and print a message which will be printed for every item.
Regarding restricting order to be created, there are many ways you can do it.
Like showing the error message and disabling the "create" order button.You can also write your custom action to
take care of this.You will call this action before
<action path="/b2b/basketsend" type="com.sap.isa.isacore.action.order.MaintainBasketSendAction">
Regards,
Arshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.