How to fetch the condition value per line item in PO o/p

Dear Experts ,
I need to fetch the value of the all valid condition types in the PO item , for its o/p .
For this i should know
1.what all are the  condition types involved in the item .
2.what is the condition rate
3. what is the condition value .
  Pleas etell me how do i fetch this data ??
Thanks in advance
Regards
Anis

Hi Anis,
At first collect the doc.condition-KNUMV from EKKO table.
Later enter the above doc.condition no in KONV and KONP to get the details.
Regards
Ramesh Ch

Similar Messages

  • How to split a condition value across line items with varying percentages?

    Hello, can anyone suggest how this can be resolved.  This is the scenario. 
    My client wants to be able to determine pricing for a sales document with a wide range of conditions.  One particular condition contributes to the total price of each sales item by determining a percentage of the total amount.  The percentage used isn't a fixed percentage but it is determined as follows:  Lets say I have 3 sales items in the document  with prices 200, 300 and 500 respectively.  The total amount for the condition (which is known) then has to be shared amongst these 3 items according to the price of each item.  How can this be achieved?  Any ideas?

    You will have to define a Header Condition which will apply to all the Items.
    Then, You will have to develop a Z- Requirement in T-Code - VOFM with help your ABAPer.
    Then assign this Routine in Alternative formula for condition base value column in your Pricing Procedure.
    The ABAP code in the Requirement will read the Basic Price of all the Items & then proportionately divide the value of said Condition line-item wise.
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • Retrieving the Change Texts per Line Item (Purchase Order) - Very urgent

    Hi,
    How do you retrieve the Change Texts per Line Item (Purchase Order).
    Table T166T does not list these values per line item.
    Please help. This is very urgent & important.
    Best Regards,
    John

    if you are lookin out for change of item texts ...
    then use the function module ... READ_TEXT.
    and 2 tables r used ... STXH and TLINE ....
    double click on item data ...
    goto PO TEXT tab ....
    double click on text ...
    from menu ...
    goto header ... u'll get 4 fields that u need to consider ...
    TDID
    TDOBJECT
    TDHEAD
    TDNAME
    ALL THESE U'LL FIND IN  STXH
    ITEM TEXT is stored in TLINE
    Edited by: anjali rana on Mar 5, 2008 4:55 AM

  • How to set the default value of an item type DATE PICKER to the day of yest

    Hi
    How to set the default value of an item type DATE PICKER to the day of yesterday ?
    Thank you very much !
    Christian.

    Hi Christian,
    Have a look at this thread Re: Default the Date Picker to Today
    It covers this issue in detail.
    Regards
    Paul

  • How to fetch the maximum values of 2 columns

    Hi All,
    I need to fetch the maximum value of 2 columns. For example I need to fetch the latest record for which i have to fetch the latest date and time. Date and time fields are 2 different columns. As of now am doing it the crude fetching the latest date records and then fetching the latest time record.
    Is there any other smarter way to do it. The one am doing rite now is turning out to be very performance intensive at the moment for me.  Also I could not apply max condition for two fields together.
    Please guide.
    Thanks,
    Nagraj

    Hi Jaspreet,
    Thanks for your response. But the problem am facing with this approach is I have to do this for n number of records in another internal table which is making it to cumbersome and affecting performance.
    Please suggest is there any better way to do it.
    Thanks,
    Nagraj

  • How to query the condition value in VPRS

    Hello all,
    we provide the sales price to customers based on the condition value in "VPRS" ,because I have thousands of goods need the price,so I 'd like to make a query to extract the condition value in "VPRS".
    which table is refer to this?
    https://mnlylq.bay.livefilestore.com/y1mXNdIiY7VgiU1v3ymS71pxZluGxj4YNp4IFsyQEr1zkoxjm1VCsxpOgbBQ1-ucxiRtA9tC7O_3ZPaQa7qWKGbdnHNX8UzazWTlettENIO7iujggSx7vHjc2bvuIqhYFYb2DEgIjuNaJ5foKU_xF7wvA/%E5%9B%BE%E5%85%AD.jpg?psid
    Thanks,
    helai

    hi,
    For your Item category, if you check DETERMINE COST
    Determine cost
    Indicates whether, during pricing, the system determines the cost (stock value) of a sales document item.
    Use
    The system checks the cost determination indicator as a requirement before applying the condition type that calculates the cost (condition type VPRS in the standard version of R/3 1.1)
    Mainatin VPRS as D then it will automatically pull the price from Material master if maintained
    IF VPRS is getting determined, then in your pricing procedure, you can add markup (multiplier)

  • How to limit the number of PO line items in ME59N

    Hi,
    The purchase requisition has more than hundred lines, possibly from the same vendor but different MC.
    During conversion in ME59N, User wanted to limit the number of PO line items to just 20 lines per PO.
    Is there a way to configure it?
    thanks

    Hi,
    I believe this is not possible in standard way...
    assume you can call a method on the IF_EX_ME_PROCESS_PO_CUST
    interface of the ME_PROCESS_PO_CUST add-in to do this.
    1. check out the enhancment
    MEREQ001
    2. In this, check out the FM Exits :
    EXIT_SAPLMEREQ_008
    EXIT_SAPLMEREQ_010..
    hope it helps you.
    Kuber

  • How to change the characteristic value in a item of sales order by FM?

    Hi experts,
    I guess the FM BAPI_SALESORDER_CHANGE can implement my requirement. But I have made many testing program, that's all failed. I don't know which part is not correct. So could you give a very simple sample to me? Just change the characteristic value in a item of sales order, not do any change for other parts. Thanks in advanced.
    Regrads

    Hi Birendra,
    Thanks for you explain. I follow your guide to wirte abap program. But related characteristic value still not changed in SO main screen. could you give me some suggestion? Thanks a lot!
    type-pools: IBCO2,
                IBXX.
    data: l_CUOBJ type CUOBJ_VA,
          l_ibase type IBCO2_IBASE_REC,
          l_CONFIGURATION type IBCO2_INSTANCE_TAB2,
          w_CONFIGURATION type IBCO2_INSTANCE_REC2,
          l_ROOT_OBJECT type IBXX_BUSINESS_OBJECT.
    data: t_IBCO2_VALUE_TAB type IBCO2_VALUE_TAB,
          w_IBCO2_VALUE_REC type IBCO2_VALUE_REC.
    select single CUOBJ
      into l_CUOBJ
      from VBAP
      where VBELN = '0020030609'
        and POSNR = '000020'.
      CALL FUNCTION 'CUCB_GET_CONFIGURATION'
        EXPORTING
          INSTANCE                           = l_CUOBJ
        IS_BUSINESS_OBJECT                 =
        IV_MOMENT                          =
        IV_WITH_DB_INSTANCE                =
       IMPORTING
         IBASE                              = l_ibase
         CONFIGURATION                      = l_CONFIGURATION
        EO_CBASE_REF                       =
      EXCEPTIONS
        INVALID_INPUT                      = 1
        INVALID_INSTANCE                   = 2
        INSTANCE_IS_A_CLASSIFICATION       = 3
        OTHERS                             = 4
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    loop at l_CONFIGURATION into w_CONFIGURATION.
      l_ROOT_OBJECT = w_CONFIGURATION-OWNER.
    t_IBCO2_VALUE_TAB[] = w_CONFIGURATION-values[].
      read table w_CONFIGURATION-values into w_IBCO2_VALUE_REC with key ATINN = '0000000222'.
      w_IBCO2_VALUE_REC-ATWRT = 'TMP'.
      modify w_CONFIGURATION-values from w_IBCO2_VALUE_REC index sy-tabix.
      modify l_CONFIGURATION from w_CONFIGURATION index 1.
      clear: w_CONFIGURATION.
    endloop.
    CALL FUNCTION 'CUCB_SET_CONFIGURATION'
      EXPORTING
        ROOT_INSTANCE                      = l_CUOBJ
      IS_CBASE_HEADER                    =
      CHANGING
        CONFIGURATION                      = l_CONFIGURATION
    EXCEPTIONS
      INVALID_INPUT                      = 1
      INVALID_INSTANCE                   = 2
      INSTANCE_IS_A_CLASSIFICATION       = 3
      OTHERS                             = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CUCB_CONFIGURATION_TO_DB'
      EXPORTING
        ROOT_INSTANCE                       = l_CUOBJ
        ROOT_OBJECT                         = l_ROOT_OBJECT
      FORCE_NEW_INSTANCE                  =
      IV_WITHOUT_COMMIT_UPDATE            = ' '
      IV_MATERIAL                         =
      IV_LOCATION                         =
      IV_TECHS                            =
    IMPORTING
      NEW_INSTANCE                        =
    TABLES
      EXP_NEW_NESTED_CUOBJS               =
    EXCEPTIONS
      INVALID_INSTANCE                    = 1
      INVALID_ROOT_INSTANCE               = 2
      NO_CHANGES                          = 3
      ALREADY_REGISTERED_FOR_UPDATE       = 4
      INSTANCE_IS_A_CLASSIFICATION        = 5
      OTHERS                              = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to change the amount of Vendor Line Item in FB60

    Hi all,
    I want to post the invoice in SAP with FB60. The journal is as follow:
    Dr. Expense    1000 USD
    Dr. VAT-Input    100 USD
          Cr. Account Payable     1100 USD
    But the problem, the amount of Account payable is 1000 USD. Because I want to fill the amount in vendor line item (FB60) with the original expense (1000 USD).
    I want to ask, there is any configuration in SAP to change the amount in vendor line item which it could be the same with amount of the original expense.
    If you ever have same problems, plase share with me
    Thanks,
    John

    Hi,
    Thanks for your reply. The result of posting invoice that I want is as follow:
    Dr. Expense    1000 USD
    Dr. Vat - Input    100 USD
    Cr. Account Payable   1100 USD
    When posting invoices in FB60, there is a filed "amount vendor line item" at the top. Usually the field is filled with amount vendor 1100 USD, but I want to fill it with the expense amount (1000 USD). Which can be show the account payable 1100 USD.
    Is there any configuration to change the field "amount vendor line item" ?
    Thanks,

  • How to fetch the junk values of a column and the column name in oracle

    Hello,
    Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..
    Thanks in advance..

    Try this, I'm not sure if it'll help... and get some idea...
    try to modify it as per your requirement -
    select * from junk_vals;
    1     ranit1
    2#     ranit2
    3     ranit3
    4$     ranit@4
    5     ranit5
    6     r^anit6
    select 'ID', id, val from junk_vals
        where regexp_like(id,'[^a-zA-Z0-9]')
    UNION
    select 'VALUE', id, val from junk_vals
        where regexp_like(val,'[^a-zA-Z0-9]');
    -- "Output :"
    ID     2#     ranit2
    ID     4$     ranit@4
    VALUE     4$     ranit@4
    VALUE     6     r^anit6
    NOTE - I've considered anything other than Alphabets and Numbers as a Junk Value
    Edited by: ranit B on Jan 4, 2013 5:07 PM
    -- o/p added

  • How to Fetch the Row value in SBO Formatted search

    Hi Experts,
    I have created a Sales order, in which i  have 4 UDF Fields(A,B,C,D) in the following:
    Example values:
    A  B  C  D 
    2   2   4  4
    3   2   6  10
    C=A*B
    D=1st value of D + 2nd col value of C
    i have written query for C, but how to write the Formatted search Query for generation of D values. plz reply as soon as possible.

    Magesh,
    I quite understand what you are trying to do.   If you look at the example below I added a third row to show how you want the D to be a running total of column C. RIGHT !!
    A B C D
    2 2 4 4
    3 2 6 10
    <b>4 2 8 18</b>
    Honestly, it is not going to be simple as you do not have a way in SBO to access a particular column from a row.  When you say $[$38.U_C] it refers to the context row OR the row which has the highlight OR the row which has the curson on it.
    It is not possible to say $[$38.U_C from row 2]  JUST  NOT POSSIBLE ...
    You have to write a tricky code by using a temp table referencing the value of column C.  Also you have to keep track if Rows gets deleted and a new row added. 
    I will test a sample code and will come back.
    Suda

  • Error in entering header level conditional value - toomany line items to PO

    Hi experts
    I have an issue while  processing a PO. While entering condition values like Freight, Customs duty etc in header level where the order contains more than 1000 line items, i am getting an error " too many line items, msg no.899". Can somebody, guide on this how this can be resolved.
    rgds
    Raghu

    HI Raghu,
    The only possible way is to create two diffrent PO's.
    As you have maintain various conditions, this will lead to updation of many FI documents at the time of GRN.
    This is SAP Limitation.
    Regards,
    Amit
    njoy SAP..
    njou Life....

  • How to get the texts for each line item for Sales order in a smartform

    I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
    I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....

    Hi There,
    But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
    Like for ex:
    PO No.  Material Code        Line Item        Basic        Excise       Tax       Inv Value
    0000001 5000251                010               100           16         4.64      120.64
    0000001 5000252                020               200           32         9.28      241.28
    Can u help me on this?
    Regards,
    Jitesh

  • Report of condition types per line item in sales order

    Hi all,
    Is there any report that can tell me all the price conditions that are allocated to a sales order line item? I am talking about the actual conditions relevant for a line item, not only conditions that have a condition record setup.
    So I would like to key in sales order number, the line item and get a report of all conditions that are allocated to that line item in the specific sales order.
    If there is no such standard report, does anyone know what tables to link?
    Thanks in advance,
    Lars

    Hi Lars,
    In my current customer they had the same requirement and after almost 1 month of analysis we decided to build a custom report to execute this.
    And as an enhancement we compare prices from the sales orders and the sap price records in order to check the differences.
    First we need to find all the open lines (status and reason for rejection (ABGRU)), than loop KONV and select the  KSCHL (condition types) you want, material text descriptions, etc.....of course a lot more in terms of coding.....;-)
    This was the form I used :
    FORM FIND_SO_PRICES.
      LOOP AT IT_ITEM_REPORT.
        REFRESH IT_PRICING.
        SELECT KSCHL KBETR WAERS KPEIN KMEIN KUMZA KUMNE
          INTO IT_PRICING
          FROM KONV
         WHERE KNUMV = IT_ITEM_REPORT-KNUMV
           AND KPOSN = IT_ITEM_REPORT-POSNR
           AND KINAK <> 'M'
           AND KINAK <> 'X'.
          APPEND IT_PRICING.
        ENDSELECT.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My price condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSP1 = IT_PRICING-KBETR.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My discount condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSD1 = IT_PRICING-KBETR / -10.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
       IT_ITEM_REPORT-LIQ = IT_ITEM_REPORT-ZSP1 - ( IT_ITEM_REPORT-ZSP1 * (
                                              IT_ITEM_REPORT-ZSD1 / 100 ) ).
        MODIFY IT_ITEM_REPORT.
      ENDLOOP.
    ENDFORM.                    " FIND_SO_PRICES
    Please tell me if this helped you,
    Regards,
    Alcides Fialho

  • How do I grey out info per line item on a actioned Purchase Requisition ?

    Hi:
    Can any one please tell me how do I grey out all information for a line item (and all other relevant information for that line on the requisition) on a already actioned  Purchase Requisition /  PO.
    i.e. Although PO is already placed for a requisition, user still changes dates, qty's ect on that line item and we want to prevent this.
    Many thanks.
    W.

    Hi
    Check it in OMCQ
    Convert the message "06 152 Purchase orders already exist for this item" into error item.
    If u still want anybody to change the PR itself... if can be controlled via release indicators...
    Check the release indicators for PO/PR, maintain the "changebale"
    Check this also
    Regards,
    Raman

Maybe you are looking for

  • How to display a value of one report in another report in obiee 11G

    Hi, I have Requirement, I created one report in that i have a columns Rank, Net price, list price and ..., so in prompt i have rank column and year column so if i enter rank as 5 and year it shows me top 5 ranks with net prices according to selected

  • BPM handle empty message in send step

    Hi, Friends: I have a following BPM sceario(PI7.1 EHP1) It mainly has following steps: Receive -> Transformation (Multi-Mapping) -> Fork (4 branches: one send step each branch) The multi-mapping result is to generate 4 types of messages based on logi

  • Traffic monitor for WRT54GS-UK v5.1

    Hello all! I know I can get software monitors for each PC/notebook that I want to monitor but for a very long time I've been interested to know how much bandwidth Xbox Live uses but have never found a way to do it. As you can see from the title I hav

  • Moving Hitachi Desktop hard drive from pavilion's desktop to Envy 700

    I need to get the information off of a defunct Pavillion m9177c to an Envy 700 but the power chords and data cables for the hard drives are different. Are there easy adapters available or should I try to find another drive box to use as a server?  I

  • Xml conversions

    How to convert an xml file into a text file in jsp?