06-15-2006 10:51 PM
Hello all,
In the print program, the smart form function module is returning sy-sunrc eq 1 which is a formatting error.
But the smartform is not having any errors and is active. I dont know why it is returing this error.
Can someone help me with this.
Thanks,
06-16-2006 2:44 AM
Are you using any address nodes or any other special nodes that require you to pass in data into their parameters?
Check that the data you pass in is of the correct type and value as i have faced this 'formatting error' before.
Cheers.
06-15-2006 11:12 PM
hi somen,
this is certainly due to the formatting error at the form.
carry out syntax check at the individual nodes and finally activate ur form.also check the print preview to confirm whether any windows get overlapped...
Cheers,
Abdul Hakim
06-16-2006 2:23 AM
Abdul,
I have some windows overlapping in the form. But I was thinking that it should not be a problem. The reason is I had copied that form from another one which has windows overlapping. Let me correct that and I will get back to you.
Thanks,
06-16-2006 2:25 AM
hi somen,
thatz fine but you carry out the syntax check for the individual nodes...
Cheers,
Abdul Hakim
06-16-2006 2:31 AM
formatting error may be caused by wrong cell assignment of fields.
to know which field that is, you can execute your smartform using se37, it will give you the exact error
06-16-2006 2:44 AM
Are you using any address nodes or any other special nodes that require you to pass in data into their parameters?
Check that the data you pass in is of the correct type and value as i have faced this 'formatting error' before.
Cheers.
06-16-2006 7:54 AM
I had the same problem earlier, If you are using any currency and quantity fields then check for the reference table and fields, If you give it wrong it will give the formatting error.
Thanks,
Rajesh
06-16-2006 4:23 PM
Hello all,
Thanks for all your replies.
I had tried with all the solutions and what I found out is
1. The formatting error is not because of the windows overlapping.
2. Not because of currency or quantity fields etc.
I did a syntax check at each and every node, but they are syntactically correct. Next I deleted the address nodes in my smartform and it worked perfectly. Maybe I am not populating them correctly.
Matt...full points to you and points are awarded to all other replies for your suggestions. They sure will be very useful in future.
Thanks,