‎2010 Jun 17 6:20 AM
Dear experts,
I created a RFC function module say 'ZFM'.This is RFC Enabled.In addition,i applied a BAPI code in this which further
create quotation 'BAPI_QUOTATION_CREATEFROMDATA2'.I am able to create quotation by callng this RFC.This Z function module
formats error messages in format we require to display from user perspective.Thats the reason why we created this Z function module (RFC).
Now issue is that first time it creates quotation from .NET giving quotation number.But next time following error occur.
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
I studied online for this error and came to conclusion either some error occur or some popup is opening.I executed the
BAPI in SAP.All things were fine with creating quotations.
But at last i realized that a popup opens .This popup is for printing ie directing the spool to printer.
My question is
a) how to prevent opening this dialog ?.Is there some option in 'BAPI_QUOTATION_CREATEFROMDATA2' where i can stop immediate printing.
Any ideas other than this in this scenario also will be appreciated and rewarded.
Edited by: aditya sharma on Jun 17, 2010 7:20 AM
‎2010 Jun 17 6:40 AM
You can supress the popup by changing the print parameters in that associated Form.
gs_control_parameters-no_dialog = 'X'.
CALL FUNCTION g_fm_name
EXPORTING
control_parameters = gs_control_parametersThanks and Regards
‎2010 Jun 18 6:05 AM
Thanx, we resolved by suppressing an unwanted dialog coming through one userexit.