Condition Records ( Table /field mapping)

Hi Experts
I am working on the Report object.
I have to populate the Some of the condition types value in the report from Purchase order
E.g Freight charges (Amount against - condition types - FRA1) to be be captured in the Report.
The field for this is KWERT. 
Could you please let me know from which table I have to capture the data
Thanks in Advance
Tanvi

Hi Sunil,
Please go to table KONP,
In Field - KSCHL give condition type, get the condRec Number - KNUMH
give the KNUMH in table - A017 (Material Info Record (Plant-Specific)
else give it in A018 (Material Info Record)
else in A016 (Contract Item)
as per your clients requirement.
Cheers
Arun.

Similar Messages

  • Retrieve the Purchase Order Condition Records Table

    Hallo!
    I have found this code right here:
    http://www.sap-basis-abap.com/sapab025.htm
    It is very useful particular for purposes which I need. Please can somebody
    try to fix the error to get it working. There is an internal table missing.
    Regards
    Ilhan
    Retrieve the Purchase Order Condition Records Table
    select * from ekko.
           select * from konv where knumv = ekko-knumv
               "Get all the condition records for the purchase order
           endselect.
    endselect.
    * Get the info record conditions record
    * First declare the record structure for the key
    data: begin of int_konp,
                 txt1(5),
                 lifnr(5),
                 matnr(18),
                 txt2(4),
                 txt3(1),
            end of int_konp.
    clear: konh, konp, int_konp.
    * data for the record key konh-vakey
    int_konp-txt1    = '00000'.
    int_konp-lifnr    = ekko-lifnr+5(5).
    int_konp-matnr = ekpo-matnr(18).
    int_konp-txt2    = 'ALL'.
    int_konp-werks = ekpo-werks.
    int_konp-txt3    = '0'.
    select * from konh where      kschl = 'PB00'            "Conditions (Header)
                                         and datab => p_datum.       "valid from date
          if konh-vakey = int_konp.                                  "Conditions (Item)
                 select single * from konp where knumh = konh-knumh.
                 continue.
          endif.
    endselect.

    Hi flora
    Just get through the sequence .
    see the table fields ...
    1. From EKKO table take an entry which is having pricing conditions.
    Now in the fields list check out for field EKKO-KNUMV(document condition number).
    2.Take this condition number and now goto table KONV.
    Give the document condition number in the field  KONV-KNUMV and execute .
    This will lead to a list of document condition numbers and some other fields .
    3.Now check for field KONV-KNUMH ,KONV-KAWRT(quantity) and note the value KONV-KWERT  .
    (Remember this is at header level).
    This is ur condition record number.
    **comments
    Now from document condition number we got the condition record number (KNUMH).
    4. now since u want the item level tax procedure go to table KONP and give the condition record number and execute .
    This will give u a list of details .
    Now concentrate on KONV-KAWRT (scale quantity) KONP-KBETR(rate) as this table will store “Pricing  per UNIT “ so product of these two will give u the total pricing tax, for a particular condition type say PR00  .
    For that particular condition item .
    Check the pricing procedure .
    See t-code VK13 and check the pricing procedure .
    From me23 check the same PO num select the item and check the pricing conditions applicable .
    Select a particular pricing and goto condition->analysis->analysis pricing  ,
    Better take help of a SD functional consultant in the process.
    regards,
    vijay.

  • Condition record table to pick printer

    Hi Friends,
    What is condition record table, based on this table how can i pick the printer? and how I can find this table? can any one help me its very urgent.
    Regards,
    DVNS.

    You can see the list of processed document through output types in the table NAST.
    Check the table TNAPR in SE16. It will have all the output condition records assigned through transaction NACE.
    You can find the output types in the field KSCHL of TNAPR table.

  • Service Tax Condition record - Table-3 and access sequence MWST

    Dear All,
    For maintaining the service tax conditon record , it is required to have the condition record to maintain under Tax classification table, which is available in access sequence MWST or we can add this condition table( table no :3) in any other access sequence and that access sequence needs to be assigned in Service tax condition type i.e JSRT, becasue system will check the rates from the table A003 while doing the service tax transfer from intermediate account to service tax account in report RFUMSV50.
    But the issue in there is NO validity period defined in the condition table : 3 , which signifies that we can not maintain the service tax condition record along with the validity period.
    Is there any way , we can add validity period field in Tax classification table.
    and how can we see the maintainace of Taxes table , is there any T.code avaiable for the same, as I could't find the same.\
    Please suggest.
    Thanks & Regards
    Nitin

    Hi Nitin,
    SD can give validity period for a tax code either for an individual customer or for all the customers through their pricing conditions.
    Aravind

  • Duplicate record in Condition record table

    Dear Experts,
    when we create a record in the same access and in same validity period with same processing status. System give a popup of overlapping the dates and short close the existing record.
    But we are facing issue if existing record status is released and when we create record with the same validity period  with block status, system not splitting the condtion and save with the same validity period and after that system give a error massage in VK12 for duplicate insertion.
    I want that system will split the condition record even if existing condition record with different release status.
    Please help.
    Regards,
    Lucky verma

    Dear Lucky,
    I understand your scenario, when you create Condition Record at the first time in Vk11 by block status "A" lets say 01.01.2014 till 31.01.2014. Afterward you change the processing status as "C" release. at the middle of the month you come up with new price so you maintain with processing status "A" from 15.01.2014 till 31.01.2014, system will not stop you at that time because processing status is with blocked. when you release this status into "C" . system will not allow you to do so why because this is standard behavior that when you have an existing record with same Access Sequence, Condition, processing status and Validity. system will not overwrite it until or unless you change the from date as same as you have already maintain.
    If you want to propose your date while creating condition record, you have to change your settings in V/06 Valid From and Valid to as "No proposal" so that you can maintain your own validates but when ever you have to create new condition record at the same time (in middle of the month) you have to manually change the first one as 14.01.2014. this is because as i have mentioned system cannot allow two condition record as the same time with your same characteristics. Furthermore you can ask freely if you have any query.
    Please go through this information too. hope this will clear your understanding.
    Validity Periods - Pricing and Conditions (SD-BF-PR) - SAP Library  Thanks
    Regards,
    Suhaib Bin Aziz

  • Idoc control record DIRECT field mapping

    Hello,
    I have a file to idoc scenario where the receiver system is an external one.
    I have the necessity to set in the outbound idoc control record DIRECT = 1.
    The XI system is XI 3.0 SP 19 and I've set up the mapping of the idoc control record in the message mapping and selected Apply Control Record Values from Payload and Take receiver from Payload in the Receiver Communication Channel but the idoc is still generated with DIRECT = 2.
    In the documentation the field DIRECT is listed as one that will be filled using the message mapping if Apply Control Record Values from Payload is selected.
    How can I generate an idoc with DIRECT = 1?
    Regards,
    Elisa

    Hello Punit,
    I know that logically the right value should be 2 but the request of the receiver system is to have it as 1.
    They only elaborate the idoc they receive with DIRECT = 1 (outbound).
    In SAP documentation the field is listed as one that can be mapping with the message mapping but the idoc adapter is ignoring the mapping even when the Apply Control Record Values from Payload is selected.
    Regards,
    Elisa

  • Condition record table

    Hi
    I want to make a report of all the cust-material price with validty which are stored in VK12.How can i do it.Is there a particular Tcode or table name where i can get all the price with cust ,material and vality period of condition type..
    Thankyou

    Hi,
    Go to transaction VK12/VK13 and enter your condition type. After that click on the  condition information (Shift+F4).
    Input the required field values and execute to get the required information.
    Hope this will help you.
    Please revert back to the forum in case of any concerns.
    Thanks and regards,
    Atul

  • How to know the R/3 table field mapped to BW info object!

    Hi,
    I have an extractor which is extracting the data from R/3 using View in generic data source.
    Now i am making a documentaion of each infoobject involved in the extraction of how exactly it is mapped and how is it getting filled.
    In transfer rules i could find the R/3 find easily but i want a table as well as i need to make a screen shots as well for the documentaion.
    Example, the field AUFNR which is order number is existing in three tables namely AFRU,AUFK and AFKO ( all are used in view definition )
    Now how can i ensure that from whcih table the data is getting filled to the BW info object?
    Any suggestions would be appreciated .
    Thanks,
    Ravi

    Hi Ravi,
    Check this blog:
    <a href="/people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins BW: In pursuit of the Origins</a>
    Udo

  • Condition Record Table Download from R/3-CRM

    Hi,
    We have created the condition table A922 in the R/3 system
    we have used the Tcode CND_MAP_CUST_CORR to generate the condition table
    and downloaded the objects DNL_CUST_CND,DNL_CUST_CNDALL and DNL_CUST_PRC
    But the new condition table is not gettign created in the CRM system
    Can you guys let us know how to transfer the condition tables
    Thanks,
    Krishna

    Hi Krishna,
    Generally when you do the load of the object DNL_CUST_CNDALL  it generates the corresponding CRM condition table e.g. in your case it should generate condition table CNCCRMPRSAP922. So please check the same in transaction SE11/SE16. If it is not there then reffer the oss note 514952 which will help to maintain the field catalog etc in CRM and have the CNC* table in CRM. Once you have this table you have to create an adaptor object DNL_COND_A922. You can just copy the existing adaptor object DNL_COND_A002 and change the table in the tab table/structure. Then load this object.
    This should bring the data to CRM.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • PO outbound message control - Condition record

    I have created a message control for outbound PO to be sent to one unique customer(actually a plant set up as customer).This works fine.
    Right now, I have condition record table set up by just document type this and I have specified this customer number (partner number) there. Now, my requirements have changed and I need to send POs to variable customers(partners), depending on the plant on the PO. So i created another conditional table '925' with Doc type & Plant as key. This does not seem to be queried upon and I am unable to determine the output and create IDOCs. Since plant is at item level, will i be able to use this field in the condition table at all ? Please advice.

    I found a OSS note -Note 457497 (Q&A # 34), which talks about the same . This was my assumption too. I was just confused because I saw plant(WERKS) in the field catalag of the access sequence.
    I don't know what header field I can use to map the plant (I agree its a good idea to do this). But I have decided to do it another way. I will change the receiving partner on the control record depending on the plant in an user exit
    -  EXIT_SAPLEINM_001.
    Thanks for your answer , Mahesh.

  • List of all sales condition records(VK13)  with a particular tax code

    Hi all
    We have a requirement to list out all  sales condition records created through VK11 which has a particular tax code in it.Say list of all condtion records which have tax code as 'IA'. Could you please let us know the easier way to pull out such report.
    We understand that we can get such list from tables KONV and KONP but we are not able to correlate output from such tables with condition record display in VK13. Any pointers to this would be highly appreciated.
    Regards,
    Santosh

    Hi,
    Use KONH and KONP tables. condition record whole information will be stored in these 2 tables.
    In KONH table you will get header information of the record. like condition type,condition table, created date and validity periods. In varkey field sales area and material other info. .. Note the record number 0000007609.
    Goto KONP table, enter same record number in condition record number field. you will get item level information.
    Regards,
    Chandra

  • Default Output Condition Records in SD

    How do I maintain default output conditions in SD when I create a new customer? As of now, whenever I create a new customer, I have to create output condition records for quotations, sales order, shipping and invoicing. Thank you, Pravin

    Pravin,
    It depends on the fields in the condition table.
    If you have customer no., then for each customer you have to create a record.
    But if you have a field e.g. customer group, then assign the customers to that customer group and output will work.
    Paste the condition records, table NACH, for your output condition type.
    TW

  • Export NAVS condition records

    I am trying to find out a way to export to csv or excel the NAVS records.  Any suggestions would be appreciated.
    For example, something that would look like this (these fields):
    Country     Material group          Tax ind f plant     Tax ind f acct assg     Tax code
    US     C010     Professional Services           2                1                           S7
    I know that you can export from the Condition Info area (MEK3->Condition Info->Display condition records) but that export does not include the Tax Code which is what I really need.

    Hi Allison,
    SAP doesn’t make it easy to look at this data for multiple records, as the data is stored across multiple tables.
    You can download the data into Excel for each table using SE16 and then use a vlookup to link the data together.
    First download the condition records from the table A??? that stores your condition records – you can find the table name by looking at the technical information behind the selection parameters in transaction MEK3.
    The condition item details (including the tax code) are stored in table KONP and the two tables are linked together by the condition record number field KNUMH. If your system is anything like ours, KONP is huge (9 million records + ), so you will need to us the condition record numbers that you downloaded from table A??? as selection parameters for KONP so that you only get the records that you need. You can copy the column from the spreadsheet and paste it from the clipboard into the selection parameters. Note that the condition record numbers have leading zeros which are stripped out by Excel, so you will need to put them back in before copying the column – use the Concatenate function in Excel to do this.
    The other alternative is to either write a program or a query to do the same thing, but I think it’s quicker and easier to use SE16 and Excel.
    Hope this makes sense,
    Monika

  • Duplicate Condition Record Number !

    Hi Experts,
    I have a question on condition record number:
    I have a Material SH00001 in  more than one Sales Orgs. Example: MTD and NTD.
    1. Is it possible SAP generates the same condition record number (field- KNUMH) for both sales organisation when I created two records separately at VK11 for each sales orgs for price?
    2. Is it possible SAP automatically generates two condition record numbers when I create a ccondition record at  VK11 (for price )
    for a material SH00001 for a sales org MTD for two unit of measures. (e.g PC and KG)
    3. Is it possible SAP automatically generates two condition record numbers when I change a ccondition record at  VK12 (for price )for a material SH00001 for a sales org MTD from one unit of measure KG to PC??
    Thanks

    Hi
    For one condition record in VK11, system will create one number. And if your are creating new record with slight difference, new number will generate.
    Conclusion, no two condition records can have same number.
    Secondly, if you change record in VK12, record number will not change.

  • Can i Use a time stamp vale  in where condition with date field?

    HI,
    In a where condition the table field vale is of type timestamp and select options value is of type date.
    How do i select data?

    Define a range for r_dt for timestamp field.
    Initailize the range with the below values.
    r_dt-sign = 'I'.
    r_dt-option = 'CP'.
    concatenate r_date-low '*' into r_dt-low.
    concatenate r_date-high '*' into r_dt-high.
    append r_dt.
    Use r_dt in your select query where clause.
    Note - r_date is the select-option for your date field.
    Regards
    Anurag

Maybe you are looking for

  • How can I transfer all the notes entries on my iPhone to notes in iCloud?

    I Have a load of notes on my iPhone 4s and when I checked they were not duplicated in my iCloud account. Strangely all of my contacts and calendar ARE there. IS there any way to copy this data into the cloud? 

  • Bapi for LP10

    Dear All, We have requirement where we want to stage  remaining quantity (Quanity that has been not shipped to Subcontractors Location) for multiple production order by using transaction code LP10 . Is there any standard BAPI or Function Module ? Can

  • Embed pdf in email

    is there a way to embed a pdf in and email?

  • Downgrade Crystal from XI to 10 to match with WMS software

    Since the add-on uses Crystal 10 and does not plan to upgrade to Crystal XI soon.  They suggested us to remove Crystal XI from SAP B1 2007A.  I don't agree with this and want to know the consequence if we really use Crystal 10 with SAP B1 that  will

  • Reg StartUp in MI

    Hi All,    I am new MI, I got error when i click StartUp.bat in C:\Program Files\SAP Mobile Infrastructure. the error is itool.properties not detected as shown below. Can any please help me out reg this. Initialize framework ...    Configuration init