Skip to Content

Add conditions type to purchasing contract with LSMW

Mar 03, 2017 at 08:52 AM


avatar image
Former Member


I have an issue with addition of conditions type in purchasing contracts,

In fact, I created the outline agreement with LSMW (I used a BAPI) but I need to add some conditions type to this purchasing contract like (Freight, Discount, surcharge),

I have already used LSMW with Batch Input (Conditions) by simulation of transaction XK15 but no result the system doesn't add any conditions in contract,

May I kindly ask you, if you have any idea or suggestion to do this action ?

Many Thanks ,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L
Mar 04, 2017 at 09:19 AM

I recommend you look for OSS notes using the search term: BAPI_CONTRACT_CHANGE conditions

I have more than 30 results, a lot bug fixes among them, but also many How-to notes

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member


Thanks for your response Jurgen,

I created an LSMW to add conditions type on purchasing contract with BAPI_CONTRACT_CHANGE but the system reset the net price and bring conditions type with value "0" :

I tried to found an OSS note but no result,

May I kindly ask you, if you have any idea regarding this behaviour ?


Best regards ;


Some notes are bug fixes which you have to make sure that they are implemented in your system.

Without knowing your system release and which notes of those > 30 for this BAPI are implemented I can't really help you much further.

Even then I would need to see details from your LSMW and details from the IDOC log with the exact error.

Did you already do it manually? in ME32K Just to make sure that it is possible at all.

Former Member

please find attached here the Idoc log generatedidoc-errors.png

idoc-errors.png (105.4 kB)