<?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: problem in processing internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125034#M1511628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umadave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there is another field need to consider in the internal table. Forgot to say you about that.&lt;/P&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Material Desc*                                                            *value*                                             IC_desc
SUPPL. CONCENTRATION                                                                                CONTENT
POT. TITR. NITRITE TITRATION                                                                                CONTENT
TAMPED VOLUME METHOD DIN                                                                                ACTIVE SUBSTANCE
VISUAL TEST                                                            Inspect value                                APPEARANCE
LIQUID CHROMATOGRAPHY                                                                                REACTIVE DYE CONTENT
SOLUBILITY TEST 60/30 °C                                                                                SOLUBILITY TEST FILTER METHOD
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash                                          STAINING CO
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash                                          STAINING PA
LIQUID CHROMATOGRAPHY                                                       22c                                             CONTENT
LIQUID CHROMATOGRAPHY                                                                                SUM OF ZONE 2,3
VISUAL TEST                                                            inspect value                                  COLOR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it has to display.&lt;/P&gt;&lt;P&gt;Material desc&lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;ic_desc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:1(material desc 2VISUAL TEST/  2 values inspect value are same. hence appearce and color displyd below i)&lt;/P&gt;&lt;P&gt;visual test&lt;/P&gt;&lt;P&gt;inspect value&lt;/P&gt;&lt;P&gt;appearence&lt;/P&gt;&lt;P&gt;color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example2: (material desc 3 LIQUID CHROMATOGRAPHY/  2 values space and 1 value 22c / ic_desc are different for all)&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY&lt;/P&gt;&lt;P&gt;"2spaces"&lt;/P&gt;&lt;P&gt;SUM OF ZONE 2,3&lt;/P&gt;&lt;P&gt;REACITVE DYE CONTENT&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY&lt;/P&gt;&lt;P&gt;22c&lt;/P&gt;&lt;P&gt;content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me with your valuable suggestins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 12:06:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-02T12:06:10Z</dc:date>
    <item>
      <title>problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125032#M1511626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  have an internal table populated with following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_final:has following two fields Material Desc and value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Material Desc*                                                            *value*         
SUPPL. CONCENTRATION
POT. TITR. NITRITE TITRATION
TAMPED VOLUME METHOD DIN
VISUAL TEST                                                            Inspect value
LIQUID CHROMATOGRAPHY       
SOLUBILITY TEST 60/30 °C
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash
LIQUID CHROMATOGRAPHY                                                       22c
LIQUID CHROMATOGRAPHY             
VISUAL TEST                                                            inspect value        
TRANSMISSION MEASUREMENT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im printing this in smartform.&lt;/P&gt;&lt;P&gt;Requirement to print:&lt;/P&gt;&lt;P&gt;Material desc   down &lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;If the "material desc" &amp;amp; "value" are same then it has to print only one material descripton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;Visual test&lt;/P&gt;&lt;P&gt;inspect value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, if you see the internal table, there are 3 records with LIQUID CHROMATOGRAPHY.&lt;/P&gt;&lt;P&gt;For two of them there are no values. and one has the value 22c.&lt;/P&gt;&lt;P&gt;Now it has to display like this.&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY&lt;/P&gt;&lt;P&gt;2Spaces(here it has to print value but as it is having spaces no value would be printed. Thats ok).&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY(again mat desc has to print as it has having different value)&lt;/P&gt;&lt;P&gt;now,22c has to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understood the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me if anyone have clue to achieve the above requriement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your helpful anwer would greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125032#M1511626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T11:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125033#M1511627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I understood the requirement ,&lt;/P&gt;&lt;P&gt;what you need to do is :&lt;/P&gt;&lt;P&gt;Firts sort the internal table on description and value.&lt;/P&gt;&lt;P&gt;Then write &lt;/P&gt;&lt;P&gt;delete ADJACENT DUPLICATES FROM itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hop ethis is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125033#M1511627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T11:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125034#M1511628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umadave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there is another field need to consider in the internal table. Forgot to say you about that.&lt;/P&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Material Desc*                                                            *value*                                             IC_desc
SUPPL. CONCENTRATION                                                                                CONTENT
POT. TITR. NITRITE TITRATION                                                                                CONTENT
TAMPED VOLUME METHOD DIN                                                                                ACTIVE SUBSTANCE
VISUAL TEST                                                            Inspect value                                APPEARANCE
LIQUID CHROMATOGRAPHY                                                                                REACTIVE DYE CONTENT
SOLUBILITY TEST 60/30 °C                                                                                SOLUBILITY TEST FILTER METHOD
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash                                          STAINING CO
WASHING-OFF TEST FOR NOVACRON C DYES                                      wash                                          STAINING PA
LIQUID CHROMATOGRAPHY                                                       22c                                             CONTENT
LIQUID CHROMATOGRAPHY                                                                                SUM OF ZONE 2,3
VISUAL TEST                                                            inspect value                                  COLOR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it has to display.&lt;/P&gt;&lt;P&gt;Material desc&lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;ic_desc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:1(material desc 2VISUAL TEST/  2 values inspect value are same. hence appearce and color displyd below i)&lt;/P&gt;&lt;P&gt;visual test&lt;/P&gt;&lt;P&gt;inspect value&lt;/P&gt;&lt;P&gt;appearence&lt;/P&gt;&lt;P&gt;color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example2: (material desc 3 LIQUID CHROMATOGRAPHY/  2 values space and 1 value 22c / ic_desc are different for all)&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY&lt;/P&gt;&lt;P&gt;"2spaces"&lt;/P&gt;&lt;P&gt;SUM OF ZONE 2,3&lt;/P&gt;&lt;P&gt;REACITVE DYE CONTENT&lt;/P&gt;&lt;P&gt;LIQUID CHROMATOGRAPHY&lt;/P&gt;&lt;P&gt;22c&lt;/P&gt;&lt;P&gt;content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me with your valuable suggestins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 12:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125034#M1511628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T12:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125035#M1511629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;Just try using the following statement:&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM itab COMPARING field1 field2 field3. &lt;/P&gt;&lt;P&gt;As a result any duplicate entries based on the fields will be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 12:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125035#M1511629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T12:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125036#M1511630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Delete adjacent duplicates could easily remove the wrong row....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;delete gt_final where.....  "is blank or is initial or whatever matches your criteria.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 13:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125036#M1511630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T13:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125037#M1511631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table doesnt contain any duplicate entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, no use of "Delete adjacent" i hop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just I need to process it in the user desired format.(as mentioned in prev message)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls guide me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 11:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125037#M1511631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-06T11:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem in processing internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125038#M1511632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to send in table format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like  ====&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;b&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;c&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;HR originaltext="------------" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;b&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;c&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;HR originaltext="------------" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;b&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;c&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 16:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-processing-internal-table/m-p/7125038#M1511632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-06T16:22:02Z</dc:date>
    </item>
  </channel>
</rss>

