okay do one thing
develop a z program and use the function module 'GET_PAYSLIP'
in your program in order to get the data that you see in the output of
tcode "PC00_M40_CEDT".
and again use the function module 'CONVERT_PAYSLIP_TO_SAPSCRIPT'.
after generating the sapscript. after generating the sap script go to se38
and goto progrram 'SF_MIGRATE' and convert the sapscript to smartform.