CX_SY_MESSAGE_IN_PLUGIN_MODE
Hello experts,
I am writing some application for win CE devices in .net. It should communicate with SAP through BSP (I have no rights to configure wdsl). There is one page in BSP Application, with the parameter XML. In the event OnRequest I call FM L_TO_CONFIRM. From time to time it raises exception CX_SY_MESSAGE_IN_PLUGIN_MODE. I catch this exception in the try catch block to figure out what's wrong. I then pass some response outside the try endtry block to the parameter XML, but then after exiting the method of the OnRequest event it runs empty method if_abap_runtime~get_runtime by kernel module ab_kmGetRuntimeHR and the parameter XML is send to the device empty. I'd like to send the error message back.
Please help.
Thanks in advance.
The code is something like that:
try.
call function 'L_TO_CONFIRM'
exporting i_lgnum = lgnum
i_tanum = tanum
i_qname = uname
tables t_ltap_conf = tltap
exceptions ....
catch cx_sy_message_in_plugin_mode into oref.
clear message.
select single text from t100
into (message)
where sprsl = sy-langu
and arbgb = oref->msgid
and msgnr = oref->msgno.
if sy-subrc <> 0.
message = 'Unknown error'.
endif.
endtry.
if not message is initial.
concatenate '<resp><state code="err" num="500">' message '</state>' body '</resp>' into xml.
exit.
endif.
if sy-subrc <> 0.
The layout is:
<%@page language="abap"%>
<?xml version="1.0"?>
<%=xml%>
It seems that the problem was caused by the & character in the message. After replacing it by oref->msgvx it started to work.
Similar Messages
-
CX_SY_MESSAGE_IN_PLUGIN_MODE Exception
Hello. I am getting an BSP error and can anybody tell me what I am doing wrong?
Below is detailed error I am getting on the web application:
"SAP Note:
The following error text was processed in the system: Message E DBMAN 882 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE".
After debugging, I get "illegal Input" exception message for nested call of RSDRI_INFOPROV_READ.
Inside the code, I call up the Function Module to use RSDRI_INFOPROV_READ program to read data from the infocube. Weirdest thing is it worked for over a month and now I get this error. I am not sure if this is the reason for error but I noticed this error started happening after the APO request was closed and a new APO request was created.
Any help would be greatly appreciated and rewarded.
Thanks! ~ Cory
Edited by: Cory Fite on Jan 24, 2008 7:41 PMThis problem "Cannot do nested call of RSDRI_INFOPROV" has been resolved by using class CL_RSDRI_INFOPROV instead calling the function module RSDRI_INFOPROV.
-
Hello experts,
I don't understand this problem. I created a web service on BAPI_PO_CREATE1. With Tool soapUI it's possible to test this web service and I filled all necessary input parameter and rum this service. But an error occured:
"Message E F5 275 kann im Pluginmodus HTTPS nicht verarbeitet werden".
CX_SY_MESSAGE_IN_PLUGIN_MODE:Ausnahme CX_SOAP_ROOT aufgetreten (Programm: CL_SOAP_RUNTIME_ROOT==========CP, Include CL_SOAP_RUNTIME_ROOT==========CM004, Zeile: 109)..Message E F5 275 kann im Pluginmodus HTTPS nicht verarbeitet werden</faultstring><detail><ns:SystemFault
Via SE37 I filled the same input parameter and it works fine.
What's wrong in my web service or where I can find further informations ?
thanks
HolgerHi Holger,
I don't there's anything wrong with your web service because you're using a standard SAP BAPI.
The problem is more than likely data related & is the exception handling of the BAPI needs a lot of work, a lot of the times it doesn't cater for web service communication. I'll explain. I've had similar painful experiences. Sometimes if you send through a web servie request & something is slightly wrong with the input data, the provider/ backend is configured to pop-up a window. Web service communication naturally can't handle this.
The only way around this is to do some debugging in the standard BAPI when the web service request comes in until the error is triggered & try & work out what it's expecting you to do different.
The other option would be, by process of elimination, to completely remove all optional tags tags from the SoapUI request so that there isn't any funnies there. Also, maybe clean up all unused data elements attributes. Sometimes when you populate an optional data element, some of the attributes of that element are mandatory & you might not be populating those, that could trigger this error. Just send through the absolute minimum data in the request, no additional elements / tags / attributes.
Lastly, it may help but there's no guarantee, setup an ICF trace in TCode SICF for the user that you're using in SoapUI & see if that yields any helpful results.
Best Regards, Trevor -
Message E FPRUNX 001 cannot be processed in plugin mode HTTP
Hi,
I am getting an error when i execute BSP application error is as follows.
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program Z_GET_BOOKING_FORM_NET========CP
Include Z_GET_BOOKING_FORM_NET========CM001
ABAP Class Z_GET_BOOKING_FORM_NET
Method DO_REQUEST
Line 74
Long text -*
coding in the method is as follows
method DO_REQUEST.
*CALL METHOD SUPER->DO_REQUEST
runtime->server->response->delete_header_field( name = 'Expires' ).
runtime->server->response->delete_header_field( name = 'Pragma' ).
DATA: l_name TYPE funcname.
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'Z_CUST_FLIGHT_BOOKING_GEBO'
IMPORTING
e_funcname = l_name
EXCEPTIONS
OTHERS = 0.
CATCH cx_fp_api_repository. "#EC NO_HANDLER
CATCH cx_fp_api_usage. "#EC NO_HANDLER
CATCH cx_fp_api_internal. "#EC NO_HANDLER
ENDTRY.
DATA: l_outputparams TYPE sfpoutputparams.
*Start Form Processing.
l_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = l_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Add a call to the Formu2019s function module. Notice the
settings on fp_docparams that allow for the generation
of an Interactive form Without these settings the form
will be generated as standard print form. Hint: Get the
form functional moduleu2019s generated name by testing it in
transaction SFP, and then use the Pattern wizard to insert
the function callin your code.
DATA: fp_docparams TYPE sfpdocparams,
reservedonly TYPE bapisbodat-reserved,
booking_data TYPE bapisbonew,
fp_result TYPE fpformoutput.
fp_docparams-fillable = 'X'.
fp_docparams-langu = sy-langu.
CALL FUNCTION l_name
EXPORTING
/1bcdwb/docparams = fp_docparams
reserved = reservedonly
booking_data = booking_data
IMPORTING
/1bcdwb/formoutput = fp_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Get the returned PDF, and store it in a
fpformoutput-pdf type variable.
DATA: pdf TYPE fpformoutput-pdf.
_ pdf = fp_result-pdf._
*Close the form processing session by calling the
*FP_JOB_CLOSE function.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Set the content type to be of u201Capplication/pdfu201D. This way,
the client will know what kind of format the response is,
and will start the adobe reader to display it.
CALL METHOD response->set_content_type
EXPORTING
content_type = 'application/pdf'.
*Put the PDF into the response.
CALL METHOD response->set_data
EXPORTING
data = pdf.
endmethod.
error is in the line 74 in this coding line 74 is
pdf = fp_result-pdf.
Can any one suggest me some solutions.
Thanks,
Nethaji.Hi,
I'm facing the same problem.
I wrote an very easy report. It works as intended, but when i set fillable='X' i get the error FPRUNX 001.
FP_GET_LAST_ADS_TRACE return following:
Begin operation:
Render, elapsed time = 16 ms.
# End operation: Render, elapsed time = 89 ms.
# Begin operation: UsageRights, elapsed time = 89 ms.
# End operation: UsageRights, elapsed time = 97 ms.#
...and the error string of FP_GET_LAST_ADS_ERRSTR is:
ADS: Request start time: Wed Jul 01 14:44:26 CEST 2009(200.101).
Any idea what the problem might be? -
BSP: Use of dynpro services is not possible in the current system status
Hello,
in the component SRQM_INCIDENT_H i created a own button and eventhandler on the overview view.
Here in this eventhandler i´m calling an own method from an own class. This method is doing a RFC in our ERP system.
If i test the method this works fine.
If i call this method in my eventhandler i get BSP error:
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
Use of dynpro services is not possible in the current system status
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program ZCL_CRM_CS_DATA_SERVICES======CP
Include ZCL_CRM_CS_DATA_SERVICES======CM001
ABAP Class ZCL_CRM_CS_DATA_SERVICES
Method CREATE_CS_ORDER
Line 54
Long text -
Error type: Exception
Any ideas?
thank you
Best regardsHi,
Web-UI cannot handle MESSAGE statements. if it's your own program, you should use the web-ui( view_manager->get_message_container or cl_crm_bol_core's global message container) alternatives to display the messages. If the message statement is being issued by a standard program, it's most usually deliberate attempt to fail on unrecoverable error. You can catch it by usin the try...catch CX_SY_MESSAGE_IN_PLUGIN_MODE ..where you call the standard functions.
Regards,
Arun Prakash -
CRM70 Use of dynpro services is not possible in the current system status
Hi all,
i programmed in Webclient UI an own button which calls a Method of a zclass. Within this method i do a remote function call in ERP.
I can test the method successfully but if i call it from CRM Webclient UI i have a BSP error:
Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
Use of dynpro services is not possible in the current system status
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Could one of you experts please give me a hind?
Thank you
Kind regards
ManfredSolved,
there was a SAP GUI "MESSAGE" in the ERP function call which is not possible for CRM Webclient UI.
Kind regards
Manfred -
Error occured while saving trade promotion if a control message is given
Hi all,
While creating a trade promotion, we want to control the products and if there is/are not available for our criteria, we want to give an error message and stop the application. I put this control message in the BADI ( EXEC_METHODCALL_PPF -> method : EXECUTE ) that generates a form for the event. In GUI there is no problem, it gives the error message and stops. But in PCUI if this message is given, error page appears like that :
Message E SPPF_MEDIA 052 cannot be processed in plugin mode HTTP
Class -> CX_SY_MESSAGE_IN_PLUGIN_MODE
Program -> CL_CRM_BSP_FRAME_MAIN ==...CP
ABAP Class -> CL_CRM_BSP_FRAME_MAIN
Method -> DO_REQUEST
thanks,Preferences > Plug Ins & Scratch Disks ( you can select up to 4 sources or drives starting with your startup drive ). You found Web Settings, but what you want is Illustrator Preferences ( should be found in a source file titled Preferences on you C Drive ). You may or may not have to delete the Preferences file which will automatically be rebuilt at default settings upon restart. Your RAM requiremnts may be as low as 256mb, but that is just a starting put. You need enough RAM to run your operating system and peripherals, as well as other apps you want open the same time you have Illustrator open. Deleting the Illustrator Prefertences file may not be necessary in your case. Setup the scratch disks first.
-
BSP Error:Message E BL 203 cannot be processed in plugin mode HTTPs
Hi Experts ,
I am trying to navigate from one application to another by clicking on the opportunity that i have created.
While navigating i am getting the following error but this error does not occur for all the users.
The following error text was processed in the system:
Message E BL 203 cannot be processed in plugin mode HTTPs
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program CL_CRM_BSP_FRAME_MAIN=========CP
Include CL_CRM_BSP_FRAME_MAIN=========CM001
ABAP Class CL_CRM_BSP_FRAME_MAIN
Method DO_REQUEST
Line 1003
Could you please help me in this regard.
Regards
D.VadivukkarasiYou can use T_code SICF to active bc-->bsp and some components if you feel it is relevant.
-
Error: Message E RSDODSO 201 cannot be processed in plugin mode HTTP
Hi all,
We have developed a BSP page in which, on button click, the onInputProcessing has a code written where 'Performs' in ABAP programs are being called.
When i execute the page, the layout gets executed fine. But on clicking the button after entering text, the following error is thrown:
Message E RSDODSO 201 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program CL_RSD_DTA====================CP
Include CL_RSD_DTA====================CM01P
ABAP Class CL_RSD_DTA
Method FACTORY
Line 45
Long text -
Please provide your suggestions to resolve the error.
Thanks,
Abhishek.Hi Karthik,
This error occurs if you are calling external ABAP Perform or program, and the program is trying to raise any message.
Please debug your BSP application to find out exactly where this message is being raised.
Hope this helps.
Thanks,
Abhishek. -
Hi all of you,
We are working in CRM 5.0 ICWC
My issue is with the SRVTHEAD.HTM view in the service ticket,
this is the error:
Exception CX_SY_MESSAGE_IN_PLUGIN_MODE occurred
"Check the part of the source code where the exception was triggered in transaction SE38.
Program include: LCRM_ORDER_APIU02
Source code line: 208"
can some one help me with debugging of this .
I'm unable to save the ticket.
Strangely the same settings in Development server are working but only sometimes, at other times i get the same error there also.
Please help it's uregent
Regards
RajHello Raj,
The information from the short dump/error message mostly doesn't give you enough detail to start looking for errors.
You say the error occurs when you save the service ticket. So, open the controller class of the view (srvthead.htm) and look for an event handler that handles the "SAVE", mostly called EH_ONSAVE.
I suggest you place a breakpoint there and debug from there on each time going deeper and deeper in the called function modules/methods to find the exact cause of the problem.
It can be a long and painful proces but if you really have no clue why this error happens I'm affraid that this is your only option....
Hope this helps,
Regards,
Joost -
Hi Experts,
A new supplier has registered with the ROS (in SUS Client). An email was sent out with a URL to answer the product category specific questionairres.
But the supplier is unable to open the URL link in the email to answer the questionairres. He gets the error
"Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
Message E SR 000 cannot be processed in plugin mode HTTPS"
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program CL_BSP_RUNTIME================CP
Include CL_BSP_RUNTIME================CM01X
ABAP Class CL_BSP_RUNTIME
Method IF_BSP_RUNTIME~GET_TOKEN
Line 21
Long text -
Error type: Exception
Your SAP Business Server Pages Team"
Thanks
Please advice on what could be the problem? & how it could be fixed.
Thank you.Hello Kasee,
were you able to solve the problem?
In our system, after having imported some SAP security notes, I also get this error message:
Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
Message E SR 000 cannot be processed in plugin mode HTTP
Exception Class
CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program
CL_BSP_RUNTIME================CP
Include
CL_BSP_RUNTIME================CM01X
ABAP Class
CL_BSP_RUNTIME
Method
IF_BSP_RUNTIME~GET_TOKEN
Line
21
Long text
Error type: Exception -
When I try and launch the MI client installer I am getting the following error from the URL http://<fqdn>:8000/sap/bc/bsp/sap/me_fw_install/install.htm
Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
Message E 01 289 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program SAPLSUSM
Include LSUSMU01
Line 82
Long text -
Error type: Exception
Your SAP Business Server Pages Team
Any ideas?
Thanks... JRSorry, I realise what the problem is now. It's trying to connect to the wrong client and can't find the address data.
Added parameter '...install.htm?sap-client=100'
Thanks...
JR
Edited by: Rudd Jamie on Mar 15, 2008 1:05 PM -
Equivalent star creation error
Hi friends,
In one STAR: 9000345843,when I create a new star by equivalent star creation , it has a mistake like this
SAP Note
The following error text was processed in the system:Messang E ZD 109 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program CL_BSP_WD_VIEW_MANAGE===========CP
Include CL_BSP_WD_VIEW_MANAGE===========CM002
ABAP Class CL_BSP_WD_VIEW_MANAGE
Method DQ_REQUEST
Line 73
Long text -
Error type: Exception
How can I modify it .
Regard
ViviI resolved the problem myself by creating a new library project where I added
the libraries stepwise until building the referencing project failed. The library
project contains the hibernate framework which includes a file named jboss-j2ee.jar.
In some way or another this conflicts with the NWDS which leads to failures
when updating the ejb-jar.xml and ejb-j2ee-engine.xml files. -
Hi All,
I am getting error when I save lead after selecting merge and edit prime leave from salespro role
CX_SY_MESSAGE_IN_PLUGIN_MODE
SAPLCRM_ORDER_API
LCRM_ORDER_APIU02
223
Has anyone faced such issue?
Thanks and Regards,
Gauri.Hi Gauri
Previosu isntances of this error have been caused by custom implementations of the Badi ORDER_SAVE, where the FM CRM_ORDER_READ is called within the implementation. If you have such an implementation active, please deactivate and then
retest.
Regards
Gavin -
Dump in Service orders in Portal ????
Hi Experts !!!!!!!!!
I m working on Service scenario (Service orders) i have made some changes in my standard iview of Serivce order after doing it i have also generated layout for related field group but when i execute same application thruough MAC and click on New Order im getting below error.
Message E CRM_BSP_LAYOUT 059 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
Program CL_CRM_BSP_FRAME_MAIN=========CP
Include CL_CRM_BSP_FRAME_MAIN=========CM001
ABAP Class CL_CRM_BSP_FRAME_MAIN
Method DO_REQUEST
Line 997
I know this error is related to layout generation but i dont know for which filed group i should generate layout, i thing i m missing any step please let me know if i m missing any step in customising.
Thanks,
DD'sI got a similar error in the following code,
26##METHOD#READ_FIELDGROUP
#CL_CRM_BSP_FRAME_DETAIL=======CP#
#CL_CRM_BSP_FRAME_DETAIL=======CM006#65
25##METHOD#DO_REQUEST#CL_CRM_BSP_FRAME_DETAIL=======CP#
#CL_CRM_BSP_FRAME_DETAIL=======CM001#74
24##METHOD#DO_REQUEST#CL_BSP_CTRL_ADAPTER===========CP#
#CL_BSP_CTRL_ADAPTER===========CM004#47
23##METHOD#CALL_CONTROLLER
#CL_BSP_PAGE_BASE==============CP#
#CL_BSP_PAGE_BASE==============CM001#16
22##METHOD#IF_BSP_ELEMENT~DO_AT_END
#CL_BSP_CALL_ELEMENT===========CP#
#CL_BSP_CALL_ELEMENT===========CM002#12
21##METHOD#_ONLAYOUT#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCP#
#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCM002#777
20##METHOD#%_ONLAYOUT#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCP#
#CL_O22UWK7K4JHDO4POX8G0M4SQIMNCM001#10
19##METHOD#DO_REQUEST#CL_BSP_PAGE===================CP#
#CL_BSP_PAGE===================CM01E#154
18##METHOD#CALL_VIEW#CL_BSP_PAGE_BASE==============CP#
#CL_BSP_PAGE_BASE==============CM002#20
17##METHOD#CALL_VIEW#CL_BSP_CONTROLLER=============CP#
#CL_BSP_CONTROLLER=============CM003#3
184# REFRESH gt_layout.
185# CALL METHOD cl_crm_bsp_accs_layout=>get_item_list
186# EXPORTING
187# iv_main_fieldgroup = gs_blueprint_entry-fieldgroup
188# iv_screensize =
cl_crm_structureedit_layout=>gc_screensize_fullscreen
189# iv_application = gs_blueprint_entry-application
190# iv_blview = lv_blview
191# iv_fldgrpvar = lv_fieldgroup_variant
192# IMPORTING
193# et_layout_p = gt_layout
194# et_fieldgre_t = lt_fieldgrp_text.
195
196# IF gt_layout IS NOT INITIAL.
197#* layoutc may have new groups (with header)
198# gt_fieldgrp_text = lt_fieldgrp_text.
199# ELSE.
200#* runtime generation must not be done for compress_layout
<> 'A'
201#* "No entry in table &1 for key &2 &3 &4"
202# MESSAGE ID '5A' TYPE 'E' NUMBER '001'
203# WITH 'CRMC_LAYOUT' gs_blueprint_entry-fieldgroup.
204# ENDIF.
205
206#* Merge dynamic attributes into layout table
This was resolved with the note 1161506.
Best Regards, Adil
Maybe you are looking for
-
Maintain one PIR but for 2 different set of conditions
Hi Expert, If i want to maintain PIR for material ABC, vendor 123, plant 1000 and purchase org 2000 but for this PIR i want to have more than one net price and order unit. In PIR i can only see there is one field to put the price in General view and
-
Just finished my first color grading job in COLOR. I'll never subject myself to that kind of pain again. This was a simple scene to scene CC job captured from digibeta with BM 10bit at 29.97. The footage was a final & locked edit for a network show.
-
Trying to uninstall & reinstall itunes cos restored comp & lost files
Ok so I restored my computer because of problems I had which seemed to do the trick but itunes now doesn't work when you click on icon I get window saying 'this action is for products already installed'. So I tried to uninstall program in add/remove
-
New version, no update?
Hi, A couple of weeks ago I installed an application called PDF Signer (1.0.0) which works great. Today the developers released a new version (1.0.1) with important improvements, and although I can see the updated version and information on the Mac A
-
I am trying to implement a new key flex field on a custom form from the scratch. I could view the key flex field segments but I could able to insert duplicate combinations for the segments. what needs to be done to avoid duplicate segment combination