Regardin the commas appearing in the amount field
Hi all,
I have zfield which is of type CURR16 in a ztable. So this stores the amount in the form of 30,00,000.00 i.e, it is displayed wth comma's for the amount field.
Now i need to fetch this amount field into a particular cell in the webdynpro component. The amount is being fetched correctly but the comma's are not being displayed(3000000.00) in the Webdynpro component. This cell is declared as CHAR10. Can any one suggest like how to make this cell displayed with comma's.
Regards,
Kalyan Chakravarthi.M
Hi
Declare the cell with the same dataelement which you used for the zfield instead of char10.
Regards
Tamil
Similar Messages
-
Hi Experts,
I need to put the comma in the amount field.
eg: 3000.00 as 3,000.00.
Is there any FM which can do this conversion.
Thanks In Advance
AsishThe best way is type casting.
Ex:
Data: amount(10) Type p decimals 2.
Value = '3000'.
WRITE VALUE TO amount.
Write amount. "3,000
Close the thread once your question is answered.
Regards,
SaiRam -
How to club the amount field for the particular customer from file
Hi ,
In my BDC i am getting the Amount field which is need to be put in the Header data . For 1 Customer there are more than 5 line in amount field in the Excel file.
For the Particular Customer , I need to club all the amount ffield and put it into the Heade data for the customer.
How to do this .
Thanksgot answer
-
How make display only the amount field in table control(infotype 0008)
Dear Freinds,
have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
i have tried the below coding it is not working in PBO & PAI of the user exit
ZXPADU01 and ZXPADU02. For the table control is there any othe method??
loop at screen.
screen-name = 'WA_P0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
i have tried like this as well
loop at screen.
screen-name = 'Q0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
regards
syamlaDear Freinds,
have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
i have tried the below coding it is not working in PBO & PAI of the user exit
ZXPADU01 and ZXPADU02. For the table control is there any othe method??
loop at screen.
screen-name = 'WA_P0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
i have tried like this as well
loop at screen.
screen-name = 'Q0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
regards
syamla -
How to supress sign after the amount field
Hi All,
How to suppress the sign after the amount field is it using only no-sign or any other ways are there for doing that?
Regards
MaheshHi,
Please use the Variable type BSEG-DMBTR, which does not support any sign. <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 20, 2008 2:07 PM -
Hourly rate entered in the amount field of IT0008 calculate wrongly in RT
Hi All,
Hourly rate 9.52 entered in the amount field of IT0008. The system calculate /250 salary summary as 9.52 in the Result Table RT.
Kindly advise on what to configure so that it will calculate correct basic salary in RT.
Regards
Vince9.52 is the RTE in Infotype 008
Generally , amount will be maintained and that amount will be divided with number of hours and you will get Salary per day
in your case maintain RTE as 9.52 in IT08
and in PCR x013... for Grouping 3 Specification 5....... instead of RTE=TSDIVP maintain RTE*TSDIVP and remove DIVID ARR and check the out put once -
How make $ appears in ALV amounts fields
Hi
If i have an ALV wich text and amount fields (columns) , does somebody know is there a way to make the amounts appears with '$' sign ?
Regards
Frankhello Frank Henrd ,
If there is a Amount field there will be a Currency field too...in that case you can
1. Display the Currency field directly like USD or INR EUR etc....
2. if you don't want to do so.. just move the Amount field in CHAR field and Concatinate the the Symbol accordingly Have a look up talble for same...
3. OR check if you find some thing reg. this in the field Catlague structurer. ...( i din't found any...!)
Hope it helps, -
How to maintain the amount field format after GUI_DOWNLOAD
Hi everyone.
I have this problem on my object.
The format of field ERFMG in table AUFM is 3.921,569.
After I SELECT it INTO an internal table it becomes like this 3921.569
I would display this internal table in ALV and its ok. Its format is 3.921,569 The format is also not changed when I download it into an excel file using LIST -> EXPORT -> LOCAL FILE -> SPREADSHEET.
However my program should automatically download to local if the user tick a checkbox in the selection-screen. It will use function module GUI_DOWNLOAD. When this is used, the format of ERFMG changes to 3921.569 again, since it is using my declared internal table.
How will I use GUI_DOWNLOAD without changing the format of amount fields like ERFMG? What are my other options to do this?
The Decimal Notation in my User Profile is already set to 1.234.567,89
Thank you in advance.Hi Cris,
To get the output in the user format for the decimals, try the following code.
data: wg_dec(7) type p decimals 2.
data: wg_dcp type usr01-dcpfm.
data: wg_dec_str(10) type c.
wg_dec = '111135.67'.
select single dcpfm from usr01
into wg_dcp
where bname = sy-uname.
move wg_dec to wg_dec_str.
if wg_dcp ne 'X'.
replace all occurrences of '.' in wg_dec_str with ',' .
endif .
write:/ wg_dec, wg_dec_str.
I dont feel there is any other option where you can change the decimals format as per the user profile.
While giving the output of decimal values in a list, the system automatically displays it in the profile set by the user.
This code will help you to set the decimal value as '.' or ',' as per the user profile.
Note: It wont add the unit separator for hundreds and thousands. Again you have to do that manually.
Hope this proves of some help to you.
Regards,
Pulkit -
Table name for the AMOUNT field in header details of costomer invoice
hi experts,
I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid, there its showing the amount but at item level.Hi,
the table behind structure INVFO is RBKP (Header level).
For item level you have table RSEG.
These tables refer to MM.
Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to BSEG data.
The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
e.g. (BKPF-AWKEY = 51056024412009)
Best regards. -
The amount field in table GLPCT Activity RFBU is reaching max limit of
Hi Experts,
Need your help on below issue.
The amount filed in table GLPCT, company code 123, account 110000, Activity
RFBU and SD00 is increasing every year, and now the sum is close to the
limit of 9,999,999,999,999.99- .
this amount field is continue to increase, if depend on data when
performing year-end closing and balance carry-forward.
So, Each field contains 15 places, which leads to a maximum amount of
999,999,999,999,999 When the value reaches the maximum amount, an
additional update of an amount is not possible anymore.
System cannot update the Balance Carry-forward amount for 2012.Have you communicated with SAP about a possible solution?
-
Alignment required in to display the Amount field
Hi Friends,
kindly help me facing problem in to display the amount using decimal places also
nedd to display the Pretax and aftertax amount for that purpose
written below code .
it is picking amount fields but the amount is printing like this
pretax aftertax
$ 34.67 $ 0.00
$ 21.64 $ 120.90->
I need to display amount fields in order like, thens, hundreds, thousands like.
read table lt_final into ls_final with key bplan = 'PRD'.
if ls_final-pretx = 'X'.
pretax = ls_final-eecst.
write pretax to lv_pre. "#EC UOM_IN_MES
concatenate c_dollar lv_pre into lv_dollar.
shift lv_dollar right deleting trailing space.
*Pretax totals
lv_pretax = lv_pre.
read table out_pay1 with key name = 'PRETAX'.
check sy-subrc = 0.
out_pay1-value = lv_dollar.
modify out_pay1 index sy-tabix.
clear out_pay1.
else.
aftertax = ls_final-eecst.
write aftertax to lv_after.
concatenate c_dollar lv_after into lv_dollar1.
shift lv_dollar1 right deleting trailing space.
Aftertax totals.
lv_aftertax = lv_after.
read table out_pay1 with key name = 'AFTERTAX'.
check sy-subrc = 0.
out_pay1-value = lv_dollar1.
modify out_pay1 index sy-tabix.
clear out_pay1.
endif.
Thanks,
SaiHi Daya,
I would like to print two amount values with decimals.
like : like Pretax after tax
$ 0.00
$ 3.45 $ 120.67
$ 0.00 $ 0.00
I created using right justification one paragraph format with two tabs
60.00 ch Right
68.00 ch Right
But my program output is comming like this.
any one please help me.
Program output:
Pretax after tax
$ 0.00
$ 3.45 $ 120.67
$ 0.00 $ 0.00
Thanks,
Sai -
I've found the tags to display the shopping cart summary elsewhere on the site, so I know there's a way to display the total, but I can't figure out a way to fill in the required "Amount" field in the eCommerce form used to process payments. I'd like that "Amount" field to be filled in automatically using the total in the shopping cart. Can anyone help? Thanks!
You can use the shopping cart summary tag with custom layout.
Here's the sample:
<input type="text" value="{module_shoppingcartsummary template="/ModuleTemplates/Shop/cartsummary.tpl"}">
Inside the shopping cart summary custom layout is a tag for total amount:
{tag_currency}{tag_totalAmount} or {tag_totalAmountWithCurrency} -
Disable input (Grey color) for the Amount field for TANN item category item
Hi All,
I want to disable the input of pricing field in Sales tab in VA01/VA02 for the TANN item category line.
Now I can ZERO the pricing field, but cannot disable the input.
Please help.
Thank you very much.
TerryI've done by User Exit MV45AFZZ
form userexit_field_modification.
Thanks. -
Difference between the amount fields
hi
I am trying to find the difference between two amount fieldds and capture them in a column but it results 0 for all the values.
Please help
MondyHi,
Once check the properties of your Calculated Field. Better to use the Funstion Mod while calculating the difference. Also check if you are Grouping these Amount using any Char in the report.
Regards
Karthik -
Clear the Amount Field Value even not to Zero
Hello Expert,
When i pass condition base value to smart form that it show perfect.
if the value of that filed is zero than its showing 0.00 but the requirement that 0.00 also clear nothing to show on output.Hello,
Just keep a check in the smartform before printing the variable, so that when the value is 0.00, it will show blank and not print the variable
if not V_AMT is INITIAL.
endif.
Vikranth
Maybe you are looking for
-
Address Book Contact Photos will not sync over to iPhone 2G
So here is the deal. I just bought a new 21.5" iMac w/ Snow Leopard. I had a iMac G5 with Leopard previously and rather than using migration assistant, i just copied over the applicable folders and files (per my research) so that my contacts would be
-
I canceled a pre-order and now my reward certificat​e isn't showing up?
I pre-ordered Destiny for the Xbox One and canceled my order. I paid partially via credit card and the rest with a $15 reward certificate. It's not showing up on mybestbuy.com now, was my reward certificate voided when I canceled???
-
My FaceTime camera is not being recognised why? and how can i fix this problem
I had this program called vdcassistant and apparently its a virus so I removed it and now my FaceTime Camera is not being recognised can someone please tell me how to fix this, and i have no time machine back ups
-
Student in need of HELP!Best application for writting java Code?
I've been working on two different systems and need to be able to work on both..On one system the SDK is installed on a linux machine on another on a windows machine...unfortunately i cant open the linux created files on my windows machine although i
-
ITunes and Airport Admin do not see my Airport Express Windows XP
Internet works fine, but I lost my speaker connection and can't get into the AE to try and fix it. Airport admin utility doesn't scan it and airport setup assistant can't connect to it. I've tried soft, hard, and factory resets.