Skip to Content

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

How to dispaly percentage %

Hi

I calculated percentage. but it is showing data like 49, but i want to dispaly data like 49%. how to append % symbol with data?

give me a sloution.

Thanks

Former Member
Former Member replied

Morning Swetha,

There are two ways of doing this,

1: You can use the format field option, right click on the row (percentage) and click on Format Field. Click on Number tab, and choose Custom and set up a % symbol under currency symbol tab.

2: You can use a formula to calculate your percentage and then with that you can setup a text value, like this

Whileprintingrecords;
Numbervar h:=Currentfieldvalue;
Numbervar g:={@TotalJobs-CancelledJobs};
Numbervar b:=0;
b:=((h/g)*100);
Numbervar gTot:=gTot+b;
totext(gTot,2) + "%";

The above formula is used in my report, you have to edit it according to your needs. Saying that, the concept is the same.

Hope this helps

Regards

Jehanzeb

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question