<?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_CHECK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207413#M1627020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uhm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never posted document having a different company code between header and item...can you give us the class and number message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 13:29:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-04T13:29:17Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207405#M1627012</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;We need help in one of the BAPI's BAPI_ACC_DOCUMENT_CHECK to post document.&lt;/P&gt;&lt;P&gt;BAPI working successfully if company code at header and item level is same but if items are from different company codes then we received error saying "Required fieldsOBJ_TYPE, OBJ_KEY, OBJ_SYS are blank.".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When searched forums on this, we found these fields are not mandatory however we receive the error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, found many threads on this but didnt get a proper link as to how can we proceed to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help us if any data we entered is incorrect or we are missing with some functional configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 06:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207405#M1627012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T06:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207406#M1627013</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;See SAP Note 306504 - Collective note: BAPIs for the AC interface, about these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 07:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207406#M1627013</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-10-04T07:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207407#M1627014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eduardo. We did checked this note earlier but didnt found helpful to resolve our issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207407#M1627014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T12:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207408#M1627015</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 have different company code between item and header for the same document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207408#M1627015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207409#M1627016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Park,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If  item-company code NE header-company code  then you need to pass profit center in item level this is based on configuration it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_DOCUMENT_CHECK is for to check all the itmes are correct or not .  Not to post the document&lt;/P&gt;&lt;P&gt;Bettter to use BAPI_ACC_DOCUMENT_POST to post the documents .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207409#M1627016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207410#M1627017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207410#M1627017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207411#M1627018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devireddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before posting we check the data and if no errors we pass the same data to FM "BAPI_ACC_DOCUMENT_POST".&lt;/P&gt;&lt;P&gt;We are also entering the Profit Center and Cost Center values for each line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207411#M1627018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207412#M1627019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Import parameter "DOCUMENTHEADER" is mandatory and it has fields AWTYP - Reference Transaction, OBJ_KEY - Reference Key, OBJ_SYS - Logical system of source document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters for the transfer of document header data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following fields must be filled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE    Sender identification&lt;/P&gt;&lt;P&gt;OBJ_KEY    Reference number of the source document&lt;/P&gt;&lt;P&gt;OBJ_SYS    Logical system of the source document&lt;/P&gt;&lt;P&gt;COMP_CODE    Company code&lt;/P&gt;&lt;P&gt;PSTNG_DATE    Posting date&lt;/P&gt;&lt;P&gt;BUS_ACT Business transaction&lt;/P&gt;&lt;P&gt;USERNAME      Document creator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Fill these fields and try again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207412#M1627019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207413#M1627020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uhm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never posted document having a different company code between header and item...can you give us the class and number message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207413#M1627020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207414#M1627021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More thoughts we would like to share, If Header &amp;amp; items are of same Company Code the same BAPI is working good however an &lt;/P&gt;&lt;P&gt;error is encountered for cross Company Codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Class for the errors messages are --&lt;/P&gt;&lt;P&gt;TYPE: E, ID : RW, NUMBER: 602, Message: Required field was not trnasferred DOCUMENTHEADER - OBJ_TYPE &lt;/P&gt;&lt;P&gt; message id : RW, message No. 602 and Message : Required field was not trnasferred DOCUMENTHEADER - OBJ_TYPETYPE: E, ID : RW, NUMBER: 602, Message: Required field was not trnasferred DOCUMENTHEADER - OBJ_TYPE &lt;/P&gt;&lt;P&gt;erroe message, message id : RW, message No. 602 and Message : Required field was not trnasferred DOCUMENTHEADER - OBJ_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gunasekhar - &lt;/P&gt;&lt;P&gt;We are not sure what values we need to provide for OBJ_TYPE Sender identification, OBJ_KEY Reference number of the source document, OBJ_SYS Logical system of the source document.&lt;/P&gt;&lt;P&gt;We tried creating a dummy entry at TTYP but things got worse and received a dump.&lt;/P&gt;&lt;P&gt;Dummy values we entered - &lt;/P&gt;&lt;P&gt;OBJ_TYPE - ZBKKPF&lt;/P&gt;&lt;P&gt;OBJ_KEY - $&lt;/P&gt;&lt;P&gt;OBJ_SYS - QU-NAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 14:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207414#M1627021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T14:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207415#M1627022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 10:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207415#M1627022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-05T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207416#M1627023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to check the routine check_and_fill_acc_document, here you should see the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The routine reference_create_prelim should be called and those fields should be filled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 10:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207416#M1627023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-05T10:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207417#M1627024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Park&amp;nbsp; Anderson&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to add two more fields through extension1 in Bapi_acc_documnet_check. Can anyone explain me what I should do?? and also explain me what is documentheader importing parameter. What are the necessary fields I have to fill in that? thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 14:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/8207417#M1627024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-16T14:19:36Z</dc:date>
    </item>
  </channel>
</rss>

