<?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: FM POSTING_INTERFACE_DOCUMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684843#M301607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;It is very well explained&amp;nbsp; but if i have many headers&lt;/P&gt;&lt;P&gt;Document header data ( K 1)&lt;/P&gt;&lt;P&gt;Document item 1 ( P 1)&lt;/P&gt;&lt;P&gt;Document item 2 ( P 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document header data ( K 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document item 1 ( P 1)&lt;/P&gt;&lt;P&gt;Document item 2 ( P 2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should we call the FM&amp;nbsp;&amp;nbsp;&amp;nbsp; 'POSTING_INTERFACE_DOCUMENT'&amp;nbsp; AT EVERY NEW header&amp;nbsp; or we can continie putting all of them until the end ?&lt;/P&gt;&lt;P&gt;Tahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Nov 2014 11:57:44 GMT</pubDate>
    <dc:creator>former_member206721</dc:creator>
    <dc:date>2014-11-15T11:57:44Z</dc:date>
    <item>
      <title>FM POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684840#M301604</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;  I am using this FM (mentioned in subject) for FB01 posting. This FM creates batch input session for FB01.&lt;/P&gt;&lt;P&gt;I am passing the profit center data for posting. Screen fields are RKEAK-FIELD(01),RKEAK-FIELD(08)to which I want to pass the profit center data.&lt;/P&gt;&lt;P&gt;    But FM is not populating these values in the required screen. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 08:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684840#M301604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: FM POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684841#M301605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this and use accordingly&lt;/P&gt;&lt;P&gt;Post document using the internal posting interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module 'POSTING_INTERFACE_DOCUMENT' creates a batch input transaction ( or Call Transaction ... Using ...) for a document to be posted with FB01 or FBB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should transfer all document header and document item data which is needed for this document to table T_FTPOST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the following rules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is marked with a record type (header, code = K; item, code = P) and counter.&lt;/P&gt;&lt;P&gt;Up to 950 line items can be transferred.&lt;/P&gt;&lt;P&gt;The data is transferred with the field name and field value.&lt;/P&gt;&lt;P&gt;The data must be transferred in the following sequence:&lt;/P&gt;&lt;P&gt;Document header data ( K 1)&lt;/P&gt;&lt;P&gt;Document item 1 ( P 1)&lt;/P&gt;&lt;P&gt;Document item 2 ( P 2) etc.&lt;/P&gt;&lt;P&gt;The field names are the same as those used on the entry screen (e.g. 'BKPF-WAERS', 'BSEG-WRBTR', 'COBL-GSBER'...).&lt;/P&gt;&lt;P&gt;The footer data can be transferred using the following fields:&lt;/P&gt;&lt;P&gt;Posting key: RF05A-NEWBS or BSEG-BSCHL&lt;/P&gt;&lt;P&gt;Account number: RF05A-NEWKO or BSEG-KONTO&lt;/P&gt;&lt;P&gt;or BSEG-KUNNR (for customer accounts)&lt;/P&gt;&lt;P&gt;or BSEG-LIFNR (for vendor accounts)&lt;/P&gt;&lt;P&gt;or BSEG-HKONT (for G/L accounts)&lt;/P&gt;&lt;P&gt;Special G/L indicator: RF05A-NEWUM or BSEG-UMSKZ&lt;/P&gt;&lt;P&gt;Company code (for intercompany posting):&lt;/P&gt;&lt;P&gt;RF05A-NEWBK or BSEG-BUKRS.&lt;/P&gt;&lt;P&gt;The field names are analyzed by the function module so that the data can be assigned to the right screens. Field names for one-time data or data for an alternative payer must start with 'BSEC-', for example (see screen SAPLFCPD 0100).&lt;/P&gt;&lt;P&gt;Processing with 'Call Transaction ... Using '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If processing takes place with 'Call Transaction .. Using', the initiator can see whether processing was successful by looking at the export parameter'SUBRC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBRC = 0 means that the document was posted. The document number is stored in table T_BLNTAB. For intercompany documents, several document numbers are stored here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBRC &amp;lt;&amp;gt; 0 means that the document could not be posted. Information concerning the error which has arisen is returned via the message fields MSGID, MSGNO, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Support of transaction 'FBB1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to access transaction FBB1, you should note the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the foreign currency key in field BKPF-WAERS.&lt;/P&gt;&lt;P&gt;In this transaction you should enter the local currency amount in field BSEG-WRBTR for each document item.&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;I_TCODE&lt;/P&gt;&lt;P&gt;I_SGFUNCT&lt;/P&gt;&lt;P&gt;I_NO_AUTH&lt;/P&gt;&lt;P&gt;E_MSGID&lt;/P&gt;&lt;P&gt;E_MSGNO&lt;/P&gt;&lt;P&gt;E_MSGTY&lt;/P&gt;&lt;P&gt;E_MSGV1&lt;/P&gt;&lt;P&gt;E_MSGV2&lt;/P&gt;&lt;P&gt;E_MSGV3&lt;/P&gt;&lt;P&gt;E_MSGV4&lt;/P&gt;&lt;P&gt;E_SUBRC&lt;/P&gt;&lt;P&gt;T_BLNTAB&lt;/P&gt;&lt;P&gt;T_FTPOST&lt;/P&gt;&lt;P&gt;T_FTTAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;ACCOUNT_MISSING&lt;/P&gt;&lt;P&gt;COMPANY_CODE_MISSING&lt;/P&gt;&lt;P&gt;POSTING_KEY_INVALID&lt;/P&gt;&lt;P&gt;POSTING_KEY_MISSING&lt;/P&gt;&lt;P&gt;RECORD_TYPE_INVALID&lt;/P&gt;&lt;P&gt;TRANSACTION_CODE_INVALID&lt;/P&gt;&lt;P&gt;AMOUNT_FORMAT_ERROR&lt;/P&gt;&lt;P&gt;TOO_MANY_LINE_ITEMS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 08:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684841#M301605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: FM POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684842#M301606</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 check field-status of your G/L-accounts if PC is required or not with trx. ob14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 09:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684842#M301606</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-27T09:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: FM POSTING_INTERFACE_DOCUMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684843#M301607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;It is very well explained&amp;nbsp; but if i have many headers&lt;/P&gt;&lt;P&gt;Document header data ( K 1)&lt;/P&gt;&lt;P&gt;Document item 1 ( P 1)&lt;/P&gt;&lt;P&gt;Document item 2 ( P 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document header data ( K 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document item 1 ( P 1)&lt;/P&gt;&lt;P&gt;Document item 2 ( P 2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should we call the FM&amp;nbsp;&amp;nbsp;&amp;nbsp; 'POSTING_INTERFACE_DOCUMENT'&amp;nbsp; AT EVERY NEW header&amp;nbsp; or we can continie putting all of them until the end ?&lt;/P&gt;&lt;P&gt;Tahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 11:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-posting-interface-document/m-p/1684843#M301607</guid>
      <dc:creator>former_member206721</dc:creator>
      <dc:date>2014-11-15T11:57:44Z</dc:date>
    </item>
  </channel>
</rss>

