Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in using fpm.getMessageManager().reportMessage()

Hi ,

I am trying to use fpm.getMessageManager().reportMessage( to print a message on the screen

I put the message in the message pool as

warn_rej ---employee has been rejected and mail has been sent to for employee

I am writing the following code to call getMessageManger() as follows

String[] employeeName = new String[2];

employeeName[0] = this.getEmployeeName(pernr);

employeeName[1] = Manager;

fpm.getMessageManager().reportMessage(

wdThis.wdGetAPI().getComponent(),

"",

WDMessageType.WARNING,

wdThis

.wdGetBEcmPlanningCompInterface()

.getMessagePoolTextExt(

"Warn_Rej",

employeeName));

But the output is like this

employee AAAA has been rejected and mail has been sent to for employee

How will I print the entire message.How do i need to pass the parameters to the method

Thanks

Bala Duvvuri

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question