Skip to Content
avatar image
Former Member

Help finding a function module to read values of specific condition type

Hello fellow SAP gurus,

In a program we need to read the pricing conditions and get the amount for a certain condition type, simulating how the value would be priced in SD orders.

Is there anyone who knows if there are some useful function modules for this ?

Many thanks in advance,

Regards,

Henry

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 17, 2010 at 04:19 AM

    Hi Henry,

    Try [this|http://wiki.sdn.sap.com/wiki/display/ABAP/TogetpricingconditionofaSales+Order]

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2010 at 04:00 AM

    Hi Henry,

    You can actually read it directly from the tables itself.

    You can get it from KONV-KSCHL , KONV-KWERT the condition type and its value where KONV-KNUMV = VBAK-KNUMV for the specific sales order.

    If you want this for a bunch of sales orders, you can even write a program and enable the same. You can even write a query in SQVI but to include KONV, you have to include a code which is anyway available in internet.

    There is no function module as such to get this data.

    BTW...If you want simulation, you can even construct pricing reports SPRO>SD>BASIC FUNCTIONS>PRICING>MAINTAIN PRICING REPORT.

    Here you can construct a pricing report based on the fields you want to select and then you can simulate the pricing which will get affected by your selection criteria. The documentation on pricing report is good, and is self explanatory.

    Add comment
    10|10000 characters needed characters exceeded