My requirement is to create and change the Contract ( Outline Agreement) ME31K from the protal.
I am using the BAPI BAPI_AGREEMENT_MAINTAIN. It supports well but there is no parameter field for the Target Value(EKKO-KTWRT) in the BAPI and its part of contract header(BAPIOAHEAD).
I am assuming that this Target Value gets populated automatically in to ME31K if we create the target value while Vendor creation or Info rec creation?
This BAPI supports everything except this Target value.
Could you please help me. Let me know if you need more info.