Hello Sunny,
Please check table ACCTIT & Pass following parameter's to get required output.
Pass MIRO number as AWKEY
Pass RMRP as AWTYP
Pass KTOSL as KBS
Pass KOART as S & Execute.
You can get only GL account line items ,which you posted through MIRO. ( With using of tab Gl account)
Regards
ManiKumar