Table name storing freight

Which table stores the sales orders and the corresponding freight charges?
I found table KONV but it doesn't seem to list the correct values for the condition types that I see from TCODE VA03 for a sales order. Some orders are not even found from this table that are founr from VA03.

Hi ,
First of all find out the condition type for Freight being used in the order.
Then go to table VBAK  and get the value of field KNUMV( Condition record number).
Then go to table KOMV and enter the KNUMV value in Doc condition field.
and the item number of the item which you want to see the conditions.
If you want to see Freight charge only, enter the condition type for Freight charge in the selection screen of KOMV table.
Now you should be able to see the data.
Hope this answers your question.
Regards,
Ajai
Don't forget to reward points if helpfull .

Similar Messages

  • Join a row to a table name stored within a column ?

    Hi guys - can you tell me if this is doable at all ?
    I've an existing table with a lot of data in it that I wish to query on.
    This table has a text column, and then 4 more columns - Join Table name, Join column name, Join value and table value column.
    The 3 join 3 columns allow me to join this piece of text to a row in another table, identified by the 3 join columns listed above.
    Now, I appreciate this is a lousy design, but its in place and there's nothing I can do about it.
    I do however need to get a row by row report of the text, followed by the value stored in the column identified by table id column.
    So lets say I have
    Table_A
    Pers_ID
    Name
    Age
    Sex
    Table_B
    Col_ID
    Colour
    Hue
    My text table will have rows like this
    Text
    text = 'Person A Age'
    join tablename = 'Table_A'
    join columnname = 'Pers_ID'
    join value = 1
    table value column = 'Age'
    text = 'Person B Sex'
    join tablename = 'Table_A'
    join columnname = 'Pers_ID'
    join value = 2
    table value column = 'Sex'
    text = 'Pers A Fave Colour'
    join tablename = 'Table_B'
    join columnname = 'Col_ID'
    join value = 1
    table value column = 'Colour'
    So - what I should be able to do is go to either table a, and select the column specified, where the id column = the value supplied.
    The only way I can think of doing this is to create a temporary table and go through the text table, row by row using pl/sql and select from whatever table it tells me to using dynamic sql and populate the temporary table.
    Can this be done using sql ??

    Hi,
    ScottyH wrote:
    Hi guys - can you tell me if this is doable at all ?
    I've an existing table with a lot of data in it that I wish to query on.
    This table has a text column, and then 4 more columns - Join Table name, Join column name, Join value and table value column.
    The 3 join 3 columns allow me to join this piece of text to a row in another table, identified by the 3 join columns listed above.
    Now, I appreciate this is a lousy design, ...I agree. It's a variation of the Entity-Attribute-Value (EAV) model, which might be a good thing if relational databases didn't exist.
    I think your present approach, using dynamic SQL, is the best that you can do.
    One possible alternative is to unpivot table_a, table_b, and all the other tables like them into an EAV form, then do a UNION of all those unpivoted results. (You could do this in a view, if you wanted to.) Then your query would simply be a join between your text table and the EAV table (or view).
    If you'd care to post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that data, then I could demonstrate what I mean.
    What version of Oracle are you using? You should always include this when you have a question. It might not matter in this case, but why take a chance?
    Here's another approach that would work in very special circumstances.
    If there are only a couple of tables like table_a and table_b, and they only have a couple of columns that you might need to reference, then you could do all possible joins, and use CASE expressions to get the results from the one you actually want. All the joins would have to be outer joins, so I expect this approach would be very slow.

  • Table name stored in another table and how to Build the Dynamic Query

    TblMasterTable
    Id
    Unqid
    Tbl_TemplateNameid
    Tbl_Template1
    Unqid
    Field1
    Filed2
    Tbl_Template2
    Unqid
    Field1
    Filed2
    Filed3
    Tbl_Template3
    Unqid
    Field1
    Filed2
    Filed3
    Filed4
    Filed5
    TblMasterTable contains the reference for the table names.
    TblMasterTable contains the data
    1 12     Tbl_Template1
    2 22     Tbl_Template2
    3 12     Tbl_Template1
    4 343 Tbl_Template3
    I want to build the query to retrieve all the Template table records based on the TblmasterTable data for a given id.

    This is possible but you need to understand the performance implications of Dynamic SQL before proceeding with this approach.
    <br>
    use this logic:<br>
    declare sqlstring varchar2(500):=null <br>
    select 'select stuff from '|| tbl_templatenameid into sqlstring from MasterTable where id=someid;<br>
    execute immediate sqlstring;
    <br>
    <br>
    I have really seen very few cases where this approach is justified.
    <br>
    <br>
    Dave<br>
    lehr.servehttp.com

  • Table Name Storing date/time Data Loaded.

    Hi All,
    In BI I have few Info Providers to which data will be loaded frequently. Is there any table in BI which stores the information like the date and time the data was loaded to the corresponding Info Provider. Is there any table as such?? If yes then what is the transaction to reach that table.
    Thanks in Advance,
    Rajesh.

    check the table in SE11 tcode
    RSSTATMANPART

  • Are TableSpace names stored in the tables?

    Are TableSpace names stored in the tables?
    If so, which one?

    Tablespaces are stored in the db.
    I believe they are in tCtrlOption

  • Table name in which approver details are stored-Workflow

    Hi ,
    Can any one tell me the table name of approver is stored and theire levels...
    Regards,
    Veera

    Do you know which table maintains approver details of PO?

  • Table name in which return item data is stored of a PO

    Can some please specify the table name in which return item data is stored of a PO?
    Thanks in advance;

    Hi,
    Let me explain what exactly I need. In a PO there is a checkbox "Retun Item". If we check that checkbox for an item that item becomes a retun item.
    I need to fetch all the data of this return Item. The commitment data goes to table COOI but this return item records doesn't get stored in COOI table. I need all the data of this entry including the Network Activity, Project, WBS element etc.
    Please let me know if you could help me.
    Thanks.

  • Table name in which the trip history is stored.

    Hi All,
    I was trying to find out the table in which the trip history is stored but in vain could not. Can any one let me know the table name plz.
    Your help is very much appreciated.
    Thanks and Regards
    Sri

    FITV_REJECT                    Rejected Trips                            
    FTPT_IMR_SURFACE               IMR - Other Segments of Trip as Flights   
    FTPT_QT_ALTERN                 Quicktrip Trip Alternative                
    FTPT_QT_QTRIP                  Quicktrip Trip                            
    PTRV_ARCHIVE                   Administrative Table for Archived Trip Dat
    PTRV_BEIH_BEL                  Assignment of Receipts to a Subsidy for Tr
    PTRV_BEIH_TAG                  Assignment of Days to a Subsidy for Trips 
    PTRV_BEIH_WEG                  Assignment of Trip Segments to a Subsidy f
    PTRV_BEIHILFE                  Subsidies for Trips Home for Entire Separa
    PTRV_COMM_AMT                  Detail Data: Transfer to FM When Trip Save
    PTRV_COMM_ITM                  Header Data: Transfer to FM When Trip Save
    PTRV_F_FBLK                    Form Blocks of the Trip Costs Form        
    PTRV_F_FBLK_TXT                Form Blocks of the Trip Costs Form        
    PTRV_HEAD                      General Trip Data                         
    PTRV_PERIO                     Period Data of a Trip                     
    PTRV_REDUCTION                 Decision Fields: Change of Statutory Trip 
    PTRV_ROT_AWKEY                 Assignment of Trip Results to Posting Doc.
    PTRV_SADD                      Trip Statistics - Add. Receipt Data       
    PTRV_SBACKLOG                  Trip Statistics - Batch/Backlog Processing
    PTRV_SCOS                      Trip Statistics - Cost Assignment         
    PTRV_SHDR                      Trip Statistics - Trip Amounts            
    PTRV_SREC                      Trip Statistics - Receipts                
    PTRV_TRIP_CHAIN                Table of all Trip Destinations f. Processi
    PTRV_TRIP_DELETE               Trips Deleted in R/3 For Offline Travel Ma
    SFLTRIPBOK                     Individual Flight Bookings for a Flight Tr
    T702N                          Trip Provision Variants

  • Hw to find the table name of the perticular field is stored in db,usingFM

    Dear all,
    I need to find out the table name of the perticular field is storing in database using FM (note: using Function Module or any standard program , not manually like press F1 -> technicall setting etc.. .) 
    [ Exmple: Field: "MATNR" is stored in table : MARA, so i need the program/FM  to findout MATNR is stoed in MARA table ]
    i need this  FM for update values of  material master ( mm01 ) stored in different warehouse using module pool program.
    it's very urgent , please send me reply asap.
    thanks,
    best regards
    srinivas

    hi Srinivas,
    Please use the following logic:
    types:
        begin of t_find,
           field(40),
        end of t_find.
    data:
        lt_find  type table of t_find,
        ls_find  type          t_find,
        lt_found type table of RSFINDLST.
    ls_find-field = 'MATNR'.
    append ls_find to lt_find.
    CALL FUNCTION 'RS_EU_CROSSREF'
    EXPORTING
       i_find_obj_cls                    = 'DTEL'
       I_SCOPE_OBJ_CLS                    = 'TABL'
       NO_DIALOG                          = 'X'
    TABLES
       I_FINDSTRINGS                      = lt_find
       O_FOUNDS                           = lt_found
    EXCEPTIONS
       NOT_EXECUTED                       = 1
       NOT_FOUND                          = 2
       ILLEGAL_OBJECT                     = 3
       NO_CROSS_FOR_THIS_OBJECT           = 4
       BATCH                              = 5
       BATCHJOB_ERROR                     = 6
       WRONG_TYPE                         = 7
       OBJECT_NOT_EXIST                   = 8
       OTHERS                             = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    The table lt_found has the details for the tables having MATNR as a field; field lt_found-object will have the table names.
    Hope this helps,
    Sajan Joseph.

  • Oracle function in stored procedure to retreive particular table name

    Hi,
    I need to delete a table 'xxsys_dram_flatproperties' from database given model name as 'dram-model'.
    the model name can be any thing.corresponding table name will be[i] 'xxsys_<modelname>_flatproperties'.
    I wrote stored procedure .I am able to retrieve all the tables in the database using user_tables.Is there any funtion in oracle like
    if table name contains letters that are there in model name.
    Pleasehelp.

    Suppose all your tables created in the schema 'temp'
    and you are absolutly sure you want to drop only tables which have for example '_model3_' in its name (nothing else should have same part in your schema)
    then try a simple solution:
    CREATE TABLE temp.xx_model3_01 (col1 NUMBER)
    CREATE TABLE temp.xx_model3_02 (col1 NUMBER)
    SELECT table_name from all_tables where OWNER = 'TEMP' and table_name LIKE '%_MODEL3_%'
    TABLE_NAME                   
    XX_MODEL3_01                 
    XX_MODEL3_02
    DECLARE
       CURSOR c1
       IS
          (SELECT table_name
             FROM all_tables
            WHERE owner = 'TEMP' AND table_name LIKE '%_MODEL3_%');
    BEGIN
       FOR rec IN c1
       LOOP
          EXECUTE IMMEDIATE 'DROP TABLE ' || rec.table_name;
       END LOOP;
    END;

  • Urgent----In which table are portlet id and name stored?

    In which table are portlet-id and name stored?

    portal30.WWPRO_PORTLET_METADATA_NLS$
    portal30.WWPRO_PORTLET_METADATA$
    portal30.WWPOB_PORTLET_INSTANCE$

  • Table names in generated stored procs are qualified with sa schema name

    I am using OMW 9.2.0.1.2 with the 9.2.0.1.3 SQL Serevr plugin to help with a SQL Server 7 to Oracle 9.2.0.1 migration on NT.
    As is common with SQL Server databases, the dbo is sa. I don't want my Oracle schema to be called sa. I have succesfully gotten around this by renaming the sa user in the Oracle model in OMW.
    However, the stored procedure code that OMW generates has table names qualified with sa as the schema (the tables names in the original T/SQL procs were not qualified).
    How can I stop OMW from generating table names qualified with sa?
    Thanks.

    Hi,
    this is a bug in the OMWB. As a workaround, you can generate the migration scripts (see reference guide and user guide for more information) from the OMWB Oracle Model and then edit these scripts to ensure that the 'sa' prefix does not appear in the text of the stored procedures. Then use these scripts to generate the schema in your database.
    An alternative is to migrate the stored procedures, schema and data over to the Oracle database using OMWB and then open each procedure in Enterprise Manager, remove the references to the 'sa' prefix and re-compile the procedure.
    I will keep you updated on the release this fix will appear in.
    I hope this helps,
    Tom.

  • Table name where employee email id stored

    Dear All,
                   I want to know the table name where the employee email id stored.Please help me on this for which I will be grateful.
    Thanks and regards,
    S.Suresh

    If you are a functional
    Go to PA30
    enter infotype 0105 subtype 0010
    Click on create button
    you can create email ID
    If you are a technical you can view like this too
    As our friends said
    SE11 Table PA0105 selet Dispay.
    Then execute the table
    give the values example Personnel number or range
    You will find the list of the emails
    Best Regards

  • I need to find Background job duration stored table name.

    Dear Experts,
    Please guide me in this
    How can I find Background job duration stored table name
    I got some details from table TBTCO but unable to find duration of the job.
    Thanks in advance.
    Vinod.

    there is no table which contains the "time duration of the job" you have to calculate on the fly the by taking the (SY-UZEIT - TBTCO-STRTIME)  * 60
    (Current time - Start time ) * 60 =  xxx Seconds

  • Passing Table Name to Stored Procedure for From Clause

    Is it possible to pass a table name to a stored procedure to be used in the From clause? I have the same task to perform with numerous tables and I'd like to use the same SP and just pass the table name in. Something like this:
    =======================================
    CREATE OR REPLACE PROCEDURE SP_TEST(
    in_TABLE IN VARCHAR2,
    AS
    V_TABLE VARCHAR2(10);
    BEGIN
    V_TABLE := 'st_' || in_TABLE; -- in_TABLE is 2-3 character string
    SELECT some_columns
    INTO some_variables
    FROM V_TABLE
    WHERE some_conditions...;
    END;
    =======================================
    I'm also using the passed table name to assign to variables in the Select and Where clauses. What I'm getting is an error that V_TABLE must be declared. When I hard code the table name, I don't get any errors, even though I'm also using the same method to assign values in the Select and Where clauses.
    Thanks,
    Ed Holloman

    You need to use dynamic SQL whenever you are swapping out object names (tables, columns).
    create or replace procedure sp_test
      (in_table in varchar2)
    is
      -- variables
    begin
      execute immediate 'select a, b, c from st_' || in_table || ' where x = :xval and y = :yval'
         into v_a, v_b, v_c using v_x, v_y;
    end;

Maybe you are looking for

  • Cannot uninstall AVG appears to be a virus or malware

    am not sure how or when AVG somehow managed to "get permission" to install and corrupt my firefox browser, but it cannot be deleted now. going into the add ons and tools, disabling AVG has no effect. in add/remove programs there is no AVG to be found

  • Error while creating physical inventory document with zero count

    Hi, I am trying to create a physical inventory document for a material that has zero stock and that is not batch managed but I am geting an error as below. "Item 001: No batches that can be included in phys. inv. exist.(Message no. M7701)" This error

  • G5 won't boot.  White LED lights when power button is pushed, click heard.

    Unlike some other non-booting G5 stories, mine never makes it past this stage. It's a dual 1.8ghz G5 powermac. The white LED above the power button turns on when the power button is pressed, a click is heard, but it does not go any further. The LED d

  • ClassCastException using Subant and wldeploy ant task

    Hi! I'm using subant to call all diffrent build.xml files located in subdirectories. The buildfile looks like this: <project name="extern.call" default="callall">      <target name="callall">           <fileset      id="buildfile.set" dir=".." includ

  • App for editing/reading/writing Excel, Word, Windows notepad text documents

    I was wondering if any of you's could recommend some apps (from experience) that would allow me to, edit/read/write Excel, Word, Windows notepad text documents. I could make do with an app that would do the above but without the ability to create, ed