<?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: tota amount for same hsn codes in smartforms. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/13959627#M2038079</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you tell me which table you have used fetch the cgst ,sgst,igst values&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 06:29:17 GMT</pubDate>
    <dc:creator>Sukumaran_1416</dc:creator>
    <dc:date>2024-12-10T06:29:17Z</dc:date>
    <item>
      <title>tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596681#M24283</link>
      <description>&lt;P&gt;hiii,&lt;/P&gt;
  &lt;P&gt;i need to print the total amount , cgst,igst,sgst, for multiple number of same hsn odes.&lt;/P&gt;
  &lt;P&gt;for example&lt;/P&gt;
  &lt;P&gt;hsn------------- amount----- cgst---- igs----t sgst&lt;/P&gt;
  &lt;P&gt;4016 ----------- 240 ---------10- -- 0------ 10&lt;/P&gt;
  &lt;P&gt;565------------ -450-------------- 6------ 0------- 6&lt;/P&gt;
  &lt;P&gt;4016------------478------------- 10----- 0------ 10&lt;/P&gt;
  &lt;P&gt;in this i have to add the total amount for same hsn i.e., 4016 = 240+478&lt;/P&gt;
  &lt;P&gt; 565 = 450.&lt;/P&gt;
  &lt;P&gt;i written code as&lt;/P&gt;
  &lt;P&gt; &lt;BR /&gt; LOOP AT gt_item INTO ls_item.&lt;BR /&gt; ls_item2-hsn = ls_item-hsn.&lt;BR /&gt; ls_item2-tax_val = ls_item-tax_val.&lt;BR /&gt; APPEND ls_item2 TO lt_item2.&lt;BR /&gt; clear ls_item2.&lt;BR /&gt; ENDLOOP.&lt;BR /&gt; move lt_item2 to t_final.&lt;BR /&gt; DELETE ADJACENT DUPLICATES FROM lt_item2 COMPARING hsn .&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; LOOP AT lt_item2 INTO ls_item2.&lt;BR /&gt; LOOP AT t_final INTO ls_final WHERE hsn = ls_item2-hsn .&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; v_tax = v_tax + ls_final-tax_val.&lt;BR /&gt; &lt;BR /&gt; ENDLOOP.&lt;BR /&gt; ls_item2-hsn = ls_final-hsn.&lt;BR /&gt; ls_final-tax_val = v_tax.&lt;BR /&gt; ENDLOOP........but its not working.&lt;/P&gt;
  &lt;P&gt;can any one suggest the code for this ..........please its very urgent.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596681#M24283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-26T07:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596682#M24284</link>
      <description>&lt;P&gt;Use COLLECT statement.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596682#M24284</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-03-26T07:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596683#M24285</link>
      <description>&lt;P&gt;could u plz xplain me clearly&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596683#M24285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-26T07:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596684#M24286</link>
      <description>&lt;P&gt;Hi Karuna, &lt;/P&gt;
  &lt;P&gt;Use collect statement as shown below which summaries the internal table value based on HSN CODE. Check &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abapcollect.htm"&gt; link &lt;/A&gt;here for reference.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;LOOP AT gt_item INTO ls_item.&lt;BR /&gt;ls_item2-hsn = ls_item-hsn.&lt;BR /&gt;ls_item2-tax_val = ls_item-tax_val.    "amount&lt;BR /&gt;ls_item2-CGST = ls_item-CGST.    "CGST amount&lt;BR /&gt;ls_item2-IGST = ls_item-IGST.    "IGST amount&lt;BR /&gt;ls_item2-SGST = ls_item-SGST.    "SGST amount&lt;BR /&gt;COLLECT ls_item2 INTO lt_item2.&lt;BR /&gt;clear ls_item2.&lt;BR /&gt;ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Mar 2018 08:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596684#M24286</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-03-26T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596685#M24287</link>
      <description>&lt;P&gt;thank you so much yaaar...&lt;/P&gt;
  &lt;P&gt; i need one more help.........&lt;/P&gt;
  &lt;P&gt;here i have to list the hsn code details with corresponding total CGST SGST IGST in HSN summary at the footer of the main window in smartforms .&lt;/P&gt;
  &lt;P&gt;but here , i am getting the the last hsn code details only ...but i want to list all the hsn codes incuded in it. how to overcome this..&lt;/P&gt;
  &lt;P&gt; thanks &amp;amp; regards..&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 09:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596685#M24287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-26T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596686#M24288</link>
      <description>&lt;P&gt;iHi Karuna&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;"but here , i am getting the the last hsn code details only ...but i want to list all the hsn codes incuded in it. how to overcome this..&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;While mentioning the issue, show the problematic code also, which help to suggest somehow better. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;"here i have to list the hsn code details with corresponding total CGST SGST IGST in HSN summary at the footer of the main window in smartforms &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;If Total required in footer, did you try to add the value inside the loop like below. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;LOOP AT gt_item INTO ls_item.&lt;BR /&gt;....
l_sgst_tot = l_sgst_tot + ls_item-SGST.    "SGST Total amount
l_cgst_tot = l_cgst_tot + ls_item-CGST.    "CGST Total amount
l_igst_tot = l_igst_tot + ls_item-IGST.    "IGST Total amount&lt;BR /&gt;ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Mar 2018 05:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596686#M24288</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-03-27T05:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596687#M24289</link>
      <description>&lt;P&gt;hi sir,&lt;/P&gt;
  &lt;P&gt; here i want to display the totals for each hsn code&lt;/P&gt;
  &lt;P&gt;example : in footer window i want to display like below:&lt;/P&gt;
  &lt;P&gt; HSN-SUMMARY&lt;/P&gt;
  &lt;P&gt; hsn------------- amount----- cgst---- igs----t sgst&lt;/P&gt;
  &lt;P&gt; 4016 ----------- 718 ---------20- -- 0------ 20&lt;/P&gt;
  &lt;P&gt; 565------------ -450-------------- 6------ 0------- 6&lt;/P&gt;
  &lt;P&gt; :&lt;/P&gt;
  &lt;P&gt; :&lt;/P&gt;
  &lt;P&gt; :&lt;/P&gt;
  &lt;P&gt; if there is increase in line items i have to show them tooo in the footer window&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 12:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/596687#M24289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-27T12:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: tota amount for same hsn codes in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/13959627#M2038079</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you tell me which table you have used fetch the cgst ,sgst,igst values&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 06:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tota-amount-for-same-hsn-codes-in-smartforms/m-p/13959627#M2038079</guid>
      <dc:creator>Sukumaran_1416</dc:creator>
      <dc:date>2024-12-10T06:29:17Z</dc:date>
    </item>
  </channel>
</rss>

