Hi regarding data conversions

Hi all,
Is there any FM available to convert char to float

Hi Ravi,
Try these FM. Chk if it satifies ur requirement.
CEVA_CONVERT_FLOAT_TO_CHAR
FLTP_CHAR_CONVERSION
Try this code also.
REPORT Z_Conv.
DATA : f TYPE f.
DATA : s(15) TYPE c.
f = '41'.
CALL FUNCTION 'FLTP_CHAR_CONVERSION'
EXPORTING
DECIM = 2
EXPON = 0
input = f
IVALU = ' '
MASKN = ' '
IMPORTING
flstr = s
WRITE :/ f.
WRITE :/ s.
<b>***Reward Points if Useful</b>
Regards
Gokul

Similar Messages

  • Regarding data conversions

    Hi,
    I have a numeric value eg: 123456789123456.1234567
    I am getting it into my program using BAPI so it is converted into float and i am getting it as 1.234567891E+14
    I want to convert it to char and i want to display it as
    123456789123456.1234567
    Is there any FM available for this.
    Regards,
    Ravi

    hi ,
    The value range of type F numbers is 1x10*-307 to 1x10*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.
    You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.
    hence u cannot avoid the rounding errors when you convert it to pack type.
    Regards,
    Aparna

  • GL Data Conversion from Legacy to Oracle EBS

    Hi All,
    I am tasked with converting legacy data into GL. I have worked on other conversions like supplier, AR and AP conversions but never worked on GL conversion, so I don't know how and where to start, what are the pre-requisites for entering data into gl_interface table how to ensure that data is correct in the .csv file etc.
    Kindly request you all to guide me in right direction. Hope to hear from you all very soon!!! :)
    Regards

    Hi,
    When you talk about GL-Data it is the trial balance to be loaded from legacy to oracle applications.
    You can use Web-ADI to upload it ,the check list are
    The balance for each account comibnation in the legacy system to be mapped to GL-Oracle code combination balance
    With respect to open AR, AP Invoices if the invoices are converted using a control account for migration in GL then
    the the balance transfered from AP,AR need not be reversed in GL from the source receivables and payables.
    In case if the same account combination are for migrating the balances from AP,AR to GL ..Then the balances transferred from AP,AR should be reversed ..so that it does not affect the TB-GL-Balance
    Finally ensure that the balance for the TB-tallys with your legacy system and upload it using Web-ADI ,import and
    review and post it.
    Hope this points helps your GL-Data conversion.
    Regards,
    Ramaa

  • Data conversion strategy for new SOB

    Dear Viewers
    on 11.5.10
    We are creating a new SOB with a change in currency from Feb-11 as this is the requirement
    For the same, we need to do data conversion.
    I have a confusion for Purchase Orders and Sales Orders
    Purchase Orders:
    Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
    The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
    The PO's which are partially received, what to be done for them?
    If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
    but If invoice comes after Feb-11, than how the matching will be done?
    What if a return has to be made moving forward in FEB-11 under new SOB
    Sales Orders:
    Open sales orders will be converted, that is the ones that have been entered and not yet booked.
    Users have been requested to clear off the Sales order lines which are already pick confirmed but not yet shipped, hence they will be shipped and interfaced to AR
    For the Sales orders that have been booked, those lines that are not yet processed further will also be converted.
    Now what if a receipt comes after feb 11, how to handle this as the sales order wiould not have been converted?
    Please give your advise on the data migration strategy for PO`s and SO's.
    Please do add any point that may have been missed by me
    Appreciate your help
    Thanks
    Emm

    Hi David,
    for master data conversion you can use LSMW and the RE-FX BAPIs. (please refer to SAP note  [782947|https://service.sap.com/sap/support/notes/782947] ).
    Regards, Franz

  • Data Conversion in SAP E-Recruiting.

    Hi SAP E-Recruiters,
    Our client is using a Legacy application for recruiting candidates where it has 5000 candidates data base (internal and external candidates' applications).
    Now they are asking for movement of this whole data to the newly implementing SAP E-recruiting system. We are exploring various data conversion methods and found that BDC, LSMW will not work for E-recruiting data upload as we have every thing in BSP/Web Dynpro pages here.
    We need your help in finding a solution for moving this data from legacy to SAP E-Recruiting. Pls do the needful.
    Thanks,
    Sudheer

    Sudheer,
    So far there are no SAP delivered migration methods or BAPI's available conversion of candidates/applications, as you have already specified BDC's wouldnot work. Internal candidates always can be brought over in eRecruitment with integration techniques between PA and eRecruit depending upon the landscape.
    However, for external candidates custom conversion programs have to be written by making use of methods/function modules that are used in BSP/WebDynpro.
    regards
    Sridhar

  • Crystal Data Conversion Issue (Error converting data type varchar to datetime)

    Hi,
    I can run stored procedure without error in SQL Server using my personal credentials as well as database credentials.
    I can also run Crystal Report after connecting to Stored procedure without error on my desktop using my personal credentials as well as database credentials.
    But when I upload the crystal report in BOBJDEV and when I run using database credentials report fails saying that "Error in File ~tmp1d1480b8e70fd90.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 18456 ]" but I can run the crystal report successfully on BOBJDEV using my personal credentials.
    I googled (Data Conversion Error Message) about this issue & lot of people asked to do "Verify Database" in Crystal Report. So I did that, but when I do it I am getting a error message like this:
    Error converting data type varchar to datetime.
    Where do you think the error might be occurring? Did anyone faced this kind of issue before? If so, how to resolve it?
    (FYI, I am using Crystal Reports 2008, & for stored procedure I have used SSMS 2012 )
    Please help me with this issue.
    Thanks & Regards.
    Naveen.

    hello Naveen,
    since the report works fine in the cr designer / desktop, we need to figure out where you should post this question.
    by bobjdev do you mean businessobjects enterprise or crystal reports server? if so please post this question to the bi platform space.
    -jamie

  • R/3 Date Conversion problem

    How to convert the R/3 Date to Array.

    If you are receiving a date field from R/3, please use <b>SimpleDateFormat</b>(class) to re-arrange your date in any fashion. Along with the method <b>format</b> you can just have your date in any format :
    DD-MM-YYYY
    MM-DD-YY
    DD-MMMMM-YYYY (Month will be spelled out as text)
    All you need to do is :
    SimpleDateFormat sf = new SimpleDateFormat("DD/MM/YYYY");
    sf.format(myDateField);
    Since R/3 date conversion is usually for this reason, I mentioned the above class.
    Regards,
    Subramanian V.

  • Data Conversion Logic

    I am now trying to implement a data conversion logic(such as UOM field), I want to load all the data conversion rules in the cache from file and keep them in the cache. So when mapping starts it just picks up the data conversion rules from the cache.
    Using GlobalContainer it is ok for one mapping even several UOM fields(just load from file once). But it will load from file again when the mapping is triggered again.
    Is there any logic I can use to implememt the data conversion just load from file once?
    Regards,
    Nick

    Hi Arnold,
    normally every input should be made in LC, why you enter the data in group currency?
    However if you have to start from group currency the only solution to avoid this error is to put at the end of sprunconversion the ON_ERROR_CONTINUE clause.
    But remember he will stop to notify every type of error so you have to be very careful and have this clear in mind when some issue occurs with the currency conversion.
    Regards
         Roberto

  • Data Conversion rules for EDI processing (same client IDOC processing)

    Hi,
    I am trying to post IDOCS in same client.Its a PO->SO process.
    ie. there will be 1 outbound and inbound idoc in same client using EDI processing.
    I am using Data Conversion using Rulesfor converting sender fields.
    The LIFNR and PAORG od segment E1EDKA1 has to be converted.
    For ALE processing, the Data conversion is been done correctly.
    But no conversion is done for EDI.
    Can anybody help me with this problem ?
    Thanks in advance.
    Regards
    Megha

    Issue solved

  • Data Conversion for BOMs and/or Routings

    I am looking for any examples for design spec for Data Conversion of Bill of Materials and/or Routings.
    Not sure if this would be in form of MD050 but any example would be appreciated

    Hi;
    Please check below links:
    Oracle Bill of Materials User's Guide
    http://download.oracle.com/docs/cd/A85683_01/acrobat/115bomug.pdf
    http://horizon.more4apps.com/doco/BMWRelease/output/index.htm
    Also see:
    Getting Started With R12 - Discrete Manufacturing Support Enhanced Release Content Document [ID 415922.1]
    Regard
    Helios

  • Data conversion is necessary at field level

    Hi everybody.
    Im a BW consultant in a BCS project, and I had to make a change in a objetct that is used in BCS as a custom attribute.
    What I made, is to remove the ALPHA routine in the object.
    Later, the BCS consultant generetad the data basis again, and now when enter the UCWB a warning is showed, the message below:
    But I dont know how to do the procedure showed in the message, does anyone face with the same problem? Any suggestion? 
    Best Regards,
    Thiago
    Field /BIC/ZC_EMPBPM: Data conversion is necessary
    Message no. UGMD418
    Diagnosis
    Following a change to the definition of field /BIC/ZC_EMPBPM it is necessary to convert the old data for this field before the new attributes can be activated. This arises, for example, when the following attributes have been changed:
    Conversion exit
    Version or time dependency of hierarchies
    System Response
    You cannot start the application. A data conversion is necessary first.
    Procedure
    Execute the necessary data conversion at the field level. To do this, press the respective button with the  symbol in the hierarchical detail display at the level of field /BIC/ZC_EMPBPM. If necessary, the system will prompt you for more information in a separate dialog box.
    Regards!
    Edited by: Thiago  França Carvalho Silveira on Jun 10, 2010 11:13 PM

    Hi,
    I quess the following should help.
    Execute UCWB01 t-code, goto your data basis, in the tabstrip for assigning roles drag and drop any characteristic, then save. The system will find the change and check and regenerate data structures (that's what you need).
    Then either in UCWB or UCWB02 t-code got your ConsArea and regenerate it.

  • Data conversion of open checks

    Hello,
    We are preparing our data conversions for a new implementation of SAP in the US. A question came up as to whether we should enter check masters for checks we have printed and mailed to our vendors but haven't been cashed at the time of go-live. The other option would be to put the balance of these open checks into a GL account and manually enter journal entries when they are cashed.
    Our normal business process will be to use FCHR to process a file we receive from our bank with cashed checks. If we don't create check masters for our open checks, then FCHR will not be able to automatically process cashed checks from before go-live.
    My question: is it best practice to load these open checks during the data conversion into SAP so that FCHR will clear them out, or is this normally handled as an exception using manual journal entries?
    And, if it is best practice to load the check masters in SAP, what transaction code would we use to enter the open checks?
    Thanks,
    JB

    HI
    We have developed an ABAP program to set deletion indicatior in PO in mass. You can do the same by consulting your ABAPER.
    Regards
    Anil

  • Data conversion/migration

    Hi,
    what kind of data conversion/migration are we looking in plant maintenance and inventory management?
    Regards,
    Vijay

    Dear Vijay Srikanth,
    I think you are asking for all such activities in Plant Maintenance which can be automated using some data conversion / data migration programs. Where by the user will just upload his data and the activity is achieved by the program. Please refer to the following documentation and search for the term 'Activites in Plant Maintenance'.
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/MYSAP/SR_PM.pdf
    You will find all the required information there. Thank you.
    Regards,
    kartik

  • Date conversion for internal table

    Hi experts,
    I have an issue with Date conversion.
    i have declared my internal table with type same as that of standard table from which im fetching data.
    The date is coming in YYYYMMDD format and i have to change it to MM/DD/YYYY format.
    I tried using a function Module and used Mask as well . It is working but wen im putting the value back into my internal table it is truncating my conver sion .
    For eg : 20110530 after conversion and wen im putting it back to internal table value is : 05/30/20
    bacuse of length issue "11" disappeared.
    I tried changing the type declaration of my internal table to : date(10) type c.
    But wen im executing the code, the place were im putting the values from my standard table to internal, it is giving run time error.
    can anyonenhelp me with this?

    Hi,
    Why not have the date in MMDDYYYY format truncating the '/' part. Doing this would reduce the size to 8. Which can later be added in any field level rotine.
    Regards
    Raj Rai
    Edited by: Raj Rai on Jun 1, 2011 5:48 AM

  • GL Legacy Data Conversion

    I have a question for the data conversion strategy.
    We are planning to store 2 yr detailed transactions and 4yr balances in Oracle system. In terms of the data conversion process, we were also going to take the same method. It would, however, cause schedule and workload constraints. Actually, we have not yet discussed this from realistic view points. In other words, we do not insist on storing all of data which are 2yr transaction and 4yr balances.
    Although I believe that we will be able to eliminate a volume of the data to be converted to new chart of accounts from old ones, I am a little bit concerned about a couple of things as follows:
    1. the workload for reporting processes
    Assuming that we will not use Oracle standard reports so much, it would not be a big issue, even if we do not convert all of data I mentioned above. We will store historical report data somewhere, and be able to generate certain reports using both Oracle data and historical data in the repository. If not, it could cause us extra efforts.
    2. Audit trails / Examination trails
    If we give up converting the data to fit new system, and that fiscal year has not been examined yet, how should we handle non-converted data for the examination? I am just wondering whether or not, we have only to prepare the conversion table, that ties Oracle balances back to ABC detailed transactions for their reference.
    If anyone is are aware of anything you can advise me, could you please provide some information or guidance? Thanks to ALL.

    Hi,
    When you talk about GL-Data it is the trial balance to be loaded from legacy to oracle applications.
    You can use Web-ADI to upload it ,the check list are
    The balance for each account comibnation in the legacy system to be mapped to GL-Oracle code combination balance
    With respect to open AR, AP Invoices if the invoices are converted using a control account for migration in GL then
    the the balance transfered from AP,AR need not be reversed in GL from the source receivables and payables.
    In case if the same account combination are for migrating the balances from AP,AR to GL ..Then the balances transferred from AP,AR should be reversed ..so that it does not affect the TB-GL-Balance
    Finally ensure that the balance for the TB-tallys with your legacy system and upload it using Web-ADI ,import and
    review and post it.
    Hope this points helps your GL-Data conversion.
    Regards,
    Ramaa

Maybe you are looking for