<?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 updating VBAP custom fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688372#M30890</link>
    <description>&lt;P&gt;Which problem are you facing?&lt;BR /&gt;Did you enhance VBAPKOM and VBAPKOMX structures with your custom fields?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Nov 2018 08:56:57 GMT</pubDate>
    <dc:creator>SimoneMilesi</dc:creator>
    <dc:date>2018-11-23T08:56:57Z</dc:date>
    <item>
      <title>Problem updating VBAP custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688371#M30889</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
  &lt;P&gt;I know this is a repeated question but i dont know somehow i am facing the problem in updating the custom fields created in VBAP. Below is the code. Could you please help. Is there any structure i need to update.&lt;/P&gt;
  &lt;P&gt;CONSTANTS : c_struct TYPE char9 VALUE 'BAPE_VBAP',&lt;BR /&gt; c_struct1 TYPE char10 VALUE 'BAPE_VBAPX',&lt;/P&gt;
  &lt;P&gt;ls_item_in-itm_number = &amp;lt;lv_posnr&amp;gt;.&lt;BR /&gt; ls_item_inx-itm_number = &amp;lt;lv_posnr&amp;gt;.&lt;BR /&gt; ls_item_inx-updateflag = 'U'.&lt;BR /&gt; APPEND : ls_item_in TO lt_item_in,&lt;BR /&gt; ls_item_inx TO lt_item_inx.&lt;BR /&gt; CLEAR : ls_item_in,ls_item_inx.&lt;BR /&gt; &lt;BR /&gt; ls_vbap-vbeln = p_vbeln.&lt;BR /&gt; ls_vbap-posnr = &amp;lt;lv_posnr&amp;gt;.&lt;BR /&gt; ls_vbapx-vbeln = p_vbeln.&lt;BR /&gt; ls_vbapx-posnr = &amp;lt;lv_posnr&amp;gt;.&lt;/P&gt;
  &lt;P&gt;and i am moving custom fields also&lt;/P&gt;
  &lt;P&gt;ls_extensionin-structure = c_struct.&lt;BR /&gt; CALL METHOD cl_abap_container_utilities=&amp;gt;fill_container_c&lt;BR /&gt; EXPORTING&lt;BR /&gt; im_value = ls_vbap&lt;BR /&gt; IMPORTING&lt;BR /&gt; ex_container = ls_extensionin-valuepart1.&lt;BR /&gt; APPEND ls_extensionin TO lt_extensionin.&lt;BR /&gt; CLEAR : ls_extensionin,ls_vbap.&lt;BR /&gt; &lt;BR /&gt; ls_extensionin-structure = c_struct1.&lt;BR /&gt; CALL METHOD cl_abap_container_utilities=&amp;gt;fill_container_c&lt;BR /&gt; EXPORTING&lt;BR /&gt; im_value = ls_vbapx&lt;BR /&gt; IMPORTING&lt;BR /&gt; ex_container = ls_extensionin-valuepart1.&lt;BR /&gt; APPEND ls_extensionin TO lt_extensionin.&lt;BR /&gt; CLEAR : ls_extensionin,ls_vbapx.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 05:51:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688371#M30889</guid>
      <dc:creator>former_member594288</dc:creator>
      <dc:date>2018-11-23T05:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem updating VBAP custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688372#M30890</link>
      <description>&lt;P&gt;Which problem are you facing?&lt;BR /&gt;Did you enhance VBAPKOM and VBAPKOMX structures with your custom fields?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 08:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688372#M30890</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2018-11-23T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem updating VBAP custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688373#M30891</link>
      <description>&lt;P&gt;Hi Simone,&lt;/P&gt;&lt;P&gt;I think i found the issue, the custom fields in structures BAPE_VBAPX and VBAPKOMX are not declared with 1. They are taken different lengths. I have changed in both the structures but after that i am getting dumps. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 09:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688373#M30891</guid>
      <dc:creator>former_member594288</dc:creator>
      <dc:date>2018-11-23T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem updating VBAP custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688374#M30892</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;ravi_sdn&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Which dumps? &lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 14:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688374#M30892</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2018-11-23T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem updating VBAP custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688375#M30893</link>
      <description>&lt;P&gt;Dumps got resolved after i maintained it as char01. Thanks for the response.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 05:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-updating-vbap-custom-fields/m-p/688375#M30893</guid>
      <dc:creator>former_member594288</dc:creator>
      <dc:date>2018-11-26T05:00:47Z</dc:date>
    </item>
  </channel>
</rss>

