<?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 Syntax of calling standard program from custom program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138607#M989596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to call a standard program of SAP called RSTXPDFT4 in which I want to pass spool number and file location from my custom program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would any one let me know the syntax of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 16:47:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-16T16:47:27Z</dc:date>
    <item>
      <title>Syntax of calling standard program from custom program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138607#M989596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to call a standard program of SAP called RSTXPDFT4 in which I want to pass spool number and file location from my custom program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would any one let me know the syntax of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 16:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138607#M989596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T16:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax of calling standard program from custom program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138608#M989597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 16:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138608#M989597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax of calling standard program from custom program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138609#M989598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this SAP Demo program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Program accessed 

REPORT report1. 

DATA text TYPE c LENGTH 10. 

SELECTION-SCREEN BEGIN OF SCREEN 1100. 
  SELECT-OPTIONS: selcrit1 FOR text, 
                  selcrit2 FOR text. 
SELECTION-SCREEN END OF SCREEN 1100. 

... 



Calling program 

REPORT report2. 

DATA: text       TYPE c LENGTH 10, 
      rspar_tab  TYPE TABLE OF rsparams, 
      rspar_line LIKE LINE OF rspar_tab, 
      range_tab  LIKE RANGE OF text, 
      range_line LIKE LINE OF range_tab. 

... 

rspar_line-selname = 'SELCRIT1'. 
rspar_line-kind    = 'S'. 
rspar_line-sign    = 'I'. 
rspar_line-option  = 'EQ'. 
rspar_line-low     = 'ABAP'. 
APPEND rspar_line TO rspar_tab. 

range_line-sign   = 'E'. 
range_line-option = 'EQ'. 
range_line-low    = 'H'. 
APPEND range_line TO range_tab. 

range_line-sign   = 'E'. 
range_line-option = 'EQ'. 
range_line-low    = 'K'. 
APPEND range_line TO range_tab. 

SUBMIT report1 USING SELECTION-SCREEN '1100' 
               WITH SELECTION-TABLE rspar_tab 
               WITH selcrit2 BETWEEN 'H' AND 'K' 
               WITH selcrit2 IN range_tab 
               AND RETURN. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 16:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-of-calling-standard-program-from-custom-program/m-p/4138609#M989598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T16:57:32Z</dc:date>
    </item>
  </channel>
</rss>

