How to fetch tables for a particular pricing document?

Hi all,
From which tables I have to fetch for particular pricing document that has a particular Condition type?For exampe i am asked for to fetch Pricing document 'IDV' that has a 'ZQTG' Pricing Condition Type.By the way is there any difference between pricing document and pricing condition.
Thanks,
Balaji.

Hi Balaji
The entries will be in a combination of tables. In
simple you can get it from KONH and KONP. But to determine them is a hardsome task.
  Let me try to write it down for you understanding.
To extract the prices:
  Firstly it depends on the condition type eg: ZCND.
  Next the access sequences: eg: 501, 502. Access
sequences defines the combination of fields. This
combination of data you can see in KONH-VAKEY.
  So the reference tables will be A501 & A502.
  From these tables you can get the condition record
number(KNUMH). Using KNUMH you can go to KONH and KONP
to extract prices.
  Above is for extraction. Hope the info is helpful for
you.
Kind Regards
Eswar

Similar Messages

  • How to find tables for a particular business object.

    Dear Friends,
    I want to display, all the tables related to a particular business object.
    So I think there must be way of doing it using packages.
    example:-
    I will have list of all packages referencing to all business Components
    (ex.SALES) then i will get a list of all the tables related to SALES and then I would like to get all the METADATA regarding that TABLE.
    please give me some ideas How to achieve this.
    thanks,
    jeevan

    hai Naveen ,
    Thanks for the reply.
    I had gone through the Link.
    I want to know "How could I get the list of all the Tables of a particular Business Component"
    like suppose i entered Sales i sould get all the tables related to Sales ....if  MM then list of MM tables...
    in Se80 the package VA is for sales .....
    and there i can get all the tables for sales...
    but If u know any searching criteria by which i will be able to the list of tables.
    thx,
    jeevan

  • How to find total recs in a local table for a particular condition

    Hi,
    How to find total recs in a local table for a particular condition?
    Thanks,
    CD

    Well, you may want to try this as well, and compare to the LOOP way.  Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it.  Again I think there may be some overhead in doing the copy.  Next, delete out all records which are the reverse of your condition.  Then whatever is left is the rows that you want to count.  Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1 <> 'A'.
    lv_count = lines( itab_tmp ).
    Regards,
    Rich Heilman

  • How to give comments for a particular table

    hi..
    how to give comments for a particular table ..
    select * from user_tab_comments;
    tx in advance..

    Try this.
    SQL> COMMENT ON TABLE EMP IS 'THIS IS SAMPLE EMPLOYEE TABLE' ;
    Comment created.
    SQL> select * from user_tab_comments where table_name = 'EMP'
      2  /
    TABLE_NAME                     TABLE_TYPE
    COMMENTS
    EMP                            TABLE
    THIS IS SAMPLE EMPLOYEE TABLE

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to find condition  type for a particular material document no.

    hiiiiii
    How to find condition type for a particular material document no.

    Hi
    Condition types are maintained at PO level
    Take the EKKO-KNUMV and pass to
    KONV-KNUMV field and take the different condition types values from KONV
    Take the Material Document No (MBLNR) and pass to MSEG table and take the EBELN field and from EKKO table take EKKO-KNUMV field and pass to KONV
    see the table T685 for different condition types.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • How to fetch data for sales order costing

    Hi All,
    How to fetch data for VA03 --> Extras --> Costing having cost element details.
    Thanks
    Gaurav

    Hi Gaurao ,
    There is no such function module  to extract data  in one column   , you have to  Convert all the columns data    in one column
    for period   .
    regards
    Deepak.

  • How do I search for a particular song on iTunes ?

    How do I search for a particular song on itunes - it used to be easy to go to search but that function seems to have disappeared

    The search function is still very much there, upper right corner of the iTunes Window.

  • How to create tables for control data

    HI
    How to create  tables for controls of types of data (screen control)? what is the process for this
    Regards,
    Anil

    Well, do you want to do it the easy way?  If so, then just create a table maintenance program.  You can do this via SE11, utilites, table maintenance generator. The table maintenance will be generated and you can then maintain the table via SM30. 
    If you want to go the more challenging way, you can write your own table maintenance program using a table control on your screen.  You can use the table control wizard to help you along.
    Regards,
    Rich Heilman

  • Find condition type (kschl) for a particular material document no (mblnr)

    hiiiiii
    How to find condition type (kschl) for a particular material document no (mblnr).

    Hello,
    <b>Check the table A017 and KONV.</b>
    Vasanth

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • How to block sales order for a particular pricing condition

    Hi Experts,
    Here I have a requirement on sales order blocking . I have searched in the forum but I didn't find any relevant thread. So please help me in the following requirement
    On a particular pricing condition create or change I need to automatically block the sales order. I don't know how exactly to block the sales order. Please make me aware on this concept. Do we have any exit or badi to block the sales order in this requirement.
    How to block the sales order manually and automatically please explain me.
    Thanks & Regards
    G.S.Naidu

    Hi,
    You can use user exit MV45AFZZ, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE to set the delivery block on sales order.  Write your required logic in this routine.  You have to set the value of VBAK-LIFSK to a relevant value available in table TVLS (Field : LIFSP).
    If the value in VBAK-LIFSK is initial, then sales order is not blocked for delivery & if it is having some value (available in TVLS), then sales order is blocked for delivery.
    Regards
    Vinod

  • How to fetch data for a struture from a cluster table

    How can I fetch data for a struture, from a cluster table, based on the name of the structure?

    Hi,
    In order to read from Cluster DB Table use the following statement:
    Syntax
    IMPORT <f1> [ TO  < g1 > ] <f2> [TO < g2 >] ...
    FROM DATABASE <dbtab>(<ar>)
    [CLIENT <cli>] ID <key>|MAJOR-ID <maid> [MINOR-ID <miid>].
    This statement reads the data objects specified in the list from a cluster in the database <dbtab>.
    You must declare <dbtab> using a TABLES statement. If you do not use the TO <gi> option, the
    data object <fi> in the database is assigned to the data object in the program with the same
    name. If you do use the option, the data object <fi> is read from the database into the field <gi>.
    For <ar>, enter the two-character area ID for the cluster in the database. The name <key>
    identifies the data in the database. Its maximum length depends on the length of the name field
    in <dbtab>.
    The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
    For Eg:
    PROGRAM SAPMZTS3.
    TABLES INDX.
    DATA: BEGIN OF JTAB OCCURS 100,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF JTAB.
    IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.
    WRITE: / 'AEDAT:', INDX-AEDAT,
    / 'USERA:', INDX-USERA,
    / 'PGMID:', INDX-PGMID.
    SKIP.
    WRITE 'JTAB:'.
    LOOP AT JTAB FROM 1 TO 5.
    WRITE: / JTAB-COL1, JTAB-COL2.
    ENDLOOP.
    Regards,
    Neha
    Edited by: Neha Shukla on Mar 12, 2009 1:35 PM

  • To Get the earlier records in a table for a particular id neglecting the newer ones

    Hi All,
    I need to get the older records for a particular id rejecting the newer ones..My Scenarios is as follows..
    ID      Result           Date
    1        Pass             2015-01-01
    1        Fail                2015-03-05
    2       Pass                2014-06-07
    2       Fail                  2015-02-02
    My Output will be 
    ID        Result              Date
    1          Pass                2015-01-01
    2          Pass                 2014-06-07
    How can i achieve this....Thanks in advance

    Please follow the basic Netiquette of all SQL forums for the past 35+ years on the Internet. Post DDL that follows ISO-11179 rules for data element names. You have no idea; you do not even know that DATE is a reserved word in SQL! Use industry standard
    encodings (ISBN, UPC, GTIN, etc) and avoid needless dialect. Give clear specifications. Give sample data. Web need to see the keys and constraints, the DRI, etc.  80-95% of the work in SQL is in the DDL. 
    If you do not know that rows are not records, fields are not columns and tables are not files, then you should not be posting. If your tables have no keys, you should not be posting. If you have not tried any DML yourself, you should not be posting. 
    >> I need to get the older records [sic] for a particular product_id, rejecting the newer ones..My Scenarios is as follows.. <<
    Now we have to do all your typing because of your bad manners. Thanks a lot. Here is a repair job. 
    CREATE TABLE Inspections 
    (product_id CHAR(5) NOT NULL,
     inspection_date DATE NOT NULL
    PRIMARY KEY (product_id, inspection_date),
     inspection_result CHAR(4) NOT NULL
     CHECK (inspection_result IN ('pass', 'fail'))
    INSERT INTO Inspections 
    VALUES
    ('prod1', '2015-01-01', 'pass'),
    ('prod1', '2015-03-05', 'fail'),
    ('prod2', '2014-06-07', 'pass')
    ('prod2', '2015-02-02', 'fail'); 
    Here is one way to do this: 
    WITH X(product_id, inspection_date, inspection_result, first_inspection_date)
    AS 
    (SELECT product_id, inspection_date, inspection_result,
            MIN(inspection_date) OVER (PARTITION BY product_id) 
       FROM Inspections)
    SELECT product_id, inspection_date, inspection_result
     FROM X 
    WHERE first_inspection_date = inspection_date;
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • Can't update in mysql

    I am using JSP and MYSQL with a bean that does my database work. my search.jsp looks up records, when I click edit it sends the values to my inventory_admin.jsp When I make the changes to the data, the data is not saved in the database. Please, look

  • How to print pdf file silently?

    Hello, friends, We have a c#.net application which uses the free Adobe Reader (axAcroPDF1) component to view .pdf files. Sometimes, our customers need to print the selected .pdf file (from a .pdf file list) SILENTLY. However, each time when we issue

  • PDFs are not shown correctly at more than 150% size

    Hi, we use Adobe Reader 8.1.2 and we can´t change it in our company. we now have the problems, that a few documents are not shown correctly, when they are shown with more than 150% on the screen. at 150% the signature and some lines are shown, when w

  • I am not able to send my mail

    When going into my email to retrieve my mail I can open and receive email but I am unable to reply it is being rejected by my server and asks me to try later. What do I have to adjust to get it working again. Thank you.

  • MDS persistence for column within a loop

    Hello, I am trying out basic setup of MDS. I was able to make it work for most of my columns except for a column within a loop. I also tried using the ADF Read Only Dynamic table and it is not persisting any of the columns of the table, since it is i