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

Smartform Font issue

Former Member
0 Kudos
303

Hello experts,

I have developed SMARTFORM. It is working correctly. The structure of the form, display is correct on DEV system.

Now for testing i have moved all the objects in TST system. but the form display or fonts everything garbled. i tried to active smartform, smartstyle but nothing is happening.

how do i do that?

i have uploded new fonts in the system as they were not exist in the system.

Regards,

Saurabh

1 ACCEPTED SOLUTION
Read only

robert_altenstraer
Active Participant
0 Kudos
251

Hi,

conclusion

1. develope a smartform & a style

2. use the style in the smartform

3. use the fm_name in your programm

4. transport everything ( also the style to your TST )

5. in your TST you can not see the Smartform with your defined Style...

every fonts you use in the DEV are also in your TST system ?

you use the same printer as in the DEV system & the printer can print this font ?

you have the same language in both systems...(problems while trasporting the translation .. )

you have the same basis support package ( we had a litte problem with support pack SAPKB62065 (HR don´t use font carrier)...)

....I don´t know what it could be....

bestreg robert

10 REPLIES 10
Read only

amit_khare
Active Contributor
0 Kudos
251

After loading the fonts and all the styles, etc re-load the form in the TST system.

Read only

Former Member
0 Kudos
251

more on this....

PrintPreview doesnu2019t show the characters correctly.

I also notice that PrintPreview uses the font u2018Courieru2019 instead of the selected font.

Read only

Former Member
0 Kudos
251

Hi,

U download and Upload the SF & Smartsyle in TEST systme and then activate them...

Hope it resolves!!!

Regards,

Pavan

Read only

Former Member
0 Kudos
251

hi saurabh,

instead of seeing the preview, take print out of the form and see if issue is there or not.

Read only

Former Member
0 Kudos
251

had u move ur smartstyle ?

check it once

Read only

0 Kudos
251

yes i have moved smartstyle in TST. I am working on Client system so even if i take the print out i can not see the printout. Also SAP Version is 4.6C so no upload or download option available.

TST system is non-modifiable to can not even activate it.

Read only

robert_altenstraer
Active Participant
0 Kudos
251

hi

i think you use in your programm the FM name of your smartform which is only in your dev system is avilable....


 CALL FUNCTION '/1BCDWB/SF00000016'     
Exporting......

the function is only in your devsystem aviable....

you must use follow coding in front of your fm calling..


  DATA: fm_name TYPE rs38l_fnam.

  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'ZC_O4MR_SHEET'      " your SSF Name 
*     VARIANT                  = ' '
*     DIRECT_CALL              = ' '
   IMPORTING
     fm_name                  = fm_name
*   EXCEPTIONS
*     NO_FORM                  = 1
*     NO_FUNCTION_MODULE       = 2
*     OTHERS                   = 3
            .
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.


* original fm name '/1BCDWB/SF00000016' in DEV

  CALL FUNCTION fm_name
  exporting.......         " from the orignal FM
.
.

bestreg Robert

Read only

0 Kudos
251

hi robert,

i have already used fm_name instead of using the FM name directly. also i re-imported the requests to TST but nothing happened.

In print preview the default font is courier. smartstyle effect is not there.

Read only

robert_altenstraer
Active Participant
0 Kudos
252

Hi,

conclusion

1. develope a smartform & a style

2. use the style in the smartform

3. use the fm_name in your programm

4. transport everything ( also the style to your TST )

5. in your TST you can not see the Smartform with your defined Style...

every fonts you use in the DEV are also in your TST system ?

you use the same printer as in the DEV system & the printer can print this font ?

you have the same language in both systems...(problems while trasporting the translation .. )

you have the same basis support package ( we had a litte problem with support pack SAPKB62065 (HR don´t use font carrier)...)

....I don´t know what it could be....

bestreg robert

Read only

0 Kudos
251

Hi,

I have faced the same problem when transporting my form to a testing system.

for this you try the following and I tried it and it worked

Activate the smartstyle first and in the form go to each window select the same font again and activate the form.

While transporting ensure that smartstyles move ahead of the form which shall ensure your form takking up the rite fonts.

Thanks

Nitin