Convert ITCPO Structure into Smartform Control Tables

Whenever I get opportunity I convert sapscripts to smartforms and this function module SSF_MAP_ITCPO_TO_SFOPTIONS comes in handy to convert sapscript ‘Print Options’ into smartforms control parameters. It make life easy by automatically filling values in smartforms control parameters based on existing sap script ‘Print Options’.