<?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>topic Re: SAPscript: link to existing element in same window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855852#M361883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jörg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry and thank you for trying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No glory gained (:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2007 16:41:45 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2007-01-17T16:41:45Z</dc:date>
    <item>
      <title>SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855847#M361878</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;i'm using standard print programm (SAPM07DR) to print material documents (MIGO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I allready have defined my element &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;/E WE3KOPF&lt;/P&gt;&lt;BR /&gt;and printout is OK.&lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;for other type of material print programm (SAPM07DR) is requesting&lt;BR /&gt;&lt;B&gt;&lt;P&gt;/E WE3KOPF1&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Standard solution would be:&lt;BR /&gt;create &lt;B&gt;&lt;P&gt;/E WE3KOPF1&lt;/P&gt;&lt;/B&gt; and copy/paste text from &lt;B&gt;&lt;P&gt;/E WE3KOPF&lt;/P&gt;&lt;/B&gt; into&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i don't like that, because in case of changings i have to change twice !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i search for a function which allows me to link to &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;/E WE3KOPF&lt;/P&gt;like:&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;/E WE3KOPF&lt;/P&gt;&lt;BR /&gt;K1 &amp;amp;H_STRAS&amp;amp; &lt;BR /&gt;K1 &amp;amp;H_PSTLZ&amp;amp; &amp;amp;H_ORT01&amp;amp; &amp;amp;H_ORT02&amp;amp; &lt;BR /&gt;/*&lt;BR /&gt;&lt;B&gt;&lt;P&gt;/E WE3KOPF1&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:    link to WE3KOPF  &amp;lt;---- ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anybody know about such a function?&lt;/P&gt;&lt;P&gt;(i don't want to change/copy standard print program!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Jörg S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jörg S. (i like it bold)&lt;/P&gt;&lt;P&gt;        Jörg Sauterleute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 16:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855847#M361878</guid>
      <dc:creator>Joerg_S</dc:creator>
      <dc:date>2007-01-16T16:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855848#M361879</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;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the PERFORM STATEMENT in the text element WE3KOPF1..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E WE3KOPF1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPSCRIPT FORM CHANGES&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------" /&gt;&lt;P&gt;/: PERFORM DISPLAY_WE3KOPF1 IN PROGRAM ZREPORT1&lt;/P&gt;&lt;P&gt;............&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report program&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;Create a new report program and have that subroutine here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM DISPLAY_WE3KOPF1 TABLES IN_PAR STUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL THE FUNCTION WRITE_FORM WITH THE TEXT ELEMENT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 16:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855848#M361879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-16T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855849#M361880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jörg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm. You could try to write an external form and let this form trigger the defined element.&lt;/P&gt;&lt;P&gt;At element WE3KOPF1 add the command lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM LINK_ELEMENT IN PROGRAM Z_SAPSCRIPT_FORMS&lt;/P&gt;&lt;P&gt;/: USING 'WE3KOPF1'&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create an external formroutine with a function call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;elem = -value&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an idea - don't know it works. I hope you have minimal experience creating external form for sapscript. If not - it's well-documented at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm"&gt;Calling ABAP Subroutines: PERFORM &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's worth a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 16:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855849#M361880</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-01-16T16:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855850#M361881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see below ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 15:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855850#M361881</guid>
      <dc:creator>Joerg_S</dc:creator>
      <dc:date>2007-01-17T15:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855851#M361882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Function "WRITE_FORM" there is a certain check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+function write_form.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  create type i,&lt;/P&gt;&lt;P&gt;  etype like itcca-tdetype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check co_perform-active &amp;lt;&amp;gt; true.+    &amp;lt;--- !!! (function was left at this point)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subrc = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like SAP avoids your solution ...   &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 15:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855851#M361882</guid>
      <dc:creator>Joerg_S</dc:creator>
      <dc:date>2007-01-17T15:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855852#M361883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jörg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry and thank you for trying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No glory gained (:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 16:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855852#M361883</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-01-17T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript: link to existing element in same window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855853#M361884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Solution found.&lt;/P&gt;&lt;P&gt;Not worth trying any longer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 09:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-link-to-existing-element-in-same-window/m-p/1855853#M361884</guid>
      <dc:creator>Joerg_S</dc:creator>
      <dc:date>2009-11-11T09:01:13Z</dc:date>
    </item>
  </channel>
</rss>

