<?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: BSEG - PAYR relation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118907#M108332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt BSEG-AUGBL is populated in all cases. &lt;/P&gt;&lt;P&gt;Try to join &amp;lt;b&amp;gt;PAYR-VBLNR&amp;lt;/b&amp;gt; with &amp;lt;b&amp;gt;BSEG-BELNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2006 21:58:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-05T21:58:39Z</dc:date>
    <item>
      <title>BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118902#M108327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to determine how I can relate the account in BSEG (bseg-belnr) to a record in PAYR table.. if anyone know of a access path that will use index all the way through, that would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 19:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118902#M108327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T19:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118903#M108328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The relationship is PAYR-VBLNR = BSEG-AUGBL. But if you know you are accessing vendor cleared items or customer cleared items, then use BSIK or BSID instead of BSEG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 19:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118903#M108328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T19:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118904#M108329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am starting with BSIS table (can i use that?).. i see that std. index on PAYR is ZBUKR, VBLNR and GJAHR. Can i substitute ZBUKR with BUKRS (from BSIS/BSEG?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 19:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118904#M108329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T19:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118905#M108330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if for every GL account entry there will be a corresponding PAYR record, because some GL accounts may not be either a customer account or a vendor account. But if you already accessed BSEG, then you don't have to worry about any other link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, ZBUKR is BUKRS and also GJAHR can be used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 19:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118905#M108330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T19:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118906#M108331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srini. I have to do some validation to confirm this at my end.. but will assign points for now.. Will close the thread after confirmation at my end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 20:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118906#M108331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T20:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118907#M108332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt BSEG-AUGBL is populated in all cases. &lt;/P&gt;&lt;P&gt;Try to join &amp;lt;b&amp;gt;PAYR-VBLNR&amp;lt;/b&amp;gt; with &amp;lt;b&amp;gt;BSEG-BELNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 21:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118907#M108332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T21:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118908#M108333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can retrive the house bank details (HBKID &amp;amp;&lt;/P&gt;&lt;P&gt;HKTID) from the paying company code (from BSEG/BKPF) and include it in your PAYR lookup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118908#M108333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118909#M108334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I doubt BSEG-AUGBL is populated in all cases. &lt;/P&gt;&lt;P&gt;&amp;gt; Try to join &amp;lt;b&amp;gt;PAYR-VBLNR&amp;lt;/b&amp;gt; with &amp;lt;b&amp;gt;BSEG-BELNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Sam, isn't this true only if your accounting document number(BELNR) is configured to be the same as your VBLNR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118909#M108334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118910#M108335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam. I will take a look at it.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now confused a little.. As per Srini the clearing document(AUGBL) is to be used and you are saying use BELNR itself.. Are they usually a same document? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From transaction perspective, how do I find out whether a accounting document has the associated PAYR (without going to the associated tables)..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118910#M108335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118911#M108336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;But Sam, isn't this true only if your accounting document number(BELNR) is configured to be the same as your VBLNR?&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srini, where will this be configured? Depending on the configuration, I presume we need to use AUGBL or BELNR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118911#M108336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118912#M108337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure where. I guess what you should do is to try out both and see if you are getting consistant results. If not, then verify which one is not giving correct results. I would suggest talking to your FI functional person to help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:25:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118912#M108337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118913#M108338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think BSEG-AUGBL will be populated if the check has been produced. In any event, you can't use BSEG in a join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118913#M108338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118914#M108339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I agree you cannot join BSEG since it is a cluster table. What I meant is to relate BELNR in BKPF/BSEG to VBLNR in PAYR. I thought there is no config required to relate these two fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118914#M108339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T22:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118915#M108340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe give this a try...Go to the data browser for BKPF and include field BLART in the selection screen. Now filter the documents with type related to payment posting. Display the documents. Now try to lookup these documents (BELNR) in PAYR by matching VBLNR and company code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 23:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118915#M108340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T23:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118916#M108341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam, Robert and Srini.. I have to do some checking at my end,after which I will award more points.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam, Is there any way to kinda relate an accounting document from transactions (without going through tables) to PAYR table? Is there any transaction, where I can view the records in PAYR table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118916#M108341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118917#M108342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try program RFCHKL00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's not what you want, do a 'where used' on table PAYR. There are a lot of reports that use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118917#M108342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118918#M108343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can view them from the regular FB03. Alternatively you can look at FCH1, FCH2, or FCHN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 16:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118918#M108343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118919#M108344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Thanks Sam, Robert and Srini.. I have to do some&lt;/P&gt;&lt;P&gt;&amp;gt; checking at my end,after which I will award more&lt;/P&gt;&lt;P&gt;&amp;gt; points.. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Sam, Is there any way to kinda relate an accounting&lt;/P&gt;&lt;P&gt;&amp;gt; document from transactions (without going through&lt;/P&gt;&lt;P&gt;&amp;gt; tables) to PAYR table? Is there any transaction,&lt;/P&gt;&lt;P&gt;&amp;gt; where I can view the records in PAYR table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto trasaction &amp;lt;b&amp;gt;FB03&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Give the &amp;lt;b&amp;gt;Acct Doc No number&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;CoCode&amp;lt;/b&amp;gt;. Press Enter.&lt;/P&gt;&lt;P&gt;Now in the menu goto &amp;lt;b&amp;gt;Environment --&amp;gt; Check Information&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You will find the payment document no in the display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 17:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118919#M108344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T17:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118920#M108345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam.. That was really a useful information.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably a stupid question (newbie to FI world), so please bear with me.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From MM perspective, I presume this is the flow, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO -&amp;gt; MIRO (Invoice verifcation )&lt;/P&gt;&lt;P&gt;MIRO results in Accounting document A1 &lt;/P&gt;&lt;P&gt;Payment Run to process the Accounting document A1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam, the Link you provided me is it from Accounting document A1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 01:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118920#M108345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T01:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: BSEG - PAYR relation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118921#M108346</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;When a FI document is posted the informations about which procedure have done it is stored in the BKPF: field AWTYP (Reference procedure) and AWKEY (Reference Key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out the procedure from table TTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF billing 100 create an account document, you can find out the number of account document by this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM BKPF WHERE AWTYP = 'VBRK'&lt;/P&gt;&lt;P&gt;                     AND AWKEY = '0000000100'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field AWTYP and AWKEY are in index of BKPF, so this select is very fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you can read the items data from BSEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM BSEG WHERE BUKRS = BKPF-BUKRS&lt;/P&gt;&lt;P&gt;                     AND BELNR = BKPF-BELNR&lt;/P&gt;&lt;P&gt;                     AND GJAHR = BKPF-GJAHR&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If account document is created by MIRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AWTYP = RMRP&lt;/P&gt;&lt;P&gt;AWKEY = Number+Year of Invoice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So &lt;/P&gt;&lt;P&gt;CONCATENATE RBKP-MBLNR MBLNR-GJAHR INTO AWKEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM BKPF WHERE AWTYP = 'RMRP'&lt;/P&gt;&lt;P&gt;                     AND AWKEY = AWKEY.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 01:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bseg-payr-relation/m-p/1118921#M108346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-07T01:42:53Z</dc:date>
    </item>
  </channel>
</rss>

