1) In your MProfit portfolio summary screen, right click on the Stock name and select Other Transactions. Then, click Add Income for Asset.
2) Select the Trans. Type as Dividend Payout.
Enter the date of dividend, total gross amount and TDS amount (if any). Next, save the transaction.