cancel
Showing results for 
Search instead for 
Did you mean: 

OTF DATA

Former Member
0 Kudos

Hi Friends,

I am struk at to Featch the OTF Data. I created ZScript, and created Address Window using Element i am displaying Address inforamtion for this purpose I created one Driver Zprogram.

In Open_form

Export Parameters are Form Name.

In 'Write_form

Export Parameters are Window & Element

In Close_form

Tables

OTFDATA = it_otfdata.

But in close form not providing OTFDATA.

If any one know about this kindly guide me how to featch the OTFDATA.

Thanks and Regards,

Sai

Accepted Solutions (0)

Answers (3)

Answers (3)

NAeda
Contributor
0 Kudos

Hi,

What you are doing is correct,

In CLOSE_FORM, Tables OTFDATA get the Print out.

Use function module CONVERT_OTF to convert OTF to PDF (set import parameter FORMAT to

'PDF').

But check whether are you getting any data(Print preview of form)...?

Rgds

Aeda

raymond_giuseppi
Active Contributor
0 Kudos

Check [online documentation of those FM|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8bb494511d182b70000e829fbfe/frameset.htm], when you call OPEN_FORM, in the parameter OPTIONS does the field TDGETOTF contain a 'X' ?

Regards,

Raymond

Former Member
0 Kudos

hi

Check this Link to resolve ur issue

http://www.scribd.com/doc/454814/SAPSCRIPT-to-PDF

Surya