Numeric getting multiplied by 10 at table level

Hello Experts,
1) When we save PO, suppose if we have 1 Qty , netprice = 80, it is getting saved in PO as it is. Whereas at table level, it is getting multiplied by 10 and the value  800 is getting saved at the table level.
2)Even in material master accounting view also, suppose if stock value is 120 & MAP is say 6, whereas in MBEW table values are updating as 1200 & 60.
But in standard reports, values are proper, whereas in tables it is storing this way.
This is more problematic, since during FS preparation, we'll  have to fetch the values from tables.
Kindly Suggest
Mahesh

Hi
PLease check in Material Master Accounting view for how many price unit you have maintained ? check whether it is given for 1 price unit or for 100 price unit
it will solve your problem
Thanks & Regards,
Mani

Similar Messages

  • Getting a dumb after writing a SELECT statement at TABLE level of SMART

    hi all,
    i have created a RATE COMPARISON REPORT.In that Report i have to display Rate Price against  RFQ No.For this purpose i have write a code at SMART FORMS in TABLE.Following are the code:
    SELECT SINGLE netpr
      INTO it_detail
      FROM ekpo
      INNER JOIN ekko ON
      ekko~ebeln = ekpo~ebeln
      WHERE ekko~BSTYP EQ 'F'
      AND   ekko~spras eq 'E'
    AND   ekpo~ebeln eq IT_DETAIL-EBELN
    This code is assign with TEXT FILED  at TABLE level.when i execute it i get the following dump.
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CXSY_OPEN_SQL_DB', was not caught in procedure "%CO2" "(FORM)"_,
    nor was it propagated by a RAISING clause.Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
    The reason for the exception is:
    In a SELECT access, the read file could not be placed in the target field provided. Either the conversion is not supported for   the type of the target field, the target field is too small to include the value, or the data does not have the format required for the target field.
    could any body tell me what is problem in my SELECT query statement after executing giving me a dump.
    Thanks,
    sappk25

    Hi
    The select query is wrong, as you should not move the single field into a table (it_detail)....
    Change the query as follows...
    data: v_netwr type netwr.
    SELECT SINGLE netpr
      INTO v_netwr
      FROM ekpo
      INNER JOIN ekko ON
      ekkoebeln = ekpoebeln
      WHERE ekko~BSTYP EQ 'F'
      AND   ekko~spras eq 'E'
    AND   ekpo~ebeln eq IT_DETAIL-EBEL
    if sy-subrc eq 0.
      move v_netwr to it_detail.
    endif.
    Hope this helps....

  • How to get MR Document from Billing Document at the table level

    Hi All,
    I am looking to find the MR Document based on which the Billing Document was generated. I need to find it out at the table level.
    I looked into DBERCHZ2 table, but I can see a single billing document is linked to multiple Meter Reading Documents via different Line Items.
    Could you guyz please help me? Am I seeing the right table? Is there any FM or ABAP program for the same?
    Thanks a lot in advance.
    Regards.

    Hi ,
    The link is Installation to get MR Doc from Bill Doc .
    from ERCH-BELNR  , fetch Contract (VERTRAg )  and then from EVER-VERTRAG get Installation (ANLAGE).
    Get MR Doc(ABLBELNR) from EABLG based on EABLG-ANLAGE.
    Thanks ,
    Sachin

  • Records getting multiplied  by a factor of 3 when joining with other table

    When i query a table association_1 records for a particular network element i get 7 records
    but join it with rtts_association table to get the rtts_no i m getting 21 records.....
    the problems is ... 7 records are getting multiplied by a factor of 3 resulting in 21 records ....
    how can i avoid these extra records that appear in the second query
    SQL> select raised,cleared from association_1 where ne ='30434000/1MU';
    RAISED               CLEARED
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15
    12-FEB-2011 06:27:18 12-FEB-2011 06:29:51
    21-FEB-2011 21:36:44 22-FEB-2011 10:23:06
    23-FEB-2011 01:08:44 23-FEB-2011 06:56:53
    23-FEB-2011 17:06:16 23-FEB-2011 19:55:19
    23-FEB-2011 20:37:22 23-FEB-2011 23:01:21
    24-FEB-2011 00:33:17 24-FEB-2011 02:03:26
    SQL> select a.raised,a.cleared,b.rtts from association_1 a, rtts_association b where a.ne=b.ne and a.ne='30434000/1MU';
    RAISED               CLEARED                    RTTS
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1490980
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1487697
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1487649
    12-FEB-2011 06:27:18 12-FEB-2011 06:29:51    1490980
    12-FEB-2011 06:27:18 12-FEB-2011 06:29:51    1487697
    12-FEB-2011 06:27:18 12-FEB-2011 06:29:51    1487649
    21-FEB-2011 21:36:44 22-FEB-2011 10:23:06    1490980
    21-FEB-2011 21:36:44 22-FEB-2011 10:23:06    1487697
    21-FEB-2011 21:36:44 22-FEB-2011 10:23:06    1487649
    23-FEB-2011 01:08:44 23-FEB-2011 06:56:53    1490980
    23-FEB-2011 01:08:44 23-FEB-2011 06:56:53    1487697
    RAISED               CLEARED                    RTTS
    23-FEB-2011 01:08:44 23-FEB-2011 06:56:53    1487649
    23-FEB-2011 17:06:16 23-FEB-2011 19:55:19    1490980
    23-FEB-2011 17:06:16 23-FEB-2011 19:55:19    1487697
    23-FEB-2011 17:06:16 23-FEB-2011 19:55:19    1487649
    23-FEB-2011 20:37:22 23-FEB-2011 23:01:21    1490980
    23-FEB-2011 20:37:22 23-FEB-2011 23:01:21    1487697
    23-FEB-2011 20:37:22 23-FEB-2011 23:01:21    1487649
    24-FEB-2011 00:33:17 24-FEB-2011 02:03:26    1490980
    24-FEB-2011 00:33:17 24-FEB-2011 02:03:26    1487697
    24-FEB-2011 00:33:17 24-FEB-2011 02:03:26    1487649
    21 rows selected.

    For every combination of raised & cleared columns in "association_1" table, there are 3 records in the "rtts_association" table with different values for "RTTS" as below:
    Association_1:
    RAISED               CLEARED
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15
    rtts_association
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1490980
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1487697
    03-FEB-2011 22:03:10 03-FEB-2011 22:06:15    1487649Hence, evidently you wil get 7 (association_1) * 3 (rtts_association) in your output. If you want only one record in the output, you may need to pick any one of the values of RTTS from the 3 different values based on a pre-defined condition (e.g. record corresponding to lowest or highest value of RTTS)
    Cheers --

  • Issue : Metrics getting multiplied

    Hi All,
    I am working on the contracts data model where my dimension is at the header level and fact is a the subline level. There is one to many relationship between header and subline. One header can have many sublines.
    The issue is that i need to show a metric which comes from the header table only hence i have created that measure in the RPD in the header dimension table.
    Now suppose for a single header id, i have 5 sublines. Now the issue is when I am pulling that metric ( which I have created) it is getting multiplied by the no of sublines. So i get a wrong number because that value is already at the header level and shouldn't be multiplied.
    What could be work around for this ? Should I create a column to count the no of records and then divide the metric by that? I know this way I might get the correct data but is there any other work around for this ?
    Thansk,
    Ronny

    Dimension and fact table must be on the same level of detail. In this case you need to create an aggregate table of your existing fact table.

  • Handling unit status at table level

    Dear Experts,
    I want to know the logic to find only those HUs which exist in the inventory i.e. which are present physically. I do not want those which have been delivered/deleted/scrapped etc. How can I get this at table level and what filters should I use?
    Regards,
    Sachin

    Hello,
    the only way (as I know) is to use transaction HUMO and set filter for field HU-managed storage loc.='X' in ALV
    Andrzej

  • Search help for Product category in table level

    Hi Gurus,
    My requirement is to create a Z-table with fields Plant and Product category.
    For this Product category I need to create a table level search help. So I need to know the SRM table used for Product category.
    Could any suggest me any table name or search help or FM that will display the list Product Category .
    Regards
    Paul

    Hi Paul,
    Use the FM 'BBP_GET_ALL_CATEGORIES_F4' for getting all the list of Product Category .
    Thanks
    Bidyut

  • Error: ORA-06502: PL/SQL: numeric or value error:NULL index table key value

    Hi,
    I am trying toceate an interface which collects data from database make some transformation and populated seeded tables in the same database.
    My Approach is :
    a) Create a record type variable ( concists of multiple segments)
    b) Create a pl/sql table type of the records type in a)
    c) Created a cursor of same structure as pl/sql table type ( collects data)
    d) BULK CoLLECT data from cursor into pl/sql table
    e) Print the data
    But during Bulk Collect i get the below error :
    Unexpected error in xxc_hr2hr_populate_elements.main at FLOW TRACE-1.120. Error: ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-20003: Unexpected error in xxc_hr2hr_populate_elements.get_data at FLOW TRACE-1.1.100. Error: ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind

    Ashish_Apps wrote:
    Hi,
    I am trying toceate an interface which collects data from database make some transformation and populated seeded tables in the same database.
    My Approach is :
    a) Create a record type variable ( concists of multiple segments)
    b) Create a pl/sql table type of the records type in a)
    c) Created a cursor of same structure as pl/sql table type ( collects data)
    d) BULK CoLLECT data from cursor into pl/sql table
    e) Print the data
    But during Bulk Collect i get the below error :
    Unexpected error in xxc_hr2hr_populate_elements.main at FLOW TRACE-1.120. Error: ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-20003: Unexpected error in xxc_hr2hr_populate_elements.get_data at FLOW TRACE-1.1.100. Error: ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated BindVerify the rows you are fetching are having the same data types as your Record like Dates should go to date , decimal should not be fetched in type defined as number etc.

  • How to retrive the Direct purchase entries from table level? S_ALR_87012050

    Hi All
    In our current project we need to retrieve the direct purchase report from table level. Can you please provide me the direct purchase related table? Normally we are executing the standard report S_ALR_87012050
    to extract the direct purchase entries. We need to know which table has the direct purchase entries.
    Regards
    K.Gunasekar

    K,
    Your problem description is still insufficiently detailed.
    It appears now that you are searching for asset numbers.  Please confirm.
    Your selection criteria "Inventory Number NE 0" doesn't appear to make much sense.  Inventory number is not a quantity, it is the name of an object.  I guess it is meaningful you have some inventory numbers named as '0'.  I don't think this setting is causing your problem though.....
    You didn't mention which table you accessed to discover that you had a perceived discrepancy.  Which table did you browse to see the results you mentioned?  Please describe the selection parameters for each table you reviewed, and the results for each table that you examined.
    It is also the practice of many companies to archive asset data.  If this is the case in your company, then the archived data will not reside in the 'A*" tables.
    You mentioned that you used the same parameters to select the data.  How did you select "Report Date" when you did the table extract?  I am not aware of a field that is named "report date' in any of the tables mentioned.
    Rather than slog through tables, you might want to try SE16, view "V_ANLAZ".  This is a preconstructed linkage of ANLA and ANLZ that is used by S_ALR_87012050 as a starting point.
    I really think you should consult with your ABAPers.  In two minutes they can give you your answers.  It will take me several messages and probably several days to get you the same answers.
    Best Regards,
    DB49

  • How to get the 'link' between two tables

    hi pple
    i need to find out HOW two tables are related.
    sample tables:
    SHIPS ( HULL_ID [PK] , VESSEL_NAME, GROSS_TONNAGE )
    EQUIPMENT ( E_ID [PK] , HULL_ID [FK frm SHIPS], DESC )
    PARTS ( PART_ID [PK] , E_ID [PK, FK frm EQUIPMENT], MANUFACTURER_ID)
    --> SHIPS and PARTS are some how related thro' EQUIPMENT.
    i need to get this relationship:
    Ships --> Equipment (E_ID) --> PARTS
    currently, i can get the direct parent and child tables of a given table using:
    SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Child_Tables
    FROM ALL_CONSTRAINTS
    START WITH R_CONSTRAINT_NAME in
    select constraint_name
    from all_constraints
    where table_name = '%table_name%'
    and constraint_type = 'P'
    CONNECT BY PRIOR CONSTRAINT_NAME = R_CONSTRAINT_NAME ;
    To get ALL parents:
    SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Parent_Tables
    FROM ALL_CONSTRAINTS
    where owner = 'CHARTUSER'
    START WITH CONSTRAINT_NAME in
    select constraint_name
    from all_constraints
    where table_name = '%table_name%'
    and constraint_type = 'R'
    CONNECT BY PRIOR R_CONSTRAINT_NAME = CONSTRAINT_NAME ;
    what i need to do is:
    1) get children & parents of SHIPS
    2) for each element of (1), get children, parents till i get PARTS
    3) so, i will get EQUIPMENT and then, PARTS.
    this wud be very expensive. my appln is in Java and i will need to call these functions - that makes it more complex. is there any simpler way out?
    and my main problem is to find out WHAT attributes line two tables. this wudnt be a big deal if it were just simple parent-child tables. but, how do i find out the attributes that link PARTS and SHIPS table?
    any ideas? -please help.
    thanks in advance
    --$uDhA

    Dear Srikanth,
    This tables can be used once we come to know whether its a customer or vendor line item but in our case we using the GL account as reference have to knock off the entries.How we come to know that aginst the GL whether its a customer or vendor line item.. Then it should route to this table.
    Suggest me if any options are there.
    Regards,
    Balaji.c

  • Changing data in table level

    Hi friends,
    I want to change the address of ship to party in delivery document and billing document, table level. So anyone can tell me what is the table and fields name to change the address in delivery document and billing document. In LIKP and VBRK I am not able to find the fields. In VL03N main screen below to outbound delivery, ship to party will be there, right to that ship to party name will be there, right to that address button will be there. If you press that we will get the address of ship to party. I want to change the data in that? So I need the table and field of that
    Anyone can help me out?
    Ramesh

    Hi,
    This address actually comes from customer master for partner function WE .
    But in sales order and delivery u can change the address in VA02 and VL02N tcode by going thru the steps u have mentioned .
    Generally in Sales order we can do the chnages and then thru copy control this data from sales order flows to subsequent doc . So u can chnage it in sales order in chnage mode it will be available in Delivery and Invoice.
    In case u don't want to chnage it in sales order but u want to chnage in Delivery then VL02N and then chnage .
    Hope this help

  • ORA-06502: PL/SQL: numeric or value error: NULL index table key value??

    Hi,
    Can anyone let me know what is the issue on below code and how can we avoid that? i am getting the error like below
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
                        v_while_loop := 1;
                        v_delete_char_id := v_tabtype_result_values.FIRST;
                        WHILE v_while_loop <> v_tabtype_result_values.COUNT
                        LOOP
                            IF check_duplicate_nc_data (v_result_view,
                                                        v_tabtype_result_values(v_delete_char_id).value,
                                                        v_collection_id,
                                                        v_occurrence,
                                                        v_plan_id,
                                                        v_delete_char_id
                            THEN
                                DBMS_OUTPUT.PUT_LINE(v_delete_char_id);
                                v_tabtype_result_values.DELETE(v_delete_char_id);
                            ELSE
                                DBMS_OUTPUT.PUT_LINE(v_delete_char_id||','||v_tabtype_result_values(v_delete_char_id).id||','
                                                        ||v_tabtype_result_values(v_delete_char_id).value||','
                                                        ||v_tabtype_result_values(v_delete_char_id).validation_flag
                            END IF;
                            v_while_loop := v_while_loop + 1;
                            v_delete_char_id := v_tabtype_result_values.NEXT(v_delete_char_id);
                        END LOOP;

    Change:
    WHILE v_while_loop &#60;&#62; v_tabtype_result_values.COUNT to
    WHILE v_while_loop <= v_tabtype_result_values.LASTSY.

  • Can we cleanse and transform data at flat file or external table level?

    Hi,
    I have some data that I want to cleanse and transform. I don't want to cleanse it after i populate the external table, I want to get done with it at flat file level or while populating the external table. Can we cleanse and transform data at flat file or external table level through Oracle or OWB 11.2? Is it possible to run a conditional load (i.e. having a where clause or if-else-then) for an external table? Can we call oracle functions for an external table at the time of creation?
    Thanks in advance.
    Regards,
    Ann.

    Hi Oleg,
    Thanks a lot for the clarification. :)
    So is there a way that I can clease the data within the text file through Oracle or OWB? I have datatype mismatches in the data and most of my data is getting rejected because of that. The way I can think of, for solving this problem, is to create the external table with all fields with datatype varchar and then cleansing the data. But it doesn't seem very effecient plus it will get very complicated because I have almost 80-90 fields.
    Any help?
    Thanks and regards,
    Ann.

  • Skipping a table level

    Hi, I have these 3 tables (with right FKs and joins) in my Product Dimension:
    CITY, SUPPLIER, PRODUCT.
    The right level hierarchy should be, from top to leaves: City -> Supplier -> Product
    We'd want to build these dimension hierarchy:
    City -> Product, but we get this warning in BI Admin (and error then in Answers)
    [39008] Logical dimension table CITY has a source CITY that does not join to any fact source.
    It can't navigate through the joins, skipping the intermediate table level?
    Are we forced to build the entire hierarchy and skip the level (and the table) setting a preferred Drill-Path? (this solution worked)
    Thanks in advance!

    To resolve this you have two options.
    Be sure that you have in the physical layer correct FK join relationships between these tables as follow:
    City-<Supplier-<Product
    In the BMM make logical table (dimension table) with logical table source Product. Now, in the logical table source Product general tab properties add physical tables and joins (add first Supplier table and join Product>-Supplier, then add City table and join Supplier>-City). Now, drag-drop columns from all tables that you want to use in dimension levels.
    Build dimension object with levels, and put columns on each level.
    Option one (all three levels):
    City level: key use for drilldown checked
    Supplier level: key use for drilldown unchecked
    Product level: key use for drilldown checked or unchecked
    Now you can drilldown in Answers from City to Product, the middle level is not shown, obiee make join through all three tables.
    Option two (City and Product levels only):
    City level: key use for drilldown checked
    Product level: key use for drilldown checked or unchecked
    Now you can drilldown in Answers from City to Product, obiee make join through all three tables, because you have define this additional physical tables and joins in logical table source Product.
    Regards
    Goran
    http://108obiee.blogspot.com

  • How to get data from hierachy lookup table

    there is a hierachy lookup table A, and I want to get data from A.
    but the following code does work properly:
    WebTreeNode result = catalog..GetHierarchy(tableName,nodeID);
    could anybody give some suggestion or solution of getting data from hierachy lookup table,
    3x

    Hi fei,
    Please look at the following code.
    I hope it will give you some clues...
    private void showHierarchy() throws StringException
        ResultSetDefinition rsd = new ResultSetDefinition(<code name of your hierarchy table>);
        rsd.GetFields().Add(<code name of a field in your hierarchy table>);
        Search search = new Search(<code name of your main table>);
        WebTreeNode treeNode = catalogData.GetResultTree(search, rsd, 0);
        printHierNameRecursive(treeNode, 0);
    private void printHierNameRecursive(WebTreeNode root, int level) throws StringException
        WebTreeNodeArray arr = root.GetChildren();
        for (int i = 0; i < arr.GetSize(); i++)
            for (int tab = 0; tab < level; tab++)
            System.out.print("t");
            String catName = arr.GetWebTreeNodeAt(i).GetValueAt(<code name of a field in your hierarchy table>).GetStringValue();
            System.out.println(catName);
            printHierNameRecursive(arr.GetWebTreeNodeAt(i), level + 1);
    Regards,
    Nir

Maybe you are looking for

  • Error while opening the workflow page

    All:   I am trying to install and configure a NW IdM. I am done with the installation. When I try open   http://<host>/workflow/index.php, i get the following error: Login failed for user ''. The user is not associated with a trusted SQL Server conne

  • Using iPhone 3Gs as an iPod Touch, while using my new Verizon iPhone 4 as a phone? Lost original sim?

    Well, Im at a loss for this one. A few weeks ago I jumped over to verizon predicting that Id rather get an iPhone 4 and wade through the intermediate (iPhone 4s, iPhone 3GS) release until the iPhone 5. I planned on using my old iPhone 3Gs (AT&T, of c

  • Switching hardware from Dell to Apple. Use Mostly Windows

    I need a little help. Don't shoot until you read the end. I am a business owner who runs equipment dealerships in AZ and CA and also a gadget hound. Have had 20 PDA's, etc and am always looking for the best hardware setup. I have a Dell Lattitude D82

  • Workflow delegation HRUS_D2

    Hi , User A has set as delegate to user B. That means when B receive the workitem it will be routed to user A. Now my question is the same workitem will also present in user B inbox  or it will be disappear from user B inbox? Regards, Ramu .

  • How to make Form Ask for commit, when a rec is inserted when chkbox checked

    A record should be inserted when check box checked, deleted when unchecked. I have Insert/delete statement in WHEN_checkbox_changed trigger. This is happening perfectly. I want form to ask the user weither to save/ not save the changes... Please help