Getting Price from KONV table for Purchase Order

Hi All,
I have to use the KONV table to get the Net Price for the Purchase Order Line Item. I am confused over the field KONV-KBETR because for Currency 'JPY' it shown a wrong figure. This is how I read the KONV table;
SELECT SINGLE KBETR
  INTO ITAB-KBETR
FROM KONV
WHERE KNUMV = EKKO-KNUMV and
      KPOSN = EKPO-EBELP and
      KSCHL IN ('PBXX', 'PB00').
The Correct figure should be 3,000 but it shows 30. For all other currencies it works fine. What should I do to arrive at 3,000 simply I could always multiply KONV-KBETR by 100. But this would affect for other currencies.
Thanks,
Kishan

hi sri , check this 
SELECT SINGLE kbetr INTO i_konpc-kbetr 
         FROM konp                       
         WHERE knumh EQ -knumh AND
               kappl EQ -kappl AND
               kschl EQ -kschl AND
               loevm_ko NE 'X'.          
remember in pricing u need to exclude the deleted line items ..
loevm_ko ne 'X'  this is very important ..
may be u need put a converting factor for JPN
regards,
Vijay

Similar Messages

  • Table for purchase order status

    Hello friends,
    There's a tab STATUS in purchase order (tcoe ME21N).
    I can't find a table which contains theses statuses.
    Anybody knows what's the table for purchase orders status ??
    Regards,
    Bahia

    Hi
    PO status is stored in Structure not in the table.
    Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
    You can also get the information from the table EKKO, EKPO, EKET,EKBE
    Hope it helps
    thanks/karthik

  • Conditions KONV table for Sales order Line item.

    Hi Friends,
    What are the key fields bw vbap and konv table.
    requirmnt is : need to fetch conditions ( from KONV table ) for the sale order line items.
    thanks in advance.
    Jai.

    Hi,
    1. Fetch field <b>KNUMV</b> from table <b>VBAK</b> for that particular Sales Order No i.e <b>VBELN</b>.
    2. Goto <b>KONV</b> & based on <b>KNUMV</b>, <b>KPOSN</b> and <b>KSCHL</b> (condition type), fetch the required condition details along with its net price (KONV-KBETR)  and net value (KONV-KWERT).
    KONV-KPOSN = '00000' -> Header Condition
    KONV-KPOSN = '00001' -> VBAP-POSNR = 10
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Tables for purchase order history

    what r  the tables for purchase order history.
    thanks in advance

    Hi Srinivas,
    Check out the link for detail PP module and tables.
    http://www.sap-img.com/sap-pp.htm
    Hope this helps.
    Manish

  • Reservation not getting created from shopping cart for stores order.

    Hi experts,
    Reservation not getting created from shopping cart for stores order,process used is some custom BADI.Extended classic scenario is the procrss .
    Please help me
    Thanks in  advance.

    Hello,
    please check below wiki:
    Determination of the follow-on document type
    Regards.
    Laurent.

  • Allocation table for Purchase Order

    Hi there,
    Could you please advise me what should I do with my issue?
    When trying to create allocation table: Purchase Order Reference, got message 'No data corresponding to selection exists'
    Please tell me detail the step that I need to do.
    Greatly thank you for your help.
    Kind Regards,
    2tea
    Edited by: 2tea on Aug 12, 2008 9:50 PM
    Please ignore this posting, problem solved. Thanks.

    u cn acess po history from info record for a vendor material
    in tc me12
    and there by using f1 help and technical info u can get the table name and   the field
    as po history is stored in the inforecord

  • Table for Purchase Order statuses.

    Hi
    I want to know which table and fields indicate purchase order header and item statuses.
    This is to know if GR IR for item is done and if there is partial GR and partial IR for item.
    I want to know from table field directly rather than getting quantities from EKET and EKBE and then compare with EKET-MENGE.
    Thanks !
    Edited by: SMujumdar on Oct 21, 2010 1:58 AM

    Hi,
           How about TRC:MB5S.   The report can add  P/O quantity   by setting of layout.
           If you want make abap,  Please check FM: BAPI_PO_GETDETAIL.
    Regards,
       Gaito

  • Table For Purchase Order Version Number and Version Created Date

    Dear Sir,
    Whenever we make any change in Purchase Order , then a new Version Number  along with Created Date is assigned . In Me23n the Version Number and It's Created date is also displayed ( at PO Header Level) .
    We request you to kindly guide us as which Table is required to be reffered to get the Version Number and Version Created date  for the Purchase Order .
    With Thanks and Rgds
    Sonia

    Hi
    Check in EKKO - Purchase order header
    EKPO - Purchase order item
    CDHDR
    CHPOS
    Regards
    Ram
    Edited by: Parasuram M on Sep 16, 2009 11:59 AM

  • Table for Purchase Order and Non Purchase order history

    Hi,
    Could you please share me the table name for getting the Purchase order history and Non purchase order history because this is a client requirent.
    I have gone through this tables but not getting exact data i.e. EKPO,EKKO,EKNE...
    please share with me the exact Table name to get all the Purchase order history and not purchase order history..
    Thanks in advance

    Hi Mallikarjun,
    Where did you find the non po info?
    Thanks,
    Neha

  • Status table for purchase orders

    Hi experts,
    When a purchase order is accepted by someone it changes its status. Is there any table that i can select from it to obtain the worker who changed the status of a purchase order?
    Thank you all,
    Artur.

    hi,
    Try to check the table EKBE (History per Purchasing Document).
    and also check CDPOS and CDHDR table
    I guess her you find the all the required details

  • WBS Element and Service No Link Table for Purchase Order document

    Hi Experts,
    We are Facing 1 Problem for finding link between
    WBS Element and Service No for corresponding Purchase Order document . Please Suggest me to find Related tables for Project system Module .
    Thanks and Regards
    BalaNarasimman.M

    Hi,
    The link will be in MM table, not PS table. Try EKKN.
    Regards

  • Copy text from allocation table to purchase order

    I am unable to get header/item text to be copied to follow-on Purchase order. I am unable to link AK1, AP1 to purchase order text types. Help please.
    Thanks.

    I am unable to get header/item text to be copied to follow-on Purchase order. I am unable to link AK1, AP1 to purchase order text types. Help please.
    Thanks.

  • Table for purchase order history

    Hi All,
    I am working on Import PO. I have created PO and I have done MIRO for planned delivery costs now when I am checking in EKBE table its not getting updated but I am able to see the same documents in PO history.
    Please tell me in which table planned delivery costs sit.
    Thanks in advance.
    Pavan

    hi,
    Check EKBZ with the PO history category as DCGR
    Regards
    Merwyn

  • Function Module Extraction from KONV Table taking lot of time for extractio

    Hi
    I have a requirement wherein i need to get records from KONV Table (Conditions (Transaction Data) ). i need the data corresponding to Application (KAPPL) = 'F'.
    For this i had written one function module but it is taking lot of time (@ 2.5 hrs) for fetching records as there are large number of records in KONV Table.
    I am pasting the Function Module code for reference.
    <b>kindly guide me as to how the extraction performance can be improved.</b>
    <b>Function Module Code:</b>
    FUNCTION ZBW_SHPMNT_COND.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SBIWA_S_INTERFACE-REQUNR
    *"     VALUE(I_ISOURCE) TYPE  SBIWA_S_INTERFACE-ISOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SBIWA_S_INTERFACE-INITFLAG OPTIONAL
    *"     VALUE(I_UPDMODE) TYPE  SBIWA_S_INTERFACE-UPDMODE OPTIONAL
    *"     VALUE(I_DATAPAKID) TYPE  SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
    *"     VALUE(I_PRIVATE_MODE) OPTIONAL
    *"     VALUE(I_CALLMODE) LIKE  ROARCHD200-CALLMODE OPTIONAL
    *"  TABLES
    *"      I_T_SELECT TYPE  SBIWA_T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SBIWA_T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZBW_SHPMNT_COND OPTIONAL
    *"      E_T_SOURCE_STRUCTURE_NAME OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    The input parameter I_DATAPAKID is not supported yet !
      TABLES: KONV.
    Auxiliary Selection criteria structure
      DATA: l_s_select TYPE sbiwa_s_select.
    Maximum number of lines for DB table
      STATICS: l_maxsize TYPE sbiwa_s_interface-maxsize.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    cursor
              S_CURSOR TYPE CURSOR.
    Select ranges
      RANGES: L_R_KNUMV  FOR KONV-KNUMV,
              L_R_KSCHL  FOR KONV-KSCHL,
              L_R_KDATU  FOR KONV-KDATU.
    Declaring internal tables
    DATA : I_KONV LIKE KONV OCCURS 0 WITH HEADER LINE.
      DATA : Begin of I_KONV occurs 0,
             MANDT LIKE konv-mandt,
             KNUMV LIKE konv-knumv,
             KPOSN LIKE konv-kposn,
             STUNR LIKE konv-stunr,
             ZAEHK LIKE konv-zaehk,
             KAPPL LIKE konv-kappl,
             KSCHL LIKE konv-kschl,
             KDATU LIKE konv-kdatu,
             KBETR LIKE konv-kbetr,
             WAERS LIKE konv-waers,
             END OF I_KONV.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    The input parameter I_DATAPAKID is not supported yet !
    Invalid second initialization call -> error exit
        IF NOT g_flag_interface_initialized IS INITIAL.
          IF
            1 = 2.
            MESSAGE e008(r3).
          ENDIF.
          log_write 'E'                    "message type
                    'R3'                   "message class
                    '008'                  "message number
                    ' '                    "message variable 1
                    ' '.                   "message variable 2
          RAISE error_passed_to_mess_handler.
        ENDIF.
    Check InfoSource validity
        CASE i_isource.
          WHEN 'X'.
         WHEN 'Y'.
         WHEN 'Z'.
          WHEN OTHERS.
           IF 1 = 2. MESSAGE e009(r3). ENDIF.
           log_write 'E'                  "message type
                     'R3'                 "message class
                     '009'                "message number
                     i_isource            "message variable 1
                     ' '.                 "message variable 2
           RAISE error_passed_to_mess_handler.
        ENDCASE.
    Check for supported update mode
        CASE i_updmode.
    For full upload
          WHEN 'F'.
          WHEN 'D'.
          WHEN OTHERS.
           IF 1 = 2. MESSAGE e011(r3). ENDIF.
           log_write 'E'                  "message type
                     'R3'                 "message class
                     '011'                "message number
                     i_updmode            "message variable 1
                     ' '.                 "message variable 2
           RAISE error_passed_to_mess_handler.
        ENDCASE.
        APPEND LINES OF i_t_select TO g_t_select.
    Fill parameter buffer for data extraction calls
        g_s_interface-requnr    = i_requnr.
        g_s_interface-isource   = i_isource.
        g_s_interface-maxsize   = i_maxsize.
        g_s_interface-initflag  = i_initflag.
        g_s_interface-updmode   = i_updmode.
        g_s_interface-datapakid = i_datapakid.
        g_flag_interface_initialized = sbiwa_c_flag_on.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF i_t_fields TO g_t_fields.
    Interpretation of date selection for generic extraktion
       CALL FUNCTION 'RSA3_DATE_RANGE_CONVERT'
         TABLES
           i_t_select = g_t_select.
      ELSE.                 "Initialization mode or data extraction ?
       CASE g_s_interface-updmode.
         WHEN 'F' OR 'C' OR 'I'.
    First data package -> OPEN CURSOR
        IF g_counter_datapakid = 0.
       L_MAXSIZE = G_S_INTERFACE-MAXSIZE.
          LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'KNUMV'.
            MOVE-CORRESPONDING l_s_select TO l_r_knumv.
            APPEND l_r_knumv.
          ENDLOOP.
          LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'KSCHL'.
            MOVE-CORRESPONDING l_s_select TO l_r_kschl.
            APPEND l_r_kschl.
          ENDLOOP.
          Loop AT g_t_select INTO l_s_select WHERE fieldnm = 'KDATU'.
            MOVE-CORRESPONDING l_s_select TO l_r_kdatu.
            APPEND l_r_kdatu.
          ENDLOOP.
    *In case of full upload
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
       APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
          OPEN CURSOR G_CURSOR FOR
            SELECT MANDT
                   KNUMV
                   KPOSN
                   STUNR
                   ZAEHK
                   KAPPL
                   KSCHL
                   KDATU
                   KBETR
                   WAERS
            FROM   KONV
            WHERE KNUMV IN l_r_knumv
            AND   KSCHL IN l_r_kschl
            AND   KDATU IN l_r_kdatu
            AND   KAPPL EQ 'F'.
        ENDIF.
        Refresh I_KONV.
        FETCH NEXT CURSOR G_CURSOR
                   APPENDING CORRESPONDING FIELDS OF TABLE I_KONV
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR G_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
        LOOP AT I_KONV.
         IF I_KONV-KAPPL EQ 'F'.
          CLEAR :E_T_DATA.
          E_T_DATA-MANDT = I_KONV-MANDT.
          E_T_DATA-KNUMV = I_KONV-KNUMV.
          E_T_DATA-KPOSN = I_KONV-KPOSN.
          E_T_DATA-STUNR = I_KONV-STUNR.
          E_T_DATA-ZAEHK = I_KONV-ZAEHK.
          E_T_DATA-KAPPL = I_KONV-KAPPL.
          E_T_DATA-KSCHL = I_KONV-KSCHL.
          E_T_DATA-KDATU = I_KONV-KDATU.
          E_T_DATA-KBETR = I_KONV-KBETR.
          E_T_DATA-WAERS = I_KONV-WAERS.
          APPEND E_T_DATA.
       ENDIF.
        ENDLOOP.
        g_counter_datapakid = g_counter_datapakid + 1.
      ENDIF.
    ENDFUNCTION.
    Thanks in Advance
    Regards
    Swapnil.

    Hi,
    one option to investigate is to select the data with a condition on KNUMV (primary IDX).
    Since shipment costs are store in VFKP I would investigate if all your F condition records are used in this table (field VFKP-KNUMV).
    If this is the case then something like
    SELECT *
    FROM KONV
    WHERE KNUMV IN (SELECT DISTINCT KNUMV FROM VFKP)
    or
    SELECT DISTINCT KNUMV
    INTO CORRESPONDING FIELD OF <itab>
    FROM VFKP
    and then
    SELECT *
    FROM KONV
    FOR ALL ENTRIES IN <itab>
    WHERE...
    will definitively speed it up.
    hope this helps....
    Olivier

  • Table which gives the billing status for purchase orders

    Is there any table for purchase orders which gives us the "billing status"  as we have table "VBUK" in sales order.

    I don't think there is a status table per se, but try EKBE.
    P.S. It's an SD forum, there is a separate MM/PTP forum.

Maybe you are looking for

  • My itunes library on my ipod touch is different to my laptop, how do i transfer from my ipod to the laptop

    i have just updated the itunes on a laptop that is sharing my itunes. i ahve got an ipod touch and it has got different songs, etc on to the laptop, how do i transfer the library from the ipod to the laptop without loosing the entire library.

  • Is there any one who will solve this problem

    I want to capture from mobile simulator .I have Logitech Web Camera. I am using J2Me 2.3 API.When I am capturing using J2ME Kit Simulator it is not capturing image from camera but it is capturing the stored image in the kit .So plz plz help on this t

  • Can't Attach PDF Document to Outlook 2010 X64

    I am using Adobe Reader 9.4.1 on a Windows 7 Ultimate X64 with Office 2010 Pro X64. My  Outlook 2010 is already set as the default email client (and works  perfectly when attaching files to email using the "sent to email  recipient" with all other so

  • ALV Enevts

    Hi I have one double click event defination and event implementation. But two event handler one for top alv and one for bottom alv on a single report. Now from the event implementation I want to know which (top or bottom alv) alv is double clicked(to

  • Enhance Standard DataSource

    Hi all, Can i add some more selection criteria to a standard source. Im using  0FI_GL_4 and would like to add GL Account HKONT to my selection when extracting data (InfoPackage). Also can i add an additional field BUZID to this datasource? How? How c