<?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 calling a BAPI FOR quotation from VB.NET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959341#M1489709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a RFC function module say 'ZFM'.This is RFC Enabled.In addition,i applied a BAPI code in this which further&lt;/P&gt;&lt;P&gt;create quotation 'BAPI_QUOTATION_CREATEFROMDATA2'.I am able to create quotation by callng this RFC.This Z function module&lt;/P&gt;&lt;P&gt;formats error messages in format we require to display from user perspective.Thats the reason why we created this Z function module (RFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now issue is that first time it creates quotation from .NET giving quotation number.But next time following error occur.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Details: ErrorCode=RFC_SYS_EXCEPTION. ErrorGroup=RFC_ERROR_SYSTEM_FAILURE. SapErrorMessage=Screen output without connection to user.. AdapterErrorMessage=Error returned by RfcCallReceiveEx while calling RFC: ZFMQUOTATION.., System.Collections.ListDictionaryInternal
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I studied online for this error and came to conclusion either some error occur or some popup is opening.I executed the&lt;/P&gt;&lt;P&gt;BAPI in SAP.All things were fine with creating quotations.&lt;/P&gt;&lt;P&gt;But at last i realized that a popup opens .This popup is for printing ie directing the spool to printer.&lt;/P&gt;&lt;P&gt;My question is &lt;/P&gt;&lt;P&gt;a) how to prevent opening this dialog ?.Is there some option in 'BAPI_QUOTATION_CREATEFROMDATA2' where i can stop immediate printing.&lt;/P&gt;&lt;P&gt;Any ideas other than this in this scenario also will be appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: aditya  sharma on Jun 17, 2010 7:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 05:20:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-17T05:20:27Z</dc:date>
    <item>
      <title>calling a BAPI FOR quotation from VB.NET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959341#M1489709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a RFC function module say 'ZFM'.This is RFC Enabled.In addition,i applied a BAPI code in this which further&lt;/P&gt;&lt;P&gt;create quotation 'BAPI_QUOTATION_CREATEFROMDATA2'.I am able to create quotation by callng this RFC.This Z function module&lt;/P&gt;&lt;P&gt;formats error messages in format we require to display from user perspective.Thats the reason why we created this Z function module (RFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now issue is that first time it creates quotation from .NET giving quotation number.But next time following error occur.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Details: ErrorCode=RFC_SYS_EXCEPTION. ErrorGroup=RFC_ERROR_SYSTEM_FAILURE. SapErrorMessage=Screen output without connection to user.. AdapterErrorMessage=Error returned by RfcCallReceiveEx while calling RFC: ZFMQUOTATION.., System.Collections.ListDictionaryInternal
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I studied online for this error and came to conclusion either some error occur or some popup is opening.I executed the&lt;/P&gt;&lt;P&gt;BAPI in SAP.All things were fine with creating quotations.&lt;/P&gt;&lt;P&gt;But at last i realized that a popup opens .This popup is for printing ie directing the spool to printer.&lt;/P&gt;&lt;P&gt;My question is &lt;/P&gt;&lt;P&gt;a) how to prevent opening this dialog ?.Is there some option in 'BAPI_QUOTATION_CREATEFROMDATA2' where i can stop immediate printing.&lt;/P&gt;&lt;P&gt;Any ideas other than this in this scenario also will be appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: aditya  sharma on Jun 17, 2010 7:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 05:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959341#M1489709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T05:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: calling a BAPI FOR quotation from VB.NET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959342#M1489710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can supress the popup by changing the print parameters in that associated Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;gs_control_parameters-no_dialog = 'X'.

  CALL FUNCTION g_fm_name
    EXPORTING
     control_parameters         = gs_control_parameters&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 05:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959342#M1489710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T05:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: calling a BAPI FOR quotation from VB.NET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959343#M1489711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx, we resolved by suppressing an unwanted dialog coming through one userexit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 05:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-bapi-for-quotation-from-vb-net/m-p/6959343#M1489711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T05:05:49Z</dc:date>
    </item>
  </channel>
</rss>

