<?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: Save custom fields in BAPI_PR_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794348#M1466435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved problem implementing the ME_BAPI_PR_CUST badi, using the method MAP2I_EXTENSIONIN and putting following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ch_struc = im_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer fields have to be in the append structure CI_EBANDB for the table EBAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 17:33:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-22T17:33:48Z</dc:date>
    <item>
      <title>Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794347#M1466434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two custom fields in EBAN and I want to create one PR by BAPI_PR_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I pass the values in structure EXTENSIONIN but the custom fields don't save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CLEAR: wa_extensionin, wa_mereqitem.
    wa_mereqitem-preq_item = w_preq_item.
    wa_mereqitem-zossd_banfn = w_banfn.
    wa_mereqitem-zossd_bnfpo = w_bnfpo.
    wa_extensionin-structure = 'BAPI_TE_MEREQITEM'.
    wa_extensionin+30(960) = wa_mereqitem.
    APPEND wa_extensionin TO gt_extensionin.

    CLEAR: wa_extensionin, wa_mereqitemx.
    wa_mereqitemx-preq_item = w_preq_item.
    wa_mereqitemx-zossd_banfn = 'X'.
    wa_mereqitemx-zossd_bnfpo = 'X'.
    wa_extensionin-structure = 'BAPI_TE_MEREQITEMX'.
    wa_extensionin+30(960) = wa_mereqitemx.
    APPEND wa_extensionin TO gt_extensionin.

  CALL FUNCTION 'BAPI_PR_CREATE'
    EXPORTING
      prheader    = wa_header
      prheaderx   = wa_headerx
    IMPORTING
      number      = w_number
    TABLES
      return      = gt_return
      pritem      = gt_item
      pritemx     = gt_itemx
      praccount   = gt_account
      praccountx  = gt_accountx
      extensionin = gt_extensionin.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 14:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794347#M1466434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-21T14:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794348#M1466435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved problem implementing the ME_BAPI_PR_CUST badi, using the method MAP2I_EXTENSIONIN and putting following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ch_struc = im_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer fields have to be in the append structure CI_EBANDB for the table EBAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 17:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794348#M1466435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-22T17:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794349#M1466436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;               I did the same thing which you had done inside the BADI, but my BAPI isnt calling the imlplentation extension. Did you encounter the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 03:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794349#M1466436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T03:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794350#M1466437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you add the customers fields into the append structure CI_EBANDB for the table EBAN???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 22:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794350#M1466437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T22:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794351#M1466438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Yes i did add the fields to the table. Now it is going inside the code but still not populating. Do I need to change the below code ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ch_struc = im_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 22:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794351#M1466438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T22:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794352#M1466439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alavaro,&lt;/P&gt;&lt;P&gt;                  To add to that message, I debugged and I could see the custom value getting passed but gets lost somewhere in between. I am wondering where. Should I need to code anywhere else too ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 04:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794352#M1466439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T04:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794353#M1466440</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;I didn't do any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you add the customers field's of type BAPIUPDATE into the append structure BAPI_TE_MEREQITEMX?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 13:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794353#M1466440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T13:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794354#M1466441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup thanks Alavaro..I got it. Some tinkering here and there &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 22:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794354#M1466441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T22:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Save custom fields in BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794355#M1466442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Alvaro Achin,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  *How to implement ME_BAPI_PR_CUST badi, using the method MAP2I_EXTENSIONIN?..Can you please send step by step screen shot to implement this scenario?..we are in ECC 6.0.Your help much appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dinesh. A&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 11:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-custom-fields-in-bapi-pr-create/m-p/6794355#M1466442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T11:45:06Z</dc:date>
    </item>
  </channel>
</rss>

