Printing "*" in amount fields
hi folks,
my report is displaying * in the amount column , but when same query is checked in RSRT it is showing correct values. please could someone help me in this reagrd.
help is highly appreciated.
regards,
axel
Axel,
Further clarifications:
Do you have currencies/units attached to the KF?
Do you have some result rows (summation of values)?
Do you see * as the whole cell content? Or it shown like 12345 * ?
Is this * shown for all rows or for some particular ones? If the latter, for which exactly?
Best regards,
Eugene
Similar Messages
-
Displaying amount field in smartform output
hi experts,
i am printing amount field in smartform output. like this 11,200.
but i need to display like this $11,200.
i need to print $ with amount field .
can u give me some idea?
ThanksHi,
Try like this.
Data : v_amount type i value 11200,
v_final type string
If u r getting currency, then check the currency.
If Curr eq 'USD'
concatenate '$' v_amount into v_final separated by space.
endif.
Print V_FINAL where do u want. -
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. -
Weird character while printing amount field in ADOBE form
When amount field is set for any diplay pattern in PDF form it is displaying like ¤7.41.
All display patterns are tried leading to same display.
All display patterns show the first character as $, but displays this weird character '¤'.
Advice me how to eliminate this or
Is there a way to hide this character?Duplicate post - thread locked.
-
Check print report PaymentAmountText field gets spaces while using RPAD Fn
Hi,
In the check print report we are using the PaymentAmountText field to print the amount in text.
After printing the remaining spaces should be filled with '*'
I used the below command
<?xdofx:rpad(PaymentAmountText,100,'*')?>
But the output is as follows:
Twenty-Five Pounds And Fifty Pence
Only***********************************************
There is a huge space between two words.
So please suggest some ideas to remove the space between two words.There is a huge space between two words.
So please suggest some ideas to remove the space between two words.
you can use normalize-space(tag_name) like
Result - <xsl:value-of select="normalize-space('Initial werwe rrr r r')"/>
and result as
Result - Initial werwe rrr r r
also look at Re: Problem with Rpadding in RTF -
Hi;
I've already made a Z for payment check and works fine, but we have notice something when preview the checks in the spool, some checks in the amount (in numbers) field "*****999,999.99" sometimes it´s moves like this:
1) example "......******999,999.99"
2) example ".............******99,999.99"
3) example "....******999.99"
and so....
in DEV we made a lot of test printing in paper the payment check an worked fine, but the problem is in QAS.
How can i get that the amount doesn´t move in the sapscript...?
Thanks on advance,
David Fúnez
Tegucigalpa, Honduras
Edited by: David Funez on Feb 23, 2012 9:27 PM
Edited by: David Funez on Feb 23, 2012 9:27 PMHi David,
create a SIGN aligned tab for that amount field. The tab is nothing but the position in the form from where the printing of that particular field should start.
This should solve your problem.
Please revert if you still face any problems.
Regards,
Praveenkumar T. -
How to display total amount field in PO layout
Dear All,
I have a query related to Purchase Order Printing.
I copied the standard programme SAPFM06P as ZSAPFM06P. I didn't make any changes to standard program.
I copied the standard layout MEDRUCK as ZMEDRUCK.
I am able to display all the data of PO but I am facing problem in displaying <b>Total Amount</b> field (i.e sum of amount and tax value).
How can we display the Total Amount in the layout without changing the Standard program. I want to make the changes only in ZMEDRUCK for this field.
My main window details are as follows :
MatNo MatDesc Uom Quantity rate amount <b>Total amount</b>
Here I am not able to print Total amount(amount + tax value)
Please help me on this .
Thanks & Regards
RajvinderHi Rajvinder,
u need not be so much against changing the program.. infact it s the best way to get the desired output if its done properly...to be completely safe,wat u can do is insert a subroutine somewhere after the values have been populated in the program n then add these inside the subroutine to get the total in a different variable..in this way ur original data s intact n u can use ur new variable in the script as total..
neways if u dont want to change ur program, then u need to keep these things in mind..
the value of total & tax shud be available at the point of calling the perform from the sapscript so that u can pass those to a new program for addition.
eg :
while writing this in script
:/ perform add in program znew using &total& &tax& changing &final&
before this command u need to make sure that total & tax values r ther to pass to the program..
then u can write a FORM in ur znew to add these two n pass to final..
in sapscript u can then print &final&
Hope it helps,
Regards,
Bikash -
Hello All,
I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is suitable for print form. In case of interactive form how can this be done to achieve the functionality.If the value is given from the other side to the amount value its not taking since in display pattern it has been set as *.Can anybody help me out to solve this issue.
This is very urgent.I will reward you with points.
Thanks,
SwapnaSwapna,
Check my reply [here|Adobe Forms --Amount field Problem;.
Chintan -
Insert asterisk(*) for amount field (Very Urgent)
Hi all,
I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.
Your help ll be rewarded.
Regards
Yathishhi,
We can replace leading spaces in a value with a FILL CHARACTER.
SYNTAX: <b> &symbol(Ff)&</b> here f is fill character.
example: ®UD-SWNET& value is 700.00
®UD-SWNET(F*)& value printed as ******700.00.
regards,
sudheer. -
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 -
User defined function to check the NULL and 0.00 value in a Amount field
Hi Experts,
I have one scenario in which i have amount field in Data type.
I have to create one UDF which will do the following thing.
1. If the amount field is Null it should throw an exception in mapping.
2.If the amount field is 0.00 it should throw an exception in mapping.
3. For all other cases it should pass the amount value to the target.
Can anyone provide me the code For this UDF.
Thanks in advance.Hi,
You can add this logic to the UDF. Here var1 is the input string.
java.math.BigDecimal b=new java.math.BigDecimal(var1);
if(b.compareTo(new java.math.BigDecimal("0.00"))<=0)
//write your logic for values less equal to zero
One small request, if you think your question has been answered, properly and correctly, could you please kindly if possible close down this thread. It helps people who look for solutions to similar problem.
regards
Anupam -
DIsplaying WRBTR (AMOUNT FIELD)WITHOUT DECIMAL PLACES
Dear all,
I am facing a problem in displaying amount field in alv report. I have two currency keys (US dollar and Japan yen). if it is japan yen I should not have to show decimal places and if it is US dollar I should show decimal places.
How can I do it in a alv report if I have only one output amount field?
thanks
Ranjan.Hi chittaramjan,
1. use this kind of funda (just copy paste in new program)
Important things
a) one extra field in internal table
declared in the same exact fashion
waers LIKE tcurc-waers,
b) Populate this field
c) REST THE System will take care
(based upon country settings)
2.
REPORT abc.
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : BEGIN OF itab OCCURS 0,
f1 LIKE P0008-BET01,
waers LIKE tcurc-waers,
END OF itab.
START-OF-SELECTION.
itab-f1 = '-4.15'.
itab-waers = 'KRW'.
APPEND itab.
itab-f1 = '4.68'.
itab-waers = 'GBP'.
APPEND itab.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
OTHERS = 2.
regards,
amit m -
Error in Report: Next to amount field i could see 'ERROR' word in report
Guys,
Problem in Report: Next to amount field i could see 'ERROR' word in report
Eg: Invoice Amount : "1200ERROR" it should be like "$1200".
Pls help where do i need to check.
ThanksAjeet wrote :
Hi,
It can heppens if all the records getting aggregated in the report are of different currencies and not belonging to one currency.
Do a currency conversion for the key figures and make them all with same currency.
See if the records in the cube for the selection which you have given in the report gives you records with different currency and if it is true then as above said.
Thanks
AJeet
Are you sure ???
The mixed unit values will be displayed as * (by default unless its changed).
ERR comes if unit is not maintained. -
How to print total amount in last page of purchase orde using xml publisher
Hi
I customizing purchase order report using xml publisher.
i have to print total amount at last every purchse order.
how to compare carry forward amount in xml publisherI think the guys overhere :
BI Publisher
can help you a lot better -
Length of amount field in New GL at the document entry
Hi,
1) At present I am working on ECC 6, EhP 4 with New GL Activated & Old GL "Not deactivated" (i.e deactivate update of Classic General Ledger GLT0 not done).
2) The total table (FAGLFLEXT) & Line item table (FAGLFLEXA) field in new GL has amount field length as 23 digit.
3) When I am trying to enter any FI Document in SAP, using transaction code F-02 or FB60 etc, the length of amount field is coming as 13 digit. I am not able to enter higher value
Question:-
a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
Thanking you in advance
Santosh Agarwala) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
No, it is not.
b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
No, there isn't. The field length that is appearing during document entry is really dictated by the data type of fields such as DMBTR, WRBTR in table BSEG; which is CURR (13,2). Although the GL view (FAGLFLEX* tables) have longer length, the limitation in entry view (BSEG, etc.) stays as 13,2.
Maybe you are looking for
-
Report query XML schema error - Apex Listener 2
I built a simple query: select * from emp in (Shared components > Report Query) When I try to download XML schema for this query (Source Query section) resulting xsd file contains this text: String index out of range: -1 Shared Apex hosting: 4.2.2.0.
-
Mobile Safari cache - Correct page not displaying on "back"
Frequently when I am browsing a site I will 1) go to the home page, 2) tap a link to a subpage on that site and then 3) tap the back button to return to the home page. I am finding that frequently the home page will be a cached version from, usually
-
Hi, I got a job to configure replication between my two different oracle 8i database. I have worked on oracle but i don't know how can i configure replication. My scenario is that I have two oracle database server both will be master and i want to co
-
F.01 Difference with GL Account
Hi All, Can any one help for finding the difference between F.01 & GL Account Balance.As I am getting this difference for my closed period. GL Account shows NIL balance whereas F.01 shows balance in that particular account,specifically for Excise Acc
-
One P.O . for all plat in intercompany stock transfer
Hi Experts In Intercompany stock transfer scenario Client demand to create Single P.O. for all plant, (one company code has 5 plant for this 5 plant they procure goods form another plant which belong to deiffernt company code so here client want to