Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM: 'DISPLAY_OTF'

Hi .

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'

EXPORTING

CONTROL = ITCPP

IMPORTING

RESULT = ITCPP

TABLES

OTF = HOTFDATA

EXCEPTIONS

OTHERS = 1.

In this case table HOTFDATA is showing no records.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question