KONP table & Corresponding  Inforecord No.

Hi,
I have given the input as "application"="M"(Purchasing) & "condition type" not equal to "PB00" in the KONP table.
I get a list of all the condition types (other than PB00) & condition record nos. related to purchasing as the output.
Using those condition record numbers,I want to find the corresponding Inforecords.
In which table can i feed in the above cond. rec. nos. from KONP to get the corresponding Purchasing documents?
I tried to feed the cond. rec. nos. in A017 & A018 but I get only the PB00 condition types not the remaining condition types.Pls help.
Thanks,
Kaveri

Hi Vivek,
You have helped me with linking KONP to EKKO but my concern is connecting KONP with the corresponding Inforecord No.
I can link cond rec. no. from KONP to KONH.Then using the information in the Var Key I get the Vendor,Material,Purch.Org. & Plant details.After that,I can use the EINA table.
This is a very long process.Is there a short cut for it?
Please advise.
Thanks,
Kaveri

Similar Messages

  • What is the link between EKPO and KONP tables

    Dear All,
    Please I want to access KONP table based on purchasing document number(Ebeln).
    I have to pick kbetr field from konp and I know the kshcl field.
    But to access the Konp table I have only EBELN with me.
    Regards
    Mave

    Hi Mave ,
    There is a table <b>A016</b> which links Purchase Order Items to condition record number KNUMH. From A016 you can select a record corresponding to PO Number & Item Number. Using this KNUMH you can select from KONP.
    For header conditions you can use A019.
    Cheers

  • How to find the tables corresponding to a particular field in datasource.

    Hi Experts,
    There are lot of extra fields in the structure like MCEKKN as compared with the table EKKN. The data in these fields are coming from some other table.
    So can u tell me how to find these tables corresponding to these fields?
    Let me be more clear..
    I want to know that the data in the datasource like 2LIS_02_ACC are coming from lot of tables.
    How can I find those tables corresponding to each field in the extraction structure.
    I have tried with ST05...as well as by filling setup tables in debbugging mode..but I am still in lot of confusion.
    Please try to help me....U will get good points in response.
    Thanx.
    Vinod.

    Hi Vinod,
    Why are you trying to enhance the extractor because the steps you are following is tio enhance the structure
    <i><b>like transferd one of the field from pool to selection criteria</b></i>
    If you want to see only the fields of the extractor and from which table it is coming you just have to see the pool only.
    There in the lef you have the fields which are already present  in the extractor and in the right you have the avaialbale fields present.
    Also in the two selection pools if you will see carefully you will find in each selection pool
    "Table name" and then the "field name" and then description of the field data type and length.
    Like in case of 2lIS_13_VDITM you will find all the fields coming from VBRK and VBRP and VBUK.
    Just check it you will get an idea.
    In this way you can find that which field in the extractor is coming from which of fields of the table.
    I think this is what you want to know.
    If not clear then do reply
    Thanks

  • Re: KONP table

    Hi
    I have a question regarding the KONP table in SD which stores condition records.
    In the condition record, we have stored the Sales TAX as 6.5%.  However in KONP table it is showing up as 65%.
    When i create a Sales Order it is applying the tax correctly.
    So I was just curious to know why is the entry in the table *10 for TAX condition records.
    However the same doesnt apply for condition type calculating the base price.
    The amount in the condition record is $12 & its shows up as $12.
    Can anyone suggest why is it doing so ?
    Thanks in advance
    vinit

    >Can anyone suggest why is it doing so ?
    Good observation,I have noticed this as well.As you have stated there are no problems or issues due to the way this value is stored in KONP.
    I think the reason is purely technical, the field that is being used to save the value in KONP does not have a data type that can hold decimal values and it can hold only numerical values.
    And since KONP is being used from past several releases and the observation noted here does not have any impact on the functionality it has been the way it is.
    These are just my thoughts(do not have system access right now,and I am not even sure if the actual field is numerical data type and cant take decimal values),but this is the best reason I could think of.
    May be you can take a look at the data type of this field in question and confirm the same.

  • Konp table

    i want to fetch condition types & its related data from KONP table for an purchase order smartform.please tell me the link between KONP & EKKO or any other link between PO tables & KONP.please help.
    Thanks&Regards
    srinivas k

    Hi
    hope this helps
    EKKO-KNUMV = KONP-KNUMH
    KONV-KNUMV = VBAK-KNUMV and
    KONV-KPOSN = VBAP-POSNR
    Link between EKKO, EKPO and KONP
    KONP is conditions table.
    If we need the conditions(prices) of a purchase order, we can get it from EKKO, EKPO & KONV.
    1. Extract KNUMV from EKKO.
    2. Using EKKO-KNUMV - Extract conditions from KONV where KONV-KNUMV = EKKO-KNUMV.
    3. We can find item prices where KONV-KPOSN = EKPO-EBELP.
    IMPORTANT INFO
    KONV and KONP tables are both conditions tables. These tables are used when you want to find e.g : the Basic price value or excise duty values (just to name some ) .
    These tales store the values based on the document condition number.
    The Document Consition number(KONV-KNUMV) is number that gets generated whenever a PO or a sales order gets created. So this KNUMV is the link between the PO or the sales order. The KNUMV gets stored in KONV as well as the header tables of Sales order and Purchase order.
    Let me give you an example: Incase you have a sales order number say 1206 now for this you want to create to know what is the Basic price: - so you would go to VBAK get the KNUMV of 1206 , for the KNUMV fetched go to KONV and give this KNUMV you will get all the conditions for this sales order. Same is the case with PO's also.
    Now KONP also stores the conditions can be used with access sequences eg a003 or a055 etc. you cantake the KNUMH value from these tables and get the rate from KONP.This table only stores the rates and not the values. i.e KBETR value and not KWERT value.
    HI,
    1)EKKO-KNUMV = KONV-KNUMV
    = KONP-KNUMH
    = KONH-KNUMH
    = KOMV-KNUMH (THIS IS A STRUCTURE)
    2)EKPO-EBELN = KOMV-KPOSN
    = KONP-KOPOS
    = KONV-KPOSN
    <b>I hope this answers your question</b>
    <b>Reward pts iffound usefull :)</b>
    rewards
    Sathish

  • Whats the link between Pur. Tables and KONH & KONP tables

    Hi!
      Whats the link between Pur. Tables i.e EKKO EKPO etc and KONH & KONP tables?
      and
      Link B'tween KONH, KONP & EINA, EINE Tables?
       and
      Link b'tween the LFA1 Table and EINA, EINE Tables?
      Link b'tween the LFA1 Table and KONH, KONP Tables?
    Pls reply guys
    Thanks,
    Imran.

    Hi Imran,
    EKKO gives you the Header data of the purchasing documents (Vendor , Dates, Etc)
    EKPO gives the item Data (The materials ordered, Qty of each material etc)
    KONP & KONH store the condition records used for price calculation
    KONH is the header data
    KONP is the item data
    EINA &  EINE -> These are Purchasing info records Used in source of supply determination & price calculations , the Condition record number for pricing is obtained from EINA & EINE
    EINA is for Purchase org level data
    EINE is for vendor level data
    The link to LFA1 is the vendor master data & while picking up the price you can have different price for different vendor .
    Hope you find it useful.
    Kindly reward helpful answers
    Best regards,
    gaurav

  • Report output from memory to internal table (corresponding fields)

    How can we pick any standard report output such as
    RM07DOCS on to memory and from memory to an internal
    table.Here by internal table ,i do not mean of type c
    containing complete report but data should go from output to corresponding fields of internal table structure of whom is defined as same of the output.

    SUBMIT rfbila00 AND RETURN
         EXPORTING LIST TO MEMORY
        WITH sd_ktopl-low = ' '
         WITH sd_bukrs IN  s_bukrs
         WITH sd_prctr IN s_prctr
         WITH bilavers =  p_fsv
         WITH bilaspra =  'EN'
         WITH bilbjahr =   p_fyear
         WITH b-monate IN s_per
         WITH bilvjahr = v_cfyear
         WITH v-monate = l_per
         WITH bilagvar = P_LAYOUT
         WITH bilagrid = 'X'
         WITH bilabkon = '2'
         WITH bilagkon = '3'
         WITH bilasumm = '0'
         WITH bilavart = '1'
         WITH bilaskal = '3/0'.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = t_list
        EXCEPTIONS
          not_found  = 1.
      REFRESH t_ascii.
      CALL FUNCTION 'LIST_TO_ASCI'
        TABLES
          listasci           = t_ascii " list converted to ASCII
          listobject         = t_list
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.
    u will get the output in t_list...u have to split as per ur requir......
    this will help u.....
    Reward IF...........
    Regards
    Anbu

  • Column in base table corresponds to column in view

    Hi,
    I have a view based on one table. I want to know the colum name of the view is corresponds to which column names in the base table. Showing the creation statement does not help because it has many colums and I cann't track this colum to which name.
    Please advise how to show this info....

    Just because the create statement is too hard for you doesn't mean that isn't, in fact, the way to find out. Try harder. Format the create statement - you'd be surprised how much it helps to put in indentation and carriage returns.

  • What are the tables corresponding to sales order - parners

    Hi Folks,
    Can u pls let me know what are the corresponding tables n fileds for the va02->parners i.e sold to party, ship to party etc, buyer , bill to party and contact details , adress of these parners wil store.
    Thanks in advance.
    Regards
    Rajesh

    hii i am sending u the full code thta i had designed for my sales order confirmation using sap script
    TABLES: VBAK,
            ADRC,
            VBPA,
            VBAP,
            SPELL.
    DATA: BEGIN OF  TVBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          AUDAT LIKE VBAK-AUDAT,
          KUNNR LIKE VBAK-KUNNR,
          VKORG like VBAK-VKORG,
          END OF TVBAK.
    DATA: BEGIN OF TADRC OCCURS 0,
          ADDRNUMBER LIKE ADRC-ADDRNUMBER,
          NAME1 LIKE ADRC-NAME1,
          NAME2 LIKE ADRC-NAME2,
          CITY1 LIKE ADRC-CITY1,
          POST_CODE1 LIKE ADRC-POST_CODE1,
          COUNTRY LIKE ADRC-COUNTRY,
          KUNNR LIKE VBPA-KUNNR,
          VBELN LIKE VBPA-VBELN,
          END OF TADRC.
    DATA:BEGIN OF TVBPA OCCURS 0,
         ADRNR LIKE VBPA-ADRNR,
         KUNNR LIKE VBPA-KUNNR,
         VBELN LIKE VBPA-VBELN,
         END OF TVBPA.
    DATA: BEGIN OF TVBAP OCCURS 0,
          POSNR LIKE VBAP-POSNR,
          VBELN LIKE VBAP-VBELN,
          MATNR LIKE VBAP-MATNR,
          ARKTX LIKE VBAP-ARKTX,
          KWMENG LIKE VBAP-KWMENG,
          VRKME LIKE VBAP-VRKME,
          NETWR LIKE VBAP-NETWR,
          WAERK LIKE VBAP-WAERK,
          END OF TVBAP.
    DATA :W_VBELN LIKE VBAK-VBELN,
          s_amount like vbap-netwr ,
          amount_word LIKE SPELL.
    selection-screen: begin of block b1.
    select-options: s_vbeln for vbpa-vbeln no intervals no-extension.
    selection-screen: end of block b1.
    *AT SELECTION-SCREEN.
      SELECT VBELN INTO W_VBELN FROM VBAK
          WHERE VBELN IN S_VBELN.
    *ENDSELECT.
    START-OF-SELECTION.
    SELECT VBELN AUDAT KUNNR VKORG FROM VBAK INTO CORRESPONDING
    FIELDS OF
    TABLE TVBAK WHERE VBELN IN
    S_VBELN.
       IF SY-SUBRC <> 0.
         MESSAGE I398(00) WITH 'NO DATA'.
       ENDIF.
    SELECT NAME1 NAME2 CITY1 POST_CODE1 COUNTRY FROM ADRC INTO
    CORRESPONDING
    FIELDS OF
    TABLE TADRC.
       IF SY-SUBRC <> 0.
         MESSAGE I398(00) WITH 'NO DATA1'.
       ENDIF.
    SELECT ADRNR KUNNR VBELN  FROM VBPA INTO CORRESPONDING
    FIELDS OF
    TABLE TVBPA WHERE PARVW = 'WE'.
       IF SY-SUBRC <> 0.
         MESSAGE I398(00) WITH 'NO DATA2'.
       ENDIF.
    SELECT VBELN POSNR MATNR ARKTX KWMENG VRKME NETWR WAERK FROM VBAP INTO
    CORRESPONDING
    FIELDS OF TABLE TVBAP WHERE VBELN IN
    S_VBELN.
      IF SY-SUBRC <> 0.
       MESSAGE I398(00) WITH 'NO DATA3'.
       ENDIF.
    LOOP AT TADRC.
       READ TABLE TVBPA WITH KEY ADRNR = TADRC-ADDRNUMBER.
          IF SY-SUBRC = 0.
           MOVE TVBPA-KUNNR TO TADRC-KUNNR.
           MOVE TVBPA-VBELN TO TADRC-VBELN.
           MODIFY TADRC.
          ENDIF.
    ENDLOOP.
    ****reward if helpfull ******

  • Update KONP table by a z programme

    Hi,
    Is it possible to upadate table KONP (Example :Field "KSCHL" = FRC1) by a Z programme.
    Since FRC1 cannot be modified or entered manually (as per my requirement).
    Thanks
    Amba Prasad

    Hi Prasad,
    I have tried this code and its working fine, please check this:
    DATA: wa_konp LIKE STANDARD TABLE OF konp WITH HEADER LINE.
    SELECT SINGLE * FROM konp INTO wa_konp WHERE knumh = '0000000002'
                                                                                 AND kopos  =  '01'.
    CLEAR wa_konp-kschl.
    IF sy-subrc EQ 0.
      wa_konp-kschl = 'MWAS'.
      MODIFY konp FROM wa_konp.
    ENDIF.
    Regards,
    Md Ziauddin.

  • BAPI to update KONP table (tcode: WYP2)

    Hi all,
    I am looking for a BAPI which can update UoM field through tranaction WYP3 (pricing condition). I found one BAPI ( BAPI_PRICES_CONDITIONS ) but as  it not released, cannot be used. Can you please suggest any BAPI's available
    for updating ( table KONP ) the transaction.
    Regards,
    John

    Hi,
    Check the following thread...
    BAPI for WYP1
    KR
    Veeranji Reddy P.

  • Price list for Sales order from KONP table

    Hi
    We have defined different price list with different prices. Is there any table that I can see both price list and price together. I tried table KONP but it's showing me only one price list field i.e. 45. I wanted to see 01 as well.
    Your help and time will be really appreciate.
    Thanks & Regards,
    Niki Shah.

    Hi,
    Use KONV Cluster table by checking condition type and condition document.
    Regards
    ranga

  • REG : KONP Table -A003 Table

    hai ,
    i have one problem in Purchase Order
    In ED, CESS, LST/CST,Surcharge using that respective conditions how can i get that values
    in A003 i can pass KAPPL KSCHL.  MWSKZ (differs for each line item)
    in konv i don't have this conditions..
    any body know the any function modules ...or exact tables ...
    thanks in advance,
    sn

    yes,knumh ok but how can i get that KNUMH
    B'case KAPPL ok
           KSCHL  OK
           MWSKZ  differs from item by item
           with out MWSKZ how can i get the KNUMH ..
    thanks,
    SN

  • How to get entries into table corresponding to transaction screen

    Hi Folks,
    i have got a new requirement i.e i need to develope a sceen which retrieves the records from the few ztables which i already created. I need to create log entry records in to another ztables about who have run that transactions, what are changes they have done and time , text , etc. How to achieve this , please let me know , thanks.
    regards
    Vishal.

    You can also look into USER_EXIT ( SUSR0001) in TR.SMOD.
    Here you can code and update the table with log , who run when run etc .. See the SYST table in SE11 for different system parameters.
    I code once in this user exit to calculate the frequency and time for different transaction with user and time stamp in certain period and I safe the log in my custom table .
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • How to extract data from multiple flat files to load into corresponding tables in SQL Server 2008 R2 ?

    Hi,
              I have to implement the following scenario in SSIS but don't know how to do since I never worked with SSIS before. Please help me.
              I have 20 different text files in a single folder and 20 different tables corresponding to each text file in SQL Server 2008 R2 Database. I need to extract the data from each text file and
    load the data into corresponding table in Sql Server Database. Please guide me in how many ways I can do this and which is the best way to implement this job.  Actually I have to automate this job. Few files are in same format(with same column names
    and datatypes) where others are not.
    1. Do I need to create 20 different projects ?
                   or
        Can I implement this in only one project by having 20 packages?
                 or
        Can I do this in one project with only one package?
    Thanks in advance.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

Maybe you are looking for

  • Horizontal Scroll in ALV Trees

    Is it possible to have horizontal scrolling in ALV Trees , If possible suggest please.

  • How to display the attached file of DMS in WEB Dynpro

    Hello everybody! I have to work with DMS documents on the portal. Do You know, how display the attached files of DMS document in WEB Dynpro? Pavel Truhlář

  • Need some tip sendRedirect();

    Actually i got 2 java and one jsp file.. from jsp i'm taking the input thru form and validating using javabean in a java file, in middle i got servelet file to get the input from the jsp and sending this value thru request to javabean. I validate thi

  • Simple Q simple A

    Hi all , I just starting learning J2EE ..and i having this problem when compiling a code when try to import javax.servlet.http.*; Compliler gave me this error Package javax.servlet not found in import. I have install JDK standard edition version jdk1

  • Safari 4.0 - disable search suggestions

    I'm trying to disable the Google search suggestions in the Safari 4.0 search box. I found (and tried) both of these terminal commands: defaults write com.apple.Safari DebugSafari4IncludeGoogleSuggest -bool FALSE and defaults write com.apple.Safari De