cancel
Showing results for 
Search instead for 
Did you mean: 

Can i have Messages in OVS?

Former Member
0 Kudos

Hi Friends,

In my application i need to show some error messages/pop-up messages in OVS screen.How is this possible?

Please let me know about this.

Thanks and regards,

Chandrashekar.

Accepted Solutions (0)

Answers (1)

Answers (1)

chemicala_srimallikarjuna
Active Contributor
0 Kudos

Hi,

I think, use the hook methods

applyInputValues(): When the OVS is requested for a field. Application context data (ovsRequestingElement) is copied to the OVS search query context (queryInputNodeElement).

onQuery(): Performs search query based on search input (queryInputNode- Element). Copies search results in helper context node (queryOutputNode).

applyResult(): User selects a single row in the search result table.Selected OVS query context (queryOutput- NodeElement) is copied to the application context

Based on this you have to put your message in onQuery.

Pls chk this link;

http://help.sap.com/saphelp_erp2005/helpdata/en/30/d7fa41c915da6fe10000000a1550b0/content.htm

Hope this helps,

Regards

CSM Reddy

Former Member
0 Kudos

Hi CSM,

When i had put the message in onQuery Method i am getting NullPointException.

Can i know the reason for this.

Also i need a solution for the same.

Please help me out.

Thanks and regards,

Chandrashekar.