In the standard script program ,I am trying to convert OTF to PDF format. However in print preview i can see correct no of pages.But when I am using FM:'DISPLAY_OTF'
it is taking last page only.
Can any one suggest where things has gone wrong.
Below is code :
IF NOT ITCPO-TDPREVIEW IS INITIAL.
ITCPP-TDNOPRINT = 'X'.
CALL FUNCTION 'DISPLAY_OTF'
CONTROL = ITCPP
RESULT = ITCPP
OTF = HOTFDATA
OTHERS = 1.
In this case table HOTFDATA is showing no records.