2009 May 22 11:09 AM
Hi,
when i make a t-code for my SAP-script Program it is not comming properly in print form.
But when i run my print program in se38 it is comming proper out put.
Plz help me what is the cause behind this isue.
Regards,
Sunil sahoo
Hi,
when i make a t-code for my SAP-script Program it is not comming properly in print form.
But when i run my print program in se38 it is comming proper out put.
Plz help me what is the cause behind this isue.
Regards,
Sunil sahoo
2009 May 22 11:14 AM
Hello Sunil ,
Welcome to SDN.
data : control type ssfctrlop
output_options type ssfcompop.
call FM 'SSF_FUNCTION_MODULE_NAME'.
control-preview = 'X'.
control-no_open = 'X'.
control-no_close = 'X'.
output_options-tddest = 'LP01' "Default Printer name
call FM 'SSF_OPEN'
exporting
output_options = output_options
control_parameters = control.
call fm 'v_formname'
call fm 'ssf_close.
Hope this will solve your issue.
Cheers,
Suvendu
Edited by: Suvendu Swain on May 22, 2009 3:44 PM
2009 May 22 11:38 AM
Hi,
CAn you ncheck all propertes in se93 (creaing t-code for report program) and checthe GUI support check boxies it hink it will work.
2009 May 22 11:40 AM
Hi,
Can you provide more details on the same.
Becz there wont be any difference when u excute from transaction or se38.
Regards
kamath
2009 May 22 1:14 PM
Hi Sunil,
I have faced the same problem.
1)First Check initial screen and specify appropriate start object --> select 2nd radio button (For Reports)
2) On Seciond screen :-
Please check all the fields
Transaction text --> Give the specific text
Program --> Give the report name
Screen number --> 1000 (Keep it standard)
Authorization object --> can be empty.
3) GUI Support --> Tick all the check box.
I hope this resolve your issue.
Thanks & Regards,
Lokesh.