<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Reg calling Transaction code in Webdynpro ABAP in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465465#M2361990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can you the below code to call a T code from webdynpro ABAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: Call below method to get  host, port and protocol&lt;/P&gt;&lt;P&gt;    cl_http_server=&amp;gt;if_http_server~get_location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2:  &lt;STRONG&gt;concatenate&lt;/STRONG&gt; protocol  '://' host  ':' port  '/sap/bc/gui/sap/its/webgui/?sap-client=&amp;amp;~transaction='your tcode name' into url&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: get the window manager as we are opening t code in external window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA lo_window_manager TYPE REF TO if_wd_window_manager.&lt;/P&gt;&lt;P&gt;  DATA lo_api_component  TYPE REF TO if_wd_component.&lt;/P&gt;&lt;P&gt;  DATA lo_window         TYPE REF TO if_wd_window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lo_api_component  = wd_comp_controller-&amp;gt;wd_get_api( ).&lt;/P&gt;&lt;P&gt;  lo_window_manager = lo_api_component-&amp;gt;get_window_manager( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4: Call the url which we created above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lo_window_manager-&amp;gt;create_external_window(&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       url    = url&lt;/P&gt;&lt;P&gt;     RECEIVING&lt;/P&gt;&lt;P&gt;       window = lo_window ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The T code will be executed using the integrated ITS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vishal kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2010 12:20:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-14T12:20:57Z</dc:date>
    <item>
      <title>Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaq-p/6465461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar Saurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 16:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaq-p/6465461</guid>
      <dc:creator>former_member186491</dc:creator>
      <dc:date>2010-01-13T16:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465462#M2361987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    It can be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Internet Transaction Server (ITS) - The ITS is the interface between the Internet and R/3 which Gives HTML view of each and every SAP tcode....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to display a standard tcode in your webdynpro application you can use ITS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a example here is the URL which can help you to open su01 Tcode..Call this URL using LINK TOACTION or Link to URL UI Elements...in ur webdynpro component...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;url&amp;gt;:portno/sap/bc/gui/sap/its/webgui?~TRANSACTION=SU01" target="test_blank"&gt;http://&amp;lt;url&amp;gt;:portno/sap/bc/gui/sap/its/webgui?~TRANSACTION=SU01&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;url&amp;gt;:portno  = your application server (you can easily find it from your webdynpro application Properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not working you need to do some setting let me know for that ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 18:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465462#M2361987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T18:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465463#M2361988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two ways to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You can create a transaction iview in the portal to call the tcode. When you create a transaction iview, you'll have to provide the tcode which you want to call, then n URL will be created for that transaction iview. Use this URL with the link to url UI element in your component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Refer the reply of Raju in this thread: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8230919"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 04:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465463#M2361988</guid>
      <dc:creator>arjun_thakur</dc:creator>
      <dc:date>2010-01-14T04:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465464#M2361989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;u  can not  call tcode directly from Web Dynpro Application&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As correctly pointed ,u need to create iview in the portal to call the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 04:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465464#M2361989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-14T04:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465465#M2361990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can you the below code to call a T code from webdynpro ABAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: Call below method to get  host, port and protocol&lt;/P&gt;&lt;P&gt;    cl_http_server=&amp;gt;if_http_server~get_location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2:  &lt;STRONG&gt;concatenate&lt;/STRONG&gt; protocol  '://' host  ':' port  '/sap/bc/gui/sap/its/webgui/?sap-client=&amp;amp;~transaction='your tcode name' into url&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: get the window manager as we are opening t code in external window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA lo_window_manager TYPE REF TO if_wd_window_manager.&lt;/P&gt;&lt;P&gt;  DATA lo_api_component  TYPE REF TO if_wd_component.&lt;/P&gt;&lt;P&gt;  DATA lo_window         TYPE REF TO if_wd_window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lo_api_component  = wd_comp_controller-&amp;gt;wd_get_api( ).&lt;/P&gt;&lt;P&gt;  lo_window_manager = lo_api_component-&amp;gt;get_window_manager( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4: Call the url which we created above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lo_window_manager-&amp;gt;create_external_window(&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       url    = url&lt;/P&gt;&lt;P&gt;     RECEIVING&lt;/P&gt;&lt;P&gt;       window = lo_window ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The T code will be executed using the integrated ITS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vishal kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 12:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465465#M2361990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-14T12:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465466#M2361991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe simply concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/sap/bc/gui/sap/its/webgui?~TRANSACTION=&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your TCODE and use this string as a &lt;STRONG&gt;relative URL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the transaction you want to open is on the same WebAS where the WD App si running, this works greatly and allow you to avoid hard coding hostname/port or doing some other scripting to intercept them (you just use the same host/port which your WD App is using).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing worth mentioning is you need to enable basic SSO in RZ10 (accept sso tickets) in order to avoid double logon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 08:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465466#M2361991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T08:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465467#M2361992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The most easy Way is here:&lt;/P&gt;&lt;P&gt;1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output&lt;/P&gt;&lt;P&gt;Copy its HTTP link, Suppose we get the below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://r3d01web1.kmd.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&amp;amp;sap-language=EN"&gt;http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&amp;amp;sap-language=EN&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Now replace some part of the above link ( &lt;A href="http://webdynpro/sap/z_dynamic_view?sap-client=002&amp;amp;sap-language=EN"&gt;webdynpro/sap/z_dynamic_view?sap-client=002&amp;amp;sap-language=EN&lt;/A&gt; )&amp;nbsp; with the new link part ( &lt;A href="http://gui/sap/its/webgui?~transaction=PA30"&gt;gui/sap/its/webgui?~transaction=PA30&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;So that the newly generated link is such that the below one: &lt;/P&gt;&lt;P&gt;&lt;A href="http://r3d01web1.kmd.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30"&gt;http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note in place of PA30 you can put any of your desired tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element &lt;/P&gt;&lt;P&gt;and in its property REFERENCE just past the http link ( &lt;A href="http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30"&gt;http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Activate and test your webdynpro Application. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1353/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 05:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465467#M2361992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T05:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465468#M2361993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it required to have SAP GUI installed to make 'webgui/~transaction=XXX' work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;ismail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 11:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465468#M2361993</guid>
      <dc:creator>former_member211591</dc:creator>
      <dc:date>2013-04-15T11:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465469#M2361994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;We are calling a transaction through webdynpro using this URL which you mentioned in your comment.&lt;/P&gt;&lt;P&gt;we have passed the parameters to skip initial screen.&lt;/P&gt;&lt;P&gt;This was working fine before upgrade. Now we have upgraded system ehp7. here in new system, the same transaction is getting opened up with selection screen and prepopulated fields which we are passing from the webdynpro.&amp;nbsp; What could have changed or do we need to do some settings to skip initial screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 04:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465469#M2361994</guid>
      <dc:creator>ssharma28</dc:creator>
      <dc:date>2014-10-31T04:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reg calling Transaction code in Webdynpro ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465470#M2361995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is solved using OKCODE ONLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2014 19:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reg-calling-transaction-code-in-webdynpro-abap/qaa-p/6465470#M2361995</guid>
      <dc:creator>ssharma28</dc:creator>
      <dc:date>2014-11-01T19:51:36Z</dc:date>
    </item>
  </channel>
</rss>

