SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Отображений нулей после запятой для целых чисел в PDF



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
PAHO
Участник
Участник



Joined: 30 Oct 2007
Posts: 12

PostPosted: Sat Jun 01, 2013 11:55 am    Post subject: Отображений нулей после запятой для целых чисел в PDF Reply with quote

Добрый день.
Столкнулся с такой проблемой. Есть поле типа DEC с двумя знаками после запятой. Необходимо, чтобы в PDF формуляре даже целые числа отображались с нулями после запятой.
Сейчас если целое число, то оно отображается как «24». Необходимо «24,00».
Сейчас в формуляре для поля указал шаблон как 123,45.
Что необходимо подправить?
Back to top
View user's profile Send private message Send e-mail
alezhu
Специалист
Специалист



Joined: 29 Apr 2012
Posts: 86
Location: Spb

PostPosted: Mon Jun 03, 2013 9:10 am    Post subject: Reply with quote

1.

2.



Screenshot_2.png
 Description:
 Filesize:  1.6 KB
 Viewed:  9844 Time(s)

Screenshot_2.png



Screenshot_1.png
 Description:
 Filesize:  14.62 KB
 Viewed:  9844 Time(s)

Screenshot_1.png


Back to top
View user's profile Send private message
PAHO
Участник
Участник



Joined: 30 Oct 2007
Posts: 12

PostPosted: Mon Jun 03, 2013 10:26 am    Post subject: Reply with quote

спасбио.
А можно второй скриншот показать полностью. Какой из pattern выбран для поля? Когда указал такой "руками", форма даже не формируется.
Back to top
View user's profile Send private message Send e-mail
PAHO
Участник
Участник



Joined: 30 Oct 2007
Posts: 12

PostPosted: Mon Jun 03, 2013 10:48 am    Post subject: Reply with quote

пошу прощения. Но не очень помогло. Теперь 24 отображается как 0 24.
Pattern выглядит так



19145.jpg
 Description:
 Filesize:  11.2 KB
 Viewed:  9829 Time(s)

19145.jpg



19144.jpg
 Description:
 Filesize:  2.47 KB
 Viewed:  9829 Time(s)

19144.jpg


Back to top
View user's profile Send private message Send e-mail
alezhu
Специалист
Специалист



Joined: 29 Apr 2012
Posts: 86
Location: Spb

PostPosted: Mon Jun 03, 2013 11:17 am    Post subject: Reply with quote

Паттерн Display.

В нем точки а не запятые - запятые разделяют разряды
Back to top
View user's profile Send private message
PAHO
Участник
Участник



Joined: 30 Oct 2007
Posts: 12

PostPosted: Mon Jun 03, 2013 11:44 am    Post subject: Reply with quote

alezhu wrote:
Паттерн Display.

В нем точки а не запятые - запятые разделяют разряды

Да действительно, промахнулся с точкой. подправил и заработало.
Спасибо большое за помощь
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.