Formatted search on BOM how to access variable field from matrix?

hi,
i have assigned a formatted search to the Quantity field on the BOM. its as follows.
declare @width numeric (19,6)
declare @height numeric (19,6)
declare @lenght numeric (19,6)
set @width = Convert(numeric(19,6), $[$3.50.92])
set @height = Convert(numeric(19,6),$[$3.51.93])
set @length = Convert(numeric(19,9),$[$3.52.91])
SELECT @width * @height * @length
but when its executing i am getting internal error.
Thanks in Advance,
Vasu Natari.

Hi,
are you sure, that in @width , @height and @length is some value and not null?
Try it as
declare @width numeric (19,6)
declare @height numeric (19,6)
declare @lenght numeric (19,6)
select @width = Convert(numeric(19,6), $http://$3.50.92)
select @height = Convert(numeric(19,6),$http://$3.51.93)
select @length = Convert(numeric(19,9),$http://$3.52.91)
SELECT convert(numeric(19,6), isnull(@width,0) * isnull(@height,0) * isnull(@length,0)) as result
Petr

Similar Messages

  • How to Access Maintenance View from a program

    Hi Experts,
    I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
    with regards,
    James...
    Valuable answers will be rewarded...

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • How to access hidden fields in a table

    hi
          what is the use of hidden fields in a table, ie. some fields doesn't visible in the field list of a table.  but the fileds will be visible if u display its contents.
        for example in table t518A the text field is not visible in the field list.  But it will be visible if display its contents.  can any one of u please help me out how to access those fields. 
    regards
    sri

    Hi Srivallika,
    The table T518A has a text table called T518B. You can have a look at this table by:-
    1. GOTO SE11 and display table T518A.
    2. GOTO menu GOTO -> TEXT table. It gives the text table for the given table. Here its is T518B.
    A Text table is table with same key fields as the main table with another extra Language key TYPE SPRAS. This table is related to the main table. Hence to access the extra text fields, you can use the TEXT table :).
    Thanks and regards,
    Ravi.
    NOTE: Points keep me alive on SDN .

  • When I search in safari, how do I stop it from quessing what I am typing?

    When searching in Safari, how do I stop it from guessing what I am typing?

    Go to Settings>General>Keyboard>Auto Correct>Off.  This will also turn off spell check. You can also tap the X next to the word that Safari suggests to get rid of the word and keep typing what you want.

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • How to access the cloud from my pc?

    how to access the cloud from my pc?

    Go to Verizonwireless.com, log in to your account (or register your phone number if you haven't done so).  Once logged in, Go to My Verizon, My Device, Backup my contacts.  That should bring you to your Cloud "dashboard" - where you can view Contacts, Photos, Videos, Music,Documents, and anything else  you've sent to Verizon Cloud.
    If this doesn't work for you, then where does it break down?  Do you get any error messages?

  • How to access the Oracle from Unix when SID is not provided?

    How to access the Oracle from Unix when SID is not provided.
    User Name : xxx
    Password : yyy
    SID : SID
    I use to access it using below command from Unix prompt:
    sqlplus xxx/yyy@SIDNow since I dont have SID, how to access the Oracle DB from Unix Box?
    User Name : xxx
    Password : yyy
    Service Name : zzz
    Regards,
    Sunny.

    Hi Ajay
    Thanks for the suggesstion :)..It worked as well.
    The Actual problem was in the "tnsnames.ora" file where in I need to make entry for the new SERVICE name.
    Now I am able to connect it properly.
    Regards,
    Sunny.

  • How to access a field of a structure with a field symbol?

    Dear all,
    Currently I'm trying to access the fields of a structure (called "ls_tbl") dynamicly. The code looks as follows (of course the field symbols are defined correctly ;-):
        ASSIGN lv_f1 TO <lv_f1>.
        ASSIGN lv_f2 TO <lv_f2>.
        lv_pp = ls_tbl-(<lv_f1>).
        lv_pt = ls_tbl-(<lv_f2>).
    Unfortunatly I get the following error message:
    <<The data object "LS_TBL" does not have a component called "".>>          
    I really do not understand why ABAP is trying to interpret the field symbol name as a string. Does anybody have a clue how to access the field of ls_tbl with the help of a field symbol?
    Many thanks!!!

    Hi ,
    Please check the below sample code .
    data : begin of st_table,
                myfiledname type c value '1',
                myfiledname1 type c value '2',
           end of st_table .
    data : lv_filedname(11) type c value 'MYFILEDNAME'
    filed-symbols : <fs> type any,
                    <fs_table> type any.
    assign st_table to <fs_table>.
    Assign lv_filedname to <fs> .
    assign component <fs> of structure <fs_table> to lv_pp.
    Regards,
    Ratheesh BS

  • How to access Cyrillic glyphs from Trajan Pro 3 Regular?

    I can download Trajan Pro3 regular in greek and latin glyphs but not in Cyrillic. Using Mac OS 10.7.5, Font Agent Pro 6.010.
    No EULA Licence Agreement in russian, but Adobe told me I bought the right font (with cyrillic glyphs).

    Thank you a lot.
    The first downloading was not correct. I loaded again, and now it is ok.
    Best regards
    Catherine Anderegg
    Anderegg Graphic
    Le 23 févr. 2015 à 21:10, MiguelSousa a écrit :
    How to access Cyrillic glyphs from Trajan Pro 3 Regular?
    created by MiguelSousa in Adobe Type - View the full discussion
    Yes, the Trajan Pro 3 fonts have Cyrillic glyphs in them. You need to use Unicode-encoded text to get to them.
    Википедия
    Cyrillic script in Unicode
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7222734#7222734 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7222734#7222734
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Type by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

  • Accessing a field from a structure with out header line

    Hi Guys,
                 I am trying to assign a field from a structure type line of data to another field.
    This structure type line don't have a header line.
    here is the example.
    IT_EKKNU TYPE  MMPUR_EKKNU.
    when I use following statement..
    move IT_EKKNU-kostl to e_cekko-kostl.
    Iam getting error "IT_ENKKNU is not a structure or Internal table with header line.
    How to access the fields in structure IT_EKKNU.
    Thank U for ur time.
    Cheers
    S Kumar

    Here IT_EKKNU is an internal table without Header line.
    You can use a structure for assignment.
    DATA: IT_EKKNU TYPE MMPUR_EKKNU,
               wa_ekknu type    ekknu.
    read table it_ekknu into wa_ekknu........
    move wa_EKKNU-kostl to e_cekko-kostl.
    *modify the code for your conditions*.

  • How to hide a field from table maintenance view?

    Hi,
    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.
    Thanks

    Chk this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • How to access variables from other class

        public boolean inIn(Person p)
            if  (name == p.name && natInsceNo == p.natInsceNo && dateOfBirth == p.dateOfBirth)
                 return true;
            else
                 return false;
        }//returns true if Person with same name/natInsceNo/dateOfBirth as phello,
    here am trying to compare the existing object with another object.
    could you please tell me how to access the variables of other class because i meet this error?
    name cannot be resolved!
    thank you!

    public class Person
        protected String name; 
        protected char gender;      //protected attributes are visible in the subclass
        protected int dateOfBirth;
        protected String address;
        protected String natInsceNo;
        protected String phoneNo;
        protected static int counter;//class variable
    //Constractor Starts, (returns a new object, may set an object's initial state)
    public Person(String nme,String addr, char sex, int howOld, String ins,String phone)
        dateOfBirth = howOld;
        gender = sex;
        name = nme;
        address = addr;
        natInsceNo = ins;
        phoneNo = phone;
        counter++;
    public class Store
        //Declaration of variables
        private Person[] list;
        private int count;
        private int maxSize;
    //constructor starts
        public Store(int max)
             list = new Person[max];//size array with parameters
             maxSize = max;
             count = 0;
        }//end of store
    //constructor ends
    //accessor starts  
        public boolean inIn(Person p)
           return (name == p.name && address == p.address && natInsceNo == p.natInsceNo);
        }//returns true if Person with same name/natInsceNo/dateOfBirth as phope it helps now!

  • How to access variables outside user exit

    Hi,
    I'm working with a user exit and my problem is that in a particular moment I have to access variables located outside the scope of the user exit (they are in a standard program)
    How can I reach these variables?
    thanks in advance

    Hi,
    If they are global variables then you can access them using Global assign technique,
    For example,
    FIELD-SYMBOLS: <fs_value> TYPE ANY.
    ASSIGN ('(SAPMV45A)XVBAK') TO <fs_value>.
    It is basically,
    ASSIGN ('(<Std. Program Name>)<Variable name>') TO <field symbol>.
    NOTE: To make sure they are accessible in your user exit, just put a break-point in the user exit and once you are there in debugging, type in,
    (<Std. Program Name>)<Variable name> in the Field names section and if it does not show it in RED then it is accessible..
    Hope this helps.. 
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • How to access variables??

    how to access public variables of any other class??
    suppose i have a file temp.java file ..& i know all the public variables. and
    i want to access the variable of those temp.class file which extends JApplet or Applet..
    and as u know it will declare public void init() .. & in this function only all declaration will be there.
    so now how to invoke this init() function from any mymethod()..to access public variables...

    its not working. for me..
    the variable which i m trying to access is non static.. its displays the error :
    Exception in thread "AWT-EventQueue-1" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
    and by one method i have connected database also.. and it has been called from init()..
    i have collected the data from the database..and i m storing the data in one ArrayList ..
    and i want to access that ArrayList..

Maybe you are looking for

  • How can I change my Outlook "inbox" to include all mailboxes?

    I'm a recent convert from the original Motorold Droid to iPhone 4. Here's my issue with mail from my company's Exchange server: Only incoming mail appearing in the "Inbox" is flagged as a new message by the push notifier. The trouble is, I have serve

  • A great iTunes idea!!

    With all the Apple keynotes (MacWorld confrences and such) that exist, wouldn't it be nice if Apple offered them on the iTunes store to purchase? This would be great because, 1.) Every conference video is historical and would be great for people to l

  • Can't paste artwork

    when I try to paste a jpg file into the artwork box after entering get info for a track, all I see is a picture that says JPEG not the picture itself, does anyone know how to sort this? Thanks, John

  • Right-justify number columns in BC4J

    I have several JSP pages that I am using BC4J tags in. I want to right justify all dollar columns. In addition, I want some columns to have a default width regardless of the data in them. For instance, even if a column has 'Test' in it, I want it to

  • Help plz! How do i stop win200professionl from Restarting!?

    Hi, i just put together a p4 2.6 w/ MSI board and it wont stop restarting... could it be the board or the OS.. i have tried re-wiring this thing over n over and i cleared the cmos..but i still get the same results... What should i do? thanks Ryan