Converting the type from FLTP
Hi,
i'm entering a range i.e low value and high value in one of the transaction. when i'm saving its getting stored in a field of type FLTP 16 in the table.
if i enter 10, its getting stored as 2.8314999999999998E02 and for 25, 2.9814999999999998E02.
when i'm trying to convert it from FLTP using the below code:
DATA : V_FLOAT TYPE F VALUE '2.8314999999999998E+02',
V_CHAR(25),
P10_4(10) TYPE P .
CALL FUNCTION 'CEVA_CONVERT_FLOAT_TO_CHAR'
EXPORTING
FLOAT_IMP = V_FLOAT
FORMAT_IMP = P10_4
ROUND_IMP = ' '
IMPORTING
CHAR_EXP = V_CHAR.
the result i got was 283 when actually it should be 10. same thing with high value
Could someone help me on this
Regards
RAJ
Hello,
Check this sample.
WRITE: G_T_OBJECTS-ATFLV TO CHAR1 EXPONENT 0 DECIMALS 3.
CONDENSE CHAR1 NO-GAPS.
WRITE: G_T_OBJECTS-ATFLB TO CHAR2 EXPONENT 0 DECIMALS 3.
Regards,
Vasanth
Similar Messages
-
How can i convert the data from mutiple-table to the other database(MSSQL)?
Dears,
How can i convert the data from mutiple-table to the other database such as MS-SQL?
I have a third party system based on MS-SQL 2000.
Now we want to make a integration between SAP R/3(Oracle) and SQL server.
When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
But i don't know which tools will help me reach the purpose. BAPI, LSMW, IDoc... ???
Would anybody tell me which way is better and how to do?
Thanks a lot!
Kevin WangHello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier. -
Converting the layout from OTF format into PDF
Hi Experts,
I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.
Please send me a Model program or step by step approach of the same.
Useful inputs will be rewarded higher points.
Thanks in Advance,
DharaniHi,
The steps are given below:-
1) First get the name of your generated function module for the smartforms.
2) Then call the generated function module.
3) Then use the FM:CONVERT_OTF' to convert into PDF as shown below:-
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = w_pdf_len
bin_file = w_pdf_xstring
TABLES
OTF = OUTPUT_DATA-OTFDATA
LINES = LT_LINES
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
others = 5.
Hope this is clear.
Pravat.
<i>*Reward points if helpful.</i> -
Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in german "Fehler bei der Anmeldung"). I hope have explained the issue on the right way with my bad english. Do you have a solution for it?? Best regards, Marcus Wenk
yes, you are right. it is the adobe reader via exportPDF. but it should be the acrobat. it was written on the internetpage...
-
I have a Canon Rebel t5i and a mac - will I have to convert the files from my camera before being able to edit in Premiere Elements?
What version of P-Elements, and what codec does the camera produce?
-
Does anyone know how to convert the output from the standard report to xml?
Does anyone know how to convert the output from the standard SAP report to xml?
since it a standard report which you cannot modify you can only do the following.
submit report exporting list to memory
then
list from memory and then
use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list . -
How do you convert the videos (from Vixia HF M40) to standard definition, for the Mac computers (10.6 OS X)?
Hi venetiakelley!
Thank you for posting.
Canon does not make conversion software, but there are 3rd party applications available that do convert video files from one format to another. You can try doing an internet search for applications that will convert from one format to another.
However, there should not be a need to convert the video to a standard definition format to be able to view it on your Mac. Even Apple's own iMovie should support the files that come from the VIXIA HF M40 depending on the version you have installed. If you are using iMovie and experiencing some trouble opening the files, I recommend that you contact Apple directly for further assistance with iMovie. They may have some more information about the trouble you are experiencing.
This didn't answer your question or issue? Find more help at Contact Us.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How do you convert the audio from a mpeg4 video file to mp3?
How do you convert the audio from a mpeg4 video file to mp3 format?
Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.
-
How do I stop the type from bitmapping?
I updated my website to iweb 08 and had to rebuild various pages. but the biggest bad surprise was that while the type in the hyperlinks in the earlier version worked fine, now they are bitmapped. and it seems on some pages my type is all bad. it's like I don't have the typeface loaded or something (design elements are shifting and there are weird spaces here and there). but I checked fontbook and I do have it up and running…
also, my drop shadows on picture boxes with drop shadows are dropping off when the site gets published.
any thoughts?
my link:
http://web.mac.com/marcklein1/MarcKlein/HOMEMarcKlein.htmlI'm seeing something odd, too. I have a lengthy text block that ends up measuring about 36,000 pixels vertically. Inside is just Ariel text. I've applied some color, italics, and boldface here and there, but no drop shadow effects, outline effects, or anything else that should generate the very plainest HTML. Yet, iWeb keeps attempting to convert this block to a .PNG file, and failing due to the size. The error I receive when I attempt to publish to a folder is "Can't create the file 'shapeimage2_link0.png.' The disk may be damaged or full, or you may not have sufficient access privileges." I have about 32GB free on my disk, and the test folder just resides on my desktop.
I was able to create the page over again, cutting and pasting the text from the huge block into a new text block on the new page. Then I deleted the problem page. It published a few times without a problem. After making some edits to a different page in a different site, however, the same problem returned, and iWeb again decided that text block needed to be an image.
Bizarre.
Looks like I can't dump BBEdit just yet... -
How can i convert the date from M to MM ?
Dear Guru ,
I need to upload my list to SAP table , and in the list , we are using YYYY/M/D format ( Eg. 2010/5/20 , 2010/10/1 ) .
And now i want to convert all date format to YYYY/MM/DD , Is it possibile to do that ?
Here is my code , but it doesn't work . It returned "2009//3//5" format .
data: ld_date_int type datum.
data : test(10) type c.
test = '2009/3/5' .
ld_date_int = test .
WRITE : SY-SUBRC , LD_DATE_int .
Does SAP provide a standard function can convert the date format ?
Thanks .
Best Regards,
Carlos ZhangHi Dear
You can try in this way :::
data: ld_date_int type string.
DATA : ld_string TYPE string.
data : test(10) type c,
ld_res1(4) TYPE c,
ld_res2(2) TYPE c,
ld_res3(2) TYPE c.
DATA : ll_res2 TYPE i,
ll_res3 TYPE i.
test = '2009/03/5' .
ld_date_int = test .
ld_string = strlen( ld_date_int ).
CASE ld_string.
WHEN 10.
WRITE : SY-SUBRC , LD_DATE_int.
WHEN OTHERS.
SPLIT ld_date_int at '/' INTO ld_res1 ld_res2 ld_res3 in CHARACTER MODE.
ll_res2 = strlen( ld_res2 ).
ll_res3 = strlen( ld_res3 ).
IF NOT ll_res2 eq 2 and not ll_res3 eq 2.
CONCATENATE: '0' ld_res2 INTO ld_res2.
CONCATENATE: '0' ld_res3 INTO ld_res3.
CONCATENATE ld_res1 '/' ld_res2 '/' ld_res3 INTO ld_date_int.
WRITE : SY-SUBRC , LD_DATE_int.
ENDIF.
IF ll_res2 eq 2 and not ll_res3 eq 2.
CONCATENATE '0' ld_res3 INTO ld_res3.
CONCATENATE ld_res1 '/' ld_res2 '/' ld_res3 INTO ld_date_int.
WRITE : SY-SUBRC , LD_DATE_int.
ENDIF.
IF NOT ll_res2 eq 2 and ll_res3 eq 2.
CONCATENATE: '0' ld_res2 INTO ld_res2.
CONCATENATE ld_res1 '/' ld_res2 '/' ld_res3 INTO ld_date_int.
WRITE : SY-SUBRC , LD_DATE_int.
ENDIF.
ENDCASE. -
Help, bridge will not convert the images from my Canon 7D into raw
Has anyone else had problems converting images from a Canon 7D into Raw format? Bridge downloads them and then tells me it could not convert them. Hopefully someone out there has a fix. Aah the joys of new equipment and software.
EWBridge should be converting image FROM raw format, not TO raw format.
If you have Photoshop CS4 you should update to the latest Camera RAW plugin:
http://www.adobe.com/downloads/updates/
If you have an earlier version of Photoshop (CS, CS2, CS3) then you can download the latest free DNG Converter and convert the 7D RAWs to DNGs and then an older version of Camera RAW can open them.
http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Windows
CS5 will be announced in a few weeks/months, and when it is available there will only be an upgrade path from CS2, CS3 and CS4, so if you have PS CS then you need to upgrade to CS4, now, before CS4 is available, otherwise to upgrade to CS5 you will need to pay full price.
If you have a PS version newer than CS then you can wait and upgrade to CS5 when it is out.
With either CS4 (and the newest Camera RAW update) and CS5, you won't have to convert 7D RAWs to DNGs to work on them. -
How to Convert Data type from CLOB to LONG
Hi all
We changed one Long Data type column to CLOB
We need to revert back to Long Data type,
we changed the Data type from Long to CLOB
Can we change back to Long Again
we use oracle 10g Rel 2 on Hp-Unix
thanks all in Advance
Edited by: jrDba - atm on Apr 6, 2009 4:45 AMHi Satish
thanks a alot for the Info'
Can you please provide the
Notes MOS note 437021.1 for this purpose
thanks a lot -
How to convert the code from 8.2 to 7.1
Hello friends
I have to convert the one vi from 8.2 to 7.1 Version.How to convert this code.
JayavelHello Friends
i attached the code in 8.2 version.Convert this code into 7.1
Jayavel
Attachments:
FreenrunTest.vi 1456 KB -
Getting the Type from a DataReader
How do I test for the "Type" when using the DataReader? I'm trying to determine what DataType each field is.
While dr.Read()
If dr.GetType(0).GetTypeCode = OracleDecimal Then
'Do something
Else
'Do something else
End If
End While
JeffActually, I used:
If dr.GetDataTypeName(i).ToString = "Decimal" Then
myVal = dr.GetOracleDecimal(i).ToDouble
Else
myVal = dr.GetValue(i)
End If
Thanks anyway! -
Convert Data type from Oracle Data time string to SQL Date time data type
I have a time stamp column pulled from oracle into a SQL server db table varchar datatype column.
Now i want to change that column to date time.
Following is the data present in the table:
01-APR-11 02.15.00.026000 AM -08:00
01-APR-11 04.15.00.399000 AM -08:00
01-APR-11 06.15.00.039000 AM -08:00
I want to convert this data into sql server datetime data type.
Please advice.
Thanks,
Sam.
I am unable to find the solution in other sites which is why I have posted it in Oracle forum for seeking solution.
Thanks in Advance.
Sam.Sam,
How are you actually loading the data into SQL*Server - are you using something like an Oracle gateway, BCP or another Microsoft utility of some sort ?
If you are using an Oracle problem then we may be able to help but if using a Microsoft utility then you should really follow up with Microsoft to know what format the data should be in to use a Microsoft utility.
Regards,
Mike
Maybe you are looking for
-
I use release 3.5.1 of FF because it is compatible with the software I use. Nothing worse than you nagging me that I'm not on the most current release. Get off my ******* back. Stop the nagging messages. I'll upgrade when I'm ******* good and ready t
-
I am traveling from the united states to ireland with an IPAD2 what type of adapter do i need?
i am traveling from the united states to ireland with an IPAD2 what type of adapter do i need?
-
Trying to download the additional instruments
When I open GarageBand, go to key board collection, hit create, and then click on one of the extra instruments, it says ..."download now"...."download latter," I click "now," but it never does anything.
-
I'm having problems getting a PNG image to appear on an IP Communicator. When you try to select the file via the settings button, it doesn't appear and you get a File Not Found Error. Any idea's? Dave
-
[SOLVED]I need a math program. Any ideas?
Hi. I couldn't find a more suitable forum for this. I have a graph, drawn on paper, of acceleration. I have to find the way the object did. Which means I have to do integration twice. What I need is a program that I can feed with the coordinates and