How to create ledger dimension budget

hi all,

May i know,how to do the ledger dimension budget by code for creating budget transaction line?
is any anyone got experience with this?

kindly please share with me…i really have no idea for this…

thanks in advanced…