cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying $10,234.00 data on Adobe Print forms

Former Member
0 Kudos

Hi all,

When I am displaying currency fields on the Adobe print form, the decimals and $ are displayed fine untill the number reached 10,000. That is display is fine untill $9,999.99. After this I do not see decimals or the dollar sign, the whole number is displayed fine.

How do I get the number displayed all the time, regardless the size? I have enough space on the form and the value is being passed correctly.

Please post any ideas.

Appreciate it Thank you

Accepted Solutions (1)

Accepted Solutions (1)

OttoGold
Active Contributor
0 Kudos

Hello,

I am not sure if this could help, but if I am afraid some of my settings is wrong I use the "generated defaults".

I think you created a field and then maintained the binding, is that right?

But you could go to data view tab, drag and drop the context element onto the form layout. This way the "system" will create a suitable field with binding for you. And I think the Adobe/SAP guys have tested this case. So this "default" way should help. Even if you don´t like it, try it and see if it works. Then you can inspect the field settings and apply it on your own field.

Have a nice day,

Otto

Former Member
0 Kudos

Hello Otto,

Yes, the problem is with binding. In my case, once I dragged and droped, if I change any display setting later on, I am loosing the control. If I do everything WHEN I did the binding it is working fine. Essentially, eveytime I change something I have to rebind, and tthen it worked. Your post put this in brighter light and helped me understand it better.

Thank you and kind regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Livonia,

it may be silly but can you check the size properties of the field ...?

I had similar issue earlier, at first I had the text field with 10 chars length.

When i had the binding, i selected the update the properties, then it autoset to 4 chars.

if this is the case there are 2 approaches.

1) change the pattern of the filed to the corresponding currency type in designer.

2) at all times have your field with required max length in designer, in your datasource have your field data converted & appeneded with the required string format.

The 1st is the best option.

Regards,

Sai Krishna.

Former Member
0 Kudos

Hi Sai Krishna,

Thanks for the reply.

My field (of type CURR 13char with 2 decimals) is coming from ABAP and I am displaying that field on Adobe print form. On the form there is plenty of space. On the object palette of the field on the form I chose max leading digits as 10 and max decimals as 2. The type is Decimal field. The binding looks ok as I am getting the numbers right. I need little bit of clarification on the two items you mentioned.

1) change the pattern of the filed to the corresponding currency type in designer.

In designer, the filed that is displaying the number is Decimal field so that should be ok, correct?

2) at all times have your field with required max length in designer, in your datasource have your field data converted & appeneded with the required string format

Do you mean, pass a text string from abap and just dispaly it on the form instead of displaying currency filed?

Please let me know...Thank you

Former Member
0 Kudos

Hi Livonia,

I just tested a small scenario for your problem.

On the form I had a desimal field with 15,2 as the lengths.

When I place default value 12.00 its changing to 12 both at design time and runtime.

When I place 12.21 it remains 12.21.

Then I set the pattern and which then publish the field excatly as per your requirement.

So what I can say is that ADLC could identify data from source as Decimal but by default based on the decimal value it eliminates them.

And my assumption is that it could identify that this field is a decimal from the datasource attributes but not sure it can identify that its a currecy field (note even in SAP currencty field is not data type stright away but property on a decimal field).

Let me know if it makes sense.

Thanks & Regards,

Sai Krishna.

Former Member
0 Kudos

Thank you Sai Krishna,

You helped me understand this number display better. Your idea no 2 in the previous post did help me.

Thank you and kind regards