cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms printing problem after transporting it to production

Ashutoshshukla
Explorer
0 Kudos

Hi,

I have change the billing report use with vf03 and on development server its working fine but when we have transport it then its not generating output after asking the printer name.

Can any one tell me where will be the problem??

Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shukla

One more thing Please also check whether you have image in your smartform ?

If you have image in ur smartform you need to ask basis people to upload the image using SE78 .

if image is not loaded , on clicking the print preview you cannot see the desired output .

I too got the same problem.

Thanks

Hariharan

Ashutoshshukla
Explorer
0 Kudos

Thanks For help to all,

Now problem is resolved actually smartstyle which i am using was not availavle on production so that its not generating output.

when i have debugg the mf then find the problem but i think sf should display message for same.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Shukla

Whether you are using customizing page format ?

If so please check in Production whether the same page format is available .

Using SPAD T code

Follow the below path :

SPAD - > Full Administration button -> device type tab . > click on display of page format field .

find your page format .

if not available please ask your basis person to configure your page format .

please let me know you are looking for the same

Thanks

hariharan

Former Member
0 Kudos

Hi,

Check whether the printer is available in Production , check with basis team for configuration and page formats.

Regards,

Dep

koolspy_ultimate
Active Contributor
0 Kudos

hi shukla

try this way by setting the default printer as windefault in your code and transport it to production server



data:       st_output_options       TYPE ssfcompop,
       st_control_parameters   type ssfctrlop.

use the below code in your fm "SSF_FUNCTION_MODULE_NAME



 st_control_parameters-no_dialog = 'X'.
 st_control_parameters-preview = 'X'.
st_control_parameters-LANGU = 'E'.
st_control_parameters-DEVICE = 'PRINTER'.
st_output_options-tddest = 'WINE'.
 st_output_options-TDTITLE = 'your text here '.
 st_output_options-TDNEWID = 'X'.
st_output_options-TDIMMED = 'X'.
st_output_options-TDDELETE = 'X'.

  call function fname ."your sform

exporting
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
     control_parameters         =  st_control_parameters
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
     output_options             = st_output_options
   USER_SETTINGS              = ''
   importing
     document_output_info       = st_document_output_info
     job_output_info            = st_job_output_info
    job_output_options         =  st_job_output_options
    tables
      it_output                  = it_output
      it_final                   = it_final

hope this may help you.

Former Member
0 Kudos

Hi Shukla

Can i know what u have declare at importing field (fm_name) in the function module SSF_FUNCTION_MODULE_NAME.

ravi_lanjewar
Contributor
0 Kudos

Hi,

It custom development, You have to take following precaution.

1) I am agree with you, It is working fine in development server but not in production.

In day to day scenario there is miss match in data between development server & production server where actual data resides.

while creating report some of document or billing type exit in development and not in production. You tested such kind of scenario in development i.e. hard coded the document type in program. It can cause the such kind of error. for resolving the such kind of program you have to debug the program.

2) compare the version of program in production same or not.