<?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: check printing....SAP Scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941663#M63304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to put a break point in the subroutine initially before debug the SAPScript. Code 'break-point' or 'break &amp;lt;userid&amp;gt;' just after the FORM statement. Now execute your transaction which calls the SAPScript. So if your subroutine is called, it will stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not working, go ahead with the SAPScript debugging. For this go to SE71 transaction and take the menu Utilities -&amp;gt; Activate Debugger. After this execute your transaction. Now you will get a popup 'SAPScript Form Debugger'. Press the OK button. SAPScript debugging is similar to normal debugging. You can use the 'Single Step' button to execute each line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2005 09:07:13 GMT</pubDate>
    <dc:creator>Vinod_Chandran</dc:creator>
    <dc:date>2005-08-22T09:07:13Z</dc:date>
    <item>
      <title>check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941656#M63297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;/:	 	DEFINE &amp;amp;MYSYMBOL&amp;amp; = &amp;amp;REGUH-VBLNR&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	DEFINE &amp;amp;OUTSYMBOL&amp;amp; = &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;AS	 	&amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	PERFORM EXTRACT IN PROGRAM ZSUBROUTINE1&lt;/P&gt;&lt;P&gt;/:	 	USING &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	USING &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	ENDPERFORM.&lt;/P&gt;&lt;P&gt;AS	 	&amp;amp;OUTSYMBOL&amp;amp;&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;/P&gt;&lt;P&gt;FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;  TABLES : REGUP.&lt;/P&gt;&lt;P&gt;  DATA : BILL_NO LIKE ITCSY-VALUE.&lt;/P&gt;&lt;P&gt;  DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA : WRBTR1(13) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE IN_PAR WITH KEY NAME = 'MYSYMBOL'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  BILL_NO = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB  WHERE&lt;/P&gt;&lt;P&gt;VBLNR = BILL_NO.&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  READ TABLE ITAB INDEX SY-TABIX..&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  MOVE ITAB-WRBTR TO WRBTR1.&lt;/P&gt;&lt;P&gt;  MOVE WRBTR1 TO OUT_PAR-VALUE.&lt;/P&gt;&lt;P&gt;  MODIFY OUT_PAR INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&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;This is what i am using but i cannot see any output on the layout, I suppose the subroutine call is not working.&lt;/P&gt;&lt;P&gt;Could anyone please help me out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 05:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941656#M63297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T05:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941657#M63298</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;Please check the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is your window (where the subroutine is called) is getting called from the print program?&lt;/P&gt;&lt;P&gt;2. Put a break point in the subroutine and execute the print program&lt;/P&gt;&lt;P&gt;3. If the above does not work, activate the SAPScript debugger and check what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 05:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941657#M63298</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-22T05:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941658#M63299</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;/: DEFINE &amp;amp;MYSYMBOL&amp;amp; = &amp;amp;REGUH-VBLNR&amp;amp;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;OUTSYMBOL&amp;amp; = &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;AS &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: PERFORM EXTRACT IN PROGRAM ZSUBROUTINE1&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: &amp;lt;b&amp;gt;CHANGING&amp;lt;/b&amp;gt; &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;AS &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use CHANGING instead of USING...&lt;/P&gt;&lt;P&gt;hope this works..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradhiba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 05:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941658#M63299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T05:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941659#M63300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just set a breakpoint in the perform. You can check if the values are passed correctly. You might want to try yo pass a static value back to the script first in order to test your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941659#M63300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T06:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941660#M63301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try putting quotes&lt;/P&gt;&lt;P&gt;DEFINE &amp;amp;MYSYMBOL&amp;amp; = '&amp;amp;REGUH-VBLNR&amp;amp;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the debugger and see if values are getting passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941660#M63301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T07:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941661#M63302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See i have used the SAP debugger and the printing program is RFFOUS_C and the subroutine is Zsubroutine1 ,i want to debug the subroutine can you please advise how could that is possible.&lt;/P&gt;&lt;P&gt;I can debug the sapscript but not the subroutine used behind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941661#M63302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T08:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941662#M63303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you must use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;/: changing&amp;lt;/b&amp;gt; &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;instead of &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941662#M63303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941663#M63304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to put a break point in the subroutine initially before debug the SAPScript. Code 'break-point' or 'break &amp;lt;userid&amp;gt;' just after the FORM statement. Now execute your transaction which calls the SAPScript. So if your subroutine is called, it will stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not working, go ahead with the SAPScript debugging. For this go to SE71 transaction and take the menu Utilities -&amp;gt; Activate Debugger. After this execute your transaction. Now you will get a popup 'SAPScript Form Debugger'. Press the OK button. SAPScript debugging is similar to normal debugging. You can use the 'Single Step' button to execute each line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941663#M63304</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-22T09:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941664#M63305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SE38 open the program ZSUBROUTINE1 and keep a breakpoint in the corresponding perform loop... in this way you can find out what is being passed to the sapscript..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradhiba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941664#M63305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T09:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941665#M63306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradhiba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obivously i had set breakpoints in Zsubroutine1 program earlier only, when i am running the transaction FBZ5 for check printing after activating the SAPscript dewbugger.&lt;/P&gt;&lt;P&gt;I am routed to SAPscript debugger i cannot go to the subroutine .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me Is my subroutine is correct ? I mean passing of values from SAPscript and using them in subroutine are correct ? I suppose  error is there only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941665#M63306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941666#M63307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One simple question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cannot see the subroutine during the debugging, does that mean that you have not activated the SAPScript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me why you cannot go to the subroutine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941666#M63307</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-22T10:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941667#M63308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ITS ACTIVATED SIR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941667#M63308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941668#M63309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally if you have set a breakpoint in ur program, it should go there if it processes the exit. did u place the breakpoint at the first read statement? in both the read statements use index 1 instead of where.. and also use Changing instead of Using in SE71's perform.&lt;/P&gt;&lt;P&gt;try out..&lt;/P&gt;&lt;P&gt;pradhiba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941668#M63309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T10:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941669#M63310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will first take you to the script debugger and then it will take you to the program. Deactivate the script debugger and then run it it shoudl stop in the program. Put a couple of breakpoints. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941669#M63310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T10:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941670#M63311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should first put a break point in your form. If it is not working then only go for the script debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941670#M63311</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-22T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941671#M63312</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 with this&lt;/P&gt;&lt;P&gt;In the form change like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: DEFINE &amp;amp;MYSYMBOL&amp;amp; = &amp;amp;REGUH-VBLNR&amp;amp;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;OUTSYMBOL&amp;amp; = &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;AS &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: PERFORM EXTRACT IN PROGRAM ZSUBROUTINE1&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTSYMBOL&amp;amp;                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;AS &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;TABLES : REGUP.&lt;/P&gt;&lt;P&gt;DATA : BILL_NO LIKE ITCSY-VALUE.&lt;/P&gt;&lt;P&gt;DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : WRBTR1(13) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY NAME = 'MYSYMBOL'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;BILL_NO = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;VBLNR = BILL_NO.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX SY-TABIX..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_PAR WITH KEY NAME = 'OUTSYMBOL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE ITAB-WRBTR TO WRBTR1.&lt;/P&gt;&lt;P&gt;MOVE WRBTR1 TO OUT_PAR-VALUE.&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any problem first set the break point in the form routine and check whether the sub routine is called or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 12:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941671#M63312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941672#M63313</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 with this&lt;/P&gt;&lt;P&gt;In the form change like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: DEFINE &amp;amp;MYSYMBOL&amp;amp; = &amp;amp;REGUH-VBLNR&amp;amp;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;OUTSYMBOL&amp;amp; = &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;AS &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: PERFORM EXTRACT IN PROGRAM ZSUBROUTINE1&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTSYMBOL&amp;amp;                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;AS &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;TABLES : REGUP.&lt;/P&gt;&lt;P&gt;DATA : BILL_NO LIKE ITCSY-VALUE.&lt;/P&gt;&lt;P&gt;DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : WRBTR1(13) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY NAME = 'MYSYMBOL'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;BILL_NO = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;VBLNR = BILL_NO.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX SY-TABIX..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_PAR WITH KEY NAME = 'OUTSYMBOL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE ITAB-WRBTR TO WRBTR1.&lt;/P&gt;&lt;P&gt;MOVE WRBTR1 TO OUT_PAR-VALUE.&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any problem first set the break point in the form routine and check whether the sub routine is called or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 12:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941672#M63313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T12:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: check printing....SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941673#M63314</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;Check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the form modify like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: DEFINE &amp;amp;MYSYMBOL&amp;amp; = &amp;amp;REGUH-VBLNR&amp;amp;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;OUTSYMBOL&amp;amp; = &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;AS &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;/: PERFORM EXTRACT IN PROGRAM ZSUBROUTINE1&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;MYSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: changing &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;AS &amp;amp;OUTSYMBOL&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;modify &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;TABLES : REGUP.&lt;/P&gt;&lt;P&gt;DATA : BILL_NO LIKE ITCSY-VALUE.&lt;/P&gt;&lt;P&gt;DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : WRBTR1(13) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH KEY NAME = 'MYSYMBOL'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;BILL_NO = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;VBLNR = BILL_NO.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INDEX SY-TABIX..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;*modified&lt;/P&gt;&lt;P&gt;      READ TABLE OUT_PAR WITH KEY NAME = 'OUTSYMBOL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE ITAB-WRBTR TO WRBTR1.&lt;/P&gt;&lt;P&gt;      MOVE WRBTR1 TO OUT_PAR-VALUE.&lt;/P&gt;&lt;P&gt;      MODIFY OUT_PAR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;if the problem continues first set breakpoint in the form routine and check whether the routine is called or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 12:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-printing-sap-scripts/m-p/941673#M63314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T12:17:09Z</dc:date>
    </item>
  </channel>
</rss>

