How to display smartform in web.

Hi,
I am displaying the report in web . now i included the smartform ti it.
I want to display the smartform in web.
Plz give me the solution .
Regards,
Rani.

1. Create a smart form in the R/3 side
2. Now create a function module with the corresponding export parameter:
3. Make sure that the function module is marked remote enabled. 
4. In NWDS  create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
6. Create a  value node and an attribute say url of type string inside that node and bind it to the source
7. In the doInit() method place the following code
>    ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
>    wdContext.nodeZTest_Pdf_Input().bind(input);      
>    try {                       
>            wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
>            }
>  catch (Exception e) {
>                        e.printStackTrace();
>            }          
>  wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));       
Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
Inside that methos write the following code,
>         String url = "";
>           WDWebResourceType webResType = WDWebResourceType.PDF;
>            IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
>            try {
>                        url = webResource.getURL();
>            }
>  catch (Exception e) {
>                        e.printStackTrace();
>            }          
>            return url;
Hope It will be helpful
Regards,
Sam Charles J.

Similar Messages

  • How to Display a complete Web Site ?

    hi , I need to know how to display a complete web site using Directly from DMM or DMP ?
    anyhow i dont want any dynamic updates, but i need to display the whole page with flash and picture contents ..
    Please guide me
    thanks

    This particular problem has been reported at https://bugzilla.mozilla.org/show_bug.cgi?id=622472 I have just voted for that bug.
    Since my last report one month ago above, I have found the "Report Broken Website" appears under the Help menu item, is clickable when a webpage is displayed, but just endlessly displays a "Sending Report to server" dialog. It has never worked for me since several weeks ago. The moving blue bar under "Sending Report" just keeps moving but nothing happens.
    Mozilla Firefox 3.6.13 , the latest version according to Check Updates. Windows Vista Home Premium.
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)
    Expected behaviour: I guess the Report menu item should be grayed out or invisible until the reporting mechanism works.
    There are a few other related problems with reporting broken websites here:
    https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Firefox&content=Report+a+broken+Website

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • How to display smartform as PDF in web dynpro java

    Hi,
    Where can I find sample program to display smartform as PDF in web dynpro java.
    Thanks.
    Regards,
    Henry

    1. Create a smart form in the R/3 side
    2. Now create a function module with the corresponding export parameter:
    3. Make sure that the function module is marked remote enabled. 
    4. In NWDS  create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
    5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
    6. Create a  value node and an attribute say url of type string inside that node and bind it to the source
    7. In the doInit() method place the following code
    >    ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
    >    wdContext.nodeZTest_Pdf_Input().bind(input);      
    >    try {                       
    >            wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >  wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));       
    Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
    Inside that methos write the following code,
    >         String url = "";
    >           WDWebResourceType webResType = WDWebResourceType.PDF;
    >            IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
    >            try {
    >                        url = webResource.getURL();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >            return url;
    Hope It will be helpful
    Regards,
    Sam Charles J.

  • How to display calendar in web part with selected month(jan,feb,march) in sharepoint 2013

    Hi All,
    How to display selected Month like jan,feb,march in single page with different webparts.
    I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
    Here i attached the screen shot, where December should be shown as (January and February)
    Kindly check and guide me in right track.
    Thanks
    Prabhat.
    Madhu Prabhat

    Hi,                                                             
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    Sharepoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Another three links for your reference:
    http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
    http://www.youtube.com/watch?v=9iK8IPUB87w
    http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
    Here are some samples of custom calendar web part for your reference:
    http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
    http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
    https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
    You can also do more customization by adding your own logic in it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to display pdf in Web Dynpro Page

    Hi Experts,
    I need to display the pdf file in web dynpro page. I am using  Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
    But My problem is how display pdf with out using Iframe.
    Please any one tell how to display with any other UI elements.
    Regards,
    Sunil.

    Hi sunil..
    chk this link..
    <u><b>Pdf</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    <u><b>Adobe</b></u>
    /people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
    <u><b>Configuration</b></u>
    http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    <u><b>Adobe Document services</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
    <u><b>Configuring Guided procedure of Interactive Forms</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
    <u><b>Forum Discussions abt Adobe Document Services</b></u>
    Re: Configuring the Destination URL for the Adobe Document Services
    Hop will this helpful for u..
    Regards,
    GS

  • How to display smartform output?

    Hi,
       Can anybody give me some hint on how to display a smartform output containing tables and texts in a bsp?? I have searched the forum but since I am new to bsp,I am not finding a caompact solution by following which I can get the idea. Please help..

    Hi,
    Check this link [Smartform PDF output in BSP|Smartform PDF output in BSP;
    Hope this helps you.
    Regards,
    Rajani

  • How to display smartform through transaction code on action of button

    Hi All,
    Please let me know how can i display smartform through tcode on button action.
    For e.g. I have a F.62 tcode where the smartform is attached. Now i want a button in BSP which when clicked should call tcode F.62 and display that smartform.
    Also if i cannot use "CALL TRANSACTION" can i use "SUBMIT" and call that transaction.
    If not how will i able to acheive that?
    Please help as it is very urgent.
    Thanks,
    Rahul

    Hi,
    Use ITS to display the F.62 transaction is worth a try. But I am not sure whether the ITS will be able to display Smartforms...
    Another option is trying to launch the Smartforms (I dont know the F.62 transaction enough to tell if it is time-consuming or not) and convert it to PDF (there is plenty of threads about this in SDN) and then, display it through BSP (either inline or for the user to download).
    Best regards,
    Guillaume

  • How to display LOV on web in ENTER-QUERY mode with form or block query only.

    Hello all
    How can I display lov automatic on the web in from enter-query
    mode in form or block query only mode.
    thankx

    If I understand correctly your explanation, your called form
    fails to activate the LOV in enter-query mode when it is deployed
    and test on the browser.
    So lets proceeed like this, to make it work in all environments,
    let us programetically activate the LOV.
    HOW?
    In the called form, write in the WHEN-NEW-ITEM-INSTANCE TRIGGER
    at block level (if have more than one LOV)
    IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
    IF get_item_property(:system.cursor_item,lov_name) IN ('YOUR
    LOV1', 'LOV2' etc) THEN
    IF SHOW_LOV(get_item_property(:system.cursor_item,lov_name))
    THEN
    NULL;
    END IF;
    END IF;
    END IF;
    The above code maybe tweak to suite your need and condition.
    This way, we explicitly make the LOV appear in ENTER-QUERY mode
    whenever the user clicks on an item with an attached LOV.
    Hope this helps.
    Mohammed R.Qurashi

  • How to display smartform table content in condition basis

    Hi experts
         In smartform, can i display the content of table in a condition basis.
         For example am displaying 4 rows in a page.
         If the rows exists more than 4, remaining rows i want to display in next page.
         Is it possible, if so, how to do, pls anyone help me on this.
    Thanks in advance.
    Regards
    Rajaram

    hi,
    use the command which is present in the flowlogic.
    In that tick the <b>Go to new page</b> check box and write the page no. into the i/o bos besides it and write the condition whatever it is.
    thanks
    Dharmishta

  • How to display smartform in the payslip application of ESS

    Hi experts,
                        We developed a smartform for payslip .We want to use the smartform in the payslip application of ESS.Can anybody tell me how to do  this?
    Thanx in advance,
    Rajesh

    Hi,
    Under the salary statement node , theres a subnode of Provide salary statemnt as PDF file in Interent- Click there and select "Call SAP Smart Forms" - Here you set the smart form u created.
    Likewise, make sure all the corresponding nodes are properly set .
    Regards,
    NR

  • How many display options for Web Apps are there?

    I know this is going to sound stupid,
    But are there only 2 ways to show web apps?
    Basically - I want to get links to auto populate on one web app, pulling just links to another web page (this web page is one of the fields in another web app), but automatically updated when the category of the "linked to" web app has another product linked to it.
    I know what that reads like!
    The only thing is - these are separate web apps.
    The alternate/backup view of the first web app looks like this:
    Currently - the user has to manually add the links like this:
    Which is not ideal - I just want them to dynamically populate on the fly.
    Is this possible?
    Cheers, Dave

    Funny you say that - as the most obvious things appear in your brain immediately after posting a question... Will see how that works...

  • How to display local HTML5 web page in flash builder mobile application?

    We have one single html5 web page that includes script tag to include a set of resources(java script).
    Currently we have tried using web view, htmlloader and IFrame, but none of the approaches worked as the page is included in the assets folder itself of the application, and we need to run it on the mobile device(not the browser).

    If all you are doing is loading an HTML5 web page I would look at using PhoneGap instead:
    http://phonegap.com/
    PhoneGap was bought by Adobe.

  • Problem in displaying smartform as pdf in portal

    Hi all,
    We  created a smartform and we are displaying as a pdf in portal.Everything is fine and pdf  is coming.But there is arabic data in the form .
    Some of the arabic data is coming perfectly.
    But some data is coming in Japanese or chinese and some data is coming like
    F,D'! 9(/'D1-EF (F 5'D- 'D3JA 叉â
    Department 'D%/'1) 'D9'E) DDEH'1/ 'D(41J).
    Please let me know what could be the problem.
    Thanks and Regards,
    Rajesh

    hi Rajesh.....
    Could you explain me how 2 display SMARTFORM as PDF in portal..... please.....
    I have the requirement as follows.....
    By pressing a button the smartform must be generated.....
    SO what must be the RFC o/p from ABAP.... I am ABAPER basically
    and what the portal guys must do.....
    pleaseeee

  • Displaying Report in Web layout

    Hello All,
    Can anyone please tell me how to display reports in web layout during runtime. I've created a report in month_report.jsp, having both Web Layout & Paper Layouts. At runtime when I call the report the Paper Layout version is getting displayed. Is there any extra parameter I've to pass.
    For Example if I give the following address
    http://host-110:7778/reports/rwservlet?&report=month_report.jsp&destype=cache&desformat=htmlcss&userid=admin/test@testing&p_month=JANUARY
    I get to see the Paper Layout version of the report. What I want is the Web layout. Is there any thing or any setting I've change in the Reports server. Kindly help me out on this.
    Regards,
    Arun.V

    Thanks Frank,
    No one seems to giving me a reply in the reports forums. They are hard to come by. Could you please direct me to some post which might be helpfull. I just want to know whether there's something wrong with the way I'm calling the report... May be thats the reason that I'm getting the Paper Layout as output instead of Web Layout.
    Regards,
    Arun.V

Maybe you are looking for

  • How to change date based on prefernces

    Guys, I do have a page where I display some date in simple format. Originally this date is stored in the form of character in DD-MON-YYYY format in table while I display it on page I convert it into simple date format. I want to change my date based

  • How to use and configure web services in sap

    Hi, Experts, could you please tell me, how to configure web services in sap. As one of my client using handheld  software for inventory, where in whatever tansaction happens in the depot  it has to update in sap.through non sap software please help m

  • BEA WLS 6.1 SP2: Deploy problems (JDBCConnectionPool/JDBCTxDataSource)

    Hello anybody, learnt XA being necessary if more than one sql command in transaction, so I changed my entries to the following: <JDBCConnectionPool DriverName="oracle.jdbc.xa.client.OracleXADataSource" Name="OracleDB" Password="{3DES}iKOCmvzSc6g=" Pr

  • Fan keeps on working loud

    Hi there, I have a mac mid. 2006 and it keeps on working on 6000 rpm and gets slower when I really does nothing. Even browsing or email checking( simple tasks) makes it loud. I've already checked there is no process, which is eating CPU. I tried rese

  • Flash Media Encoder .f4v file larger than .avi after conversion

    This is my first time using Flash Media Encoder. I converted a 168 MB .AVI video to .F4V and the resultant file is 302 MB. Is this normal? What could I have done wrong?