Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms OTFDATA generation issue

JayantkumarS
Participant
0 Likes
690

Dear Gurus,

I have Smart-form (landscape mode), normal foreground execution form is displayed perfectly.

but when i am trying to generate 0TFDATA, table is empty as OTFdata is not generated.

below are parameters that i have passed to call funtion 'XXXXX' " function module of smart form

lv_ctrl_para-no_dialog = 'X'.
lv_ctrl_para-getotf = 'X'.

lw_output_options-tddest = LOCL.

user_setting = Space.

advise is much appricated.

Regards,

Jayant.

1 ACCEPTED SOLUTION
Read only

Florian
SAP Champion
SAP Champion
0 Likes
594

Take a real printer, not locl and have a look at the sy-subrc afterwards. If there is no OTF-Data there is something wrong.. could be anything.

But to give you a hint, implement function SSF_ERROR_READ (not sure about the exact name atm, but you will find it via SE37) and you will get a hint what's going wrong for sure.

1 REPLY 1
Read only

Florian
SAP Champion
SAP Champion
0 Likes
595

Take a real printer, not locl and have a look at the sy-subrc afterwards. If there is no OTF-Data there is something wrong.. could be anything.

But to give you a hint, implement function SSF_ERROR_READ (not sure about the exact name atm, but you will find it via SE37) and you will get a hint what's going wrong for sure.