cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Smartform from Web UI

Former Member
0 Kudos

Hi,

I need to trigger a smartform by using Actions from a Web UI screen. I have defined actions and implemented the code for form and print program.

However the smartform function module is giving me formatting error.

Please let me know how can I integrate this smartform from Web UI.

A code snippet or links will be quite helpful.

Thanks,

Abhishek

Accepted Solutions (0)

Answers (3)

Answers (3)

CarstenKasper
Active Contributor
0 Kudos

Hi,

there is an example in the Quotations component BT115QG_SLSQ. With view SQHOverView.

Set a breakpoint in EH_ONPRINT_PREVIEW_SEL_CLOSED().

It calls a BSP service CRM_PRINT_PDF (something like that).

cheers Carsten

Former Member
0 Kudos

Hi Carsten,

Could you please elaborate on this. This is first time I'm trying to generate smartform from Web UI so dont have much idea on how to proceed with that.

Thanks,

Abhishek

Former Member
0 Kudos

Hi,

I am able to get the smartform data in PDF format using CONVER_OTF FM but still not able to display the data on Web UI.

Please let me know how can I proceed with this.

Thanks,

Abhishek

Former Member
0 Kudos

Hi,

Might be your form page format and printer page format which is not correctly maintained.

If you create ACTION and assign your form in particular action properly; then u consult your basis administrator to set your from page format to printer page format. After that u try to print your from in ordinary GUI. If it is working correctly then you can try it Web GUI. In that way if your problem will not solved then u can put your hard coding break point in your from and try to debug and search where from arise a problem.

Regards,

Tarapada D.

Former Member
0 Kudos

Hi Abhishek,

What kind of formatting error?

If it turns up within the smartform transaction the problem might be the smartform itself but not the WebUI or CRM 2007 system.

Cheers, Thea