Quantcast
Channel: SCN: Message List - Error in SORT END event, calculating wrong TOTAL.
Browsing all 10 articles
Browse latest View live

Error in SORT END event, calculating wrong TOTAL.

Hi EveryOne, I am working on a report showing Party Wise Total in Smartform. I have this issue, as I have used SORT on KUNNR inside loop over Final Table. The proper function is that it shud calculate...

View Article


Re: Error in SORT END event, calculating wrong TOTAL.

Hi, Instead of writing the sort statement inside the loop, in smartforms for a table you have the option to sort and perform calculations. If you go tot the calculations tab in the table you have the...

View Article


Re: Error in SORT END event, calculating wrong TOTAL.

Hi, I have used that sort event on the table itself & for total, I have used variable that will store the value on sort begin & after printing that value, clear the variable's value on sort end.

View Article

Re: Error in SORT END event, calculating wrong TOTAL.

Hi, If that is the case then cant you have a sort statement outside the loop.. So that the table is looped only once .. Inside the loop you can write the logic tosee if the field value changes then...

View Article

Re: Error in SORT END event, calculating wrong TOTAL.

Hi  Try this it may help u out In the Sort event , Example                            Event  On sort  Begin   Event on Sort EndVBELN                                                           XVBELN...

View Article


Re: Error in SORT END event, calculating wrong TOTAL.

Hi Kamal, In your table node / loop node... calculations tab... check the time field for calculating the total Before loopafter loop check by changing these values Hope it helps you regardsPadma

View Article

Re: Error in SORT END event, calculating wrong TOTAL.

Hi All, still facing the same issue.

View Article

Re: Error in SORT END event, calculating wrong TOTAL.

Hi Kamal Inside the loop use AT END function for KUNNR and also use Delete function such that once the valua has been printed on smartform, that custmer get deleted form internal table. Or debug the...

View Article


Re: Error in SORT END event, calculating wrong TOTAL.

Hi All, The issue is resolved. Thank you for all your replies. Edited by: Kamal Sehrawat on Sep 4, 2009 1:49 PM

View Article


Re: Error in SORT END event, calculating wrong TOTAL.

With Loop on my final table in main window , I was also applying a loop over final table for header. This was the mistake, I corrected it & things worked fine.

View Article
Browsing all 10 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>