<?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: Challenging ABAP issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200372#M762735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should submit document-by-document.&lt;/P&gt;&lt;P&gt;Doing this, you have the capability to check if the document has been processed correctly or not.&lt;/P&gt;&lt;P&gt;If you submit between 1 and 99999999, then the program works in massive mode and keeps the results..if an error occurs, you lose everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Roby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2007 17:04:41 GMT</pubDate>
    <dc:creator>former_member199581</dc:creator>
    <dc:date>2007-12-10T17:04:41Z</dc:date>
    <item>
      <title>Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200371#M762734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;CJFN is the program which runs on company codes. But my requirement is to execute this program on the range of company codes. So what I did, i have created a ZCJFN and take the company codes from user, put in internal table, loop internal table ,and inside the loop i m calling CJFN program like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SUBMIT rffms300 USING  SELECTION-SCREEN '1000'
                  WITH p_bukrs EQ  gwa_coep-bukrs
                  WITH p_gjahr EQ v_gjahr
                  WITH p_belnrb EQ '1'
                  WITH p_belnre EQ '9999999999'
                  WITH p_test EQ ' '
                  WITH p_liste EQ ' '
                  WITH p_lopen EQ ' '
                  AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now the problem is, if there are some problem in transfers(as this program do transfers), then this program does NOT have capability to show the company codes and the document numbers which processed sucessfully.&lt;/P&gt;&lt;P&gt;Requirement:&lt;/P&gt;&lt;P&gt;At the end of program, a list should be created which will display the company code alongwith the document number, which have been process sucessfully.&lt;/P&gt;&lt;P&gt;1- Is there any table from where we can check this thing.&lt;/P&gt;&lt;P&gt;Otherwise, what is the possible way....&lt;/P&gt;&lt;P&gt;It's very urgent,,,,please give solution....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 16:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200371#M762734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200372#M762735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should submit document-by-document.&lt;/P&gt;&lt;P&gt;Doing this, you have the capability to check if the document has been processed correctly or not.&lt;/P&gt;&lt;P&gt;If you submit between 1 and 99999999, then the program works in massive mode and keeps the results..if an error occurs, you lose everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Roby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 17:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200372#M762735</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2007-12-10T17:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200373#M762736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all tell me what is the benifit in running it on document number basis. &lt;/P&gt;&lt;P&gt;The second thing is for massive mode...user is not interested to run this program in dialog work process, infact user is creating background job for this. So that is no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 17:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200373#M762736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T17:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200374#M762737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's no problem.&lt;/P&gt;&lt;P&gt;So, help me understand well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean exactly with &lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;"then this program does NOT have capability to show the company codes and the document numbers which processed sucessfully."&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the behaviour of the program if an error occurs? Error Message? Short-Dump? Return?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 17:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200374#M762737</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2007-12-10T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200375#M762738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run this program with EXPORTING LIST TO MEMORY. Then execute FMs LIST_FROM_MEMORY, WRITE_LIST and LIST_FREE_MEMORY for each submission. You will be able to keep the lists separate by company code in this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 17:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200375#M762738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T17:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Challenging ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200376#M762739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've read a little bit the program for CJFN transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program exports the data to a Buffer, using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM_CO_TRANSFER_SIM_TO_BUFFER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think, but you should try, that you can re-import in your Zprogram the calculated data using the IMPORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out these line from Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   
    EXPORT S_COFP TO MEMORY ID 'G_S_COFP'.
    EXPORT S_COBK TO MEMORY ID 'G_S_COBK'.
    EXPORT DOC_COLL TO MEMORY ID 'G_DOC_COLL'.
    EXPORT COFP_DB TO MEMORY ID 'G_COFP_DB'.
    EXPORT COBK_DB TO MEMORY ID 'G_COBK_DB'.
    EXPORT BSEG_DB TO MEMORY ID 'G_BSEG_DB'.
    EXPORT BKPF_DB TO MEMORY ID 'G_BKPF_DB'.
    EXPORT EKKO_DB TO MEMORY ID 'G_EKKO_DB'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 17:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/challenging-abap-issue/m-p/3200376#M762739</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2007-12-10T17:26:21Z</dc:date>
    </item>
  </channel>
</rss>

