<?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: Timing issues with processing 2 BDCs in 1 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735383#M319811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all right. Thanks for your help. I am thinking I should try to use one program. &lt;/P&gt;&lt;P&gt;I will post another message to ask for the code for creating the GROUPS and not use the standard INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 01:39:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T01:39:34Z</dc:date>
    <item>
      <title>Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735377#M319805</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;I am having a timing issue when working with BDCs. I have the 2 following statements in my program to created 2 BDCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RSBDCSUB&lt;/P&gt;&lt;P&gt;         WITH MAPPE EQ GROUP&lt;/P&gt;&lt;P&gt;         WITH VON EQ SY-DATUM&lt;/P&gt;&lt;P&gt;         WITH BIS EQ SY-DATUM&lt;/P&gt;&lt;P&gt;         WITH FEHLER EQ SPACE&lt;/P&gt;&lt;P&gt;         EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;         AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, the BDC sessions are not processing automatically. I would have to manually process them from SM35. Would it be OK to do this? If not what other approaches should I do to get the 2 BDCs to process automatically in 1 program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I have to create 2 programs to do the BDCs automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 00:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735377#M319805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T00:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735378#M319806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to submit RSBDCSUB twice for two different BDC session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SUBMIT RSBDCSUB
   WITH MAPPE EQ GROUP
   WITH VON EQ SY-DATUM
   WITH BIS EQ SY-DATUM
   WITH FEHLER EQ SPACE
   WITH Z_VERARB EQ 'X'                      &amp;lt;--- add this line
   EXPORTING LIST TO MEMORY
   AND RETURN.

SUBMIT RSBDCSUB
   WITH MAPPE EQ GROUP2
   WITH VON EQ SY-DATUM
   WITH BIS EQ SY-DATUM
   WITH FEHLER EQ SPACE
   WITH Z_VERARB EQ 'X'                      
   EXPORTING LIST TO MEMORY
   AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 00:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735378#M319806</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-12-21T00:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735379#M319807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following sequence of processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check the table Z to see if there are sets created have been created before&lt;/P&gt;&lt;P&gt;2. If there are sets then delete the sets using the BDC&lt;/P&gt;&lt;P&gt;3. Submit BDC&lt;/P&gt;&lt;P&gt;4. Refresh the Z table uisng SQL Native TRUNCATE&lt;/P&gt;&lt;P&gt;5. Create sets&lt;/P&gt;&lt;P&gt;6. Update Z table with sets just created&lt;/P&gt;&lt;P&gt;7.  Submit BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kept getting a runtime error that there are records in the Z table, and the BDCs are still in SM35. I tried adding the statement you have suggested and it seem that the BDC are not procesisng automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you think I have to separate the 2 BDC procesess into 2 programs. When I run the progranj I gave only 1 session name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735379#M319807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T01:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735380#M319808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you create two different BDC session names instead of only one session?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say GROUP and GROUP2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735380#M319808</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-12-21T01:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735381#M319809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that and there was an error saying that the Field GROUP1 is unknown but there is a field GROUP. I am using the INCLUDE BDCRECX1 that I created when I did the recording in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735381#M319809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T01:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735382#M319810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry ... I did not know that you are using generated program BDCRECX1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, it would be easier and quicker to create two separate program while using the same include program to process two different BDC session. You are correct as you suggested in the beginning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you need to copy program BDCRECX1 and modify accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735382#M319810</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-12-21T01:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735383#M319811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all right. Thanks for your help. I am thinking I should try to use one program. &lt;/P&gt;&lt;P&gt;I will post another message to ask for the code for creating the GROUPS and not use the standard INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735383#M319811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T01:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735384#M319812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry I tried to close this message by awarding you 10 points that this issue is resolved but it filled the other points . Something changed form this site.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735384#M319812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T01:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735385#M319813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to copy the code to a Z include. What would I have to change to solve the GROUP1 and GROUP2? Hope it is OK to resolve hti sissue form this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 01:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735385#M319813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T01:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735386#M319814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry ... I don't have SAP system now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you could do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa_group(12).

wa_group = 'GROUP1'.

call function 'BDC_OPEN_GROUP'
   EXPORTING
      client = sy-mandt
      group  = wa_group
      user   = sy-uname
      keep   = X'.

Do perform BDC_INSERT.

Do perform BDC_CLOSE_GROUP.

...

wa_group = 'GROUP2'.

call function 'BDC_OPEN_GROUP'
   EXPORTING
      client = sy-mandt
      group  = wa_group
      user   = sy-uname
      keep   = X'.

Do perform BDC_INSERT.

Do perform BDC_CLOSE_GROUP.

...

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 02:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735386#M319814</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-12-21T02:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timing issues with processing 2 BDCs in 1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735387#M319815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I will try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 02:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timing-issues-with-processing-2-bdcs-in-1-program/m-p/1735387#M319815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T02:28:14Z</dc:date>
    </item>
  </channel>
</rss>

