<?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: this is script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867551#M672740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Goto tr SE71.
Enter a new screipt name.
Press create.
In the menu bar, there is a menu FORM.
Form --------&amp;gt; Copy from.
Enter the std script from which u want to copy.
THen ur new script will contains all the things preasent in Std one.
Then u can add or do ur modifications here.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2007 08:33:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-27T08:33:10Z</dc:date>
    <item>
      <title>this is script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867549#M672738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have give a case to add a field to standard script.how can i acheive it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867549#M672738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: this is script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867550#M672739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in SE71 give name of standard script and click change.&lt;/P&gt;&lt;P&gt;It will ask you to save the copy of it, give a Z name and save it.&lt;/P&gt;&lt;P&gt;Now do the change in that script ant attach it to the driver program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867550#M672739</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-09-27T08:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: this is script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867551#M672740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Goto tr SE71.
Enter a new screipt name.
Press create.
In the menu bar, there is a menu FORM.
Form --------&amp;gt; Copy from.
Enter the std script from which u want to copy.
THen ur new script will contains all the things preasent in Std one.
Then u can add or do ur modifications here.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867551#M672740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: this is script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867552#M672741</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;Below is the procedure to change a standard SAP script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First step:&lt;/P&gt;&lt;P&gt;COPY std. form to Z-form.&lt;/P&gt;&lt;P&gt;Procedure: SE71 &amp;gt; utilities--&amp;gt; copy form client 000 to a Z-form (say ZF140_ACC_STAT01)and make changes according to your requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second step:&lt;/P&gt;&lt;P&gt;ATTACH Z-form to std. driver program&lt;/P&gt;&lt;P&gt;Procedure:&lt;/P&gt;&lt;P&gt;Go to transaction SPRO and do the following:&lt;/P&gt;&lt;P&gt;-&amp;gt; Financial Accounting&lt;/P&gt;&lt;P&gt;-&amp;gt; Global Settings&lt;/P&gt;&lt;P&gt;-&amp;gt; Correspondence&lt;/P&gt;&lt;P&gt;-&amp;gt; SAP Script based forms&lt;/P&gt;&lt;P&gt;-&amp;gt; Define Form names for correspondence for print.&lt;/P&gt;&lt;P&gt;-&amp;gt; Enter new entry with program name RFKORD10 and form name ZF140_ACC_STAT01. Press SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is solve your complete requirement and even astonish your functional consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward points and close this question if you find this useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867552#M672741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: this is script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867553#M672742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;PAGE&amp;amp;&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;NEXTPAGE&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;BARCODE&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;/ &amp;amp;BARCODE&amp;amp;&lt;/P&gt;&lt;P&gt;In the textelement of sapscript i am calling subroutine GET_BARCODE present in program QCJPERFO and passing PAGE , NEXTPAGE as input parameters and Barcode as changing parameter (output)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT QCJPERFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GET_BARCODE 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;P&gt;DATA: PAGNUM LIKE SY-TABIX, "page number&lt;/P&gt;&lt;P&gt;NEXTPAGE LIKE SY-TABIX. "number of next page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Here in_par is table for input parameters is of type itcsy , so contains name and value as fields.&lt;/P&gt;&lt;P&gt;// 1st record of in_par in_par-name = PAGE in_par-value = the current page number&lt;/P&gt;&lt;P&gt;// (eq. 1 or 2 etc ... )&lt;/P&gt;&lt;P&gt;// 2nd record of in_par in_par-name = NEXTPAGE in_par-value = the Next page //number (eq. if page = 1 then next page = 2 etc ... )&lt;/P&gt;&lt;P&gt;// Here out_par is table for changing parameters ( output ) is of type itcsy .&lt;/P&gt;&lt;P&gt;// since i am passing only one changing parameter it contains only one record&lt;/P&gt;&lt;P&gt;// 1st record of out_par out_par-name = BARCODE out_par-value = ...(some value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY &amp;#145;PAGE&amp;#146;.&lt;/P&gt;&lt;P&gt;// reading the records from in_par where field name is PAGE , so first record is selected from our table&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;PAGNUM = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;// Page number is stored in variable PAGNUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY &amp;#145;NEXTPAGE&amp;#146;.&lt;/P&gt;&lt;P&gt;// reading the records from in_par where field name is NEXTPAGE , so second record is selected from our table&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;NEXTPAGE = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;// Next Page number is stored in variable NEXTPAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_PAR WITH KEY &amp;#145;BARCODE&amp;#146;.&lt;/P&gt;&lt;P&gt;// reading the records from out_par where field name is BARCODE , so first record is selected from our table&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;IF PAGNUM = 1.&lt;/P&gt;&lt;P&gt;OUT_PAR-VALUE = &amp;#145;|&amp;#146;. "First page&lt;/P&gt;&lt;P&gt;// if the variable PAGNUM value is one then i am storing | in OUT_PAR-VALUE ie, BARCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;OUT_PAR-VALUE = &amp;#145;||&amp;#146;. "Next page&lt;/P&gt;&lt;P&gt;// if the variable PAGNUM value is not one then i am storing || in OUT_PAR-VALUE ie, BARCODE&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NEXTPAGE = 0.&lt;/P&gt;&lt;P&gt;// if the variable NEXTPAGE value is Zero then i am storing L in OUT_PAR-VALUE ie, BARCODE&lt;/P&gt;&lt;P&gt;OUT_PAR-VALUE+2 = &amp;#145;L&amp;#146;. "Flag: last page&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// After changing the field value of output table , i am modifying to reflect the changes.&lt;/P&gt;&lt;P&gt;// Now barcode contains the changed value ie, either | or || or L depending on the condition satified &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;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 08:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/this-is-script/m-p/2867553#M672742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-27T08:36:39Z</dc:date>
    </item>
  </channel>
</rss>

