<?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: Read and Modify Structure in Deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478863#M1555989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check following pseudo code .  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;        
*     
 LOOP AT   GVT_LOCAL_MEMORY .      " or READ TABLE
      
        GVT_XVBPA[] = GVT_LOCAL_MEMORY-XVBPA[].
         LOOP AT GVT_XVBPA .
* Modify the XVBPA field ..
                 GVT_XVBPA-field .......        
*Transfer the values to XVBPA internal table
             MODIFY GVT_XVBPA . 
          ENDLOOP.  

*  Transfer the XVBPA internal table to GVT_LOCAL_MEMORY work area
         GVT_LOCAL_MEMORY-XVBPA[] = GVT_XVBPA[]  . 
* Modify the  GVT_LOCAL_MEMORY internal table
        MODIFY  GVT_LOCAL_MEMORY. 
     ENDLOOP.         

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Dec 2010 15:48:12 GMT</pubDate>
    <dc:creator>tushar_shukla</dc:creator>
    <dc:date>2010-12-13T15:48:12Z</dc:date>
    <item>
      <title>Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478859#M1555985</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 ahve a scenario for that i ned to read  and modify  xvbpa  structure in a deep structure gvt_local_memory in &lt;/P&gt;&lt;P&gt;Function module SD_PARTNER_DATA_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one Explain me how to read and modify the structure in deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 12:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478859#M1555985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T12:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478860#M1555986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this code helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data lt_xvbpa type  LV09A_TY_XVBPA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_xvbpa =  GVT_LOCAL_MEMORY-XVBPA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not exactly sure whether this works, otherwise change the data statement into this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_xvbpa type sorted table of VBPAV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Guus Jansen on Dec 13, 2010 2:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 13:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478860#M1555986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T13:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478861#M1555987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose you have to change the field stcd2. Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
field-symbols: &amp;lt;lfs_vbpa&amp;gt; type VBPAV.

loop at GVT_LOCAL_MEMORY.

    loop at GVT_LOCAL_MEMORY-xvbpa
               assigning &amp;lt;lfs_vbpa&amp;gt;.
        &amp;lt;lfs_vbpa&amp;gt;-stcd2 = '00000000000'.
    endloop.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gzervas on Dec 13, 2010 2:54 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 13:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478861#M1555987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478862#M1555988</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;try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE GVT_LOCAL_MEMORY-XVBPA into wa_VBPA.
MODIFY GVT_LOCAL_MEMORY-XVBPA  from WA_VBPA.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: anmol112 on Dec 13, 2010 11:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 14:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478862#M1555988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478863#M1555989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check following pseudo code .  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;        
*     
 LOOP AT   GVT_LOCAL_MEMORY .      " or READ TABLE
      
        GVT_XVBPA[] = GVT_LOCAL_MEMORY-XVBPA[].
         LOOP AT GVT_XVBPA .
* Modify the XVBPA field ..
                 GVT_XVBPA-field .......        
*Transfer the values to XVBPA internal table
             MODIFY GVT_XVBPA . 
          ENDLOOP.  

*  Transfer the XVBPA internal table to GVT_LOCAL_MEMORY work area
         GVT_LOCAL_MEMORY-XVBPA[] = GVT_XVBPA[]  . 
* Modify the  GVT_LOCAL_MEMORY internal table
        MODIFY  GVT_LOCAL_MEMORY. 
     ENDLOOP.         

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 15:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478863#M1555989</guid>
      <dc:creator>tushar_shukla</dc:creator>
      <dc:date>2010-12-13T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478864#M1555990</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;Thank you all,&lt;/P&gt;&lt;P&gt;The Problem is resoilved by using the below code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; GVT_LOCAL_MEMORY-XVBPA[] = FET_XVBPA[].&lt;/P&gt;&lt;P&gt;modified structure as below.&lt;/P&gt;&lt;P&gt;  MODIFY  GVT_LOCAL_MEMORY index 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 08:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478864#M1555990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-14T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Modify Structure in Deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478865#M1555991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to modify a field in structure in me21n.&lt;/P&gt;&lt;P&gt;I found the enhancement name MM06E005. I am using exit EXIT_SAPMM06E_017 to modify the structure i_komp.&lt;/P&gt;&lt;P&gt;In the above exit in tkomv structure it is kbetr field. This field is same as i_komp-netpr.&lt;/P&gt;&lt;P&gt;I am clearing the field.In debugging it is cleared. But while displaying it is not cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot find the problem.&lt;/P&gt;&lt;P&gt;How to modify the field..&lt;/P&gt;&lt;P&gt;Can u please help me in this issue..&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;Jenifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-modify-structure-in-deep-structure/m-p/7478865#M1555991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T11:27:12Z</dc:date>
    </item>
  </channel>
</rss>

