cancel
Showing results for 
Search instead for 
Did you mean: 

Item Messages in ISA R/3

derekvincent
Participant
0 Kudos

I am implimenting ISA R/3 4.0 and have an issue with addeding messages at the item level of the basket.

I have created a custom class that extdents the MaintainBasketDispatcherAction. In this class we do some work at the item level. All this works fine in the application.

I also am trying to add a message at the item level using the addMessage method.

The issue I have is the message never makes it to the screen.

I have found that MaintainBasketRefreshAction class clears all the item messages. So I implimented another custom class that that pulls the messages from the call the super method and then places the messages at the item level.

But it still does make it to the screen.

Doing a little debugging I have followed the action flow and find that the UpdateDocumentViewAction calss calls /b2b/refresh_basket.jsp (the UpdateDocumentViewAction class still has the messages intact). Then the /b2b/frameset_order.jsp calls the ShowBasketAction which no longer has the messages.

So as far as I can tell the call to the /b2b/refresh_basket.jsp is where I am losing my messages.

I am wondering if anyone has worked with this before.

D.

Accepted Solutions (0)

Answers (3)

Answers (3)

derekvincent
Participant
0 Kudos

As with most thing is in life the reason the messages were not worknig was becuase the code was int wrong spot...

Had to move it for other reasons and now it works...

Thanks all the for suggestions.

D.

Former Member
0 Kudos

Hi Derek,

we have added some additional messages that are generated by the backend R\3. Those messages have to be mapped in ISA in order to show and handle them in the front end screens.

There is a method setUpMessageMap() in the ReadStrategyR3-class which I have sub-classed. When setting the correct flag and adding the message-codes, the message show.

I don't know if we are talking about the same messages ?

Regards, Astrid

derekvincent
Participant
0 Kudos

I have allready created this method in order to pass some additional messages during the order simulation.

The issue I have is that I am not dealing with this call to R/3 and I am adding messages in the java based on a return.

Derek

Former Member
0 Kudos

I used ISA in combination with a CRM backend system. The right place to add checks and messages is in SAP CRM. Because that is where your business logic should reside. The ISA application is just the View and the Controller in the MVC concept.

So I think you should write a custom BAPI that is based on CRM_ISA_BASKET_CHANGEITEMS. In SAP R/3 this is probably a different function. But you can use the ISA log files to find out which RFC's are called.

Peter

derekvincent
Participant
0 Kudos

Peter, while that sounds great the ISA for R/3 work alittle different... from what I can tell the ISA never hits the backend until the order simulation (just before the check out). The enhancment I have added goes to SAP and runs a custom FM in order to minium order quantity for an item and then changes during a basket refresh (cart update).

Derek.