Skip to Content
author's profile photo Former Member
Former Member

Can I create a webdynpro based on SAP transaction?

Hi,

I wonder if I can create/generate a web dynpro (to be called from EP) based on a standard SAP transaction (i.e. sm04).

Is that possible?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2008 at 08:33 AM

    Hi, well Iframe is just like Iframe in HTML world. So you could run any url on it.

    In SAP there is lot's of functions to generate data to url. You could example submit some alv report into memory and then convert it to html page using very standard functions. Then just show that in your web dynpro iframe...

    You could also run web dynpro aplication inside of iframe/s. Well that could be done also via component usage but if you need another instance then this is possible.

    I have not found any documentation, just testing, debugging and imagination needed 😊

    KK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2008 at 09:09 AM

    Hi,

    If your application is called from EP. Maybe iview is easy way to embed SAP transaction.

    Best regards

    Su

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2008 at 08:35 AM

    Yes it is possible. Just add iframe into your abap wd. Then activate your webgui. Add transaction url into iframe context. If you want to past parameters to that calling transaction you have to do some tricks but it can be done also.

    KK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2008 at 09:24 AM

    First activate webgui. That is old SAP interface via web browser to SAP gui. It works quite fine and also taylor made transactions works fine.

    Here is some info to activate it (im not sure if there is all needed but please search using google):

    http://itknowledgeexchange.techtarget.com/itanswers/web-enabling-sap-gui-in-sap-was-640/

    Then create your Abap wd. Put Iframe component to your view. Create one variable into view context type string. Bind context to iframe.

    Then in your aplication bind web gui url (every SAP transaction have own url) into that context. Works fine. You could show any html page in Abap web dynpro using iframe. You could show example adobe pdf files without any Java ADS using that iframe etc. etc.

    KK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2008 at 11:55 AM

    DATA LV_URL LIKE LS_CONTEXT-LCX_VOICE_URL.

    LV_URL = 'http://www.sap.com".

    LO_EL_CONTEXT = WD_CONTEXT->GET_ELEMENT( ).

    LO_EL_CONTEXT->SET_ATTRIBUTE(

    EXPORTING

    NAME = `LCX_URL`

    VALUE = LV_URL ).

    bind iframe url to LCX_URL.

    Now sap.com appears to your wd 😊

    This way you could also add voice to your wd. Just create simple html page via notepad where voice jav script exist and then put it into mime and use it via iframe and you wd speak! :=)

    KK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2009 at 07:13 PM

    Thanks all for your help.

    Add a comment
    10|10000 characters needed characters exceeded

    • Just take into account that with kanki's suggestion you're actually not using Web Dynpro at all but as a bridge to ITS / webgui. And what's more, IFrame UI elements are deprecated, they're intended to show simple, static HTML pages mainly. So instead of that, you could just access the transaction over Webgui directly and avoid complications.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.