Skip to Content
avatar image
Former Member

Displaying the warning msg in a iview

Hi ,

I am working on a java application which is deployed on sap netweaver.

my application throws a confirmation box with a msg as shown below.

this is how the msg looks like but i want it be in the below format

My msg variable contains the below message i tried adding \n to it before displaying in the iview but not succceded.

"Total of working and nonworking time is not matching .............Please recheck the values "

1) ADVSSUP01 corresponding weekendate 2013-02-02 and the maximum working hours are 38.75.

2) ADVSSUP01 corresponding weekendate 2013-02-09 and the maximum working hours are 38.75.

............................................. and soon...

Are you Sure that you want to submit the timesheets?

i tried to add new line character to the msg but i am getting a javascript error Like "concanated string not terminated properly"

could anyone help me how to add newline character to msg and dispaly the same in iview ?

Thanks in advance.

Regards,

Pandu.

warning.png (43.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 20, 2013 at 10:43 PM

    Hi Pandu,

    You could try adding a <br> tag in the text and see if that gets output as raw HTML, if it does it will give you a line break.

    Worth a try I think,

    Simon

    Add comment
    10|10000 characters needed characters exceeded