12-23-2013 4:42 AM
Hi Friends,
For a report developed , and smartform attached to it , I am unable to view the print preview using LP01. LOCL is not configured , so only LP01 is available.
There were some changes in the input selection screen and all those are done. The data is getting populated in the smartform using the debugger. But unable to print it. I have checked with the smartstyle used. No change in that.
Will there be any reason...pls help
-Regards,
Swapna
12-23-2013 5:08 AM
Hi Swapna,
What is the sy-subrc value you are getting after calling the smartfrom FM.
I guess there might be some formatting error because of which you are not able to see the output in smartform.
Thanks,
Santanu
12-23-2013 5:08 AM
Hi Swapna,
What is the sy-subrc value you are getting after calling the smartfrom FM.
I guess there might be some formatting error because of which you are not able to see the output in smartform.
Thanks,
Santanu
12-23-2013 6:06 AM
I am getting sy-subrc = 4 , when one parameter is passed to another using a select statement. I will check the same and come back to u
12-23-2013 6:10 AM
12-23-2013 6:19 AM
Hi Swapna,
it is because incompatibility of both the data types, one which you are passing and the other
where you are passing, please make sure that both are same.
It will resolve your issue.
12-23-2013 6:45 AM
Hi Swapna,
if you are not getting how to solve it, just post your code where you are having problems,
let us see whats the problem.
12-23-2013 5:15 AM
Hi Swapna,
i guess you are using customizing Smart Form and Program also.
Just check it might be print parameters you are you are disable.
Regards,
Krishna
12-23-2013 5:18 AM
Hi Swapna,
i wish that there is no change in your source code happens, but for your reference please see
thsi code and match with yours, if its fine then i will sujjest you to uninstall your printer and then
install again, it should work.
IF PRIN = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = ' '.
I_OUTPUT_OPTIONS-TDNOPRINT = ' '.
I_OUTPUT_OPTIONS-TDNOPREV = 'X'.
I_OUTPUT_OPTIONS-TDNEWID = 'X'.
I_OUTPUT_OPTIONS-TDIMMED = 'X'.
ELSEIF PRIV = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = 'X'.
I_OUTPUT_OPTIONS-TDNOPRINT = 'X'.
P_CONTROL_PARAMETERS-NO_DIALOG = ''.
ENDIF.
12-23-2013 5:24 AM
Hi swapna,
just a thought , have you tried Goto - > standard preview in print preview.
12-23-2013 5:33 AM
Hi Swapna
Please check what are the control and print parameters you are passing while calling the smartform. If flag for no preview is X it wont show
Nabheet
12-23-2013 5:35 AM
12-23-2013 8:01 AM
Dear All,
The contraol parameters had to be changed , and I did the same as said above.
Thanku for the help.
12-23-2013 8:38 AM
Hi Swapna,
if you have got your answer, then please merk it and close this thread.