2014 Mar 03 2:00 PM
Hi experts,
i have created a smartform with template for a window, and maintained small in size(heigh and width) for template compared to window size....the smartform is working fine in the Development server...
once it is transported to Quality it is throwing an error stating %template does not fit in window...even though is working fine in Development server...why this is happening...
please tell ur valuable sujjestions to solve this issue
Regards,
Lokesh Rangappa
2014 Mar 04 4:42 AM
Hi Lokesh,
just once again , save and acivate your smartform and move its TR on quality, sometimes
it happens that all the objects are not able to transport properly, please reduce the last some
lines of your templates height at some extent so that it will not effect your output values anymore,
save it , check it and activate it and transport it to QA, i hope your problem will get resolved.
2014 Mar 03 2:35 PM
Is your window is attached to 2 pages, with a different height?
2014 Mar 03 2:43 PM
2014 Mar 03 2:38 PM
Hi,
Check the size of the template by pressing output options tab and compare it with the size of the window. ( Check whether the dimension units are same or not. ).
How many page formats are there. If more than 1 page exists, check whether in other pages template fit into the window. Open the smartforms in both the client and compare the dimensions.
Regards,
DPM
2014 Mar 03 2:48 PM
Hi,
what do you mean by Dimensions exactly... CM,PT what ever it is both the window and template having same....
i dont have an authorisation of tcode :smartforms in quality
2014 Mar 03 2:44 PM
Another question. Are you using the same printer on Dev as Q?
Have all objects been transported i.e. smartform, template, page formats, etc., to Q?
2014 Mar 03 2:50 PM
i have transported all these to qa..
i dont know??? the same printer also matters for this error?????
2014 Mar 03 3:15 PM
Defeinetly the device type that you are printing to will make a difference.
2014 Mar 04 4:35 AM
2014 Mar 04 9:04 AM
The device type that is defined in SAP for the printer you are printing to. This imo is the problem.
Can you try on Dev to print to the same printer as QA, or vice versa?
2014 Mar 03 2:54 PM
2014 Mar 04 4:42 AM
Hi Lokesh,
just once again , save and acivate your smartform and move its TR on quality, sometimes
it happens that all the objects are not able to transport properly, please reduce the last some
lines of your templates height at some extent so that it will not effect your output values anymore,
save it , check it and activate it and transport it to QA, i hope your problem will get resolved.
2014 Mar 04 5:02 AM
thanks for ur reply.... i have done the same things what u have told in this 2ndTR(which is now in QA)...
My prob is that, i have 6 users in QA login to test this smartform... For the two users no issue... but for remaining 4 users this template issue is coming....
what will be excat problem for this users only......??
2014 Mar 04 5:09 AM
Hi Lokesh,
then i don't think there is any problem in your smartforms, just see all the 4 users , can you please
tell me that all the 6 users have the same SAP gui setup, see if any of the user has got correct
smartform, (no template issue), then i don't thing its smartform problem, please talk to your basis guys and ask him for patch level problem or gui problem.
Just setup the latest gui version available in those 4 user's system.
Because its not problem of smartform, its problem of display, which can be corrected either by
installing latest gui, or by patch level.
2014 Mar 04 5:09 AM
Ask all the users to check for the same document in print preview mode. If issue still persists, then issue is with the device type . Then ask the user facing problem to use the device type which is working fine. Things will be alright.
2014 Mar 04 5:24 AM
Hi sanjeev,
what is SAP gui setup... how to check that users are having the same set up or not ?
who will setup the latest gui versions???
2014 Mar 04 5:31 AM
Hi Lokesh,
just ask to your basis guys, or hardware guys, they will look it.
Tell him the problem , and ask to install latest gui version.
2014 Mar 04 5:33 AM
hi Deboriyo,
how to check the output devices for those end users..... are they really aware of it?
2014 Mar 04 5:35 AM
hi sanjeev,
i will check basis and i will get back to you...
2014 Mar 04 5:52 AM
If they are not filling it manually. Ask them to send SU3->Default tab's screenshot which contains the output device field. Please keep in mind that user can override the default option in the print dialog ( While selecting the output type, click print option and check logical destination field ).
2014 Mar 04 6:02 AM
Hi Lokesh,
please once check this also, please go to transaction SU3, and check that all the users
have same configuration or not as shown in this screenshot. Check for Output Device.
2014 Mar 04 9:04 AM
hi sanjeev,
after changing the output device to LOCL in the users(su3).....my issue solved...
is there any function module which returns the output device based on the user login ..????
please let me know the functionmodule or any other thing like that...
2014 Mar 04 9:05 AM
hi Debopriyo,
after changing the output device to LOCL in the users(su3).....my issue solved...
is there any function module which returns the output device based on the user login ..????
please let me know the functionmodule or any other thing like that..
2014 Mar 04 9:11 AM
You will get output devices for other users from table USR01 ( USR01-SPLD)
2014 Mar 04 9:12 AM
Hi Lokesh,
go through NACE transaction, where you can find the output types,
and also see the table TNAPR and NAST.
Alternately, output type can be found by USR01 table
Please see this wiki help for your better understandings
2014 Mar 04 9:16 AM
Hi,
Changing to LOCL may solve the problem, but is not necessarily the answer. You need to know from your Basis and Security teams what the printer stategy is and what defaults are assigned in production. Then your Smartform needs to work with these.
Regards,
Nick
2014 Mar 05 5:21 AM
2014 Mar 05 9:56 AM
Hi thanks for all ur replies...
after changing to LOCL device type in the user login (su3) ,it is working fine...
iam converting my smartform output to PDF and it is displayed in a custom container.... so im passing LOCL to OUTPUT_OPTIONS parameter of the function module(Smartfrm)... this is making problem i think....
what is the use of SSF_GET_DEVICE_TYPE.,weather i have to use this in my program before callig the smartform FM...????
please sujjest me..
2014 Mar 05 10:07 AM
Hi,
we use SSF_GET_DEVICE_TYPE to get output device type, the common syntax is as hown below
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = v_language
i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = devtype.
please search, you will get many threads to explain its use.