on 05-11-2016 10:51 AM
Hello Cristiano,
If this is a custom grid that you fill via query result you can try concatenating Amount and Currency columns.
Is this only for display or do you also need to make them editable seperately?
Thanks,
Atilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Atilla, is only display mode.
I try to concatenate Amount and currency in column type SAPbouiCOM.BoFieldsType.ft_AlphaNumeric and it's ok but the problem is when I set col.ColumnSetting.SumType = SAPbouiCOM.BoColumnSumType.bst_Auto the total-cell does not appear.
I could solve by entering a new text field outside the grid ( bottom column ) but I would like to know if there is a correct way (for example you can see the grid of purchase-analysis).
Thanks
Hello Cristiano,
`Unit Price` columns does something similar to this. You can write the amount + currency as text to `Unit Price` column and form automatically reads it seperately. I examined this `Unit Price` column in an invoice form and looks like the column is bind to a UserDataSource which is also a `dt_SHORT_TEXT`. I checked the help file but I couldn't find a specific function for that.
Therefore my assumption is you would need a custom method to handle this like using a hidden column for amount. I will also follow this thread to see if someone has an easier solution.
Thanks,
Atilla
Hi Cristiano,
Unfortunately, this can not be done straight forward currently.
It is available to internal SAP only.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cristiano,
I neved did this. But I think that you need follow like suggestion.
I found this topic:
Grid: Format columns, currency etc | SCN
but with similar answer.
Best regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.