<?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: Posting data to BAPI. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290000#M787182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the data in a table parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_ACC_MANUAL_ALLOC_POST'&lt;/P&gt;&lt;P&gt;&amp;gt;      EXPORTING&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_header      = doc_header&lt;/P&gt;&lt;P&gt;&amp;gt;              ignore_warnings = ' '&lt;/P&gt;&lt;P&gt;&amp;gt;      IMPORTING&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_no          = doc_no&lt;/P&gt;&lt;P&gt;&amp;gt;       TABLES&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_items       = doc_items&lt;/P&gt;&lt;P&gt;&amp;gt;              return          = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to map your cobk/coep internal table to the format/structure required by the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for Function Modules with name like MAP2E* or MAP2I* (reverse) in the function group of the BAPI function module (like MAP2E_COBK_TO_BAPIDOCHDRR) to help you convert the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at sap online help [Converting Between Int. and Ext. Data Formats and Structures|http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9594ac011d1894e0000e829fbbd/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 14:09:03 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2008-01-11T14:09:03Z</dc:date>
    <item>
      <title>Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289996#M787178</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;Please help me in solving the following task:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;database tables to be used: COBK, COEP &amp;amp; two custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have populated data into one internal table &amp;amp; then this needs to be processed using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_MANUAL_ALLOC_CHECK. &amp;amp; SEND a mail to some mailing addresses &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I acan process this internal table using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_MANUAL_ALLOC_POST, If errors are there i have to generate the error log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THank YOU &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289996#M787178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289997#M787179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use standard sap tools to display protocol from table parameter RETURN structure BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at [Thread: Increase size of the standard information window/get mesages in long text|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="592234"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289997#M787179</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-01-11T12:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289998#M787180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!! &lt;/P&gt;&lt;P&gt;Its not clear to me.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to pass data to bapi???&lt;/P&gt;&lt;P&gt;suppose i have to pass ainternal table to a bapi...how to do it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u &lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289998#M787180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289999#M787181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to pass an internal table to a BAPI,then you will have to do it by passing the table to the TABLES in the BAPI.&lt;/P&gt;&lt;P&gt;You can also pass it to the export parameters in the BAPI after calling the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While passing the internal tables to the BAPI,you must check if the parametrs of the BAPI and the internal table are of the same structure or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in the BAPI ,BAPI_ACC_MANUAL_ALLOC_POST&lt;/P&gt;&lt;P&gt;for DOC_HEADER the structure is BAPIDOCHDRU12P&lt;/P&gt;&lt;P&gt;for DOC_NO the structure is BAPIDOCHDRU12P.&lt;/P&gt;&lt;P&gt;So you will have to create the internal tables with the same structure or else there will be a mismatch in the types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kashyap Ivaturi on Jan 11, 2008 2:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3289999#M787181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290000#M787182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the data in a table parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_ACC_MANUAL_ALLOC_POST'&lt;/P&gt;&lt;P&gt;&amp;gt;      EXPORTING&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_header      = doc_header&lt;/P&gt;&lt;P&gt;&amp;gt;              ignore_warnings = ' '&lt;/P&gt;&lt;P&gt;&amp;gt;      IMPORTING&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_no          = doc_no&lt;/P&gt;&lt;P&gt;&amp;gt;       TABLES&lt;/P&gt;&lt;P&gt;&amp;gt;              doc_items       = doc_items&lt;/P&gt;&lt;P&gt;&amp;gt;              return          = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to map your cobk/coep internal table to the format/structure required by the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for Function Modules with name like MAP2E* or MAP2I* (reverse) in the function group of the BAPI function module (like MAP2E_COBK_TO_BAPIDOCHDRR) to help you convert the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at sap online help [Converting Between Int. and Ext. Data Formats and Structures|http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9594ac011d1894e0000e829fbbd/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 14:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290000#M787182</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-01-11T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290001#M787183</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;Now i have one more Issue........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afer execting the bapi i m getting ....&lt;/P&gt;&lt;P&gt;w&lt;/P&gt;&lt;P&gt;period entry is ignored by the system&lt;/P&gt;&lt;P&gt;e&lt;/P&gt;&lt;P&gt;real estate objects cannot be dtermined by the entries&lt;/P&gt;&lt;P&gt;e&lt;/P&gt;&lt;P&gt;account 7023400 requires an assignment to co object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF these are warnings &amp;amp; errors returned by bapi then what i should do to get 'S' success message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290001#M787183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290002#M787184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please help me to solve this issue soon......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Kumar Singh on Jan 17, 2008 8:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290002#M787184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to BAPI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290003#M787185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you all......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 09:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-data-to-bapi/m-p/3290003#M787185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T09:49:31Z</dc:date>
    </item>
  </channel>
</rss>

