Require a conversion to convert table field ( IMRG-READG) value

The field to be printed on the form is IMRG-READG (Measurement Reading) which is maintained in exponential form in the database.
In the front end, for the measuring point 212, the meas/cntr reading (IMRG-READG ) value is 12. But in the database this value is shown as 2.851500000000000E+02.
I require a conversion to convert the above value to its original value (12).
Can any one help me on the same?
Regards
Ehtesham.

Hi Ehtesham Mohiuddin,
Try to pass the value to another variable and use it.
Try like this code.
> Data float type IMRG-READG.
> Data int type i.
>
>  float = '212'.
>  int = float.
>
>  write: float,
>          int.
Plzz reward if it is useful,
Mahi.

Similar Messages

  • Searching a Table field with multiple values using a shuttle item

    Hello All,
    I have a shuttle item whhich of course users can select multiple values:
    eg: Orange:Pear:Banana
    Now I have a table where I want to get the Crate Numbers where these fruit items reside.
    The Fruit field has multiple stored values
    eg:
    Crate Fruits
    === ====
    12487 Apple:Orange:Pear:Banana
    17653 Orange:Pear:Grapes
    12874 Apple:Banana
    13655 Grapes:Watermelon:Pineapple
    87643 Pear:Banana
    53626 Strawberries:Apple
    I would like to see a final report similiar to this
    Crate Fruit
    === ===
    12487 Orange
    12487 Pear
    12487 Banana
    17653 Orange
    17653 Pear
    12874 Banana
    87643 Pear
    87643 Banana
    I thought maybe this needs to be done using collections but I am not familiar with this function, if their is another way I would appreciate it
    Hope u can help
    Frank

    Hi Frank,
    I find that in this sort of case, it is easier to create a link table containing the individual values rather than lumping them into one column.
    so the data is stored in the 'Crate, Fruit' format, rather then the 'Crate Fruits' format.
    It is a bit more work maintaining the link table when the values are amended and populating the shuttle, but it is a 'proper' relational table then.
    Regards
    Michael

  • Table Field for total value release in Contract agreements

    Hi Gurus,
    Please tell me the table field for release in contract agreements. It is showing a structure field RM06E-GSABW, which does not have any associated table.
    Please let me know if any other way to get the same information.
    Thanks,
    Shibaji.

    Hi Shibaji,
    you may try in the respective delivery LIPS-NETWR. Or check the where-used-list of data element NETWR.
    Regards,
    Clemens

  • Conversion error in Table control for Negative values

    hello all,
    Iam using table control with 6 columns and in that columns values are coming from Ztable. and out of that one column is of value which is input/output field and having negative value's also.type of that column is DEC.
    Now when i run the report dump occurs showing error message as COnversion Error.
    I think its because of negative value even the in attributes of that column i had selected With Sign checkbox.
    Now when i run the report then if in Ztable negative value is there then i want to display negative value in table control also.
    Please suggest me...
    <removed_by_moderator>
    Thanking you.
    Regards.
    Edited by: Hemant Baviskar on Sep 10, 2008 3:07 PM
    Edited by: Julius Bussche on Sep 10, 2008 1:13 PM

    Hemant
    Refer to following link:
    Table Control : Conversion error
    Thanks
    Amol Lohade

  • Populating internal table field with same value

    Is there syntax that will fill a field value in every record in an internal table without looping?

    Hi Rob,
    I didn't know this, after studying online help on MODIFY itab, ABAP Statement
    MODIFY itab - itab_lines
    Syntax
    ... itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp.
    I tried
    DATA:
        ls_t100 TYPE t100,
        lt_t100 TYPE TABLE OF t100.
      SELECT * INTO TABLE lt_t100 FROM t100 UP TO 20 ROWS.
      MODIFY lt_t100 FROM ls_t100 TRANSPORTING text where text &lt;&gt; ls_t100-text .
    clears field text in all rows of lt_t100.
    after many years of field-symbols finally a reason to use MODIFY again
    Regards,
    Clemens

  • How to populate custom table field value into standard DFF

    Hi Gurus
    I am newbie to the OAF
    I have a requirement to populate the custom table field value into standard DFF. we enabled the DFF in ReqDistDFFOnAcct(po_req_distributions_all). On the requisition tab as soon as i click on the checkout button, the custom field value has to be shown in the requisition distributions DFF field along with the standard Columns like charge account, percent, qty and when we click on the next button, it has to hit the base table ie., po_req_distributions_all.
    the standard columns data is showing the screen. how to acheive this requirement programatically
    There is a EO for the req distributions table. please help me how to achevie this requirement.
    Any help woud be greatly appreciated.
    Thank You!
    Krishna

    Thanks Aj. Finally i made some progress....but i am getting an error in the inst_top OPMN folder 10/10/08 15:37:14 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml. I cleared the cache, bounced the webserver. Could not able to understand what is this error
    Following is the code that i have written. I am not able to find out what is the error. please help me how to fix this error. there is no changes in the page and the value is not auto populating. the page is having the normal behaviour as the standard one.
    Thanks in Advance for your help...
    public class xxCheckoutDistsCO extends CheckoutDistsCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String UnitId="";
    //First get the Application Module
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("PoRequisitionLinesVO");
    String Reqlineid="";
    String Linenum="";
    String DeliverLoc="";
    if(vo.first() !=null)
    Reqlineid= vo.first().getAttribute("RequisitionLineId").toString();
    Linenum = vo.first().getAttribute("LineNum").toString();
    DeliverLoc = vo.first().getAttribute("DeliverToLocationId").toString();
    // if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    // pageContext.writeDiagnostics("TEST >", Reqlineid,1);
    // pageContext.writeDiagnostics("TEST >", Linenum,2);
    // pageContext.writeDiagnostics("TEST >", DeliverLoc,3);
    UnitId=null;
    String Querry="select amli_icx_oaf_utils.get_blding_unit_id (?,?,?) from dual";
    try
    PreparedStatement ps=am.getOADBTransaction().getJdbcConnection().prepareStatement(Querry);
    ps.setInt(1,Integer.parseInt(Reqlineid));
    ps.setInt(2,Integer.parseInt(Linenum));
    ps.setInt(3,Integer.parseInt(DeliverLoc));
    ResultSet rs=ps.executeQuery();
    // ps.execute();
    // am.getOADBTransaction().commit();
    while (rs.next())
    System.out.println(" Query Results ");
    UnitId= rs.getString(1);
    System.out.println(" first > ");
    rs.close();
    ps.close();
    catch(SQLException a)
    System.out.println(" Error "+a);
    System.out.println(" Second > ");
    System.out.println(" Third > "); ----the program is executing upto here...it is not setting the value after this.
    OAViewObject povo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
    if(povo.getCurrentRow()!=null ) --------If i remove this condition i am getting the nullpointer exception in page.....
    System.out.println(" Fourth > ");
    povo.getCurrentRow().setAttribute("Attribute12",UnitId);
    // if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    // pageContext.writeDiagnostics("TEST >", UnitId, 1);
    Thanks
    krishna

  • ORA-02374: conversion error loading table during import using IMPDP

    HI All,
    We are trying to migrate the data from one database to an other database.
    The source database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    US7ASCII
    The destination database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    We took an export of the whole database using expdp and when we try to import to the destination database using impdp. We are getting the following error.
    ORA-02374: conversion error loading table <TABLE_NAME>
    ORA-12899: value too large for column <COLUMN NAME> (actual: 42, maximum: 40)
    ORA-02372: data for row:<COLUMN NAME> : 0X'4944454E5449464943414349E44E204445204C4C414D414441'
    Kindly let me know how to overcome this issue in destination.
    Thanks & Regards,
    Vikas Krishna

    Hi,
    You can overcome this issue by increasing the column width in the target database for the max value required for all data to be imported successfully in the table.
    Regards

  • I am hiving some table field descriptions I need in which table these table

    I am having table field descriptions : Order Value,Discount Value,Actual Margin,Actual Margin %.
    I need in which tables these fields are available.

    Hi Bunny:
    1. goto se15
    2. expand abap dictionary
    3. expand fields
    4. double click on table fields
    5. Just paste the description , which you are having in the SHORT DESCRIPTION input area, at the beside screen..like "Order value"
    6. press F8.
    you should get:
    Table Name       Short Description
    Table field                    Short Description
    TREC_FORC_COMPL  Temporary data for the receiving forecast
    TVALUE                         Order value in document currency
    EMBK             Legal Control: License Master - Header Data
    GAUFW                          Value consumed by orders
    Thanks,
    Naveen.I

  • Dynamic Column Names from one table and its corresponding values from another table

    I have 2 tables. First tables gives the specification if a column is required or not. we have the 2nd table with the same column name where we provide the actual values.
    I want to select all the required columns from the 1st table and retrieve the values for those from the 2nd table. Both this i want to achieve in a single select statement.

    This wil require a dynamic Query with a Pivot
    DECLARE @ColsPivot as VARCHAR(MAX);
    DECLARE @Query  AS VARCHAR(MAX);
    1. Retreive the ID for all required field
    SET @ColsPivot = (SELECT STUFF((SELECT  ',' + quotename(CAST([RequirementID] as varchar(3))) FROM [dbo].[Requirement] WHERE required=1 FOR XML PATH(''), TYPE).value('.', 'NVARCHAR(MAX)') ,1,1,''));
    This will give you : [1],[2],[3],[8],[9],[14] for exemple.
    2. Build your Query
    SET @Query ='SELECT ClientID,'+@ColsPivot+''
        FROM (
            SELECT [ClientID],[RequirementID],[Value]
            FROM dbo.RequirementValue
            WHERE ClientID=@CliendID --Optional SP parameter
        )src
              PIVOT(
                MAX(Value)
                for [RequirementID] in ('+@ColsPivot+')
        ) p';
    3. Exec(@Query);

  • Using conversion rule to convert quantity fields

    Hi!
    I am trying to find a way to use a conversion rule to convert a quantity specified in one unit of measure to the corresponding quantity specified in a different unit of measure. I was trying to use 'Copy sender field' along with a custom 'Special conversion rule'. However, the code to convert quantities requires both the quantity and material number to do the UoM conversion. 'Copy sender field' only allows the transfer of one sender field. Is there a way to transfer two sender field into a 'Special conversion rule'.  Any help much appreciated and rewarded. Thanks, Duncan

    Hi Duncan,
    Try FM UNIT_CONVERSION_SIMPLE.
    Regards,
    Atish

  • TOTAL REQUIREMENTS TABLE FIELDS

    HI ALL,
    I WOULD LIKE TO DEVELOP A CUSTOMISED REPORT ON THE TOTAL REQUIREMENTS (INCLUDING SALES REQUIREMENTPIRDEPENDENT REQUIREMENT+RESERVATIONS)
    AGAINST A MATERIAL FOR THE GIVEN DATE.
    CAN YOU GUIDE ME THE STEPS & TABLE FIELDS.

    HI
    For Dependant requirements and Reservations , use table RESB
    For PIR  use Tables PBIM ,PBED
    For Sales order requirements use Table VBAP, VBEP
    Regards,
    krishna Mohan
    Edited by: Krishna Mohan N on Jan 24, 2008 11:06 AM

  • Table & field required

    Hi,
         Where do I will find quantity & requirement date for Purchase Order, purchase Requisition& planned Order.
    ( I mean Table & field for PO, PR & Planned Order for qty & requirment date).
    For example In table EBAN For PR & feild is MENGE PR qty likewise.
    regards,

    Dear,
    Just open transaction screen and for which ever field table and field name you want to know, put cursor on that filed and press F1 go to Technical details you will get required table and filed name.
    Regards,
    Syed Hussain.

  • Error during transport-Structure change at field level (convert table /BIC)

    Hi,
    I am trying to transport from DEV to Test when I encountered this error.
    The tables are both consistent when I checked with SE14.
    Start of the after-import method RS_CUBE_AFTER_IMPORT for object type(s) CUBE (Activation Mode)
    Error/warning in dict. activator, detailed log    > Detail
    Structure change at field level (convert table /BIC/DZCRUSDI026)
    Table /BIC/DZCRUSDI026 could not be activated
    Return code..............: 8
    Following tables must be converted
    DDIC Object TABL /BIC/DZCRUSDI026 has not been activated
    Error when activating InfoCube ZCRUSDI02
    Error/warning in dict. activator, detailed log    > Detail
    Structure change at field level (convert table /BIC/DZCRUSDI023)
    Structure change at field level (convert table /BIC/FZCRUSDI02)
    Table /BIC/DZCRUSDI023 could not be activated
    Table /BIC/FZCRUSDI02 could not be activated
    Return code..............: 8
    Following tables must be converted
    DDIC Object TABL /BIC/DZCRUSDI023 has not been activated
    Error when resetting InfoCube ZCRUSDI02 to the active version
    How do I resolve this
    thanks

    Hi,
    There are no Inactive objects in the cube in DEV system. Also must of the changes I made in Test are already in the cube in TEST But the cube is not active.
    SAP proposed that the cube be activated manually but is not a good procedure to activate in TEST system.
    Error when resetting InfoCube ZCRUSDI02 to the active version
    Message no. RSO410
    Diagnosis
    Errors arose when activating InfoCube ZCRUSDI02. An active version already existed before the activation.
    System Response
    InfoCube ZCRUSDI02 could not be reset to the old active version. Since the generated objects no longer correspond to the old active version, they were reset to inactive.
    Procedure
    The old active version of InfoCube ZCRUSDI02 can no longer be used. Remove the cause of the activation error and activate InfoCube ZCRUSDI02 anew.
    thanks

  • How to make a table field Required

    Hi,
    I tried to make a table field as 'Required'. It works fine. But it gives unexpected results. Imagine the table has 10 rows. when the user make an entry in the first row, the system gives the error messages for the required field in the remaining rows as well. How can we restrict it so that it checks for the required field only for the row with entries. How to specify the condition type?
    Kind Regards
    Shahul

    Hi,
    check this :
    don't set table field as 'Required'.If your table data contains in a internal table , then use Below code under <b>PAI</b> event.
      LOOP AT i_data.
        CHAIN.
          FIELD:  i_data-fld1.
          MODULE validate_field.
        ENDCHAIN.
      ENDLOOP.
    MODULE validate_field INPUT.
    write the code to validate the each line of the table control, if validation fails , cursor will stop at the table control row
    ENDMODULE.
    Regards
    Appana

  • Required ATP Table field name

    Hello Gurus,
    As per my client requirement, durig the time of internet sales, The customer (user) while ordering for a material there should be a field where in customer can view the available quantity for that particular material.
    I ve checked in MD04 and i got the structure MDEZ [field MNG04]. But i want to know whether i can fetch data from this field or is there any other table/field where i can get the GATP quantities for the particular material. Anybody please provide the exact Table and field name.......
    Thanks in advance....
    Edited by: Praveen on Jan 7, 2009 5:59 AM
    Edited by: Praveen on Jan 7, 2009 9:35 AM
    Edited by: Praveen on Jan 7, 2009 9:52 AM

    Dear Praveen
    In Table MDTB,  you can see fields like
    -  MNG01:::Recd / Req.quantity
    -  MNG02:::Scrap
    -  MNG03:::Shortage Quantity
    You can make use of these fields according to your requirement.
    thanks
    G. Lakshmipathi

Maybe you are looking for