2009 Apr 08 5:53 AM
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
2009 Apr 08 7:32 AM
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
2009 Apr 08 5:56 AM
After loading the fonts and all the styles, etc re-load the form in the TST system.
2009 Apr 08 5:56 AM
PrintPreview doesnu2019t show the characters correctly.
I also notice that PrintPreview uses the font u2018Courieru2019 instead of the selected font.
2009 Apr 08 6:01 AM
Hi,
U download and Upload the SF & Smartsyle in TEST systme and then activate them...
Hope it resolves!!!
Regards,
Pavan
2009 Apr 08 6:04 AM
hi saurabh,
instead of seeing the preview, take print out of the form and see if issue is there or not.
2009 Apr 08 6:07 AM
2009 Apr 08 6:10 AM
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.
2009 Apr 08 6:24 AM
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
2009 Apr 08 7:16 AM
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.
2009 Apr 08 7:32 AM
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
2009 Apr 08 7:46 AM
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