Hi Ravi,
To my knowledge, we dont have function modules / programs to create any configuration entries. It should always be done manually in SPRO.
To your specific question, there is no FM available. If you want to create many p.terms, you can use tools like LSMW.