<?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 How to add Custom fields to SAPF080 Program...? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822380#M660232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to add custom fields to Standard SAP program SAPF080 that is used for Mass Reversal of a document.I mean I have to enhance this program so that the reversal of the document can be done by these custom fields.First I have to enhance the selection screen to include these custom fields and then enhnace START-OF-SELECTION to obtain all FI documents out of BSEG by the custom fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any of you gurus provide me some inputs to begin with....Any guidance from all of you will be appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sam williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2007 17:13:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T17:13:25Z</dc:date>
    <item>
      <title>How to add Custom fields to SAPF080 Program...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822380#M660232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to add custom fields to Standard SAP program SAPF080 that is used for Mass Reversal of a document.I mean I have to enhance this program so that the reversal of the document can be done by these custom fields.First I have to enhance the selection screen to include these custom fields and then enhnace START-OF-SELECTION to obtain all FI documents out of BSEG by the custom fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any of you gurus provide me some inputs to begin with....Any guidance from all of you will be appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sam williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 17:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822380#M660232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T17:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Custom fields to SAPF080 Program...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822381#M660233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not that hard....First copy &amp;lt;b&amp;gt;SAPF080&amp;lt;/b&amp;gt; to &amp;lt;b&amp;gt;ZSAPF080&amp;lt;/b&amp;gt;....Second...Look for the SELECT-SCREEN section and add your custom fields...Third...Add you logic using the new fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 19:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822381#M660233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T19:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Custom fields to SAPF080 Program...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822382#M660234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply...I have done this already...added the custom fields on the selection screen...Now it is about the logic...What kind of logic shud i write if i have 6 custom fields say field1 field2.....field6 and I have to write code in a way that when user enters the field1 then data is selected from BSEG and all the documents with value same as field1 are reversed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What modifications do i have to made in this ZSAPF080....Please provide me some inputs...its a learning phase for me in ABAP....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 19:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822382#M660234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T19:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Custom fields to SAPF080 Program...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822383#M660235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must look for the BSEG select and add your field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT XBKPF2.
 SELECT * FROM BSEG
        WHERE  BUKRS  = XBKPF2-BUKRS
        AND    BELNR  = XBKPF2-BELNR
        AND    GJAHR  = XBKPF2-GJAHR
        AND    ????  = FIELD1.
    IF SY-SUBRC = 0.
      APPEND BSEG TO XBSEG2.
    ENDIF.
 ENDSELECT.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace ???? with the BSEG field that you must compare with your custom field....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 19:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822383#M660235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T19:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Custom fields to SAPF080 Program...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822384#M660236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply....&lt;/P&gt;&lt;P&gt;I have 6 custom fields...I was able to find the place where the BSEG select is made so do i have to write 6 selects in this.....&lt;/P&gt;&lt;P&gt;Also if the user just enters value in one of these fields and try to reverse will it be possible...I mean if user enters name in field1 then the code shud display all the documents with field1 as name and then reverse all of them....is it possible or am i going in the wrong direction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Any Suggestions...&lt;/P&gt;&lt;P&gt;kindly provide me some inputs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sam williams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sam williams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 19:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-custom-fields-to-sapf080-program/m-p/2822384#M660236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T19:29:18Z</dc:date>
    </item>
  </channel>
</rss>

