<?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: Problem with BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291194#M787501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks stephan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That link about using bapi_alm_order_maintain was extremely descriptive and helped me write working code &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 19:37:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T19:37:56Z</dc:date>
    <item>
      <title>Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291185#M787492</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 running a BDC on the transaction IW31 in plant maintenance. I am populating all the required fields and when i run the BDC in the system it works fine and creates an order. I am using the Call transaction method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to run this BDC from a remote function call from the XI system. Now when i try to call the RFC from XI, this gives me a short dump which says : "DYNPRO_SEND_IN_BACKGROUND" screen output without connection to user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error analysis says " during background processing system attempted to send screen to user ; screen 100 program SAPCOIH" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would the system be doing this ? Could somebody please help out ? I have been trying to solve this for a couple of days with no resolution in sight now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 16:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291185#M787492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291186#M787493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide the CALL Transaction syntax that you are using - I am most interested in your OPTIONS parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 16:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291186#M787493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291187#M787494</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 think the RFC you're calling tring to open a dialog window  screen. . This is not allowed for the type of RFC call .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please check the options parameter NOBINPT = 'X' ( I am not 100% sure about this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 16:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291187#M787494</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-01-08T16:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291188#M787495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the syntax i have used : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL TRANSACTION P_TCODE USING BDCDATA&lt;/P&gt;&lt;P&gt;                     options from opt&lt;/P&gt;&lt;P&gt;                     MESSAGES INTO P_MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where p_tcode = IW31, &lt;/P&gt;&lt;P&gt;         opt-dismode = E&lt;/P&gt;&lt;P&gt;         p_updmode = 'S'&lt;/P&gt;&lt;P&gt;         p_messtab is the return message tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is actually the standard code generated through transaction SHDB. &lt;/P&gt;&lt;P&gt;I also added the parameter opt-nobinpt = 'X' , but that did not help either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291188#M787495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291189#M787496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; opt-dismode = 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPMODE = 'A'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291189#M787496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291190#M787497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John , I tried that, but it still gives me a dump. This time though its for something else. &lt;/P&gt;&lt;P&gt;Here's the error analysis : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt; The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was&lt;/P&gt;&lt;P&gt;  not caught in&lt;/P&gt;&lt;P&gt; procedure "AKT_DAY_HIST2" "(FORM)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt; Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt; exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt; The reason for the exception is:&lt;/P&gt;&lt;P&gt; When importing the object "HIST2", the component no. 8 in the&lt;/P&gt;&lt;P&gt; dataset has a different type from the corresponding component&lt;/P&gt;&lt;P&gt; of the target object in the program "RSORAT4M".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The data type is "I" in the dataset, but "P" in the program.&lt;/P&gt;&lt;P&gt;********************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the all this being in standard SAP code, i have no way of knowing what it actually means ! &lt;/P&gt;&lt;P&gt;The funny thing is this BDC was working some days ago and has now stopped working .. could there have been any config change that could have caused this problem ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 19:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291190#M787497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T19:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291191#M787498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not worked with BDC within a RFC call, but it seems that the error you're getting is because within a RFC Call you can't call a dialog screen, and a BDC will always call a dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recomendation is to find a BAPI for the IW31, to do what you're trying to, and just call that BAPI from the RFC. Part of the objectives of the BAPI's are to be called from remote systems to do business process in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the following BAPI:&lt;/P&gt;&lt;P&gt;BAPI_ALM_ORDER_MAINTAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Jan 8, 2008 9:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 20:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291191#M787498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T20:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291192#M787499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I searched for a BAPI for orders but i couldnt find any. I have seen the bapi BAPI_ALM_ORDER_MAINTAIN , but i have no clue how it works. &lt;/P&gt;&lt;P&gt;The documentation about it is also quite vague. &lt;/P&gt;&lt;P&gt;Could you help me out with an example to use BAPI BAPI_ALM_ORDER_MAINTAIN ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , &lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 20:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291192#M787499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T20:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291193#M787500</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;there's no problem in using bdc in rfc's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had problems after a hot package upgrade? Perhaps you've implemented some hot packages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For BAPI_ALM_ORDER_MAINTAIN have a look at the following thread (contains a link to examples).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=-1&amp;amp;messageID=4671634" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=-1&amp;amp;messageID=4671634&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 22:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291193#M787500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T22:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291194#M787501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks stephan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That link about using bapi_alm_order_maintain was extremely descriptive and helped me write working code &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 19:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bdc/m-p/3291194#M787501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T19:37:56Z</dc:date>
    </item>
  </channel>
</rss>

