<?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_ACC_DOCUMENT_POST FOR F-29 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280721#M1531426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in LACC9F20 reads. Means even if I didn't pass values to these parameters, system determines it internally.  Is this same in ECC 6.0 also. The first validation if BKPFF was not there in 4.7 which is new in ECC 5.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*FI Belegnummer als Referenz
  if document_header-obj_type = 'BKPFF'.
    perform append_msg_to_return
            using 'E'              "TYPE
                  'RW'             "ID
                  '628'            "NUMBER
                  'BKPFF'          "MESSAGE_ONE
                  'DOCUMENTHEADER' "MESSAGE_TWO
                  'DOCUMENTHEADER' "PARAMETER
                  1                "ROW
                  'OBJ_TYPE'.      "FIELD
  endif.
  if document_header-obj_type  is initial and
     document_header-obj_key   is initial and
     document_header-obj_sys   is initial and
     document_header-ac_doc_no is initial.
    loop at account_gl where not stat_con  is initial
                          or not ac_doc_no is initial.
      exit.
    endloop.
    if not sy-subrc is initial.
      perform reference_create_prelim
              changing document_header-obj_type
                       document_header-obj_key
                       document_header-obj_sys.

      document_header-bus_act = 'RFBU'.                "note1045412

    endif.
  endif.

form reference_create_prelim
     changing e_awtyp type awtyp
              e_awkey type awkey
              e_awsys type awsys.

  data: log_sys type logsys.

  e_awtyp = 'BKPFF'.
  e_awkey = '$'.
  call function 'OWN_LOGICAL_SYSTEM_GET'
    importing
      own_logical_system             = log_sys
    exceptions
      own_logical_system_not_defined = 1
      others                         = 2.
  if sy-subrc is initial.
    e_awsys = log_sys.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 10:36:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-16T10:36:10Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280705#M1531410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using bapi BAPI_ACC_DOCUMENT_POST its asking OBJECT TYPE AND OBJECT KEY which parameters I have to enter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh Babu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 07:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280705#M1531410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T07:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280706#M1531411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read documentation of BAPI"BAPI_ACC_DOCUMENT_POST".It gives details regarding each and every parameter.Most of the BAPIs are very well documented,so if you go through the documentation,you will get answers of most of  your queries .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 07:41:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280706#M1531411</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2010-09-16T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280707#M1531412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_DOCUMENT_POST can post documents for these business transactions (field BKPF-GLVOR): RFBU, SD00, RMRP &amp;amp; RMWA. As already mentioned the BAPI is well documented you should read it before using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try posting a doc via F-29 &amp;amp; check the BKPF-GLVOR field of the resulting doc &amp;amp; revert back. I'm not able to post a doc via f-29, some config issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280707#M1531412</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-16T08:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280708#M1531413</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 gon through that document but I am getting errors as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;required field obj_type was not tranfered in parameter DOCUMENT HEADER&lt;/P&gt;&lt;P&gt;required field obj_key was not tranfered in parameter DOCUMENT HEADER&lt;/P&gt;&lt;P&gt;required field obj_sys was not tranfered in parameter DOCUMENT HEADER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280708#M1531413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T08:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280709#M1531414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested by Suhas,post a document via F-29 and then go to se11 and check values in fieds AWTYP,AWKEY and AWSYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have gone through the documentation,then you must have read that :The following fields must be filled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   OBJ_TYPE    Sender identification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   OBJ_KEY    Reference number of source document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   OBJ_SYS    Logical system of source document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are required fields in document header.you need to populate these fields with appropriate values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280709#M1531414</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2010-09-16T08:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280710#M1531415</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;Thank you for giving reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried but its giving errors as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR IN DOCUMENT BKPF 9700000003ZSUR2010 SPDLNCLNT800&lt;/P&gt;&lt;P&gt;INCORRECT ENTRY IN FIELD OBJECT_TYPE BKPF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280710#M1531415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280711#M1531416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't be checking BKPF-AWTYP, rather check BKPF-GLVOR as mentioned in my previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280711#M1531416</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-16T09:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280712#M1531417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked based on your guidline only what I did will elabrate to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted 50000 Rs amount in customer account by using tcode f-29 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later I checked bkpf table based on that now I am trying to post through BAPI but its giving error message like this.&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280712#M1531417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280713#M1531418</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 you should use BKPFF as the value to OBJ_TYPE.  This SDN Wiki may be helpful [FI Document Interface|http://wiki.sdn.sap.com/wiki/display/ABAP/Business&lt;EM&gt;Transaction&lt;/EM&gt;Event&lt;EM&gt;-&lt;/EM&gt;RWBAPI01&lt;EM&gt;-&lt;/EM&gt;For&lt;EM&gt;Accounting&lt;/EM&gt;Document+Interface].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280713#M1531418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T09:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280714#M1531419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; I posted 50000 Rs amount in customer account by using tcode f-29 .&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Later I checked bkpf table based on that now I am trying to post through BAPI but its giving error message like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value in the field BKPF-GLVOR for the resulting a/c'ing doc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Vinod: If i read the BAPI documentation, only the a/c'ing docs for the Business Transactions(BKPF-GLVOR) RFBU, RMRP, SD00 &amp;amp; RMWA can be posted. In your Wiki is see that you've passed 'RFBU' to BUS_ACT as well. So setting OBJ_TYPE = 'BKPFF' won't help if business transaction for F-29 is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i'm clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280714#M1531419</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-16T09:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280715#M1531420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for giving reply I tried with BKPFF getting same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280715#M1531420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T09:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280716#M1531421</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;@Suhas : I have created an entry through F-29. Value of BKPF-GLVOR is RFBU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit : Currently my system is ECC 5.0.  As mentioned in the Wiki, when I pass the values of OBJ_KEY system is giving error and not posting the Accounting document.  But if I comment the part of assinging values to OBJ_KEY, OBJ_TYPE, OBJ_SYS, Accounting document is created successfully.&lt;/P&gt;&lt;P&gt;Do you know the reason behind this behaviour ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar on Sep 16, 2010 3:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 09:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280716#M1531421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T09:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280717#M1531422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Me on ECC6.0 &amp;amp; i see that these fields are "must be filled". What does the ECC5.0 documentation state ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 10:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280717#M1531422</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-16T10:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280718#M1531423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation says these fields MUST BE filled.  But the code I have mentioned in WiKi is working correctly in Production(ECC 5) Further, When I pass these values, Bapi returns an error.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier I used the same code with values passed to these fields (with 4.7), It started giving errors after migrating to ECC5.0. As a trial and error method, I tried to call the bapi without these parameters and it worked (still confused how it is working correctly in Production)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 10:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280718#M1531423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T10:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280719#M1531424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never faced this situation. Did you check any underlying config which might be missing in DEV system ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 10:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280719#M1531424</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-16T10:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280720#M1531425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am working on 4.7 version may be due to that its giving error.Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 10:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280720#M1531425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280721#M1531426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in LACC9F20 reads. Means even if I didn't pass values to these parameters, system determines it internally.  Is this same in ECC 6.0 also. The first validation if BKPFF was not there in 4.7 which is new in ECC 5.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*FI Belegnummer als Referenz
  if document_header-obj_type = 'BKPFF'.
    perform append_msg_to_return
            using 'E'              "TYPE
                  'RW'             "ID
                  '628'            "NUMBER
                  'BKPFF'          "MESSAGE_ONE
                  'DOCUMENTHEADER' "MESSAGE_TWO
                  'DOCUMENTHEADER' "PARAMETER
                  1                "ROW
                  'OBJ_TYPE'.      "FIELD
  endif.
  if document_header-obj_type  is initial and
     document_header-obj_key   is initial and
     document_header-obj_sys   is initial and
     document_header-ac_doc_no is initial.
    loop at account_gl where not stat_con  is initial
                          or not ac_doc_no is initial.
      exit.
    endloop.
    if not sy-subrc is initial.
      perform reference_create_prelim
              changing document_header-obj_type
                       document_header-obj_key
                       document_header-obj_sys.

      document_header-bus_act = 'RFBU'.                "note1045412

    endif.
  endif.

form reference_create_prelim
     changing e_awtyp type awtyp
              e_awkey type awkey
              e_awsys type awsys.

  data: log_sys type logsys.

  e_awtyp = 'BKPFF'.
  e_awkey = '$'.
  call function 'OWN_LOGICAL_SYSTEM_GET'
    importing
      own_logical_system             = log_sys
    exceptions
      own_logical_system_not_defined = 1
      others                         = 2.
  if sy-subrc is initial.
    e_awsys = log_sys.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 10:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280721#M1531426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T10:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280722#M1531427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod and Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for giving reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find the solution for this issue still I am getting error like in correct entry in the field obj_type : BKPF .Even I posted manully with f-29 its happening latter I check with bapi BAPI_ACC_DOCUMENT_CHECK  there also I am getting same error.I am not getting why its happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 11:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280722#M1531427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280723#M1531428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod and Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we cahnged version to ECC 6.0 but here I am getting error as "enter a payment currency different to EUR".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sureshbabusure on Sep 20, 2010 9:25 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sureshbabusure on Sep 20, 2010 9:26 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 07:25:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280723#M1531428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T07:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST FOR F-29</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280724#M1531429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try posting with the same data in F-29, are you getting this error message ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 07:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-for-f-29/m-p/7280724#M1531429</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-09-20T07:45:37Z</dc:date>
    </item>
  </channel>
</rss>

