<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271530#M150472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the sapscript editor, put this piece of code&lt;/P&gt;&lt;P&gt;/:   PERFORM &amp;lt;subroutine&amp;gt; IN PROGRAM &amp;lt;program&amp;gt;&lt;/P&gt;&lt;P&gt;/:           USING &amp;amp;variable name&amp;amp;&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;&lt;/P&gt;&lt;P&gt;In the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form &amp;lt;subroutine&amp;gt; tables ft_invar   structure itcsy&lt;/P&gt;&lt;P&gt;                         ft_outvar  structure itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input (ft_invar) and output (ft_outvar) data can be accessed and modified using these structures. Just two columns are there, one is the name which can contain say VBRK-VBELN and the value column will contain the value say '1000000022'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even use field symbols in case if the the subroutine is withing the calling print program to access and change the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Apr 2006 13:11:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-13T13:11:31Z</dc:date>
    <item>
      <title>sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271529#M150471</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;how can we pass tables in sap script for subroutines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anubhuti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 13:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271529#M150471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T13:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271530#M150472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the sapscript editor, put this piece of code&lt;/P&gt;&lt;P&gt;/:   PERFORM &amp;lt;subroutine&amp;gt; IN PROGRAM &amp;lt;program&amp;gt;&lt;/P&gt;&lt;P&gt;/:           USING &amp;amp;variable name&amp;amp;&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;&lt;/P&gt;&lt;P&gt;In the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form &amp;lt;subroutine&amp;gt; tables ft_invar   structure itcsy&lt;/P&gt;&lt;P&gt;                         ft_outvar  structure itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input (ft_invar) and output (ft_outvar) data can be accessed and modified using these structures. Just two columns are there, one is the name which can contain say VBRK-VBELN and the value column will contain the value say '1000000022'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even use field symbols in case if the the subroutine is withing the calling print program to access and change the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 13:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271530#M150472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271531#M150473</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 cannot pass tables , but you can pass variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/: PERFORM GET_SUM IN PROGRAM ZSUM
/: USING &amp;amp;SUM&amp;amp;
/: ENDPERFORM


REPORT  zget_master         .        
            .
FORM get_sum TABLES in_tab STRUCTURE itcsy out_tab STRUCTURE itcsy.
  CLEAR v_sum.
...
 
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 13:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271531#M150473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T13:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271532#M150474</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;&lt;/P&gt;&lt;P&gt;A sample code of how to use performs in sap scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:PERFORM GET_SBGRP_STEXT IN PROGRAM ZSDSCRIPT&lt;/P&gt;&lt;P&gt;/:USING &amp;amp;GV_MATNR&amp;amp;&lt;/P&gt;&lt;P&gt;/:CHANGING &amp;amp;GV_STEXT&amp;amp;&lt;/P&gt;&lt;P&gt;/:TABLES INPUT_TABLE&lt;/P&gt;&lt;P&gt;/:       OUTPUT_TABLE&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;In program ZSDSCRIPT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_sbgrp_stext tables intab structure itcsy&lt;/P&gt;&lt;P&gt;                            outab structure itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: LV_MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;      LV_TEXT(3) TYPE C VALUE 'ABC'.&lt;/P&gt;&lt;P&gt;  clear intab.                                                   &lt;/P&gt;&lt;P&gt;  read table intab with key name = 'GV_MATNR'.                &lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.                                               &lt;/P&gt;&lt;P&gt;    lv_MATNR = intab-value.                                      &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR OUTTAB.&lt;/P&gt;&lt;P&gt;  READ TABLE OUTAB WITH KEY NAME = 'GV_STEXT'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    OUTAB-VALUE = LV_TEXT.&lt;/P&gt;&lt;P&gt;    modify outab index sy-tabix.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 13:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271532#M150474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271533#M150475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sailaja it solved my problem:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 04:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271533#M150475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T04:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271534#M150476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sailaja&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Iam Kalyanaram, MM Functional Consultant. one of the SDN user, When i was going through a Search for ABAP Query. I saw your Pdf Dcoument, which gives me a reall feel. My congrats to you.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But to be more honest with you, i am zero in Progaming. U have mentioned that Functional consultant can get the reports without doing any ABAP Coding (I am really afraid of coding). Which gives me a real shot in the arm. I am having a MS Acess Query knowledge, there also we used to run match/Select/Append/Update query. More over there is no friends in ABAP Circle. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;We are an Engineerig and Cosntruction industry. Perahaps, i am may badly in need of generating a MM related Reports. I Please request you to help me in this regards. U r having any documents with screen shot for ABAP Query other than this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Also u gave one example in that document. "requirement which needs invoices whose value is greater than 1000 and order reason free of charge" but for other than this PR, RFQ, Price comparison, Maintain quotation, PO, GR, GI, Stock reports. etc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;can u please help me in this regards. I will be really very much thankful to u a lot.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 12:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1271534#M150476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T12:14:38Z</dc:date>
    </item>
  </channel>
</rss>

