Smart form number display problem
Hi Guys,
I want to display output in following mannner in smartforms.
eg : 10.4
minus sign should be display above the decimal place of number.
Please help!!
Thank you,
Bhaskar.
Hi,
Thanks for the reply.
I have tried it and it put the sign infront of the number,however I want sign to be display at the head of the number.
e.q : _
10.31
ok man thanks for this reply!!!!
Thanks & Regards,
Bhaskar.
Similar Messages
-
Smart forms Print preview problem
Hi
Experts,
I am working in CRM2007. I am creating number of different type Smart forms for our client requirement. All Smart Forms working fine in WEB GUI. In Web GUI there have two buttons; one is print buttons and another one is Print Preview buttons. When we press print buttons it is directly go to printer for printing service order or service invoice or sales order or sales invoice whatever user is selected. Means working fine print buttons. And in case when we press print preview button it is open selected forms in PDF format; it is also work fine in our desire. But problem is here PDF format front size; which is very small. And after looking the PDF format if we select for print out of this PDF form; the print out orientation is Landscape and front size is very small. Now my question to all of experts u2026u2026u2026.How I change PDF front size and orientation? u2026u2026u2026u2026u2026u2026any type of BSP Enhancement or functional setting is required? Please Experts help meu2026u2026u2026u2026u2026u2026u2026u2026..
Regards
Tarapada D.please CRM Experts give me some answer!!!!!!!!!!!!!!!
-
Hi experts,
I copied one smart form and did some modifications in that form and this form
included in the same program.The form is syntacically correct and it is activated.
When execute the program the o/p is not displaying.There are no errors in the program or in form.
What is the problem.Hi,
Debug the driver program and put brk point on ssf_function_module _name and give the new smartform name when it comes to this point,so it will take this form and generate the output.
Regards,
Amruta
Edited by: amruta1 on Feb 26, 2010 8:30 AM
Edited by: amruta1 on Feb 26, 2010 8:32 AM -
Smart forms not displaying result from sub routine
I am working on a smart form and need to display the description of the fabric code. Under Form Routines, I create a sub routine
FORM fcc_values USING gv_fabrictext.
which is supposed to store the description in gv_fabrictext. GV_FABRICTEXT has been declared in global data as char64. Then I call prior to displaying my table as
perform fcc_values using gv_fabrictext.
And then insert the field &gv_fabrictext& in cell but this does not display any result
I know for sure that this sub routine works as I have tested it separately as a test program. Any ideas?1. put break point at ssf_function madulename and check field value.
or
2 fm_name export parameter ur not mentioned
or
3 global variable not defined properly
go through above. still if u didnt get
need program where the problem to find.
Message was edited by:
Deepa KN -
Smart Form Language Print Problem
Hi ,
i want to ask that in PO smart form if i am taking print preview. then vendor & Shipping Address are not coming in print preview...another fields are coming like tele & Fax No these are store in numeric value but these name1 and street store in taiwan Lang..
then data fetch from ARDC table but ARDC-name1 and ADRC-street store data in taiwan lang..so these two fields data is not displaying in taiwan lang during print preview but some other format is displaying like squrae shape.....
so plz send me solution...ASAP...
Thanks
Amit NigamHi,
Pick up the Address using user log on language instead of adrc-spras Or the language which user wants to display on the form.
Alternatively u can also code the driver program in such a way so that, if the the sy-langu is EN pick the address in EN or pick the address in Taiwan language.
ADRC-Nation is set in such case.
Another solution is the master data for the vendor has to be first maintained in English and then international versions have to be maintained in various languages.
Thanks,
Rashmi -
Regarding Smart Forms(Number of copies)
Hi Experts,
I need to know the system field for holding the number of copies in smart forms, because i need to print the sequential number in the header window depends on the user's input(User will give the input no. of copies dynamically). Please advice meHi
The number of copies of an output is populated in the field NAST-ANZAL. The masterdata for the number of copies is maintained in NACH-ANZAL for any sales related transaction. The table NAST is however applicable irrespective of application.
You can pass on your data to this field (NASST-ANZAL) for your reqmt.
Reward if this helps.
Message was edited by:
Navaneetha Krishnan -
I get an number from my db column (SQL2000), and I need to display a accumulative sum of that column.
I am now facing a problem of the automatic convertion of the sum when it is greater than 9999999.
For example, when the sum is now 12345678 it will automatically convert it into 1.2345678E8.
Please tell me how to solve it. I want the float to display exactly 12345678.
Besides, when I want to display the float as in the format of 12,345,678, please tell me how I can do it.
I list part of my coding for your reference.
float accumTot = 0;
accumTot = accumTot + Float.parseFloat(salamt.getTotAmt());
out.println("<td width='15%'><p>"+accumTot+"</p></td>");
Many Thanksjava.text.NumberFormat will have your solution:
NumberFormat nf = NumberFormat.getInstance();
<%= nf.format(accumTot) %>
Be aware of the rounding errors involved in using floating point:
What Every Computer Scientist Should Know About Floating-Point Arithmetic
Are the numbers whole numbers (ie no decimals)? then you should be using an int/long
Otherwise you should probably be using doubles. -
Hi,
in my programe i have the following calculation
double a= 12;
double b= 74;
tonum = Math.pow(a,b);
charcount = new Double(count).toString();
System.out.println("The value of charcount is : "+ charcount);
when i do this it displays "7.234561410946297E79"
how do i display the number without this "E" ??
thanksThe problem is you cannot get 7*10^79 into a long.
I slammed out this code:
<code>
import java.text.NumberFormat;
public class Test {
public static void main( String[] arg ) {
double d = 7.234561410946297E79;
System.out.println( NumberFormat.getInstance().format( d ));
</code>
and got this output:
72,345,614,109,462,970,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
Probably still not exactly what you are looking for, but take a look at the NumberFormat class and see if you think it will work for you.
} -
Adobe forms table display problem
Hi all,
In adobe forms i want to display purchase order details. i have connected the abap editor whit adobe forms using the function module.. my requirment is to display purchase header details in first row contains the header details below that it should disply the line item... for example..
po number company code pur org pur group
itemno mat matdes quan netprice
74583638 200 100 6000
10 m-10 sample 5 10000
20 m-20 sample1 5 1231
total 11231
and also page break... one page contains only 3 purchase order only....Go through following links:-
Nested tables in Adobe Forms --> saptechnical com/Tutorials/AdobeForms/Nestedtables/page1.htm
Achieving Control Levels functionality in Adobe Forms --> saptechnical com/Tutorials/AdobeForms/Controllevels/page1.htm
Also check the LiveCycle Designer Help for more information and add . in above URL, strangely SDN does not allow this URL it seems!!
Chintan -
Smart form page protection problem
Hello gurus,
I am having two line types for the header. To make them page protected, i have created a folder and put them into the folder and activated page protection check box.
But the problem it is printing awkwardly, line types are printing in the bottom of the page, whenever page break is happening.
if i remove page protection check box, it is printing nicely.
Kindly let me know how to rectify this.
Regards
RajeshHi again,
Actually, within the Main part of table node, grouping several rows under page-break protected folder works just fine... It is just that when one starts putting the page-break protected folders in Header part the things go awry. I don't believe the fix for that will be easy at all.
But since your HEADER_TABLE1 does not really need a header part to achieve same layout, I'd try as follows:
1) create page-break protected folder under Main part of HEADER_TABLE1; add an empty column of required width for %ROW2 and drag it under folder; create a new row type to hold %TEXT9 (just one column for the whole table width and no borders) and insert it before %ROW2; disable Header and Footer part for the table; re-position the table so its aligned to data table;
2) group the SAFETY_ITEM_ROW1 and MPO_DATA_ROW1 under page-break protected folder...
Then, is there actually a reason the HEADER_TABLE1 is split off in a separate sort event? If it could go into DATA_TABLE1 main part, all elements could be protected together. Even if there is reason, you still should be able to move the contents of HEADER_TABLE1 to DATA_TABLE1, and control their output using flag set via code nodes in DOKNR_TOP event and footer of DATA_TABLE and reset each time header rows have been output.
True, you'd have to add that empty column to the table. But that inconvenience pales in comparison to having to extricate the remaining height of Main window out of Composer innards via implicit enhancement, and the pain of having to calculate output height of dynamic layout elements in form itself and doing explicit page-breaks.
Just make sure to disable all (unnecessary) table headers and footers.
Attached form illustrates protecting the header table and Data table separately, and I've been unable to break the layout no matter what I tried . Or did you try the folders in the Main part and did not succeed?
cheers
Jānis
Message was edited by: Jānis B -
Hi,
I have a problem with display (a shadow on the display)
You can see better with watch face "white/black"
what is the problem ?
I have done nothing in the last month (i was ill) and when I take back the watch i found this problem...
Sony Z3 CompactThis is how to reset your SmartWatch 2
http://support.sonymobile.com/global-en/smartwatch2sw2/userguide/Resetting-your-SmartWatch-2---AccCA... -
Smart form template size problem!!!
Hi Experts,
Now I met a pronlem about smartforms template. the cell in the template is set to 16CM width(which is enough) and height is only 3.5MM.
and I define the sytle with font is 8pt.
I input the text for the template and all check is fine. but the text cannot display when i test it. even i change the style font to 6pt, 5pt, 4pt, 3pt, 2pt... the text still cannot display.
but when i change the template cell from 3.5MM to 4.5MM, it works fine and displayed the text.
it seems the min hight of temlpate cell should be 4.5MM.
doed anyone knows it? or give me some offical explanations? Thanks!hi,
maybe you can check the lines per inch in the style. Mostly it is set to 6 lpi.
Increase to 8.
Hope it works.
Gr., Frank -
New page in smart form when displaying internal table data in table
Hi ,
My requirement in smartform is like
I'm using the tables to display the internal table data in main window .
based on SORTF field in the internal table ,when SORTF field value changes all the related to that SORTF value should be displayind in the new page.
Please anybody tell me that , how to do this?
Thanks
NaveenHi Navi,
Try this Logic.
1) Go to Smartform,
2) Declare a flag variable w_flag type c
3)Go to Main Window
a) Go to table
b) Create one more Table Line
c) Create a CODE Line in that.
write inside CODE as Below:-
CLEAR: w_flag.
ON CHANGE OF w_final-sortf.
w_flag = 'X'.
ENDON.
d) Create one COMMAND Under CODE line created above.
click on check Box "Go to New Page" ( Page1 or Page2 or give as reqd ).
click on conditions tabe of COMMAND
write: w_flag = 'X'.
Hope this will work
Reward Points if Useful
regards
Avi............. -
Hi All,
I have an Custom smart form, and under the pages and windows i have 2 Pages First Page and Next page.
The First Page next page is set as Next Page and the second page next page is also set as Next page.
Now when the Smart form is displayed in the PDF Format then only the first page Header comes in the proper way but the 2nd , 3rd and so on pages depending upon the data the Headers are all coming as an Junk text (Not some other language but the overlapping of characters).
The Header texts are all in the Table in the header field and also some texts are dynamically populated by the OTR and some are static.
I am not sure why is this happening can any one give me some inputs?
Regards,
DipuExactly thats what i am using now but want to know whether is it possible by using TEXT instead of creating Graphics node.
In graphics we can use both .bmp as well as .tif files but not text.So what is the solution of using TEXT Ids in Smart forms.
Thanks for all your answers but still i didn't get the solution to my problem.
Regards,
Chandra -
How to creat 2nd page in smart forms
hi
in smart forms iam facing problem i'e if i gave 10 material's it was comming fine if i give 30 materials it was going to 2nd page in that again from starting it was comming like Header delivery adress.
what i want is if materials increase than main window should increase size & rest of thing(footer )should comes in 2nd window
regards
A K reddyHi,
For the header details not to print on the second page:
-> Go to Conditions tab of the window in which u r printing Header delivery address and check the condition 'Only on first Page'
This will solve ur problem.
thanks,
Anon
Maybe you are looking for
-
Multiple Instances of Same Computer on Network
I am having an issue with my MacBook Pro. When I open my finder it shows the same computer 14 times under shared. I only have one computer on the network. I tried to include a screenshot of the problem but I couldn't get the picture to upload. I am
-
Facetime....is it free when travelling out of the country?
Is it like skype or are there charges for using it out of country?
-
Error handling / logging with asynchronous calls
Hi, I want to log every error my app might throw. I thought it would be sufficient to surround either the launch method or the start method with a try...catch. But it doesn't work as excepted. If an error occurs in an asynchronous call, e.g. in a but
-
I keep receiving theses two errors over and over again in my logs "WebSession::SessionTask(#) TLS exception: handshake imcomplete" "received fatal_alert: certificate unknown" Currently I use IPS manager 2.2, and import the devices using TLS (cant imp
-
I am trying to read all attachments sent in a mail and getting error java.io.IOException: Error in encoded stream, got 3 for few emails. The code is like OutputStream os = new BufferedOutputStream(new FileOutputStream(filepath));