I have developed a transaction that creates an "Attendance" registration in HR. The same as transaction PA61 does !!
In my program I have used BAPI 'BAPI_PTMGRATTABS_MNGCREATION' and that works fine !
But in transaction PA61 you can create a text by choosing Edit ==> Maintain text.... So what I am looking for is a BAPI or a Function module that I can use to create this text from the transaction that I have developed !