How to delete pricing conditions from the Quotation using CRM_ORDER_MAINTAIN Function Module
My requirement is to delete/add the pricing condition records based on some conditions. I am able to add the conditions using
COND_ADD( PRCT_COND_EXTERNAL_INPUT_T ) of structure CRMT_PRIDOC_COM . But the problem is not able to delete
the existing pricing conditions. I checked the structures COND_DELETE( PRCT_COND_EXTERNAL_CHANGE_T ) but it is not
working. I am passing the condition table to CRM_ORDER_MAINTAIN Function Module.
Baasanthi Ch replied
One thing to be mentioned. I am getting 'internal error during pricing' when I tried to add the pricing condition(KSCHL),KINAK = 'A' and KMPRS = 'X' to PRIC_COND(PRCT_COND_DU_TAB) of CRMT_PRIDOC_COM in the CRMD_ORDER_MAINTAIN Function Module.