How to Embed FPM ABAP into a WebDynpro ABAP Application

HI all,
I've embedded a custom  FPM component a custom WebDYnpro application and I've coded this:
      DATA: lo_usage TYPE REF TO if_wd_component_usage,
            ls_conf_key TYPE wdy_config_key.
      lo_usage = wd_this->wd_cpuse_po_manage_fpm_usage( ).
      IF lo_usage->has_active_component( ) = abap_true.
        lo_usage->delete_component( ).
      ENDIF.
      ls_conf_key-config_id = 'ZWD_SRM_PO_MANAGE_OIF'.
      TRY.
           CALL METHOD lo_usage->create_component
            EXPORTING
              component_name   = 'FPM_OIF_COMPONENT'
              configuration_id = ls_conf_key.
        CATCH cx_wd_runtime_api .
      ENDTRY.
My application is called (debug stops) but the screen that's rendered is an empty screen with Start and Close buttons (the initial screen which is normally displayed is not in this case).
What could the problem be?
Also, how can I pass parameters to my FPM application? (According to the PDF guide, app_parameters can't be used!)
Thank you.

Hi ,
Did you find a solution to your problem?. I'm trying to do the same kind of thing and have the same problem.
Thanks.

Similar Messages

  • CP8 - How to embed a pdf into a captivate slide (for LMS publication)?

    Hi,
    How to embed a pdf into a captivate slide (for LMS publication)?
    WebObject doesn't work...
    Thanks

    I accomplished this by publishing my PDF to a directory I called "PDFWebObjectEmbedFiles" on my webserver outside of where my published project lives.
    For example...the PDF to embed lived at:
    http://mydomain.com/PDFWebObjectEmbedFiles/file_name_of_PDF_to_embed.pdf
    Then I went inside of Captivate and inserted the Web Object widget.  I put the URL to my PDF inside the widget.  Then it loads perfectly with no problem.
    Hope this helps.

  • How to transfer XML-Data into a WebDynPro-Application?

    An external partner has a calling interface that sends a HTTP-Redirect to a specific application-url and transfers all the data in one POST-Parameter.
    The value of this POST-Paramater (CALLINTERFACE) consists the XML-Data.
    <form id='InterfaceData3' method='post' action='/ProduktFrontController/Start'>
    <textarea cols="80" rows="30" name='CALLINTERFACE'><?xml version="1.0" encoding="UTF-8"?>
      <authentifizierung version="1.0">
           XML-Data.....
      </authentifizierung>
    <br>
    <p><input id='button1' type='submit' name='Button' value='Absenden'></p>
    </form>
    Standard-Java:
    In our Java-Application we can read the POST-Value (XML-Data) via the HTTPServletRequest-Object/Instance.
    WebDynPro-Java:
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    String xmlData = request.getParameter("CALLINTERFACE");
    In WebDynPro for ABAP I couldnt find a equivalent solution /technic to read the POST-Parameter-Value.
    So I have to write a lot of annoying 'glue-code':-(      (HTTP-Request-Handler for reading, Shared Memory / Objects for transfer to WebDynPro ABAP),
    (Remark: It's no solution to transfer XML-Data via a URL-Parameter because it is too big (> 1 KByte) and the external partner doesn't support this option!).
    My questions:
    1) What technics for transfering Data (not only 2 or 3 Parameter) form external web-applications into WebDynPro ABAP applications does SAP support?
    2) Is it possible to reach the calling HTTP-Request from WebDynPro-ABAP? (MayBe via ABAP-Callback-Functions)
    Sincerely
    Steffen

    Hi,
    thank you for your answers:-)
    In conclusion the result is:
    1) There is no "direct" way to read POST-Parameter in WebDynPro ABAP
    => You have to write a wrapper in BSP or an ICF -  HTTP_REQUEST_HANDLER
      (A  ABAP-Class that implements the Interface "IF_HTTP_EXTENSION"
         that reads the POST-Parameter-Value and transfers the value into a reachable localtion for WebDynPro-Abap.
    2) For parsing the XML-Data I can use for example STRANS tcode or  Simple Transformations
    3) For transfering the Data between the BSP / the Request-Handler and WebDynPro for ABAP, I can use for example SharedMemory, Shared Objects.
    Regards
    Steffen
    Edited by: Steffen Spahr on Jul 19, 2011 8:35 AM
    Edited by: Steffen Spahr on Jul 19, 2011 8:55 AM

  • How to embed a screenshot into a topic post/topic reply.

    Hi all,
    I wasn't sure which forum to post my question in, so since all my Discussions stuff opens in a browser window, I thought it might as well be in the Safari forum.
    My query is two-fold:
    1. How do I embed a screenshot into a reply so that the screenshot shows up in the same way as the screenshot itself, and not as a reference to myself e.g. if I drag the pic from my desktop, it shows up as "Users/My name/Desktop/Picture1.png" which I don't want on screen.
    2 the forums toolbar doesn't contain any formatting tools so that the above query can be effected. All I see are icons for 'Bold', Italics', 'Underline' and 'Spell checker'. There is, of course, the 'Preview tab', but I doubt that this will affect how I view the way my messages will appear to the viewer.
    Any assistance would be greatly appreciated.
    Message was edited by: sapper

    Hi
    I use Image Shack:
    Register here.
    Next, download their OS X Uploader.
    I choose "classic view" to see my library of images. After uploading an image via the Uploader, a tab opens to your Library page. The code for your post is the second one listed - Embeddable Code - Sites. Looks like this:

  • How to embed a smartform into a component?

    Hi All,
    i would like to embed a smartform into the component to display the relevant information of complaint in WEB UI.
    In complaints when i clicked on complaint ID it is not not displaying any details? So i would like to add a smart form to the component to display all the details. Please help me how to add the smartform into the component?
    Thanks
    Maheedhar

    Hi pavan,
    I did not try this but I think you can call the smatforms function module and get the form in html from parameter JOB_OUTPUT_INFO-XMLOUTPUT-TRFRESULT.
    Put this into WD component using respective method. Compare Thread: [Add html code in web dynpro application|Add html code in web dynpro application]
    Regards,
    Clemens

  • How to embed html-file into swing

    hello,
    can anybody help me how to embed a html-file into a swing application??
    I try to write a swing-application, that connects to a Internetpage via Sockets.
    The problem is, that I can only see the sourcecode of the InternetPage in my JTextArea, but I want to see the whole Page just like in a browser.
    I hope anybody can help me to solve this problem, thanx mina

    u will need to use the JEditorPane component instead of Jtextarea.here is a url to help u get started
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#editorpane

  • How to embed swing component into javaFX ?

    Maybe I missed sth, but can someone explain us how can we embed swing component into javaFX 2.0 ?
    This was previously handled with javaFX "srcipt", why can't we do it anymore ?
    As far as the work to migrate from 1.3 to 2.0 is hard and huge, why do fx2.0 do not offer such feature anymore ? :(
    I know that ThingFx project try to cope with, but the current code doesn't match with my needs.
    Thanks for help,
    Edited by: tibO on 23 nov. 2011 14:35

    I know this post is old and the original authors might not even ben active; but it essentiall gets to the heart of what I'm trying to.
    I have a JDialogBox. In it I have a panel (which I have to change to a JScrollPane). Inside the JPanel I have a JLabel and a JTextArea.
    I was told to; make it scrollable in the event that there is too much info for the JDialogBox and to add HTML formatting (simple stuff like bold and colors.
    1) The JScrollBar doesn't seem to produce the scroll side bars.
    2) I must not be implementing the JEditorPane correctly. I just substituted JEditorPane for JTextArea in my code and it returned a type converstion error. Is JEditorPane even the correct object to use? Should I be using JTextPane?
    The reason I can't do this on a JLabel by JLabel basis is because I don't know how many labels I will need at each runtime. And I also have to have a swingtimer on it. I could create an array and loop around it to create the JLabels. But it seems a waste of commuting cycles. This is no good?

  • How to embed finished project into a blog???

    Please help! How can I take my finished quiz and embed it onto my blog?
    ALSO,
    How can I incorporate html into my quiz? I have a photobucket slideshow I'd like to include in my quiz.
    THANKS!!!!!!!

    Hi there
    Please don't cross-post the same question to more than one forum category.
    For anyone choosing to reply to this question, please reply where it was first asked.
    You may do this by clicking here.
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to embed 3d pdf into 2d pdf?

    I created a 3d pdf (outside of Acrobat) and would like to embed this file into a 2d pdf using Acrobat X. When I add Multimedia > 3D object and try to insert the 3d pdf file, Acrobat says that the file is not a supported file type. Is there a way to embed this directly (so the model can be seen when the 2d pdf is opened), rather than as an attached file or link? I would like to avoid using an U3D file, as the file became very large and responds slowly to commands.

    All you need is Acrobat.
    If you want to copy the entire page from the 3D PDF to the 2D PDF, open the page thumbnails sidebar in the 2D PDF, and from the options dropdown menu choose Insert Pages > From File. Pick your 3D PDF and choose where you want the page to be inserted. You can also open both files in separate windows, and drag the page thumbnails from one to the other (not the pages, the thumbnails).
    If you want to copy just the 3D annotation, open both files in separate windows, and open the Tools Pane > Content Panel in both so you can activate the "select object" tool - the big black arrow. Click the 3D annotation to select it, then choose edit>Copy (Ctrl-C), then in the destination PDF file choose Edit>Paste (Ctrl-V). You can move and resize the annotation while you have the select object tool enabled, and any embedded 3D scripts, views, poster images etc will be preserved.
    The only thing you may find is if the source and destination pages are in different orientations, copy/paste may rotate the poster image. To fix that, right-click the pasted annotation and choose Properties, then re-create the poster image.

  • How is Web-dynpro ABAP application is accessed in web.

    Hi
    How are pages in ABAP-Webdynpro rendered in web, how does they get converted in HTML.
    As far as my understanding, ICM forwards the request to Application server ABAP, if request is for ABAP webdynpro page.
    After that does ITS play a role to render these pages in Web ??

    First of all ITS has absolutely nothing to do with Web Dynpro ABAP. 
    When you design a Web Dynpro ABAP application an XML based meta-data representation of the User Interface is saved in the repository.  Then at runtime we have a Web Dynpro ABAP rendering engine (written completely in ABAP Classes) uses this meta-data to render corresponding HTML and JavaScript content that gets loaded into the HTTP Response object. We actually have multiple rendering engines for Web Dynpro (xBCML for Flash and the NWBC) as well as the ability to replace and upgrade these rendering engines over time without disrupting the applications.  This is what is currently happening with 7.01 - we have rewritten the HTML/JavaScript renderer with a new version called LightSpeed.

  • How to embed icon MAc dmg file in air application while in windows its working fine

    how to embed icon in mac os dmg file ..while in windows i ha set in air application .xml file in <icon> tag and its working..so to embed icon for MAc OS

    solution ::
    add this code in windows app of AIR
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationComplete="init()" layout="absolute" xmlns:local="*">
    <mx:VBox>
    <mx:Label text="Jay Mahadev" fontSize="32" />
    </mx:VBox>
    <mx:Script>
    <![CDATA[
    private function init():void
    if(NativeApplication.supportsDockIcon){ 
    var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,undock);
    //dockIcon.menu = createIconMenu();
    else if (NativeApplication.supportsSystemTrayIcon){ 
    var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;sysTrayIcon.tooltip =
    "Stopwatch";sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
    //sysTrayIcon.menu = createIconMenu();
    public function undock(event:Event = null):void{stage.nativeWindow.visible =
    true;NativeApplication.nativeApplication.icon.bitmaps = [];
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    and also in windowapplication.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
     <icon>
    <image128x128>/icons/128x128.png</image128x128>
    <image48x48>/icons/48x48.png</image48x48>
    <image32x32>/icons/32x32.png</image32x32>
    <image16x16>/icons/16x16.png</image16x16>
    </icon>
    </application>
    Reference Link :::
    http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html

  • How to embed an Applet into html

    Hi, I've an applet called IDrive written in Eclispe which works perfect there, I've been trying to paste the IDrive class file into my html folder and embed my applet by trying e.g.
    <applet code="../css/IDrive.class" width="300" Height="400">
    </applet>css is a folder outside the folder which contains the html file in which im trying to embed my Applet
    but no matter what I do i keep getting class not found error's, and as im totally new to applets I hope someone could please help me....
    Thanks

    I suggest you look at the applets under the demo directory and how they are done.
    Here are also some tutorials.
    [http://www.google.co.uk/search?q=applet+html+tutorial]

  • How to embed audio clips into pdf document

    Hello I have a two-hour lecture I've transcribed. There are about 20 paragraphs. I want to embed the audio of the lecture into the pdf document so that when the reader clicks on a paragraph or on a button/control near the paragraph the audio for that particular paragraph starts up. An ideal version of this would be in pdf format and would allow the reader to click anywhere in the pdf and have the audio start from that point. I've never embedded audio before. I also have InDesign, Lightroom and Photoshop and can use them to embed audio before exporting to pdf.

    The exact process will depend on the version of Acrobat you have. In AA7, I just selected TOOLS>Advanced Editing>Sound Tool and added a sound file to the document. There were options for AA5 and AA6 compatibility as well as for embedding the sound file in the PDF.
    When you select the sound file, it asks if you want to play the file or accept the file as trusted for future requests. The file then played just fine. When I added the link, I was given a box to use to surround the area of interest on the page. You can set the border color and such (like make it invisible, though that might confuse folks).
    I am not sure what more you want. It is possible to add audio to open when you open the page also as well as set timing for the page. That would provide a way for the person to essentially have a lecture presented on your system without having to intervene. For the playing of the pages and timing, you may ahve to have the file open in full-screen, not sure.

  • How to embed a website into WEBI doucment

    I have seen some posts where website can be inserted in WEBi and a hyper link can be created a between webi data and website, passing the values. How can i do this? I have never used IFRAME, can anyone provide me the steps to open IFRAME and embed the website. Thanks in advance.

    Hi Rithesh Makkena,
    Can you please see if the following link is useful:
    http://scn.sap.com/thread/3332295
    BR
    Prabhith

  • How to embed exsisting image into Swing programme?

    Just wondering, is there anyway to embed an exsiting image into swing programme, like a .jpg or .gif? Thanks!

    It's also nice to package it in the .jar file. If you put it in "rc/image.jpg" (relative to the root of the jar file) you can do something like this:
    new ImageIcon(getClass().getResource("/rc/image.jpg"));

Maybe you are looking for

  • How to Get Current running Sqltext in 10g

    I'm using 10g and i'm using following query to get current running sql. SELECT A.SID,B.HASH_VALUE, OSUSER, USERNAME, SQL_TEXT FROM V$SESSION A, V$SQLTEXT B WHERE B.HASH_VALUE = A.SQL_HASH_VALUE AND USERNAME LIKE upper('%UOBA%') ORDER BY B.HASH_VALUE,

  • How can I format my new blank HDD that I just install ?

    How can I format my new blank HDD that I just install ?

  • SYSTEM.MOUSE_RECORD_OFFSET

    hello and Good evening.. i have tabular form with 1 column (m_opt) and 5 rows.. i am fetching values from table and filling the m_opt column.. what i want is, when i move mouse (when-mouse-enter) in any record, the CURRENT_VISUAL_ATTRIBUTE of only th

  • Digital Voice Recorders

    Hey everyone. As a freshman college student, I was looking into purchasing a digital voice recorder to record all of my lectures for reference. I haven't been able to find any digital voice recorder that specifically says "Mac compatible". I was wond

  • Trouble with music file

    I'm trying to listen to a music program which they place in an archive. When I click on the "Window" icon it opens to the following window. I've chosen iTunes and Real Player without success. http://i36.tinypic.com/2ptwebn.png After choosing the abov