Skip to Content

BAPI_PRICES_CONDITIONS doesn't delete KONH and KONP

Hi Experts

Has anyone managed to delete KONH and KONP using this BAPI. From what I could see this seems impossible, as the internal table lt_konhdb only receives the UPDKZ 'I' or 'U' and never 'D' (FORM compare_konh never sets it to D).

Or is there a trick?
Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 13, 2017 at 04:20 PM

    I have done few thing tasks like updating with scales pricing data with Function Module RV_CONDITION_COPY , which FM BAPI_PRICES_CONDITIONS could not upload . I am not sure for your Purpose , but you can try Function Module RV_CONDITION_COPY .

    Best Regards .

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You Can Execute in Background .Atleast RV_CONDITION_COPY solves the Purpose which BAPI_PRICES_CONDITIONS could not do .

      Thanks ,

      Devendra Singh

  • Aug 10, 2017 at 06:45 PM

    Are you sure that using this BAPI is a good idea in the first place?

    In sap note 1135984 - Conditions cannot be created with BAPI_PRICES_CONDITIONS there is a text:

    When you use this function module, inconsistencies may occur; you should therefore not use it!

    The same note also lists alternatives for updating conditions, maybe you could give them a try.

    Add comment
    10|10000 characters needed characters exceeded