Using ABAP Proxies
Hi all,
I am trying to achieve the following scenario:
Read a file from a specific directory and directly insert the records into the SAP table by using ABAP proxies.
But during execution, I am getting the following error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>405</SAP:P1>
<SAP:P2>Method not allowed</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html dir=ltr> <head> <style> a:link a:visited </style> <META NAME="ROBOTS" CONTENT="NOINDEX"> <title>The page cannot be displayed</title> <META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252"> </head> <script> function Homepage(){ <!-- // in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.URL; //this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://",4); //this finds the ending slash for the domain server serverIndex=DocURL.indexOf("/",protocolIndex + 3); //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL,serverIndex); //for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex); InsertElementAnchor(urlresult, displayresult); } function HtmlEncode(text) { return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g, '<').replace(/>/g, '>'); } function TagAttrib(name, value) { return ' 'name'="'HtmlEncode(value)'"'; } function PrintTag(tagName, needCloseTag, attrib, inner){ document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) ); if (needCloseTag) document.write( '</' + tagName +'>' ); } function URI(href) { IEVer = window.navigator.appVersion; IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 ); return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ? encodeURI(href) : escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';'); } function InsertElementAnchor(href, text) { PrintTag('A', true, TagAttrib('HREF', URI(href)), text); } //> </script> <body bgcolor="FFFFFF"> <table width="410" cellpadding="3" cellspacing="5"> <tr> <td align="left" valign="middle" width="360"> <h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!Problem>The page cannot be displayed</h1> </td> </tr> <tr> <td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana">The page you are looking for cannot be displayed because the page address is incorrect.</font> </td> </tr> <tr> <td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana"> <hr color="#C0C0C0" noshade> <p>Please try the following:</p> <ul> <li>If you typed the page address in the Address bar, check that it is entered correctly.<br> </li> <li>Open the <script> <! if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2"))) { Homepage(); } //--> </script> home page and then look for links to the information you want.</li> </ul> <h2 style="COLOR:000000; FONT: 8pt/11pt verdana">HTTP 405 - Resource not allowed<br> Internet Information Services</h2> <hr color="#C0C0C0" noshade> <p>Technical Information (for support personnel)</p> <ul> <li>More information:<br> <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=405&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft Support</a> </li> </ul> </font></td> </tr> </table> </body> </html></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 405 with the description Method not allowed XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could anyone please help me in this regard?
Thank you in anticipation.
Use this 3 blogs for proxies.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies(do the required configuration for activating proxies)
/people/siva.maranani/blog/2005/04/03/abap-server-proxies(server proxies)
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy(client proxies)
Similar Messages
-
How can we post data from CRM to SAP using ABAP proxies???
Hi ,
Can anyone hep me to create interface for the following scenario How can we post data from CRM to SAP using ABAP proxies???, can I find any document ???????
Thanks in advance
AndyAndy,
Please look at these weblogs.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
These should give a good idea about implementing Proxies.
Regards,
Ravi -
No connection to the Integration Builder while using ABAP Proxies
Hi All,
Here am getting an error when i say SPROXY in R3 system.
No connection to the Integration Builder while using ABAP Proxies.
For this i have gone through the blog no 3022.
and i did all the connection.And then i have gone through the steps
Go to---->test connection steps.I added the address called com.sap.aii.server.name.repository in SPROXSET table.
and i run the Tcode SPROXY.Now am getting into DUMP when is say SPROXY.
And also i run a program called SPROX_CHECK_IFR_ADDRESS to add the address
but i didn't found the path for Excahnge Profile it was disable.
and later i run a program SPROX_CHECK_IFR_CONNECTION
now it went into DUMP.
Can Anyone suggest me how to fix this error.
Thanks,
Kalyan.hi kalyan
1)check whether your R/3 system is based on WEBAS 640 or WEBAS620 (if it is on WEBAS 620 you need to install xi ADD ON,if on WEBAS 640 no need)
2)check the report SPROX_CHECK_IFR_ADDRESS
The address is taken the from following parameters in the exchange profile (section 'connections'):
http://server:port/exchangeProfile --> Connection
com.sap.aii.connect.repository.name: Server (e.g. pwdf0436)
com.sap.aii.connect.repository.httpport: Port (e.g. 1080)
com.sap.aii.connect.repository.contextroot: Root (e.g. rep)
Furthermore, the logon data is also read from the exchange profile(section 'ApplicationSystem'):
com.sap.aii.applicationsystem.serviceuser.name: User
com.sap.aii.applicationsystem.serviceuser.pwd: Password
rgrds
kummari -
Unallowed RFC-XML Tag (SOAP_EINVALDOC) - Web Service using ABAP Proxy
Hi there
I am trying to consume a Web Service using ABAP Proxies. I have done the following in the system:
I configured the HTTP and HTTPS Proxy settings.
I created a package with package interfaces SAI_TOOLS and SAPPINT included under the Use Access tab.
I created the proxy classes by using the WSDL provided by the system I'm trying to interface with.
I created my HTTP destination RFC via SM59.
I configured a logical port for the proxy.
I developed the ABAP code for calling the proxy.
In the code the exception CX_AI_SYSTEM_FAULT gets raised with error message <b>"Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b> when I call the method for passing data to the destination system in the proxy class.
I had a look at SM21 and the following message was written in the log:
<b>"SOAP Runtime: SOAP Runtime exception: 111 occurred in method XP_READ_TAG of class CL_SOAP_XP at position 1
SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b>. I also looked at SAP Note 919886 which states that it can be dumps in the system, missing configuration or the path prefix of the RFC destination that is incorrect. I cannot find any ST22 entries. The trace file looks as follows:
SAP System ID: DGH
Client: 009
User: COLESKG
System time: 072910
System date: 20070531
SAP Release: 700
Host: hd307c
Operating system: AIX
DB System: ORACLE
Program: ZUK_IPA00003
Processing State: 0
Location: Client
Transport Binding: http://schemas.xmlsoap.org/soap/http
SOAP Application: urn:sap-com:soap:runtime:application:client
SOAP Runtime Protocol: http://www.sap.com/webas/630/soap
/runtime/protocol
SOAP Protocols: <initial>
Request Message: <initial>
Response Message: <initial>
Fault: <initial>
Registry: <initial>
SOAP Roles: <initial>
Trace Level: 3
Logging Level: 2
Monitoring Level: 0
Security Profile: <initial>
WS Security Protocol: <initial>
INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to create client application for Proxyclass:
ZES_CO_PROCESS_EMPLOYEE_BATCH LP name: DEFAULT
INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application created
INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to initialize client application
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Try to initialize application
urn:sap-com:soap:runtime:application:client
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new runtime CL_SOAP_RUNTIME_CLIENT
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Try to register application
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Application registered
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Read type of transport binding from
configuration
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new transport binding type
http://schemas.xmlsoap.org/soap/http
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() Try to initialize
http://schemas.xmlsoap.org/soap/http
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() http://schemas.xmlsoap
.org/soap/http initialized
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Try to create request message
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Request message created
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Try to create response message
INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Response message
created
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Try to initialize
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Check transport binding
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Create runtime protocol
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Runtime-intrinsic
Protocol as SENDER with Priority 5
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create trace header/part
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Trace header/part created
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create logging header/part
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Logging header/part created
INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT()
Initialized
INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
Try to create instance for http://www.sap.com/webas/630/soap
/runtime/session/protocol::http://www.sap.com/webas/630/soap
/runtime/session/protocol/srt640_impl
INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
Instance of CL_SOAP_SESSION_PROTOCOL created for http://www.sap.com/webas/630/soap/runtime/session/protocol::http://www.sap.com/webas/630/soap/runtime/session/protocol/srt640_impl
INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Session Protocol
as SENDER with Priority 5
INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Try to configure features
INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() Try to
create ICF Client for DESTINATION = ALSB
INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() ICF
Client created by DESTINATION
INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_DESTINATION_URL_PATH() Set
DESTINATION PATH = /SapHRSmartIntegrationWeb/processes/ProcessEmployeeBatch.jpd
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Features configured
INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Application urn:sap-com:soap
:runtime:application:client initialized
INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application initialized
Trace file opened at 20070531 073030 GMT SAP-REL 700,0,95
Error in module XMLParserGetNextElement:773
Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfcpars.c#2 $
Unallowed RFC-XML Tag
Error in module XMLConverterReadTag:3061
Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfccnvrt.c#5 $
Unallowed RFC-XML Tag(24)
Error in module ab_soap:4392
Id @(#) $Id: //bas/700_REL/src/krn/rfc/abxrfccal.c#2 $
failed with return code 1
It then must be something in the config. Has anyone got any idea why this message is encountered?
Kind Regards
Gustav Coleske
Message was edited by:
Gustav ColeskeHi,
I have the same problem as described.
Can you give me a little more information about the error you have solved in the proxy.
Thanks for help
John -
ABAP proxies in PI 7.0 to WebServices in PI 7.1
Hi guys,
I currently use ABAP proxies with my PI 7.0 and I was wondering if I could publish them as web services in my ESR if I upgrade to PI 7.1. Does anyone know ?
Many thanks
Best regards,
GLHi Guislain !
You can expose your abap proxies as webservices also with PI 7.0. Just create Proxy-PI-SOAP scenarios, and consume them as webservices directly from NetWeaver. We are using this without problems. The only thing, you lack of an integrated registry of services.
Regards,
Matias. -
XI content certification - ABAP proxies possible?
Hi,
can we use ABAP proxies in XI content certification ?
I mean develop an ABAP proxy in IR that will be generated in ERP
and just supply the code for it ?
BTW
I've tried asking on :
Process Integration (PI) & SOA Middleware
but with little success
I also tried contacting SAP ICC (both EU and Americas)
but I got no response
thank you,
Regards,
michalHi John,
Exactly what I needed to know
thanks
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Always coding with abap proxies?
Hello
I have seen some blogs about abap proxies, however every blog had a coding of some reports etc.
Do I have to code everytime when using abap proxies?
The easiest way would be to generate the proxy classes in sproxy and you are done.
Thank you.
Regards,
Go:khanHI,
When you generate a proxy object, it will create a message strcuture and you need to populate this structure with the data. For this you are writing ABAP code.
So proxy is acting as a method, and you need to call this method with appropriate values. Inorder to call this from R/3 side, you are writing a Report (easiest way) and schedule the report as per the requeirement. So this report will fetch the data and trigger the proxy with the data. This is the case with Client Proxy.
Now Server Proxy- in this case your data is structured and populated when XI is calling proxy. But what needs to be done for these data ? SO you need to update the table etc right. For this again you need to write some part of ABAP code.
Hope this helps,
Regards,
Moorthy -
Was there a change in method names for ABAP Proxies ???
Hi all,
i am wondering if there was a change in the method names when using ABAP proxies.
In my projects there were always the methods execute_synchronous and execute_asynchronous when generating proxies.
In a current project i created some ABAP proxies and the method names are not the same any longer. Now the method takes the name of the Message interface. I observed this in Backendsystems NW2004s (Basis 7.0) with SP14 and 15. It seems that it has changed since the sproxy was integrated in SE80.
Can anybody tell me, how i can use the "old" method names again when generating proxies ?
Best regards,
martinActually i guess they did in more SOA way. If u see it says connecting to ESR rather than integration repository.
Yes. In order to allow several operations for a message interface, the methods of the ABAP proxies get the operation name as method instead of a constant (the Java proxies alwas had this behaviour).
could u pl highlight what other operations are allowed on message interface rather than sending a message to the XI either in synchronous or asynchronous manner?
Thanks and Regards
Rajeev Patkie -
Use of XI adapter in ABAP proxies
Hey Guys
i was going through some blogs and came across that we need XI adapter for ABAP proxies,i had thought that proxies are used for adapterless communication,then why is the need for XI adapter?i know XI adapter is used to transfer XML messages to/from sender/receiver system.
also do we always need to use XI adapter for proxy communication?
thanx
ahmadHi,
The use of adapter here is to communicate the Integration Server with respective ApplcatioN System. ie, R.3 or any SAP system which is configured as an Application System to the XI.
Proxies communicate with the XI server by means of native SOAP calls over HTTP . SO you need to mention the integration server to point/connect to correct application system during runtime.
http://help.sap.com/saphelp_nw2004s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/content.htm
Hope this helps,
Regards,
Moorthy -
HTTP Error with Status code 403 when using ABAP Server Proxies
Hi All,
I have been working on ABAP Client and Server proxies in my project. The weblogs by Ravikumar, Prateek Shah, Siva Maranani & VijayaKumari were very helpful and thank them all for just helpful and guiding postings.
Interfaces using Client proxies are working fine and have been tested successfully. But I'm facing bit problems with Server Proxies. The scenario is of File to SAP system via XI. Data is coming correct up to Technical routing in pipeline but at call adapter(for Server Proxy to SAP)in XI pipeline I receive Error:
HTTP response contains status code 403 with the description Business Server Page (BSP) Error Error when sending by HTTP (error code: 403, error text: Business Server Page (BSP) Error)
Previously I was receiving authentication and authorization related error of status code 401 and then in communication channel I replaced user profile with a user id having role SAP_XI_APPL_SERV_USER. The basis peron has created new user id with role SAP_XI_APPL_SERV_USER only and that I'm using. I've tried creating a HTTP destination with the created user id and in test connection too receive same error message.
Please help me out with your inputs and understanding on the topic.
Thanks and Best Regards
Prashant RajaniHi Prashant,
Please take a look at these threads..They deal with the same problem, and they have been resolved here.
BSP Authorization error
Service cannot be reached . error code 403 the reason forbiddn
403 Error when accessing the server
Hope your issue gets resolved.
cheers,
Prashanth
P.S Please mark helpful answers -
Problem in creation of ABAP proxies
Hi,
I am trying to create proxies of Message Interfaces that are built from External Definitions(XSDs). In the scenario, we use two XSDs, one for structure of BAPI and one as Document Envelope containing header level information of the document. Message Interface is created for Document Envelope and internally it references XSD of structure of BAPI.
For e.g. For request message of BAPI_COMPANY_GETDETAIL, we have two XSDs:
1. BAPI_COMPANY_GETDETAIL
2. BAPI_COMPANY_GETDETAIL_Document_Envelope
I create interface for document envelope; interface internally references XSD BAPI_COMPANY_GETDETAIL.
When I try to create proxy for such an Interface I get following error:
Cannot generate proxy (object <element name="BAPI_ACC_DOCUMENT_POST"> missing in WSDL, see long text)
Message no. SPRX084
and diagnosis provided in long text is as follows:
Diagnosis
In the WSDL document, the object
"<element name="Documents"> <complex/simpleType ..."
from the namespace
"http://mindef.nl/schemas/DocumentEnvelope"
links to the object
"<element name="BAPI_ACC_DOCUMENT_POST">"
from the namespace
"urn:sap-com:document:sap:rfc:functions"
However, this last object does not exist in the WSDL document.
System Response
ABAP proxy generation expects that all directly and indirectly referenced objects are in the WSDL document. Therefore, no proxy can be generated for this WSDL and the system displays an error message.
Procedure
This situation can have different causes:
Object "<element name="BAPI_ACC_DOCUMENT_POST">" not been defined
Object "<element name="BAPI_ACC_DOCUMENT_POST">" saved in the wrong namespace
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong name was specified
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong namespace "urn:sap-com:document:sap:rfc:functions" was specified
Internal error in the service that constructs the WSDL document
Internal error in ABAP proxy generation
I have checked all the possibilities, there is no inconsistency in WSDL.
Kindly provide some suggestions to tackle this problem.
regards,
Bhavish BhatiaHi Bhatia,
You cannot create ABAP proxies from external definitions, IDOC or BAPI, when your application system is based on 6.20.
This works only, when your application system is based on 6.40 or higher.
Regards,
Udo -
New Data in R/3 Enterprise - ABAP Proxies - XI what happen?
Hi,
i have a theoretical question:
if i use R/3 Enterprise on WAS and put new Data in the R/3 System and transport them to XI with ABAP Proxies. What happens in the systems?
How do the R/3 System put new data in the proxy runtime and send them to xi?
I want to unterstand how the transport from new data in a R/3 System with ABAP Proxies comes to the XI Integration Server.Hi Marcel,
>>>>>How do the R/3 System put new data in the proxy runtime and send them to xi?
all you need to do in r3 is to fill tables of a generated structure
and execute one method of a generated class (send....)
then R3 will connect over HTTP to XI and send the data from your structures
structures and class in R3 is being generated automatically via TCODE SPROXY
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Problem with ABAP proxies - HTTP connection to R/3 is not working
Hi guys!
I'm setting up a connection from XI to R/3 , because I'm using proxy objects. Our DEV is working fine. Now I have moved the objects to QA and since the HTTP connection is not there, I need to set it up.
I have created a service user on R/3, activated ICF service on R/3 and created a HTTP to abap type connection in XI. When I test the connection I get a new logon screen. Why? I have provided information about logon user, client, ....
Thank you! OlianHi,
this logon screen populated when the RFC User ID is locaked. ask your basis team to release it.
also refer below links if in case of any other problem
Actiave ABAP Proxies -- /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Setting Up Point-to-Point Connections with proxy
http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
Thanks
Swarup -
Problem in activating the ABAP proxies
Hi Experts,
I was following the url below, on how to activate ABAP proxies, How do you activate ABAP Proxies?
and I came across certain issues.
I hav made the HTTP connection in R/3 as per the blog and as well as the TCP/IP conections in R/3 keeping in mind the program ID from XI dev server -> sm59 -> LCRSAPRFC and SAPSLDAPI_XID, and in both the TCP/IP connections that I made in R/3 I have applied the Gate way host and Gate way service of the XI development server.
Then I tried the connection testing in R/3 TCP/IP connections - LCRSAPRFC and SAPSLDAPI, and both worked successfully.
Now when I went to SPROXY, of R/3 in order to see my components and nane spaces, [that I have made in the XI dev server[ , to craete my PROXY, I could ONLY find the
SAP ABA
SAP APPL
SAP BASIS
SAP HR.
There are some more standard components and custom software components, in XI DEV server that I cant see.
I hav developed several mname spaces in the XI dev server, that I expected to get reflected in the R/3.
Where am I going wrong? What is the mistake I am doing??
Points will be awarded.
ArnabHi Anirban,
u must tell me, the status, from the below output from SLDCHECK
Exchange Infrastructure: Test LCR Connection
RFC ping was successful
SLD server access settings:
host name: demoretail
port number: 50000
user : SLDAPIUSER
Use transaction SLDAPICUST if you wish to maintain the SLD s
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy ru
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
Now checking access to the XI Profile
Properties of RFC destination LCRSAPRFC
RFC host:
%%RFCSERVER%%
program id: LCRSAPRFC_RXD
gateway host:
172.26.5.12
gateway service: sapgw00
Testing the RFC connection to the SLD java client...
RFC ping was successful
Calling function EXCHANGE_PROFILE_GET_PARAMETER
Retrieving data from the XI Profile...
Function call terminated sucessfully
Retrieved value of
section = Connections
parameter = com.sap.aii.ib.server.connect.webas.r3.ashost
-> value =
Summary: Connection to the XI Profile works correctly -
Error handling in ABAP proxies
Hi,
Please let me know the different ways by which error handling can be done (both at XI side and also the SAP R/3 side) in the case of ABAP inbound and outbound proxies.
Basically
1. In the case of message posting to SAP R/3 using ABAP proxy (Inbound to SAP), how errors generated in SAP can be monitored/notified and sent back to source system or XI system
2. In the case of proxy message being received by XI, from SAP, if errors are generated in SAP (before posting), how the errors can be monitored and notified.
Your early response is appreciated.
Regards
VenkatHi,
The error can happen due to application error, may be incorrect data or or wrong type of data.
Or system error, in case the call to SAP XI is not successful.
Youc an use fault message for the same.
If you want to catch these exceptions in SAP itself and send alert then you can either use standard FM for raising alert.
More here:
http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm
First configure CCMS in XI System:-
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
For Monitoring in the CCMS:-
http://help.sap.com/saphelp_nw04/helpdata/en/4d/6272376d3bfa2be10000009b38f8cf/frameset.htm
Go thro' this link for configuration scenario:-
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
Inbound ABAP Proxy Trace and error handling
Handling Exceptions
ABAP Server Proxies - Fault Handling
Exception handling in integration processes
ABAP Proxy and fault messages
/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
regards
Aashish Sinha
PS : reward points if helpful
Maybe you are looking for
-
Can we assign IPv4 IP address pool to IPv6 VPN Client
We are planning to enable IPv6 SSL VPN clients, Let me explain the current setup We have Cisco ASA firewall used for SSL VPN and Cisco ACS for user authentication and RSA for two factor authentication. LAN Server are in IPv4 only.. Requirement : Clie
-
Hi, I've created an agent with Lingon. It loads but the script failed with the following errors in system.log Jan 4 20:02:52 dchambon launchd[3231]: fr.dchambon.MontageAuto: exited abnormally: Broken pipe Jan 4 20:02:52 dchambon launchd[3231]: fr.dch
-
How does the power of the iPhone compare to the PSP?
In terms of possible graphics and processing power. I have no idea of the specs of the iPhone but was curious if we would see games with graphics up to par with the PSP. Thanks
-
Why is my mac mail archiving all messages
I have owned a Mac for over 8 years and my current 2011 Intell Mac Book Pro was purchased new. I am running Maveric 10.9.2. In the last couple of months it has started archiving all my mail from google and gmx. All Incoming mail is automatically arch
-
Premier Pro CS4: working with an Adobe Photoshop file
I'm trying to work with an Adobe Photoshop file, it has many layers and I imported it as one and switched it to RGB. However, the rendering time for the file is flabbergasting: it's a 5 second opening with light effects and it takes about 30 minutes