Posting not successful when using Idoc FIDCCP02 for cash discount with document type KN. The discount amount is not posting to the cash discount clearing account. But posts sucessfully when done manually through FB01. Is anything need to be passed to Idoc for cash discount posting.