Quantity not Updating - BAPI_CONTRACT_CREATEFROMDATA
I tried to create contract using the BAPI_CONTRACT_CREATEFROMDATA. The document is created but the quantity fields are not getting populated. I have passed the quantity to the field TARGET_QTY and its unit to TARGET_QU in the table parameter CONTRACT_ITEMS_IN. The corresponding fields in the CONTRACT_ITEMS_INX is also filled and passed I to update indicator field.
Can you please help me to sort out this issue.