Hi Ritesh,
For residual payments - system will create a new open item clearing the original one.
For partial payments - both original and payment item remain open item.
However, check the OBA3(tolerance group for vendor/customer) configuration for tolerance info as well as residual payment related specifications.
Cheers,