Accessing the Condition Tables

Hi,
    I have a situation here. I am fetching the Price Data from the Condition master data tables. I am getting data from T685,T682I and T682Z tables. Now, when I am getting the field T682Z-KOZGF, it gives me a value "A001" for KAPPL = 'V' and KVEWE = 'A'. Now, I need to access the condition table A001 and access its fields  like DATAB and DATBI. How do I do that? Can somebody help me with this?
Also, I would like to access the field ZIFNA which will give the values "VKORG", "VTWEG" ,"SPART","KUNNR". I would also like to Check these values with the Same input fields I have. How do I achieve that? Please help me with this.
Thanks,
John.

Hi Prabhu,
             Thanks for your quick reply. In fact, I am developing a BAPI function Module in which I am sending pricing scales to the external interface. For the same reason, I have to access the condition tables to find out the pricing scales. So, please help me find out the procedure to access the condition table (ex: A001) which comes as a value into my internal table.
Thanks,
John.

Similar Messages

  • Populating the condition tables

    hi ,
    can anyone explain me clearly ,how to populate the condition tables programatically.
    its really urgent.
    regards,
    srikanth tulasi.
    Edited by: srikanth tulasi on Apr 9, 2008 11:02 AM

    Hi Prabhu,
                 Thanks for your quick reply. In fact, I am developing a BAPI function Module in which I am sending pricing scales to the external interface. For the same reason, I have to access the condition tables to find out the pricing scales. So, please help me find out the procedure to access the condition table (ex: A001) which comes as a value into my internal table.
    Thanks,
    John.

  • I'm facing performance issue while accessing the PLAF Table

    Dar all,
    I'm facing performance issue while accessing the PLAF Table.
    The START-OF-SELECTION of the report starts with the following select query.
        SELECT plnum  pwwrk matnr gsmng psttr FROM plaf
        INTO CORRESPONDING FIELDS OF TABLE it_tab
        WHERE matnr IN s_matnr
          AND pwwrk = p_pwwrk
          AND psttr IN s_psttr
          AND auffx = 'X'
          AND paart = 'LA' .
    While executing the report in the Quality system it does not face any performance issue...
    When it comes to Production System the above said select query itself it is taking 15 - 20 minutes time to move further.
    Kindly help me to over come this problem...
    Regards,
    Jessi

    Hi,
    "Just implement its primary Key
    WHERE PLNUM BETWEEN '0000000001' AND '9999999999' " By this you are implementing the Primary Key
    This statement has nothing to do with performance, because system is not able to use primary key or uses every row.
    Jessica, your query uses secondary index created by SAP:
    1     (Material, plant) which uses fields MANDT MATNR and PLWRK.
    but it is not suitable in your case.
    You can consider adding new one, which would containt all fields: MANDT, MATNR, PWWRK, PSTTR AUFFX PAART
    or - but it depends on number of rows meeting and not meeting (auffx = 'X' AND paart = 'LA' ) condition.
    It could speed the performance, if you would create secondary index based on fields MANDT, MATNR, PWWRK, PSTTR
    and do like Ramchander suggested: remove AUFFX and PAART from index and where section, and remove these unwanted rows
    after the query using DELETE statement.
    Regards,
    Przemysław
    Please check how many rows in production system

  • PR00 Access sequence Condition table changed

    Hi Friends,
    Someone changed the PR00 Access Sequence Table Settings..
    It shows as
    Ac   Tab   Descripion     Reqirement     Exclusive
    5     305   cus/mat                                      checked
    10   5       cus/mat                                     checked
    20   6       price/cur/mat                               checked
    30   6       price/cur/mat                               checked
    40   4       material                                       checked..
    Please tell me the actual Tab Setting and Acc Sequence.. My system is not moving further
    Thanks

    Hi
    The access sequence for PR00 is PR00 or PR02
    the condition tables in PR00 is as folows :
    Customer / Material
    Price list / Currency / Material
    Material
    For PR02 access sequence, Try to copy the condition table 304,305and 306 condition tables  this will solve the problem
    Reward if useful
    Regards
    Srinath

  • Need to add new fields to the condition table

    Hello All,
    The requirement is to create the new condtion table for MM containing the following fields and maintain the entries in this table:
    - client
    - characteristic
    - class
    - internal characteristic.
    THe condition tables are created via tcode M/03 or through the customizing path
    Material Management > Purchasing > Conditions > Define Price Determination Process > Maintain Condition Table.
    The problem which i am facing is as follows :
    -SAP has the standard procedure for the generation of the condition tables . Selected fields are made available by SAP in the field catalog and we can select only from the those available fields. Once we select the required fields the condition table is automatically generated in the background.
    -As the requirement is, we need to have 4 fields in the generated condition table (client, characteristic, class and internal characteristic), but the problem is that none of these fields are available in the field catalog which is provided by SAP (in tcode M/03, M/04 and M/05).
    -Designing of the Z table wonu2019t be useful as we would not be able to use the Z table as the condition table.
    Can you please suggest how can we add the desired field to the existing field catalog in M/03 or is there any other alternate solution to this ?
    Thanks in advance for your help.

    >
    Rinkesh Doshi wrote:
    > Hello,
    >
    > The specific ABAP question which I have is :
    >
    > Is there any way in which we can enhance the existing field catalog in M/03 tcode to include the 4 new fields (client ,characteristic,class,internal characteristic) ?
    >
    > Thanks.
    Please post your code which you developped until now and show us where the problem is. I cant see any ABAP related question.

  • How to find out the query is accessing the DB tables or not

    Hi Gurus ,
    How to find out the query is accessing the DB tables or not.
    Where exactly we will find this information in SAP BW.
    I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?

    Lakshmi
    Activate BI Technical Content for Query analysis and run query against that.
    Hope this helps
    Thanks
    sat

  • Adding custom fields to the condition table in CRM

    Hi all,
    Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
    For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
    Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
    Please help in this.
    Thanks & Regards,
    Raghuram.

    Hello Raghuram,
    I feel that your issue is similar what i have faced, refer to my post:
    Link: [Issue in customer specific price;
    For solving this you can refer to detailed steps in,  Note 514952 - Download of customer-specific tables.
    Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
    If not solved then let me know the relevant message in SLG1
    Regards

  • How to Access the  XI_AF_MSG table

    Hi Experts,
    I request you to please let meknow that how can I access the different JAVA tables like XI_AF_MSG table or the AUDIT tables.
    Actualy my requirement is to trace the audit log for a  particular message ID in the Adapter Engine.This audit trace is not same as the audit log that found in the PI7.0  Runtime WorkBench.For exmaple.--
    a message failed in the adapter engine after successfuly processed from PI Integration Engine. Now I want to trace the USERID by whom the message is resent or canceled.
    please let me know how can I achive this and how can I access the different tables in JAVA layer.
    Thanks
    Sugata Bagchi Majumder

    These 3 are the tables that are for XI Adapter in ABAP Stack.
    SWFRXICNT
    SWFRXIHDR
    SWFRXIPRC
    You can also try the following tables.
    SXMSAEADPMOD                   XI: Adapter and Module Information
    SXMSAEADPMODCHN                XI: Adapter Module Chains
    SXMSAEAGG                      XI: Adapter Runtime Data (Aggregated)
    SXMSAERAW                      XI: Adapter Runtime Data (Raw Data)
    Cheers,
    Sarath.
    Award if helpful.

  • Condition Price to be picked in GR from the condition table MEK1

    Dear All,
    I have a requirement like
    I have 3 different condition type say ZPBS,ZSPL,ZADD.I have maintained these condition with a new acess seq.For these conditions i maintained some fixed value in MEK1,say 500,20,10 respectively.
    After that i did a PO with these conditions with the condition table value say 500,20,10 i.e 530.But after that i changed the value to 600,30,20 say 650.Prior to that i have changed the condition control to "GR date-5" in PO item.
    So after that i did the GR,the value of GR is coming as 650.
    My requirement i want the condition table value 500,20,10 i.e 530 is to be come after doing the GR.
    So pls suggest any specific solution if possible for this.
    Regards,
    DD

    Hi,
    Make date valid check (From & To) in MEK1 for the Values so that based on the valiadity it will be process for GR.
    pherasath

  • Retriction of access the custom table

    Hi Experts,
        I created a custom table. Here I have 5users. the first 3 user want to access the custom table in change mode. the remaining 2 users want to see table in diplay mode only.
        But here SAP is allow access the table in change mode only to one user. Is it not possible to do this one to multiple users?
       Please tell me.
      Thanking  you.

    Hi,
    Here lock concept comes into picture, as you are saying like 3 users in change mode where if one is editing the records and if another opens then obviously table locks. Check this and ask your Basis guys for the authorizations setting like for 3 users change action and for the another 2 users display action.
    Cheers!!
    VEnk@

  • Accessing The External Table using UIAPI and DIAPI

    Hi  Every One,
    can any one tell me about , can we access the external table data  that is created by using sql query externally using UIApi and DIAPI
    Regards
    Srinivas

    Hi,
    technically is it possible, but all inserts and updates have to be through query.
    Note, that when you create tables from sdk, you can set more informations about fields than in sql query manager (for example subtype) - so you may have problem in binding data to matrix for example. So if you have table externally, you may work with, but this isn`t allowed by SAP (and I think that this case may be dangerous if you acces it in sdk). If you need to acces it on sql server side (own numbering, some stored procedure, ..) it will works safer, but it is not allowed as well.
    Petr

  • How to populate the condition tables of CRM 7.0

    Hello Friends,
    How to populate values in CND* tables , i assume these are the tables that hold the conditions.
    Thanks and Regards,
    Vasu

    Hi,
    if you refer to CND* tables those are tables involved in the condition master data exchange between ERP and CRM (on CRM side). Actual condition tables for pricing related condition records start with CNC*. In the help there is a documentation of the condition master data tables for pricing available: http://help.sap.com/saphelp_crm70/helpdata/EN/0e/91f9392486ce1ae10000000a114084/content.htm
    Hope this helps.
    Best Regards,
    Michael

  • Field catalog not appearing in the condition table for output determination

    Hello,
    I wanted to include WBSTK as a condition table entry in the output determination for  outbound deliveries, WBSTK is available as field catalog , but not available during condition table creation.
    Can you pls help me out?
    Regards
    Vaidee

    Check OSS Notes
    379619 - Preference process in SD order: Prefrnc ID missing
    595984 - Preference indicator in SD order
    379269 - Preference in SD doc: User exit: Set pref. indicator PREFE
    Regards

  • How to access the database tables from application

    Hii all,
    The information in webcenter content, such as meta data fields, users, security groups etc are stored in
    database tables like-      Revisions, SecurityGroups, Users, DocType etc..
    Can we access this tables from an adf application or any webcenter application..
    If yes, then what can be the approach for that..??
    Another things, how can we create custom tables just like the predefined tables...??
    Any information regarding this.??
    Thanks

    Can we access this tables from an adf application or any webcenter application.Yes, you can - like to any other existing database. But I would strongly discourage you from any, but read-only access, or you can easily end up with inconsistent data.
    If yes, then what can be the approach for that..??Just create a database connection and define in your model what tables you want to access.
    Another things, how can we create custom tables just like the predefined tables...
    Actually, WebCenter Content provides functionality of creation of custom tables (see http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c04_metadata.htm#autoId2 ) and these are probably the only good candidates for read-write access. See further in the manual what use cases are supported. Of course, you could do this even externally, but rather than Data Definition Language, I'd use services (if there are some).

  • Error in generating the condition table.. pls help urgent

    Hi all,
    I have some condition tables to be generated in CRM from ECC.
    i am getting the following error for 2 tables : " Generation for application CRM, Usage PR and table CUS601 failed".
    But other tables data has been corectly downloaded from ECC to CRM.
    I m checking the status in SLG1. and i use tcode : CND_MAS_GEN_OBJECTS.
    Kindly help me this,
    its very very urgent.
    points will be rewarded.
    Robin

    thanks rajesh for ur reply.
    Basically the issue is like this now.
    Im trying to download the confition tables data from R3 to CRM. so in CRM...
    when i manually try to start initial download the object for a table by R3AS, tcode..
    the bdocs are been in intermeditate state in CRM. with yellow.
    when i try to reprocess it is throughing a short dump( reason telling : already a record is been availble in table : CNLCRMPRSCALEDIM, trying to insert again.
    So m not understanding what the issue would be..
    Could you please help me with this. im really in dead situation.
    it is working for other tables
    Robin

Maybe you are looking for

  • I installed an application in Ovi Store and my pho...

    Hi Every body Few weeks ago i installed a new Application in ovi store in my nokia X6 , suddenly the screen turned black n turned off , now i try to turn it on but it only shows me a white screen n the Vibrating , but all that appears is a white scre

  • "The attempt to burn a disc failed. The device failed to respond properly"

    Hello everyone, I have suddenly developed a problem when trying to burn a CD. I get the "Checking playlist" and "Initializing" messages, and then Writing...(the name of the first track)", but about 20 seconds later, just when seems as if it will star

  • My shared folder is not showing on the left side of my itunes.

    I recently got a media server connected to my wireless router and was able to configure it to be used in itunes.  My problem is that my Itunes in my mac book pro does not show the shared folders on the left side no matter what I do.  In my wife's ima

  • Lov Webservice called multiple times instead of once

    Hi, I am having a LOV which is being populated by a webservice call. I have attached this LOV to a view object attribute. Binded this attribute to a UI(Combo list of values) and when I pick the value from LOV, it fires a webservice call and fetches d

  • Re: Material number with leading zeros (40 char long)

    Hello Experts, I am working on SAP ME 6.1.4.15. I am having a problem with the material number appearing in production order / planned order request document in MEINT and failing there since the material it is looking for is with leading zeros (for e