ABAP Proxy doesnu2019t Work
Hi all,
We have problem about ABAP Proxy (Inbound). We are using a follow scenario:
Legacy ( JDBC ) -> XI -> ABAP Proxy ( ECC Backend )
Recently The ECC Backend was updated ( only data ) , and since than the ABAP Proxys doesnu2019t work. We tested other Adapter, we used Receiver RFC Adapter, and RFC Adapter worked.
We tried a lot of thinks, we regenerated ABAP Proxys, We activated Proxys, taken Refresh Full CPA Cache, we checked SCIF, SMICM, and we couldnu2019t solved the issueu2026..
Could you help us????
Thanks!!!
Fábio Ferri
SAP Consultant XI/ABAP/Netweaver
Hello,
i think for this scenario..you have used XI adapter.
Check HTTP service number.
It should be same as in:
In SAP R3, Transaction - > SMICM : goto->services -> ..you will find HTTP service number..Use the same in XI adapter.
or
Execute transaction : SPROXY
goto-> connection test.
Regards,
Sreenivas.
Similar Messages
-
ABAP Proxy Doesnt work in PI 7.0
Hi All,
We have strange problem with ABAP Proxy under PI system
We are getting proxy communication error in PI 7.0 (NOT FROM Business system).
After reading a lot of threads & notes, I performed all the necessary checks, but still no luck.
--> When I click on integration builder from SPROXY T-code it popups correct XI Screen
--> Following parameters are maintained properly
com.sap.aii.connect.repository.name: Server (for example, pwdf0436)
com.sap.aii.connect.repository.httpport: Port (for example, 1080)
com.sap.aii.connect.repository.contextroot: Root (for example, rep)
com.sap.aii.applicationsystem.serviceuser.name: User
com.sap.aii.applicationsystem.serviceuser.pwd: Password
--> All the RFC like AI_RUNTIME_<SID>, LCRSAPRFC & SAPSLDAPI & SLD_UC etc working fine
Following reports are NOT working
SPROX_CHECK_IFR_ADDRESS
SPROX_CHECK_IFR_RESPONSE
SPROX_CHECK_IFR_CONNECTION
Following report execute SUCCESSFULLY
SPROX_CHECK_HTTP_COMMUNICATION
Thanks in advanceHi Rakesh,
Has the ABAP system been configured as specified in the XI configuration guide (Section on how to configure a business system)?
This would include Integration Engine Configuration in transaction SXMB_ADM, configuration in transaction SLDAPICUST and RFC destinations in SM59. -
Outbound ABAP proxy stops working
Hello experts,
We have an interface, which sends data from SAP to PI via outbound proxy. It worked before and at some point it stopped working in dev. But it still works in QA and production. I tried to make sure that the related objects in IR and the ABAP sender program are the same between DEV and QA and regenerated the proxy in SPROXY. However it did not work. No message could be found in SXMB_MONI and in the debugging mode, the exception of CX_INVALID_TRANSFORMATION raised when calling EXECUTE_ASYNCHRONOUS.
The attribute INTERNAL_SOURCE_POS showed red in variable L_TRANSFORMATION_ERROR, which references to cx_transformation_error.
Some of the called methods are listed below.
outbound_handler_execut -> CALL_EXECUTE_OUT -> xi_call_outbound( ) -> xi_process_payload( ) -> CALL METHOD cl_ws_payload_handler=>data_render
It is appreciated if you could shed some lights on this.
Thanks in advance for your help,
ShawnHi.
When you execute Proxy program check in ECC any message created in SXMB_MONI in ECC, of messages were found then shcek the status.
if no messages then problem with Proxy program , take help from Abaper.
Regards,
Raj -
How do ABAP Proxy and XI adapter work?
Hi everybody,
I have a general question about the ABAP proxy and XI adapter.
In order to use the ABAP proxy and XI adapter, I must configure the HTTP Destination between the R/3 system and the XI server. I must also maintain the SLD.
After several hours configurations with our administrator, it failed. At least the HTTP Destinations on both servers don't work correctly. We got always HTTP error message. But a scenario with an ABAP Receiver proxy works! It is really strange and laughable. We're very happy about that but don't know why and what happened. Today we tested the ABAP Sender proxy, it doesn't work.
So we decide to ask the XI experts in this forum to give us a general lessen about the ABAP proxy: how it works, why we should create the HTTP destinations, how do the destinations work and so on.
Thanks a lot in advance!
With best regards
XiangHi
Once you create the interface in XI, you generate the proxies on your R3 system.
Client Proxies -->
This is done for outbound interfaces. You generate the proxy and then write a report that fills in the proxy class with the data and pushes it to XI.
Server proxies -->
Generated for inbound interfaces. Generate the proxy and write the implementation for the exectue method that deals with the data sent from XI to the R3 system
Abap Proxy
ABAP Proxies in XI(Client Proxy)
Smarter Approach for coding ABAP Proxies
The specified item was not found.
ABAP Proxy - XML to ABAP Transformation
http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
why we should create the HTTP destinations, how do the destinations work and so on.
we create http destiantio because in proxies , adapter is not use so who is goin to send the message to integration server ...by creating http destinatio we create integration engine which send messg to IS . then messg is routed .and all
error in HTTP to file scenario http to file
hope this help's you
Regard's,
Chetan Ahuja -
Simple Inbound ABAP Proxy doesn't work in my new PI 7.1 EHP 1 SP3 ?
Hi,
I just installed and configure new PI 7.1 EHP 1 SP3 and i tried some simple abap proxy but seems like doesn't work.
Please advise what is missing base on my simple abap code below :
METHOD zpi711ii_si_syn_in_aaeproxy~si_syn_in_aaeproxy.
**** INSERT IMPLEMENTATION HERE **** ***
DATA: inputdata TYPE ZPI711MT_REQ_1,
outputdata TYPE ZPI711MT_RES_1.
CONCATENATE inputdata-mt_req_1-firstname ' ' inputdata-mt_req_1-lastname INTO outputdata-mt_res_1-fullname.
ENDMETHOD.
i have put some break on the CONCATENATE seems like inputdata-mt_req_1-firstname is empty ? why ?
The sample xml input is :
<n0:MT_REQ_1 xmlns:n0="http://www.abeam.com/sample/pi" xmlns:prx="urn:sap.com:proxy:ST6:/1SAI/TAS1190827B531A473B357B:700:2008/06/25">
<FIRSTNAME>This is a string 4</FIRSTNAME>
<LASTNAME>This is a string 5</LASTNAME>
</n0:MT_REQ_1>
Please advise
Thank You and Best Regards
FernandHi,
it's empty because you just declared the inputdata structure locally in the method.
I think you shoud refer to the methods's interface.
T. -
My simple Inbound ABAP Proxy code doesn't work in PI 7.1 EHP1 SP3 ?
Hi,
I just installed and configure new PI 7.1 EHP 1 SP3 and i tried some simple abap proxy but seems like doesn't work.
Please advise what is missing base on my simple abap code below :
=================================================================================================
METHOD zpi711ii_si_syn_in_aaeproxy~si_syn_in_aaeproxy.
**** INSERT IMPLEMENTATION HERE **** ***
DATA: inputdata TYPE ZPI711MT_REQ_1,
outputdata TYPE ZPI711MT_RES_1.
CONCATENATE inputdata-mt_req_1-firstname ' ' inputdata-mt_req_1-lastname INTO outputdata-mt_res_1-fullname.
ENDMETHOD.
=================================================================================================
i have put some break on the CONCATENATE seems like inputdata-mt_req_1-firstname is empty ? why ?
The sample xml input is :
=================================================================================================
<n0:MT_REQ_1 xmlns:n0="http://www.abeam.com/sample/pi" xmlns:prx="urn:sap.com:proxy:ST6:/1SAI/TAS1190827B531A473B357B:700:2008/06/25">
<FIRSTNAME>This is a string 4</FIRSTNAME>
<LASTNAME>This is a string 5</LASTNAME>
</n0:MT_REQ_1>
=================================================================================================
Please advise
Thank You and Best Regards
FernandHi Fernand ,
Few things to check :
1. hope you are accessing the correct node of proxy structure and the correct message type too.
2.. If the occurrence of node is 1 to many than it will be a table type in that case your need to use a loop to access row values.
Make sure that you have used the correct message types for creating variables..
DATA: inputdata TYPE ZPI711MT_REQ_1,
outputdata TYPE ZPI711MT_RES_1.
--->inputdata-mt_req_1-firstname ' ' inputdata-mt_req_1-lastname
>once you have created the variable of particular messagetype than you have to use in this format inputdata-firstname and inputdata-lastname. seems some thing fishy here...inputdata-mt_req_1-firstname/lastname.
Regards , -
ABAP Proxy outbound doesn't work
Hi All,
I want to develop an ABAP Proxy to SQL server scenario.
So, I created a interface in Integration Builder and created a proxy on outbound message interface in SPROXY.
When i execute sender program in R3 , it works fine, but It doesn´t reach the PI system.
Outbound message t doesn´t appear in SXMB_MONI in R3 nor Pi system.
What is wrong?
Thanks, in advance
CarmeOur basis team has changed the hostname of our R3 QAs system , but no changes are made in SLD of Pi system.
I think this could be the cause of this issue.
¿can anyone confirm this point?
If yes, ¿what must i do to recover this functionality?
Thanks,
Carme -
Hi friends,
Can anybody explain me that how actually ABAP proxy works(in both cases clent and server proxy). when shuld we go for proxy.And how proxy seprates business application from technical infrastructure?
If u have any presentation or document on ABAP proxies ,plz send me
Thanks in advance
ShwetaHi
Adapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XIs Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.
Systems based on 6.20or higher can communicate directly with proxies.
Proxies
The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.
Proxies are generated from Message Interface in IR.
The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a client proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a server proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).
Proxies are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions. You can use proxies for systems with WAS >=6.20
XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies.
mainly we go for proxies for adapters less communicaton there
Client Proxy: Proxies created out of Outbound message Interfaces.Here XI is receiving some information and is
acting as a client.
Server Proxy : Proxies created out of Inbound message Interfaces.Here XI sends the information to some other system acting as the Server.
we can create the ABAP proxy in ABAP workbench.
Use
Using ABAP the proxy generation function you can generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository.
Prerequisites
ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40.
The proxy generation retrieves the WSDL description of the interface from the Integration Repository using HTTP. The address of the appropriate server is taken from the exchange profile (parameters 1, 2, and 3 u2013 see below). Queries to the Repository are subject to authentication. The user and password for these queries are also taken from here (parameters 5 and 6). Information used to navigate from the ABAP Proxy Generation to the initial page of the Integration Builder is also taken from the exchange profile (parameters 1, 2, and 4).
How to create proxy.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
How to Activate Proxy.
How do you activate ABAP Proxies?
ABAP Server Proxies (Inbound Proxy)
ABAP Server Proxies
OutBound Proxy (Client Proxy)
Smarter Approach for coding ABAP Proxies
ABAP Proxies in XI(Client Proxy)
File to R/3 via ABAP Proxy with good example
File to R/3 via ABAP Proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Synchronous Proxies:
Outbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
Inbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
go thru the weblog How do you activate ABAP Proxies? which explains how to activate proxies
Check this for Use Of Proxies
Choose the Right Adapter to integrate with SAP systems
Hope this is useful and clears your doubts
Thanks
Saiyog -
Problem with Configuration in Production ( ABAP Proxy - XI - FILE)
Hi All,
I have a ABAP Proxy -> XI -> FILE scenario wich is working perfectly in DEV and QAS environment.
When the person responsible for transporting tried to transport the objects in QAS to PRD, the following error happened:
Direction of communication channel |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA is incorrect.
Correct the direction or choose another communication channel
BS_MA_FileServer_PRD - Business System (FILE)
CC_File_PedidosServ_MA_FileServer_IA - My FILE Communication Channel
This was what the Basis person sent to me. I don't have access to know exactly what happened. And I really don't know what could be wrong or if maybe a component was created wrongly in Production.
Hope you can help.
Points will be given.
tks.. DanielaYou have mentioned FILE is on the receiving side and ABAP proxy is on sender side.
But the error pasted by you clearly shows syntax of a Sender Agreement .
For receiver agreement it should be |<Sender Service>| |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA
Bipin -
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 -
Error while generating ABAP proxy
Hi,
We created a WSDL using lotus notes (Domino) tools. While creating a proxy object using ABAP (transaction SE80), we get the error message "Cannot generate proxy (object missing in WSDL, see long text)" Message no. SPRX084.
We looked at OSS notes and applied 1046046 - Proxy generation problem with external definitions and all dependent notes as we are on a lower support pack. (WAS 6.40. SAPKB64019).
We are wondering if it is anything to do with the format/defintions in the WSDL. Can anyone send me a sample WSDL file that has been used to create an ABAP proxy object successfully. We would like compare the domino generated file. Please note that XI is not involved, we are using ABAP to call a webservice in the internal network application.
Thanks,
GirishHi,
I've implemented this proxy without problem and it's working fine in my case (I didn't have to store WSDL file localy and do any changes in it - Netweaver 7.2). If it's not SAP issue as Brad proposed then maybe network admins have set filters that are blocking communication with this service
Best regards
Marcin Cholewczuk -
Error while executing sender ABAP proxy program in ECC
Hi,
We have lot of proxy to file scenarios, most of them are working fine. I am having issue with 2 interfaces, when I execute sender ABAP proxy program, we are getting following errors in ECC:
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="PARSING">GENERAL</SAP:Code>
<SAP:Stack>com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=ED1CLNT290;TS=;AN=CustTrPowersellS_Out;ANS=urn:maines-net:OTC_079E:PowersellCustomerTerms; at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:237) at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:167) at com.sap.aii.af.service.cpa.InboundRuntimeLookup.<init>(InboundRuntimeLookup.java:88) at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:519) at com.sap.aii.adapter.soap.web.MessageServlet.getBinding(MessageServlet.java:875) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:439) at etc etc
Configuration should be fine because many scenarios are working. Can you please help me where could be the error?
Let me know if you need more info.
Regards,
N@v!nHi Naveen,
We saw your solution about this issue. We are also facing same issue. I wanted to know where we have to update scenario as simple scenario or integrated scenario.
And could you please tel me what is the main diff between in these two.
As we are are using PI 7.31 java stack so for this version what we have to use.
Thanks,
Shivdeep Kumar -
ABAP proxy exception to SOAP fault and vice versa not getting mapped
Hi there,
I have these scenario's: ABAP proxy to SOAP (AXIS framework) and the other way around, synchronous, using AAE.
When declaring the Synchronous Service interfaces we also defined error message types in order to pass system and application exceptions back to the service consumers.
The behavior we are observing is as follows;
When an exception is generated on the ABAP proxy, the error message type is correct generated and filled with the corresponding values in the ABAP proxy runtime. However, when the response arrives at the service consumer, it only contains a SOAP fault filled with some kind of generic PI mapping exception information.
1. Why is the original ABAP proxy exception not mapped/passed into the SOAP response?
2. What can we do in order to change that situation?
3. Does it has to do with the use of the AAE - Advanced Adapter Engine or the AXIS framework?
PS: We have performed a test of the Operation Mapping - OM using the ABAP exception as input and it did work correctly, so the error structure seems to be Ok.
Many thanks for your replies.
Edited by: Roberto Viana on Jul 26, 2010 8:30 PMProblem was caused by some differences in namespaces between source and target.
-
Issue in Iodc- abap proxy scenario
Hi all
I have a idoc to abap proxy scenario. The issue is ,
when we send the idoc to client A of target system, it works ifne.
But when we send the saem mesage to Client B, we find a error message in sxmb_moni of Target system. the mesage is Application_fault.
Is it because of any error in XI configuration or somethin else.hi all
thanks for all your responses.
I forgot to mention that based on a particualr field value in the idoc , it will be routed to eihter Client 100 or 200 .
I gave the conditions in Receiver Determination.
Same Server Proxy is used in both the target business sytems.
I have done all the Configuration Steps ,( Created two separate business systems also )
Also I have checked wiht all the system settings to be made in the target system B.
When i trigger the idoc to Client 100, it goes to XI and then reaches Client 100 of System B
without any problem. I get the desired result from proxy code.
When i send the saem idoc to Client 200, it reaches the target system and routed to client 200. But getting this error message in
the Call Inbound PRoxy step. (from sxmb_moni)
<SAP:Category>Application</SAP:Category>
<SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
Since it reaches the target system correctly, i guess there is nothing wrong in the XI configuration side.
But if its Application fault, how come the same data is processed successfully in one client whereas it thorws error in another. -
XSD Data Type to ABAP Proxy Tech. Type
I am working with an ABAP development team who is creating PROXYs from the Service Interfaces I have setup in the ESR (PI 7.11). I have been asked to set the type of a numeric field by the ABAP developer as this:
"Yeah we can convert from string to currency but sap internally stores currency with 3 decimals so we may got to do some multiplications and divisions based on how many decimals sender passes. If you could create a numeric with 3 decimals that is ideal."
The XSD type as xsd:decimal, but in the proxy it seems to create Tech. Type = STRING.
I can apply formatting rules in the message mapping, but developer is convinced that the Service Interface can have the correct ABAP Tech. Type. I do not find any messages in this forum, so not sure what to do.
Thank you for your time.Internal ABAP types like packed or float cannot be created by ABAP proxy.
I recommend to use String for any type. Inside XML you will have a String representation anyway, but you will encounter less issues in converting from XML to ABAP internal types.
I work a lot with currency fields, it is no problem at all. Inside ABAP you mave currency field to string field, the decimals are correct.
If course, in mapping you have to create a decimal field, but this would not be any change, if you had a decimal type in ABAP.
Maybe you are looking for
-
I have updated my iPhone 3Gs to the latest software in an attempt to iron out a problem with a new telephone network provider (Tmobile). I had backed up my phone before I did this. Now I have lost my music and apps. I can't sync the phone with my Mac
-
Touchpad sensitivity not saving correctly
for some reason in system preferences when i try to change the touchpad tracking speed...it doesnt get saved if i put it on a certain level. it saves correctly on highest, 2nd highest, and 5th highest. if i try to save it on 4th highest sensitivity,
-
Xorg.conf, evdev, logitech g5
I'm having trouble combining my logitech g5 (2nd version with 2 thumb buttons) and evdev. Based on some things I've read around the net, I'm under the impression that I can get the buttons (total of 9) to work using evdev as the driver. I have the k
-
Problem seeing character count on iPhone 5c
Even before up-date today, I cannot see the character count on any messages I send whether to another Apple phone or Android. The button is switched on in settings and I've tried restarting phone after turning it on and then off again. Any suggestion
-
Correct Cover size - Saw 3 sizes?
Hi, I saw three sizes for to make a cover for ibooks author. One was: Must be one of thse sizes: 1024x768, 1024x748, 768x1024, 768x1004 (H x W) Another said 600 by 1200 and anther wrote 1004 by? What size do I make for the cover in iBooks Author in p