<?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: Bapi for FB50 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525982#M572230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry , i have to use that bapi only BAPI_ACC_DOCUMENT_POST, bcoz iam posting city and state also , could u give me some code for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jul 2007 09:26:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-14T09:26:49Z</dc:date>
    <item>
      <title>Bapi for FB50</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525979#M572227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , i am using  Bapi  BAPI_ACC_DOCUMENT_POST for Fb50 but i am getting error  , the error is For object RF_BELEG 110, number range interval J4 does not exist FBN1, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the following code ,is there any thing additioally i ahve to pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw_documentheader-comp_code = gw_main-bukrs.  &lt;/P&gt;&lt;P&gt;  gw_documentheader-doc_date  = gw_main-budat.&lt;/P&gt;&lt;P&gt;  gw_documentheader-pstng_date = gw_main-budat.&lt;/P&gt;&lt;P&gt;  gw_documentheader-doc_type = c_blart.&lt;/P&gt;&lt;P&gt;  gw_documentheader-username = sy-uname.&lt;/P&gt;&lt;P&gt;  gw_documentheader-bus_act = c_busact.&lt;/P&gt;&lt;P&gt;  gw_documentheader-header_txt = gw_main-bktxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gw_customercpd-region = gw_main-state.&lt;/P&gt;&lt;P&gt;  gw_customercpd-city   = gw_main-city.&lt;/P&gt;&lt;P&gt;gw_accountgl-itemno_acc = g_item.&lt;/P&gt;&lt;P&gt;  gw_accountgl-vendor_no  = gw_main-lifnr.&lt;/P&gt;&lt;P&gt;  gw_accountgl-costcenter = gw_main-kostl.&lt;/P&gt;&lt;P&gt;  gw_accountgl-gl_account = g_hkont .&lt;/P&gt;&lt;P&gt;  gw_accountgl-alloc_nmbr = gw_main-zuonr.&lt;/P&gt;&lt;P&gt;  gw_accountgl-item_text  = g_item_txt.&lt;/P&gt;&lt;P&gt;  gw_accountgl-comp_code  = gw_main-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF gw_main-shkzg EQ c_dr.&lt;/P&gt;&lt;P&gt;    gw_main-shkzg = c_s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    g_tot_de = g_tot_de + gw_main-dmbtr.&lt;/P&gt;&lt;P&gt;  ELSEIF gw_main-shkzg EQ c_cr .&lt;/P&gt;&lt;P&gt;    gw_main-shkzg = c_h.&lt;/P&gt;&lt;P&gt;    g_tot_cr = g_tot_cr + gw_main-dmbtr.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  gw_accountgl-de_cre_ind = gw_main-shkzg.&lt;/P&gt;&lt;P&gt;  APPEND gw_accountgl TO gt_accountgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gw_currencyamount-itemno_acc =  g_item.&lt;/P&gt;&lt;P&gt;  gw_currencyamount-currency   = c_usd.&lt;/P&gt;&lt;P&gt;  IF gw_main-shkzg EQ c_s.&lt;/P&gt;&lt;P&gt;    gw_currencyamount-amt_doccur = gw_main-dmbtr.&lt;/P&gt;&lt;P&gt;  ELSEIF gw_main-shkzg EQ c_h.&lt;/P&gt;&lt;P&gt;    gw_currencyamount-amt_doccur = gw_main-dmbtr * -1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  APPEND gw_currencyamount TO gt_currencyamount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 08:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525979#M572227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi for FB50</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525980#M572228</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;you can use the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For accounting document: BAPI_ACC_DOCUMENT_POST. &lt;/P&gt;&lt;P&gt;For measurement document: MEASUREM_DOCUM_RFC_SINGLE_001 (this is not a BAPI but an RFC) or search for &lt;STRONG&gt;MEAS&lt;/STRONG&gt;DOC*. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_DOCUMENT_POST is available in 46c. &lt;/P&gt;&lt;P&gt;you can also use 'BAPI_ACC_GL_POSTING_POST instead of BAPI_ACC_DOCUMENT_POST if it is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************&lt;STRONG&gt;please reward points if the information is helfpul to you&lt;/STRONG&gt;****************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 08:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525980#M572228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T08:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi for FB50</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525981#M572229</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 think u can use the bapi &amp;lt;b&amp;gt;'BAPI_ACC_GL_POSTING_POST'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;and i think you can also write a bdc in your own bapi too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 09:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525981#M572229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T09:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi for FB50</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525982#M572230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry , i have to use that bapi only BAPI_ACC_DOCUMENT_POST, bcoz iam posting city and state also , could u give me some code for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 09:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-fb50/m-p/2525982#M572230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T09:26:49Z</dc:date>
    </item>
  </channel>
</rss>

