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
Mahesh
Hi,
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
Similar Messages
-
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 interchange sign for the field
Hello Experts,
My interface is ABAP proxy to JDBC , ECC is sending the data PI has peocessed succesfully but it in receiver channel throwing Invalid identifier i find that Paylaod has one field like
<STOCK_QTY>58.931-</STOCK_QTY> in this quantity has negative value,sign is after the value data base is not accepting this format it will accept
<STOCK_QTY>-58.931</STOCK_QTY> it will accept this format sign should be before the value.How to change the sign to before the value when it is after the value what function i has to use for changing like this
And one more if STOCK_QTY comes with positive nothing changes has to be done only if it is negative sign after the value we have to change the sign to before the value.
Any help is highly appreciated
Regards
PraveenPraveen
Constant: '-'---\
Concatenate----\
STOCK_QTY ----- Replace ----/ |
Constant: '-'------/ |
Constant: ''------/ |
|
|
STOCK_QTY -->EndsWith ------------------If ------------------Target
Constant: '-'------/ |
|
STOCK_QTY -----------------------------/
Regards
Raj -
How to get a minus sign with the cost field in ALV.
Hi ,
How to get a minus sign with the cost field in ALV.
The Ouput will be displayed like Rs -1500 instead of 1500-
I can't use concatenate also as i may have to use the sum functionality of ALV .
Cheers
SunnyHi sunny,
1. The OTHER FIELD
has to be character field of say length 15.
2. Write the original numeric value to
this character field (in a loop)
3. But simply writing won't help.
4. use this kind of logic.
5.
REPORT abc.
DATA : m TYPE i.
DATA : chr(15) TYPE c.
m = -100.
WRITE m TO chr.
IF m < 0.
SHIFT chr RIGHT BY 1 PLACES.
CONDENSE chr.
CONCATENATE '-' chr INTO chr.
ENDIF.
WRITE chr.
regards,
amit m. -
How to show $ sign alongwith the value in message styled text field.
Hi,
How to show $ sign alongwith the value in message styled text field.
The value is coming from the table column in VO.
I am working on OAF R12.Hi,
Resolved.
I used the below code in CO for the solution.
Formatter currencyFormatter = new OADecimalValidater("$#,##0.00;($#,##0.00)",
"$#,##0.00;($#,##0.00)");
OAMessageStyledTextBean msrpField = (OAMessageStyledTextBean)webBean.findChildRecursive("MSRP11");
msrpField.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, currencyFormatter); -
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 to deactivate withholding tax base amount field
Dear Experts,
My in client is using the extended withholding tax with setting Define Formulas for calculating withholding tax, my client feel that the tax base amount field is open and user may accidentally input the wrong amount there thus can anyone tell me how to deactivate this tax base amount field?
thank youDear,
Go into Withholding tax type under SPRO>Financial Accounting Global Settings>Withholding Tax>Extended Withholding Tax>Calculation>Withholding Tax Type.
While maintaining the Withholding Tax type you have selected "W/tax base manual" under the control data. Just don't select that option then your requirement will be met.
There are other options also like Manual W/tax amt. which you might want to go for.
Regards,
Chintan Joshi. -
How can I sum all the amount per line?
HI,
How can I sum all the amount per line?
EXAMPLE:
[code]
TOTAL:
1,000 2,000 5,200 $8,200
400 1,200 6,000 7,600
[/code]
THANKS!!If you are sure of the number of columns that you are gonna get then you can add them to a variable and display.
total = itab-col1 + itab-col2 + itab-col3.
If you dunno how many columns will come , you have to use field symbols.
Say the datatabse table has 16 columns which will contain your price and you have to calculate the sum of all those , then assign them to field symbols and calculate.
Have a look at the following code.
FORM GET_VALUES_FROM_COSS .
FIELD-SYMBOLS: <FS1> TYPE ANY.
DATA: V_COMPONENT1 TYPE I.
V_COMPONENT1=31. " your field of table from which amount field starts
Cumulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the partial posting of
production order values in different periods.
DO 16 TIMES.
ADD 1 TO: V_COMPONENT1.
ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
IF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR1.
ADD <FS1> TO I_FINAL-PL_LABCOST.
ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR1.
ADD <FS1> TO I_FINAL-ACT_LABCOST.
ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR2.
ADD <FS1> TO I_FINAL-PL_MATCOST.
ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR2.
ADD <FS1> TO I_FINAL-ACT_MATCOST.
ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR3.
ADD <FS1> TO I_FINAL-PL_OPCOST.
ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR3.
ADD <FS1> TO I_FINAL-ACT_OPCOST.
ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR4.
ADD <FS1> TO I_FINAL-PL_FACCOST.
ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR4.
ADD <FS1> TO I_FINAL-ACT_FACCOST.
ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR5.
ADD <FS1> TO I_FINAL-PL_LABCOST.
ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR5.
ADD <FS1> TO I_FINAL-ACT_LABCOST.
ELSEIF COSS-WRTTP EQ '05'.
ADD <FS1> TO I_FINAL-OTHER_PL_COST.
ELSEIF COSS-WRTTP EQ '04'.
ADD <FS1> TO I_FINAL-OTHER_ACT_COST.
ENDIF.
ENDDO.
ENDFORM. " GET_VALUES_FROM_COSS
Let us know if u need more inputs -
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.MHi
Declare the cell with the same dataelement which you used for the zfield instead of char10.
Regards
Tamil -
Any ideas on how to fix ipad after the new iOS 7 update? My battery will not charge, my ipad is hot to the touch, the iTunes Store won't open, and my messages on Facebook aren't showing up when I chat and pintrest won't pin to my boards.
If you have all your music on the cmputer then i would connect up my phone uncheck the Sync Music option and apply.
This should take all the music off your phone .Then you can resync the music back on to it.
If this doesn't work maybe a restore to factory settings and start from scratch is the way to go -
How to avoid printing zero in amount field in adobe forms
Hi All,
If the amount is empty in the amount field then it is printing 0,00. I have written some peice of code to avoid printing that value. I wanted to print space.
Below is the logic which i have tried in javascript.
if ( this.WRSHB.rawValue == null )
this.presence == "hidden";
if ( this.WRSHB.rawValue == '0,00' )
this.presence == "hidden";
I am still able to print 0,00 in the form output.
Can anyone please help me out in achieveing the same ? Am I missing anything in the javascript coding?
Thanks and Regards,
Karthik Ganti.Hi,
Issue is fixed. I have written the above code in Form ready event and changed the amount field type to text field. It worked. Thanks.
Thanks and Regards,
Karthik Ganti. -
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 -
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 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 -
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}
Maybe you are looking for
-
I have some dts cd's that I want to import into itunes on a windows pc and then play back on my apple tv 3 (i think its 3, about 9 months old) to listen to through my onkyo amp via hdmi as dts, when I play back I just get white noise. I have seen lot
-
Thumbnails can't be renumbered in Acrobat 9.
Hi, My document is numbered in chapters, e.g., ch 1 1-1, 1-2, 1-3, ch 2 2-1, 2-2, 2-3, etc. I want the page numbers on the thumbnails to reflect this so I can locate particular pages quickly. I got to the page numbering window and followed the
-
Iphone 5 loses signal when plugged in.
Also, if I'm in the middle of a call as soon as it is plugged in to the charger, the microphone and speaker stops working but when it's unplugged the call can continue as normal. Any ideas why?
-
Formatting Numeric Only with Variable Decimal Places
Acrobat Pro 9, Windows XP I'm creating a form that has a number of text box form fields that are to be numeric only per the form requestor. However, for any given field of this type the number of decimal places that can be entered can vary from 0-3 a
-
Here is a stored proc we use to rename columns. It's not bulletproof, but it will get you started: create or replace procedure &&1.RenameColumn(uid IN varchar2,tablename IN varchar2,oldcolumn IN varchar2,newcolumn IN varchar2) as dt varchar2(106