<?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: F-32 : Clearing Open Items in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066810#M93526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Lot Man(n)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to select the documents based on the specified key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Arthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2005 15:08:07 GMT</pubDate>
    <dc:creator>former_member677332</dc:creator>
    <dc:date>2005-11-21T15:08:07Z</dc:date>
    <item>
      <title>F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066802#M93518</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;There's a Z report which displays all open line items for a customer and company code. Records selected from the list are cleared using transaction F-32.&lt;/P&gt;&lt;P&gt;The problem is, more than one document exist with the same document no. but in different fiscal years.&lt;/P&gt;&lt;P&gt;Say, from the list, Doc X is selected for the year 2005, and Doc X exists in years 2003 and 2004 as well,Then all the 3 documents with this doc.no are selected in F-32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is, F-32 can select only based on doc.no as there is no filter based on the Fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if there's a method to clear customer open items based on both Doc.No and Fiscal year.&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;-Arthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 09:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066802#M93518</guid>
      <dc:creator>former_member677332</dc:creator>
      <dc:date>2005-11-17T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066803#M93519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a 'ADDITIONAL SELECTIONS' block in the screen. Just check the option &amp;lt;b&amp;gt;'Posting Date'&amp;lt;/b&amp;gt; and enter the account number, this would lead to a next screen where you can give the posting dates that you are looking for(the specific fisal year).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 09:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066803#M93519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T09:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066804#M93520</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 a concatenated key of bukrs belnr gjahr:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF bkey OCCURS   0,
        belnr LIKE bseg-belnr,
        gjahr LIKE bseg-gjahr,
        buzei LIKE bseg-buzei,
      END OF bkey.
      ...         
      PERFORM bdc_field USING 'BDC_OKCODE'     'SLB'.        
   
      PERFORM bdc_dynpro USING 'SAPMF05A' '0733'.                 
                                      
      LOOP AT itab WHERE xfeld = 'X'  .         
         CLEAR bkey.                                                                                
cnt = cnt + 1.                                                        
         UNPACK cnt TO zeile.                                                  
         PERFORM bdc_field_loop USING zeile 'RF05A-FELDN' 'BELNR'.             
         MOVE-CORRESPONDING itab TO bkey.                                       
         PERFORM bdc_field_loop USING zeile 'RF05A-SEL01'  bkey.                                                                                
ENDLOOP.    &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 11:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066804#M93520</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-17T11:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066805#M93521</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;Thanks for your reply. But I'm a bit unclear reg the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that in Screen 733 of this MP pgm, there is a step loop for the field and its value range.&lt;/P&gt;&lt;P&gt;And I'm not able to find this screen being called in the standard recording..where should i put the code that you've mentioned?&lt;/P&gt;&lt;P&gt;Also, what does subroutine bdc_field_loop do? what's the code? I see that you are passing the key structure to it.&lt;/P&gt;&lt;P&gt;I guess it's adding the fields in the structure to the step loop, but will it form a composite key? or a dis-joint one?&lt;/P&gt;&lt;P&gt;Pls clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 13:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066805#M93521</guid>
      <dc:creator>former_member677332</dc:creator>
      <dc:date>2005-11-21T13:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066806#M93522</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;the fcode is  'SLB'&lt;/P&gt;&lt;P&gt;- try it in ok-code box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i think there's no menue point in the transaction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward points , if answers are useful.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 13:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066806#M93522</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-21T13:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066807#M93523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Please try following FM  &lt;/P&gt;&lt;P&gt;   BAPI_AR_ACC_GETOPENITEMS.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points If information is useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 13:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066807#M93523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-21T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066808#M93524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to go to that screen now.&lt;/P&gt;&lt;P&gt;But please let me know how this BDC_FIELD_LOOP works..&lt;/P&gt;&lt;P&gt;Is this the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD_LOOP USING P_ZEILE P_FNAM P_FVAL.&lt;/P&gt;&lt;P&gt;  DATA: L_FNAM LIKE BDCDATA-FNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE P_FNAM '(' P_ZEILE ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD USING L_FNAM P_FVAL.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how does it process all the fields in bkey.&lt;/P&gt;&lt;P&gt;Right now it passes the value for only the document no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 14:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066808#M93524</guid>
      <dc:creator>former_member677332</dc:creator>
      <dc:date>2005-11-21T14:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066809#M93525</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;1) code is correct (exactly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)it's the same procedure as in rfbibl00 using ta fb05:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read docu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...
Post with clearing (FB05)
You can also use a BSELP structure to select a specific 
line item in the form &amp;lt;document no.&amp;gt;&amp;lt;fiscal year&amp;gt;&amp;lt;line 

item no.&amp;gt;. The document number must have 10 characters and the line item 3, 
and the preceding zeros should also 
be entered.


Example: Selecting the third line of document 0000222222
from fiscal year 1997.


BSELP-FELDN_1 = "BELNR"
BSELP-SLVON_1 = "00002222221997003"
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 14:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066809#M93525</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-11-21T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066810#M93526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Lot Man(n)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to select the documents based on the specified key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Arthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2005 15:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066810#M93526</guid>
      <dc:creator>former_member677332</dc:creator>
      <dc:date>2005-11-21T15:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066811#M93527</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;I have the same problem in our 4.7 system that in F-32, previous year open items with the same doc.number were selected when selected by document number. Unfortunately the special concatenated 'key' of &amp;lt;doc.no&amp;gt;&amp;lt;FY&amp;gt;&amp;lt;line item&amp;gt; mentioned by Mann does not work for our system. On screen 733 of SAPMF05A, it requires the BELNR value to be just the document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RF05A-FELDN = 'BELNR'.&lt;/P&gt;&lt;P&gt;RF05A-SEL01 = '0000222222'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the OR &amp;lt;&amp;gt; AND pushbutton on the menu to try to enter both BELNR and GJAHR in the selection fields (RF05A-FELDN) but it will only consider the last field, (e.g. if BELNR then GJAHR are entered and selection sequence are switched to "AND", all open items in the GJAHR value will be selected, instead of just a specific document with number of BELNR value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside the special hidden OK CODE of "SLB", does anybody know any other way to select open items with both Document number/reference document number &amp;lt;b&amp;gt;AND&amp;lt;/b&amp;gt; Fiscal year when process in F-32?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice is greatly appreciated. Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 01:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066811#M93527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T01:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066812#M93528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Arthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said that u have a Zreport which displays all open line items for mulitple customers and company codeand clear. Records selected from the list are cleared using transaction F-32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please help me to provide the Zprogram which u have, so that it will be using for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; background-color: #ffffff; text-indent: 0px; font-family: arial, helvetica, sans-serif; color: #333333; font-size: 10pt;"&gt;My client want automatic customer clearing&lt;SPAN class="Apple-converted-space"&gt; for RTGS related items&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; background-color: #ffffff; text-indent: 0px; font-family: arial, helvetica, sans-serif; color: #333333; font-size: 10pt;"&gt;&lt;SPAN class="Apple-converted-space"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Process flow for RTGS in india is as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/2-15260065-510062/3.PNG"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/510286" height="241" width="450" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now my client need a customized program for automate the clearing open items, (Last block which is marked need to be automated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like as F-32 is used to clear open items for individual customers, my client needs a program to be for multiple customers, before clearing the open items they need a overview for all the customers and they need the program which will clear items which are related to only RTGS payments but not Cheques, that is main actually.&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;Nitin Kumar&lt;/P&gt;&lt;P&gt;8095885285&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 10:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066812#M93528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-31T10:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: F-32 : Clearing Open Items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066813#M93529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't find &lt;SPAN style="font-size: 10pt;"&gt;Transaction code &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;SLB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/946315" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 09:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-32-clearing-open-items/m-p/1066813#M93529</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2016-05-07T09:37:59Z</dc:date>
    </item>
  </channel>
</rss>

