Skip to Content
0
Former Member
Feb 24, 2009 at 08:09 AM

Updating contract conditions using BAPI_CUSTOMERCONTRACT_CHANGE

750 Views

Hi,

I am trying to update the conditions of a contract line item using the bapi BAPI_CUSTOMERCONTRACT_CHANGE. However, the BAPI is inserting a new line into the conditions for same condition type instead of changing the value.

Could you please help me with the parameters i need to pass into the BAPI to update condition values?

Currently i am passing the following

BAPICOND-ITM_NUMBER = '000010'.

BAPICOND-COND_ST_NO = '010'.

BAPICOND-COND_COUNT = '01'.

BAPICOND-COND_TYPE = 'YGAF'.

BAPICOND-cond_updat = 'X'.

BAPICOND-COND_VALUE = '15'.

BAPICONDX-ITM_NUMBER = '000010'.

BAPICONDx-updateflag = 'U'.

BAPICONDX-COND_ST_NO = '010'.

BAPICONDX-COND_COUNT = '01'.

BAPICONDX-COND_TYPE = 'YGAF'.

Thank you so much in advance.

Ravi