cancel
Showing results for 
Search instead for 
Did you mean: 

Display of messages from R3 Business Objects in Web Dynpro

Former Member
0 Kudos

Hi,

Please let me know how to display the messages that are given by the R3 Business Objects(BOs) in the WebDynpro view.

Example : Suppose I save a record using the GCP APIs and need to display the message "Save successful/save aborted due to...." given by BO in the view.

Awaiting your kind response.

Regards,

Mahesh

View Entire Topic
Former Member
0 Kudos

Hi,

GCP APIs should provide this functionality.

Ex: If save record fails then API will raise some exception.You can catch those exceptions and you can print your own messages .

Regards, Anilkumar

Former Member
0 Kudos

Hi,

I was able to get the BO messages using IMessageList and IMessage GCP API's.

sample code :

IMessageList msgList;

msgList = sf.getAllMessages();

//sf is of type IServiceFacade.

IMessage msg;

for(int i=0; i<msgList.size();i++){

msg = (IMessage)msgList.getMessage(i);

wdComponentAPI.getMessageManager().reportSuccess("BO msgs = "+msg);

}

Regards,

Mahesh