2012 May 18 11:37 AM
Hello all,
Im doing a fix for update and delete function for contract.
In update there is no problem it is fucntioning properly but for delete, it did not delete the line item I selected.
Heres my sample code..
CALL FUNCTION 'BAPI_CONTRACT_CHANGE'
EXPORTING
purchasingdocument = i_ebeln
TABLES
item = t_item
itemx = t_itemx
item_cond_validity = t_cond_validity
item_cond_validityx = t_cond_validityx
item_condition = t_condition
item_conditionx = t_conditionx
return = t_return
EXCEPTIONS
error_message = 1.
Thanks in regard..
2012 May 18 3:00 PM
Have you passed the deletion indicator as 'X' in both item and itemx tables?
2012 May 21 4:22 AM
yes Shambu, actually i already detect the cause of the error, it is because of item action in agreement = 'T' / text.. im wondering how can i treat in the bapi this item action 'T'..
well appreciated your response..