<?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: module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309071#M161106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu can go to list processing from a module pool program using "leave to list processing" statement.&lt;/P&gt;&lt;P&gt;If you want to call a report, then you can use a submit report statement.&lt;/P&gt;&lt;P&gt;To pass the selection screen parameters, you can use&lt;/P&gt;&lt;P&gt;submit &amp;lt;report&amp;gt; with &amp;lt;range1&amp;gt; in &amp;lt;select-option1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;range2&amp;gt; in &amp;lt;select-option2&amp;gt;, etc.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2006 10:23:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-03T10:23:01Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309069#M161104</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;is it possible to call the report program from module pool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to pass the values to the selection screen of report program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309069#M161104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309070#M161105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;u can call the report.&lt;/P&gt;&lt;P&gt;check the SUBMIT variant for passing the values to the selection screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309070#M161105</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-05-03T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309071#M161106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu can go to list processing from a module pool program using "leave to list processing" statement.&lt;/P&gt;&lt;P&gt;If you want to call a report, then you can use a submit report statement.&lt;/P&gt;&lt;P&gt;To pass the selection screen parameters, you can use&lt;/P&gt;&lt;P&gt;submit &amp;lt;report&amp;gt; with &amp;lt;range1&amp;gt; in &amp;lt;select-option1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;range2&amp;gt; in &amp;lt;select-option2&amp;gt;, etc.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309071#M161106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309072#M161107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that. Take a look at this thread, where its discussed in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rm07mlbd&lt;/P&gt;&lt;P&gt;with s_datum in r_datum&lt;/P&gt;&lt;P&gt;WITH s_LGORT in r_LGORT&lt;/P&gt;&lt;P&gt;WITH WERKS = '1000'&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1574400"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : There are quite a few of your threads that are open, please close them if your questions are answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309072#M161107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309073#M161108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible with submit statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this document for Submit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;1. ... LINE-SIZE col &lt;/P&gt;&lt;P&gt;2. ... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;3. ... TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;4. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;5. ... AND RETURN &lt;/P&gt;&lt;P&gt;6. ... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;7. ... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;8. ... Various additions for parameter transfer to rep &lt;/P&gt;&lt;P&gt;9. ... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Calls the report rep . Leaves the active program and starts the new report rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with the line width col . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with lin lines (per page). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5&lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6&lt;/P&gt;&lt;P&gt;... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7&lt;/P&gt;&lt;P&gt;... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN . &lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 9&lt;/P&gt;&lt;P&gt;... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Uses variants of the program prog when executing the program rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Important &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT01&lt;/P&gt;&lt;P&gt;VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;USING SELECTION-SET 'VARIANT1'&lt;/P&gt;&lt;P&gt;USING SELECTION-SETS OF PROGRAM 'REPORT00'&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD_PROGRAM_NOT_FOUND : The specified program was not found. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_TYPE : The specified program is not a report. &lt;/P&gt;&lt;P&gt;SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN . &lt;/P&gt;&lt;P&gt;SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure. &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;Try with this Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: listobject like abaplist occurs 1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;listobject = listobject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ID '61' TYPE 'E' NUMBER '731'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with 'LIST_FROM_MEMORY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309073#M161108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309074#M161109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes it is possible to call a report program from a module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can pass the  values to the selection screen of report program using the statement &amp;lt;b&amp;gt;Submit&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SUBMIT... [VIA SELECTION-SCREEN]&lt;/P&gt;&lt;P&gt;           [USING SELECTION-SET &amp;lt;var&amp;gt;]&lt;/P&gt;&lt;P&gt;           [WITH &amp;lt;sel&amp;gt; &amp;lt;criterion&amp;gt;]&lt;/P&gt;&lt;P&gt;           [WITH FREE SELECTIONS &amp;lt;freesel&amp;gt;]&lt;/P&gt;&lt;P&gt;           [WITH SELECTION-TABLE &amp;lt;rspar&amp;gt;].&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this the option&amp;lt;b&amp;gt; [via selection-screen ]&amp;lt;/b&amp;gt; fulfills your purpose :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;The selection screen of the called executable program (report) appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am giving you the sample code for this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;&amp;lt;b&amp;gt;Report1 :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;REPORT  ZKUN_IMP1                               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : list LIKE TABLE OF abaplist WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF list_asc OCCURS 0,&lt;/P&gt;&lt;P&gt;msg(300) TYPE c,&lt;/P&gt;&lt;P&gt;END OF list_asc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa_c_filename(30) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: r_bukrs FOR vbkpf-bukrs.&lt;/P&gt;&lt;P&gt;RANGES: r_gjahr FOR vbkpf-gjahr.&lt;/P&gt;&lt;P&gt;RANGES: r_belnr FOR vbkpf-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bukrs-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_bukrs-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_bukrs-low = '1000'.&lt;/P&gt;&lt;P&gt;APPEND r_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_gjahr-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_gjahr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_gjahr-low = '2006'.&lt;/P&gt;&lt;P&gt;APPEND r_gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_belnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_belnr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_belnr-low = '0002000001'.&lt;/P&gt;&lt;P&gt;r_belnr-high ='1000000010'.&lt;/P&gt;&lt;P&gt;APPEND r_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT zkun_imp2 via selection-screen&lt;/P&gt;&lt;P&gt;WITH p_bukrs IN r_bukrs&lt;/P&gt;&lt;P&gt;WITH p_gjahr IN r_gjahr&lt;/P&gt;&lt;P&gt;WITH p_belnr IN r_belnr&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listobject = list&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;not_found = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt; LIST_INDEX = -1 "LIST_INDEX SY-LSIND.&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listasci = list_asc&lt;/P&gt;&lt;P&gt;listobject = list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT list_asc.&lt;/P&gt;&lt;P&gt;WRITE : / list_asc.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ****Report2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zkun_imp2                               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES vbkpf.&lt;/P&gt;&lt;P&gt;DATA gt_vbkpf1 TYPE STANDARD TABLE OF vbkpf WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;p_bukrs FOR vbkpf-bukrs,&lt;/P&gt;&lt;P&gt;p_belnr FOR vbkpf-belnr,&lt;/P&gt;&lt;P&gt;p_gjahr FOR vbkpf-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : p_bukrs1 type vbkpf-bukrs,&lt;/P&gt;&lt;P&gt;p_belnr1 type vbkpf-belnr,&lt;/P&gt;&lt;P&gt;p_gjahr1 type vbkpf-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; p_bukrs1 = p_bukrs-low.&lt;/P&gt;&lt;P&gt;p_belnr1 =  p_belnr-low.&lt;/P&gt;&lt;P&gt;p_gjahr1 = p_gjahr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM vbkpf INTO TABLE gt_vbkpf1&lt;/P&gt;&lt;P&gt;WHERE bukrs = p_bukrs1&lt;/P&gt;&lt;P&gt;AND gjahr = p_gjahr1&lt;/P&gt;&lt;P&gt;AND belnr = p_belnr1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT gt_vbkpf1.&lt;/P&gt;&lt;P&gt;  WRITE : / gt_vbkpf1-bukrs.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End of the two reports.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you clear your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309074#M161109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309075#M161110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ponnadi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting currect result i am calling from module pool program can u explain me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/1309075#M161110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:42:39Z</dc:date>
    </item>
  </channel>
</rss>

