<?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: SAP SCRIPT - passing table to main window layout editor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407185#M1843174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="268604" data-username="abhijeet.deshpande" href="https://answers.sap.com/people/abhijeet.deshpande"&gt;abhijeet deshpande&lt;/A&gt;&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;to use variables in ur SAP-Script layout-editor the variables have to be defined global in your Formular-Programm. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;In your &lt;SPAN class="j-post-author"&gt;layout-editor you can just access to flat data structures. To print a table you have to perform the "write-Form-Routine" for each line - like &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1098" data-externalid="" data-presence="null" data-userid="205373" data-username="mukhtar.mohammed" href="https://answers.sap.com/people/mukhtar.mohammed"&gt;Always Learner&lt;/A&gt;&amp;nbsp; &lt;/STRONG&gt;already wrote.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;Therefore you normaly define two entry points in your Main window. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;1. for the headline-printing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;2. for the line-Printing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;Stefan Seeburger&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 09:32:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-06-23T09:32:50Z</dc:date>
    <item>
      <title>SAP SCRIPT - passing table to main window layout editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407183#M1843172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on QM notification SAP Script have copied standard script and driver program to custom script and driver program. done almost all changes but stuck at one point. see below I have to print batch characteristics on to the form in below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/481608" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found out a FM which will give me characteristics values . now I have included the code to get the values in driver program .I am using a text element NOTIF_DETAIL already available in script to print the above table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/481616" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in same block of driver program WRITE_FROM I am calling FM . but I am not able to access the table in layout editorr. I am new to script and I am sure I am doing something wrong may be this is not the way to pass values to script from form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to access output table of FM to access into layout editor so I can print values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 09:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407183#M1843172</guid>
      <dc:creator>former_member227140</dc:creator>
      <dc:date>2014-06-23T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAP SCRIPT - passing table to main window layout editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407184#M1843173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop output table of FM and call write_form in loop end loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;loop GT_CHAR_BATCH into WA_CHAR_BATCH.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;call function write_form&lt;/P&gt;
&lt;P&gt;Endloop.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 09:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407184#M1843173</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2014-06-23T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP SCRIPT - passing table to main window layout editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407185#M1843174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="268604" data-username="abhijeet.deshpande" href="https://answers.sap.com/people/abhijeet.deshpande"&gt;abhijeet deshpande&lt;/A&gt;&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;to use variables in ur SAP-Script layout-editor the variables have to be defined global in your Formular-Programm. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;In your &lt;SPAN class="j-post-author"&gt;layout-editor you can just access to flat data structures. To print a table you have to perform the "write-Form-Routine" for each line - like &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1098" data-externalid="" data-presence="null" data-userid="205373" data-username="mukhtar.mohammed" href="https://answers.sap.com/people/mukhtar.mohammed"&gt;Always Learner&lt;/A&gt;&amp;nbsp; &lt;/STRONG&gt;already wrote.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;Therefore you normaly define two entry points in your Main window. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;1. for the headline-printing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;2. for the line-Printing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="j-post-author"&gt;Stefan Seeburger&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 09:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-passing-table-to-main-window-layout-editor/m-p/10407185#M1843174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-23T09:32:50Z</dc:date>
    </item>
  </channel>
</rss>

