Hi Nanda,
This expert script is like a stored procedure. Access all the source data from inTab and do all data manipulation and assign it to outTab. There is no specific document available to show case how to write Expert script because its as simple as writing the stored procedure. We all should come little bit out of ABAP world and should learn to write stored procedure. Thanks & Regards A.Dinesh