2011 Nov 08 4:06 PM
Hi friends,
I have a smart form in other system....In Ecc there is an alv report where in when i click on any line item,it should fetch the information in terms of smart form from the other system.that is a smart form present in other system should be displayed in ECC.I have not to create any smart form in ECC...Only call smart form from the other system....
Has somebody done this before or have any ideas how to do it.
I ll be highly thankful l to you
kanishak
2011 Nov 08 9:42 PM
You might want to consider create a simple Webdynpro application that embeds the pdf smartform in it. Thereafter, you can call this webdynpro application via URL on click of the item from which you want to launch the smart form.
2011 Nov 09 5:25 AM
hi ,,
there is no web dynpro coming.....in the picture..i have to do it without dynpro
2011 Nov 09 8:31 AM
Builld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
Regards,
Raymond
(*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
(**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm]
2011 Nov 09 9:14 AM
Hi Raymond,
Will it really work? Normally when you call FM by RFC and it uses dynpro (for example message box) then in calling system you'll get an error. Wouldn't it be the same for Smartform?
Best regards
Marcin Cholewczuk
2011 Nov 09 9:45 AM
Hi,
you wouldn't show the PDF in the RFC call, but get it as XSTRING back and then handle dynpro yourself.
Best regards,
Oliver
2011 Nov 09 9:58 AM
- You have to code in the wrapper and its call to prevent pop-ups (fill the CONTROL_PARAMETER and OUTPUT_OPTIONS)
- Of course you could get the spool back into an OTF or PDF format internal table that you will display in the calling system, but you could also display the PDF in the target system.
Regards,
Raymond
2011 Nov 09 11:43 AM
Hi Guru's
Thanks for the overwhelming response.
I am planning of using the RFC function module which fetches the smart-form in different server in form of XML....Once i get the XML,,i ll convert it into the PDF format which would be displayed in ECC.Thus i don't create any smartform,i only bring the data back in form of XML and then convert it to PDF for display.
Please put your inputs over this if it is feasible...I think that In the FM which is generated corresponding to the form,there is an option of getting the form data as XML..Please help if that can be done.
2011 Nov 09 12:01 PM
2011 Nov 09 12:39 PM
Hi Raymond,
I understand i get the data in OTF format...I am little confused with XDF format....Do i need to convert OTF to XDF or OTF to PDF to display the form in ECC which is in other system...Or no conversion would be required
Thanks
Kanishak
2011 Nov 09 2:31 PM
In the JOB_OUTPUT_INFO deep structure ([SSFCRESCL|http://help.sap.com/saphelp_nw70/helpdata/en/71/9ccda28e0e11d4b608006094192fe3/frameset.htm]), don't use the OTFDATA but the XMLOUTPUT-XSFDATA. (Check [Options for XML/HTML Output|http://help.sap.com/saphelp_nw04/helpdata/en/84/1f14b817aa11d5b67b006094192fe3/frameset.htm])
Regards,
Raymond