<?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: Extra space is inserted in custom field in the table using BAPI_PR_CREATE. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372467#M1923039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you added 240-67 space characters in the structure, on old versions try some:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-structure&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'BAPI_TE_MEREQITEM'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-valuepart1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;ls_m_value+0&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;240&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-valuepart2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt; ls_m_value+240&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;240&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SAP will concatenate the valuepart to rebuild the extension structure (using same class reverse method in Unicode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 09:07:40 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2015-10-26T09:07:40Z</dc:date>
    <item>
      <title>Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372463#M1923035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update the custom fields in PR screen using BAPI.&lt;/P&gt;&lt;P&gt;After updating there is extra space in front of the data of each field in eban table&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/817580" /&gt;&lt;/P&gt;&lt;P&gt;ls_ext_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_m_value+0&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;67&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ls_ext_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;structure &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_TE_MEREQITEM'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ls_ext_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2 &lt;SPAN class="L0S55"&gt;=&amp;nbsp; &lt;/SPAN&gt;ls_m_value+67&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;240&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly anyone advise how to avoid this space in front of the custom field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anusha.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 08:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372463#M1923035</guid>
      <dc:creator>former_member569532</dc:creator>
      <dc:date>2015-10-26T08:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372464#M1923036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose &lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;ls_m_value is of TYPE &lt;SPAN class="L0S33"&gt;BAPI_TE_MEREQITEM and ls_ext_in of TYPE BAPIPAREX, so try some :&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-structure&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'BAPI_TE_MEREQITEM'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;cl_abap_container_utilities=&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;fill_container_c&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; im_value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;ls_m_value&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ex_container&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;ls_ext_in+30&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;EM&gt;Question: why do you split at position 67, when VALUEPARTn fields length is 240, in pre-unicode old versions you could split by block of 240.&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 08:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372464#M1923036</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-26T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372465#M1923037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day Anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like your position is not properly defined on&lt;STRONG&gt; ls_ext_in-valuepart2+67(240)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I believe it should have bee defined like this &lt;STRONG&gt;ls_ext_in-valuepart2+0(64)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Start from position 0 put 67 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one you defined read start from position 67 put 240 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tumelo Modise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 08:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372465#M1923037</guid>
      <dc:creator>former_member186660</dc:creator>
      <dc:date>2015-10-26T08:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372466#M1923038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank your for your reply.&lt;/P&gt;&lt;P&gt;There are other custom fields of length 67 infront&amp;nbsp; of the email field.That is reason I offset the email field from 67.&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;Anusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 08:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372466#M1923038</guid>
      <dc:creator>former_member569532</dc:creator>
      <dc:date>2015-10-26T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372467#M1923039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you added 240-67 space characters in the structure, on old versions try some:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-structure&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'BAPI_TE_MEREQITEM'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-valuepart1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;ls_m_value+0&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;240&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ls_ext_in-valuepart2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt; ls_m_value+240&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;240&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SAP will concatenate the valuepart to rebuild the extension structure (using same class reverse method in Unicode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 09:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372467#M1923039</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-26T09:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372468#M1923040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Please advise how to avoid the extra space infront of email field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regads,&lt;/P&gt;&lt;P&gt;anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 09:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372468#M1923040</guid>
      <dc:creator>former_member569532</dc:creator>
      <dc:date>2015-10-26T09:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372469#M1923041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SHIFT &lt;/SPAN&gt;&amp;lt;material&amp;gt;(Fieldname) &lt;SPAN class="L0S52"&gt;LEFT &lt;/SPAN&gt;DELETING &lt;SPAN class="L0S52"&gt;LEADING &lt;/SPAN&gt;space&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Hope it helpful,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Venkat.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372469#M1923041</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2015-10-26T12:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extra space is inserted in custom field in the table using BAPI_PR_CREATE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372470#M1923042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can able to solve the problem by passing the data as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_ext_in&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;structure &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_TE_MEREQITEM'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ls_ext_in+30 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_m_value&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extra-space-is-inserted-in-custom-field-in-the-table-using-bapi-pr-create/m-p/11372470#M1923042</guid>
      <dc:creator>former_member569532</dc:creator>
      <dc:date>2016-02-19T08:39:47Z</dc:date>
    </item>
  </channel>
</rss>

