ABAP Proxy error
Dear Friends,
I am facing a problem when i use a ABAP client proxy (asynchronously)
An error is raised during proxy method call-
<CODE>SERIALIZE_APPLICATION_DATA</CODE>
<b> <ERRORTEXT>Conversion error ABAP => XML (Request Message; error ID: CX_ST_INVALID_XML;
(/1SAI/TAS00000000000000000005 XML Bytepos.: 0 XML Path:
Error Text: Executing the operation '&OPERATION&' leads to an invalid XML document) )</ERRORTEXT></b>
The same proxy runs fine in upstream system (dev) but doesnot run in downstream system (QA) even though all proxy objects have been transferred.
This proxy & another proxy from the same calling report program is serialized in a queue.The first proxy is raising this error, but the second proxy call is successful.
Can someone help,
Thanks
Prasenjit
Hi Guru,
All the fields in the data type have string - also this roxy works fine in devpt. system- but it doesnt work in downstream QA system.
Other proxy interfaces in the QA system work fine.
The error message when i single test the proxy is as follows-
- <CX_XMS_SYSTEM_ERROR>
<ID>SERIALIZE_APPLICATION_DATA</ID>
<P1>Request Message</P1>
<P2>CX_ST_INVALID_XML</P2>
<P3>/1SAI/TAS00000000000000000005</P3>
<P4>XML Bytepos.: 0 XML Path: Error Text: Executing the operation '&OPERATION&' leads to an invalid XML document</P4>
<INFO />
<CATEGORY>XIProxy</CATEGORY>
<AREA>ABAP</AREA>
<CX_ST_ERROR>
<ST_PROGNAME>/1SAI/TAS00000000000000000005</ST_PROGNAME>
<X-ML_OFFSET>0</X-ML_OFFSET>
<X-ML_PATH />
<ST_IC>2</ST_IC>
<ST_TIMESTAMP>20070907163313</ST_TIMESTAMP>
</CX_ST_ERROR>
Any other possible solutions ?
thanks
Prasenjit
Similar Messages
-
ABAP Proxy: Error calling Proxy
Hi guys,
Here I am with another amazing mistake.....
After searching the forum, reading some suggestions, notes, I'm a little bit lost on how to figure out what is wrong...
I've created a receiver ABAP Proxy. XI should call this proxy and receive the consequent response.....
I've tested the ABAP Proxy, everything is working fine...I've encountered some errors but was able to bypass them... But this one is getting hard...I've found one or two similar threads, or with the same error description but I had no luck in overcoming the error....
So, what is the problem....:
When XI is calling the ABAP Proxy I get:
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">EXCHANGE_PROFILE_ACCESS</SAP:Code>
<SAP:Stack>Error while reading exchange profile for system DEV and client 100</SAP:Stack>
I've searched the exchange profile but everything seems ok...
The user has all (and more) the authorizations needed....
Can you guys give me some hints? Or suggest any attempt....?Kumar,
as I said before, in SPROXY i can test the interface with no errors....
In the Application System the sldcheck returns no errors and the RFC Destinations return no errors on the connection tests...
I really can't understand what this problem might be...
Problem solved
What was it? Well, I'm really not sure...Like most of the threads related to this topic it's quite an awkward problem....I've tested some RFC connections which were created, changed some parameters, restarted the system and voila....
Thanks
Message was edited by:
Gonçalo Mouro Vaz -
I am developing inbound ABAP proxy. Using fault message and raise exception, I can safely fail the ABAP proxy without blocking the queues.
If I want to configure ALERT message to be sent to a email id in this scenario, how do I achieve this? Can this be done using Alert configuration? or do we need to use BPM? IF BPM is the only alternative, can anybody indicate the BPM steps?Hi,
if you want to raise an alert from BPM
have a look at my weblog:
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
but if you want to send a mail from BPM
use mail adapter then you'll be able to
configure it very easily (even html mails):
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
- if you want you can also send mail from SAP
(when you catch the exception)
- you can also catch the excetpiton and
send the error to the XI and use the mail adapter from
there - without the BPM
there are many possibilities:)
Regards,
michal -
ABAP Proxy error during runtime but success for manuall test ?
Hi,
I got scenario using inbound ABAP proxy. The problem is when i test the inbound proxy manually, it was sucessfully, but then if i run directly from sender got problem :
Error during proxy processing An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause The function call of ZPSCD_CTRACCOMOBJECT_CREA failed; a field may have been assigned to the parameter ZCOM_COMPDHDR whose type is not compatible with this parameter
Please help
RegardsFernand,
As stated in the exception, there is a compatibility issue between source and target fields, but without further details (msg definitions etc), we can't tell you exactly what's wrong ...
What's the ABAP type of ZCOM_COMPDHDR field in your RFC function module ?
Rgds
Chris
PS : also check the msg content to make sure generated field is compatible with the expected type (manual test was successful because you set it to the suitable value, whereas in "real" situation there is discrepancy)
Edited by: Christophe PFERTZEL on Apr 28, 2008 1:22 PM -
[MESSAGE.GENERAL] How can take the actual error text for ABAP proxy error?
Hi...
I'm a ABAPer.
I got to create outbound abap proxy for synchronous server proxy and described below.
My problem is program can not catch the actual error message when occurred error during send data to XI.
The return message is just 'MESSAGE.GENERAL'.
But according to the XI part, 'Key error' is actual reason.
So... how can i take the actual error text like 'Key error'?
<b>* Only MESSAGE.GENERAL is return message for all kind of errors.</b>
Thanks.
Below----
TRY.
CREATE OBJECT abap_proxy.
CALL METHOD abap_proxy->execute_synchronous
EXPORTING
output = gs_out
IMPORTING
input = gs_in.
Exception Handling
<b> CATCH cx_ai_system_fault INTO go_sys_exception.
g_sys_result = go_sys_exception->get_text( ).</b>
CATCH cx_ai_application_fault INTO go_app_exception.
g_app_result = go_app_exception->get_text( ).
ENDTRY.
COMMIT WORK.
Return status 'D' is succeeded.
if gs_in-sales_group_rer_sap-xstat <> 'D'.
WRITE:/ 'System Error Message :', g_sys_result.
WRITE:/ 'Application Error Message :', g_app_result.
endif.
*--Result--
System Error Message : MESSAGE.GENERAL
Application Error Message :
Message was edited by: Miju cho
Message was edited by: Miju choThanks guys, this was useful.
My scenario is for Asynchronous communication.
I guess Fault messages are used in case of Synchronous communication for handling application errors. So if there was something wrong at the JDBC end then I could use the fault messages.
Have i got this right?
I also came across this piece on Acknowledgements. But is says that they can be used with the following Receivers:
The following receivers support acknowledgments:
ABAP and Java proxies (XI 3.0 SP1 for the latter)
Integration processes
IDocs (note that IDocs only return acknowledgments when they have been configured using the ALE audit)
Receiver adapters support system acknowledgments but not application acknowledgments
My Receiver is JDBC. So I guess I cannot use acknowledgements either.
Hence, I need to know what I can do to replicate the system errors eg. failed server etc...so that I can get catch these errors during sending.
I'll tell you abt what happened earlier.
My XI server was down. I executed the code for the sender ABAP Proxy and it did not catch the error. In SXMB_MONI in the R/3 system, I could see the messages queued up. When the XI server started, the messages were transferred to XI.
I need to handle such errors...ie. If the server is down or message did not reach XI then my ABAP program that sends data via ABAP proxy needs to know that something went wrong.
Thanks and Regards,
Ashwin -
Hi Experts,
My scenario R/3->XI(ABAP Proxy)--->SUS Systems
Getting the following error in SUS system.XI system it doesn't throw any error in moni.
I am new to proxy concepts.Also please let me know any related blogs or suggestions in this regards.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Call Inbound Proxy
-->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
<SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
<SAP:P2>CL_BBPX1_SUSIV_IN</SAP:P2>
<SAP:P3>EXECUTE_ASYNCHRONOUS</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during proxy processing An exception with the type CX_BBPX1_STD_MESSAGE_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Thanks,
SudhansuHi Behera,
Can you debug your proxy using this blog:
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/502a7f0e-e5d9-2910-5aa2-976a8ed8384f&overridelayout=true
Also please check few solutions given in this threads for the same issue:
Re: Messages waiting in SUS Moni
Re: ABAP Inbound Proxy Error !
Regards,
---Satish -
FILE TO INBOUND ABAP PROXY - error
Hi,
Getting the following Error in FILE TO INBOUND ABAP PROXY which is updating a Database table in R/3.
Error:
com.sap.aii.utilxi.misc.api.BaseRuntimeException
thrown during application mapping
com/sap/xi/tf/_file2proxy_mm_: RuntimeException in
Message-Mapping transformatio~
How to rectify the error...
RaviHi,
The error mentioned is indicating about the Message Mapping error.
I think you need to test your Message Mapping with test tab.
Here Goto SXMB_Moni and select the related message and double click on it.
It will show you the various steps in Message flow.
Take the Inbound Message and look for Payload in it. Open it in right side window and right click on it to see source code.
Copy it in Message Mapping and test it
Thanks
swarup -
Client ABAP proxy error handling. Please help!
Hi Experts,
I have following scenario:
SAP ECC (ABAP Client Proxy) -> PI(XI)-->(SOAP) Third party web service System
This is Asynchronous.
What will happen when ABAP client Proxy in ECC sends data to PI but PI is down?
Will the message be queued in ECC? Can the queued message be processed automatically when PI is UP later?
Please help.
Thanks & Regards
GopalHello Gopal,
Correct, it should be an automatic entry into the queue!
refer below for a detailed understanding!
/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies XI: Reliable Messaging u2013 EOIO in ABAP Proxies
/people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy Monitoring for Processed XML messages in ABAP Proxy
Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken] Weblog to send Response from RFC to File in Asyn Mode Using Proxy
/people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method PI/XI: ABAP Proxies say goodbye to Execute_Asynchronous method
/people/krishnakumar.ramamoorthy3/blog/2008/11/02/error-handling-framework-for-abap-proxies--part-1 Error handling framework for ABAP proxies - Part 1
/people/krishnakumar.ramamoorthy3/blog/2008/12/19/error-handling-framework-for-abap-proxies--part-2 Error handling framework for ABAP proxies - Part 2
Regards,
Jilan -
ABAP Proxy Error - Integration Builder address not maintained
I intend to use ABAP proxy between R/3 (ECC 6.0) and XI (PI 7.0).
On configuring the relevant connections, I run SPROXY and get the following error:
Integration Builder address is not maintained in the Exchange profile (Connections)
I have created the connx LCRSAPRFC & SAPSLDAPI from R/3 to PI but the connectivity does not work.
On running the reports
SPROX_CHECK_IFR_RESPONSE
SPROX_CHECK_HTTP_COMMUNICATION
SPROX_CHECK_IFR_ADDRESS
SPROX_CHECK_IFR_CONNECTION
My question is:
What is the Program to be used in LCRSAPRFC & SAPSLDAPI? I have used LCRSAPRFC_<sys id of XI server>
and SAPSLDAPI_<sys id of XI server>
Should the XI Integration Builder address be maintained in R/3?
If yes, is there any place where IB address can be maintained in R/3 (I believe there is no such thing as exchange profile in R/3. then how can IB address be maintained in R/3??...pls correct if I am wrong)
If IB address of XI has to be maintained in R/3 then can anyone pls tell me how to do it?Just recheck the steps with this and come up with doubts then
How do you activate ABAP Proxies?
Regards,
Prateek -
Hi All,
I am calling a custom RFC inside Synchronous ABAP server proxy.The problem is that I am getting HTTP Response code not OK error in XI callAdapter Pipeline step when RFC is returning application error (Return type of RFC Message is E ).
Error: The termination type was: ERROR_MESSAGE_STATE
I found note 568528 which says
"TH_RES_FREE or ERROR_MESSAGE_STATE
either the application or the task handler has processed an error
message.Either the "E" message type was used in the application for the "MESSAGE" ABAP language element here or an action was executed in the application, which is not allowed within the framework ofthe ICF.Among other things, outputting a screen (for example,screen or list output) or eliminating the current mode using the"SUBMIT" ABAP language element, for example, are part of the actions".
What should be done to overcome this error?
Note: When i use XI RFC adapter directly to call the RFC, it is working fine and application error of RFC is getting populated in custom error structure perfectly.
Regards,
Sudharshan N AHi Sudh..
Into your RFC, do you have an authoritycheck ?
Because that could explain the difference between your own RFC running and this one of XI: user are not the same.
Remind: authority check are based on user profiles. That could explain that an error message is generated by SAP in some cases, and not for another one.
Regards.
Mickael
Edited by: Mickael Huchet on Apr 14, 2008 1:18 PM -
H All,
I have a problem with my proxies that I receive from ECC, 95% of the time the proxy works perfectly, but then the other 5% it fails. When the Message exits ECC it only has one message in the payload, but when it reaches XI it has multiple payloads see pics attached. Any help will be appreciated.
SAP ECC.
SAP XI.
We are using SAP ECC 6 Ehp6 SP08 and SAP XI 3.0.
Regards,
CJ BesterHi
The screen shot you have provided for XI, is the payload after XI message mapping. I think you are using multi mapping in XI and hence the payload contains sub payload.
If you check the payload under inbound message in SAP XI, you will see only one payload.
Click on the error and you will see the actual error message in XI and then try to find out the reason for it.
Hope this is clear. -
ABAP Proxy error : GET_BUSINESS_SYSTEM_ERROR
Hi All,
I am working on Proxy to File Scenario. In this, while executing a proxy program in Sender system I get the following error:
- <CX_AI_SYSTEM_FAULT>
<CODECONTEXT>Local</CODECONTEXT>
<CODE>GET_BUSINESS_SYSTEM_ERROR</CODE>
<ERRORTEXT>An error occurred when determining the business system (LD_ERROR)</ERRORTEXT>
<LANGUAGE />
</CX_AI_SYSTEM_FAULT>
</cls:CX_AI_SYSTEM_FAULT>
Can anybody please guide me on this.
Thanks,
ChandravadanHi Sudharshan,
<i>>>> First check the RFC Destination SAPSLDAPI in ur application system and check if SLD of XI is running fine.</i>.
This RFC Destination in Application System is working & SLD of XI is running fine.
<i>>>>Have u pointed to the SLD of XI in transaction SLDAPICUST of application system. It should point to XI SLD. Make sure that u give the host,port,user,password(XI's) correctly there.</i>
It is pointing to SLD of XI & the user I am using is XIAPPLUSER.
<i>>>>Check whether u are executing the proxy in the right client, which is configured as Business system in SLD of XI.</i>
Yes, I am executing proxy in right client which I have defined in SLD as Business Syetem. I am using ECC 5.0 as Sender system.
<i>>>>Also in SXMB_ADM of the application system, check if u have maintained a HTTP Destination to XI and it tests fine.</i>
Yes, I have maintained HTTP destination in Application system & it is also working fine.
Thanks,
Chandravadan -
Error while activating ABAP proxy object
Hello,
I can see all the interfaces of PI7.0 in my ECC6.0 system.
I am able to create abap proxy object of a interface.
But when I try to activate that I am getting error as
"RFC system error for destination GTADIR_SERVER".
Pl can you suggest. appreciate quick help in this.
thanks in advance,
SharadaHi,
For more details take a look at note: [1063482 - Creating Dictionary objects - RFC error GTADIR_SERVER|https://service.sap.com/sap/support/notes/1063482]
It is written that: Message SGSUB 104 is not an error message, but is merely irrelevant information for customers. You can continue to create objects nevertheless.
To get rid of this annoying error you have to implement the corresponding support package.
Regards,
Jakub -
Error while invoking the ABAP Proxy via SOAP Adapter
Hi,
My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
With this approach, i am encountering the below error message
2009-05-29 12:17:55 Error Adapter Framework caught exception: null
2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
Any ideas on the above errror message? Any pointers or inputs will be appreciated.
Thanks,
Vinayak Kamath> 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
> 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
This is a generic error message which does not have any information about the error which has occurred.
Do you see any error messages in the SOAP client?
Regards
Stefan -
OBJECTS_OBJREF_NOT_ASSIGNED error while executing ABAP proxy
Hi ,
I am getting the following error when i try to execute an abap proxy .
Unit ID in Background RFC 001EC9D184F702ECAA8DBC7401DC13E0
Name of First Function Module SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_C
Inbound Destination Name WS_SERVICE_02DCA4961A0B_IN
Transaction Code SE38
Name of qRFC Queue SRTQC_001EC9D184F702ECAA8DBC6FE29753DB
Created On 28.01.2009
No. of Predecessors 1
Created At 12:44:10
Executed At 12:44:13
Created At (Time Stamp) 20.090.128.114.410,9989340
User name DEVELOPER
Tcode/program CL_SOAP_SCHEDULER_QRFC_NEW====CP
ID of Lock in Background RFC 001EC9D184F702DCAA8DBCA25EC41F5E
Lock Reason System error; not executed
Background RFC Scheduler ID 1
Message number 341
Language Key EN
Status Text Unit has execution errors
Execution State Access using a 'ZERO' object reference is not possible.
Number of Called Function Modules 1
Number of Locks 1
Commit Check Disabled X
Message Class 0
Message Variable OBJECTS_OBJREF_NOT_ASSIGNED
Executed On 28.01.2009
and in ST22 transaction i am getting the following dump
Runtime Errors : OBJECTS_OBJREF_NOT_ASSIGNED
Exception :CX_SY_RF_IS_INITIAL
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "WSRM_CLONE_FOR_SPECIFIC_OPS" "(METHOD)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An attempt was made to access a component (variable: "ME->M_CTX") with a 'ZERO'
object reference (points to 'nothing').
An object reference must point to an object (an instance of a class)
before it can be used to access a component.
Either the reference has not yet been set or it was set to 'ZERO' using
a CLEAR statement.
Please help in solving this issue.
Thanks&Regards,
Hamsa ShreeHi
Runtime Errors : OBJECTS_OBJREF_NOT_ASSIGNED
Check with the SAP Notes Note
557770 - SAP BP: Short dump OBJECTS_OBJREF_NOT_ASSIGNED
may be you get the exact help
Regards
Abhishek
Maybe you are looking for
-
Now that I've downloaded a book from the library, How do I get it on to the Kobo? It's really frustrating.
-
A year and a half ago I purchased an iPhone 4s and created a substantial library of music in the iTunes account on my PC. Just recently, I purchased a Macbook Pro w/ Retina and am just getting around to syncing the newer iTunes library on my iPhone.
-
Usual preview instead of custom preview after canceling of step.
Hi. I try to made workitem with dialog, like Form step. Macros u201Cexit_cancelledu201D used in method in case of user cancel form. Also u201CAdaptation work item preview in Business Workplaceu201D function assigned to step. SBWP preview shows screen
-
Cannot reinstall itunes windows
Must install 64 bit, seems to get to the end & then rewinds. Tried to download separately, gets stuck. I think the problem is with the apple support portion. I have a iPhone 4, iPod 4th, and shuffle with 2 different iTunes accounts.
-
My iPod touch 5 wont respond to anything. It wont turn on. It wont charge. It wont connect to iTunes. Help!