Hi,
In relation to your issue ,program RGUDEL00 deletes plan data and
actual data from roll up ledger that's why there were no entries
to delete in your system.
In your case when you try to delete the non-leading ledger ,error
message FAGL_LEDGER_CUST066 is triggered because there is transaction
data.
If you want to delete actual data from regular (i.e. non-rollup) ledgers
you must reset the transaction data of the company code.
Spro > FI (new) > GL(new) > preparation for productive start >
Deleting test data > Delete transaction data > Delete company code data.
Please,be aware that this is not recommended in the productive system .
The deactivation is only allowed if no documents have been posted.
Please carefully read following attach note:
891144 New GL/Document splitting: Risks w/ subsequent
If you have existing documents and you want to delete the non-
leading ledger as well,please be noted that it has to be handled
careflully with the expertise of remote consulting service,unfortunately
it is a billable service if you are interested,you may check note 83020.
I hope information will clear your issue.
Regards
Sanju