cancel
Showing results for 
Search instead for 
Did you mean: 

Add conditions type to purchasing contract with LSMW

Former Member
0 Kudos

Hello,

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 ,

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor

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

Former Member
0 Kudos
bapi-change-contract.png

Hello,

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 ?

Thanks,

Best regards ;

JL23
Active Contributor
0 Kudos

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
0 Kudos

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