<?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: creating differeNT spool requests based on sorting USING SMARTFORMS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968859#M69197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mentioned the OPEN_FORM CLOSE_FORM cause I thought you were doing a sapcript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2005 18:08:49 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-09-02T18:08:49Z</dc:date>
    <item>
      <title>creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968858#M69196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I AM PRINITING STATEMENTS USING SMARTFORMS FOR A SERIES OF CUSTOMERS BUT IT HAS TO BE SORTED ACCORDING TO CERTIAN REQS BEFORE GENERATING A SPOOL REQUEST AND PRINTING THEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help folks, I do not know how to proceed from here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain the requirement and the code I have written so far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first lets say that ACCITAB has the records that are printed in the main window of the form. The accitab has the records for all the customers in a sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example.... ACCITAB FOR VARIOUS CUSTOMERS LOOK LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer  Invoice Date  Passed Due&lt;/P&gt;&lt;P&gt;1234      08/25/2005        $1.00&lt;/P&gt;&lt;P&gt;1234      08/26/2005        $1.00&lt;/P&gt;&lt;P&gt;1234      08/27/2005        $1.00&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;5678      08/21/2005        $1.00&lt;/P&gt;&lt;P&gt;5678      08/22/2005        $1.00&lt;/P&gt;&lt;P&gt;5678      08/23/2005        $1.00&lt;/P&gt;&lt;P&gt;5678      08/24/2005        $1.00&lt;/P&gt;&lt;P&gt;5678      08/25/2005        $1.00&lt;/P&gt;&lt;P&gt;5678      08/26/2005        $1.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each customer  at the end I will determine &lt;/P&gt;&lt;P&gt; 'ztotalamount' (from aging report) and 'zcurrenttotal' (by adding all the numbers form the body)&lt;/P&gt;&lt;P&gt;Now if ztotalamount not equal to 'zcurrenttotal'&lt;/P&gt;&lt;P&gt;then the customers belonging to this category has to separated from the block and the statements of these customers should print in one spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS IS THE FIRST IMPORTANT SORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHAT i DID...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ZCURRENTTOTAL = ZTOTALAMOUNT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   ZZSORTFLAG = 'II'. ***CREATED A FLAG&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    ZZSORTFLAG = 'I'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    if zzsortflag = 'I'.&lt;/P&gt;&lt;P&gt;  loop at accitab where accitab-zadvertiser = zzadvertiser AND accitab-zagency = zzbusinesspartner.&lt;/P&gt;&lt;P&gt;    Insert  lines of accitab into table&lt;/P&gt;&lt;P&gt;         final_accitab. *** FINAL_ACCITAB SAME AS ACCITAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now final_accitab has records  for those customers that does not satisfy the condition.&lt;/P&gt;&lt;P&gt;I have to generate separate statements in a single spool request here for these different customers becoz they come under a single category&lt;/P&gt;&lt;P&gt;HOW TO YOU DEVELOP THE CODE HERE???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS FOR YOUR HELP IN THIS REGARD WELL IN ADVANCE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I KNOW RICH MENTIONED THE USE OF 'OPEN_FORM' ...'CLOSE_FORM' FM BUT I DO NOT KNOW HOW TO USE IT HERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VINU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 17:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968858#M69196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968859#M69197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mentioned the OPEN_FORM CLOSE_FORM cause I thought you were doing a sapcript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 18:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968859#M69197</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-02T18:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968860#M69198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only need to cut to number page inside one spool, then you can use the NEW-PAGE command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-006.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-006.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Forcing a page break within table loop &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node. &amp;lt;/i&amp;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;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 18:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968860#M69198</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-02T18:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968861#M69199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this in two different ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do the internal table separation in the print program and call the Smartform twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. OR, the sepeation of internal table logic can be written in the Global Data -&amp;gt; Initialisation tab. Let me explain this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. Using the smarform interface you have to pass all the records in an internal table.&lt;/P&gt;&lt;P&gt;b. Now use your logic to separate the customers. So you will get the customers that do not satisfy the condition in the itab final_accitab and others in say other_customers.&lt;/P&gt;&lt;P&gt;c. Now use the TABLE node to display the items of the normal customers. ie from itab other_customers. Hope this can be continues. If you need page break for each customer then please let me know, I can give you the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. Use the COMMAND node to do an explicit page break after the first TABLE node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e. Now use the TABLE node to display the itab final_accitab to display the customers who does not fall in the normal category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&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>Fri, 02 Sep 2005 18:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968861#M69199</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-02T18:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968862#M69200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your help. I think you can lead me through this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain to you the complete sorting process here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up till now, I run the ABAP print program for a given range of customers, it runs through the loop and the data gets stored in 'accitab' for all the customersin a sequence,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the printing of statements depends ona sorting procedure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If the 'zcurrenttotal' and 'ztotalamount' that is calculated for every customer does not match, these set of customers have to be kicked out into a separate group first.&lt;/P&gt;&lt;P&gt;2. if the customer( invoices)carries a flag called special handling' in his records those group of customers have to be grouped and kicked out second &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both these cases the number of pages or anything else does not matter and they are of highest priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. those customers (invoices) that have a less total balance $10 or less have to be grouped and kicked out next (for this ... I know I have to take 'ztotalamount' to evaluate it...)&lt;/P&gt;&lt;P&gt;4. those customers (invoices) that have zero balance have to be grouped and kicked out separately&lt;/P&gt;&lt;P&gt;5. those customers whose invoice does not exceed more than a single page are next,&lt;/P&gt;&lt;P&gt;6. those customers whose invoice does have 2-5 pages are next,&lt;/P&gt;&lt;P&gt;7. those customers whose invoice does more than 5 pages are the last&lt;/P&gt;&lt;P&gt;From 2 to 7 the totals are matching but have special criteria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the sort order that the statements are to be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working on this process I went ahead  and worked on&lt;/P&gt;&lt;P&gt;looping the data in 'ACCITAB' and reading into a different internal table like  'final_accitab' -it was my starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help as how to go ahead from here,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in this regard...&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;Vinu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 19:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968862#M69200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T19:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968863#M69201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have all the customers in the internal table accitab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us start from here. Now we need to group the customers. For this it would be better to have another field in the itab accitab called group (of type n, length 1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now loop through accitab and for each customer determine in which group he belongs to. But for group 5,6 and 7 you have to find out how many lines can be printed in a page. Using the number of lines you can determine the number of pages. Hope this you can handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So after the above step, for all the customers we have the group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass this to the Smartform using interface parameter TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the Smartform we can display the customer items using the TABLE node. But, I think, you need an explicit page break for each group. This cannot be done inside the TABLE node. So for this purpose we have to use the LOOP node. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a LOOP node. This will loop 7 times. I think you have to have another simple internal table (e.g I_CUSTGRP) with only one field called GROUP and 7 records in that. The value of group is 1 to 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the LOOP node create a TABLE node. Give the internal table accitab here and also give a work area.&lt;/P&gt;&lt;P&gt;In the WHERE condition give the condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GROUP = I_CUSTGRP-GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of this WHERE condition each time only the relevant group is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the TABLE node, inside the LOOP node, create a command node. In it select the 'new page' check box and give a page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the processing will be like this. The LOOP node will loop through the I_CUSTGRP internal table. It will select the group from 1. Then the control will come to the TABLE node. Because of the WHERE condition, only customers with group = 1 will be selected and displayed. After all the customers of group 1 is displayed, the control will come out of the TABLE node. The next node is the COMMAND node. In it we have specified next page. So a page break will happen. Now the control will go back to the LOOP statement and selects the next record. i.e. group 2 and the TABLE node will process customers with group 2. This will go ahead upto group 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this logic will work.&lt;/P&gt;&lt;P&gt;Kindly reward points if the answer is helpful.&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>Fri, 02 Sep 2005 19:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968863#M69201</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-02T19:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968864#M69202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinod, it really helped. I shall award the points and I will start on that and will get back to seek your help in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 19:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968864#M69202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T19:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968865#M69203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had a question here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each type of sorting I can arrive at the conclusion only after populating all the records for a customer into the  itab 'accitab' then checking as to how many pages or zero balance or matching balance can be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I will be able to determine which group it belongs to -  after that how can I update the same itab 'accitab' with the grouping type  &lt;/P&gt;&lt;P&gt;otherwise, Am I  suppose to read the data from 'accitab' into a new itab  say ' final_accitab' with the group field declared in it and assign the grouping type to each customer in the new table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then pass  ' final_accitab' into the smartform and proceed from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggesstions on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 20:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968865#M69203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T20:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968866#M69204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be ok with that logic. The aim is to get the field GROUP filled and pass to the Smartform.&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>Fri, 02 Sep 2005 20:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968866#M69204</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-02T20:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968867#M69205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, &lt;/P&gt;&lt;P&gt; not to forget 'accitab' has data to several lines for each customer.&lt;/P&gt;&lt;P&gt;For example.... ACCITAB FOR VARIOUS CUSTOMERS LOOK LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer Invoice Date Passed Due&lt;/P&gt;&lt;P&gt;1234 08/25/2005 $1.00&lt;/P&gt;&lt;P&gt;1234 08/26/2005 $1.00&lt;/P&gt;&lt;P&gt;1234 08/27/2005 $1.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5678 08/21/2005 $1.00&lt;/P&gt;&lt;P&gt;5678 08/22/2005 $1.00&lt;/P&gt;&lt;P&gt;5678 08/23/2005 $1.00&lt;/P&gt;&lt;P&gt;5678 08/24/2005 $1.00&lt;/P&gt;&lt;P&gt;5678 08/25/2005 $1.00&lt;/P&gt;&lt;P&gt;5678 08/26/2005 $1.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7655 08/24/2005 $5.00&lt;/P&gt;&lt;P&gt;7655 08/25/2005 $7.00&lt;/P&gt;&lt;P&gt;7655 08/27/2005 $2.00&lt;/P&gt;&lt;P&gt;7655 08/27/2005 $1.00&lt;/P&gt;&lt;P&gt;7655 08/28/2005 $1.00&lt;/P&gt;&lt;P&gt;7655 08/30/2005 $1.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suggesstions....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2005 20:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968867#M69205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-02T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968868#M69206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not think you have to check the customers in all the line items. Sort the itab based on customer and take the first line item of that customer, then find out in which group he belongs to and then update all the line items of that customer with the group.&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>Sat, 03 Sep 2005 19:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968868#M69206</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-03T19:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968869#M69207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi how to use NEW-PAGE  commans in smartform  to get different pages for different customers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 10:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968869#M69207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T10:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: creating differeNT spool requests based on sorting USING SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968870#M69208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to add a command node and there check the checkbox to trigger a new page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 10:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-different-spool-requests-based-on-sorting-using-smartforms/m-p/968870#M69208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T10:56:20Z</dc:date>
    </item>
  </channel>
</rss>

