ABAP Proxy:SAP PI as Application System
Hi All,
Can I use my SAP PI as application system for ABAP proxy?
regards
Bhasker
Hello.
Just thought I'll add a little something.
this is not the only type that doesn't require a sender adapter.
IDOCs are also being sent directly to the intgration server.
However - in that case you can use program: IDX_SELECT_IDOCTYP_WITHOUT_IS to make the XI the recipient system.
This is useful in the following example:
In case of CUA IDOCs - you want XI to receive the IDOCs, so that you can manage the XI users.
In the case of proxy however - I don't think SAP thought that this is needed.
Why do you need the PI to process proxy messages?
Similar Messages
-
NonSAP client- SOAP- PI- ABAP Proxy- SAP Business System EOIO Question
Hey all... wondering how and if the following can be accomplished
I have a nonSAP client that is sending SOAP message pairs to PI 7.11 SP06. PI is then sending these messages via ABAP Proxy to our SAP business system. By pairs I mean for each event in the client it's going to send 2 messages to PI and then to SAP business system. These messages have to be processed by PI and SAP in the exact order the client sends them.
My goal is to have the client somehow specify the queueID and quality of services as EOIO when it calls PI via the SOAP message. The reason is when the client sends 1 set of messages we don't want it to block subsequent message pairs if something goes wrong with the first. We're going to have an "ID" as part of the queueID that will be unique by pair.
My question: is it possible to specify this queueID (and the qos=EOIO) in the SOAP message that is sent to PI so this queueID carries through PI and into the SAP business system?hi,
you can do that :
a) in standard with http adapter :
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
with &queueid=<queueid>
b) not in standard with SOAP adapter
Regards,
Michal Krawczyk -
Creating ABAP proxy on a 6.2 system
I've been trying to get my head round how ABAP proxies work, and I've got as far as realising I need to create an ABAP proxy on a system running WAS 6.2.
The problem is that it doesn't seem to work - although SPROXY appears to be ok, there is apparently no way it can connnect to the Integration repository. Digging around in the code seems to reveal that it's somewhat out of date - it constructs the wrong url to get at the IFR for a start.
Is there something that's supposed to be installed so that SPROXY can communicate with the IFR on our XI system?Hi,
have u applied,
1) APPINT 200_620 patch
2) WebAs 6.20 kernel patch level 1253
Also u should configure ur SAP System to communicate with XI server.Check the followign program to test if your SAP system is configured preperly to connect to XI Server...?
1.Check/maintain with report: SPROX_CHECK_IFR_ADDRESS
2.Check with report SPROX_CHECK_HTTP_COMMUNICATION
3.Check with report SPROX_CHECK_IFR_RESPONSE
4.Check with report SPROX_CHECK_IFR_CONNECTION
By the way u can refer to the weblog.. creating ABAP Client Proxies in WebAs6.40 system.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Cheers,
Siva Maranani. -
Abap proxy settting in business system side
Hi all;
I am trying to activate abap proxy environment at the business system(640) with the web blog document https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
but i am still getting "no connection to integration builder" when SPROXY at the r/3(640).
according to some article, i have to maintain exchangeProfile at the r/3 side, but i could not get into business system with 50000port exchangeProfile, but 8000port is available.
so is it right? i have to maintain exchangeProfile at the business system(r/3).
result of some test is below;
1. sldcheck is no problem. - no problem.
2.Check/maintain with report: SPROX_CHECK_IFR_ADDRESS
3.Check with report SPROX_CHECK_HTTP_COMMUNICATION
4.Check with report SPROX_CHECK_IFR_RESPONSE
5.Check with report SPROX_CHECK_IFR_CONNECTION
number 2, SPROXYSET TABLE is empty value
In Exchange Profile http://sapxi.hh.net:50000/rep
In Table SPROXSET
Status OK: Address maintained
number 3, result
HTTP communication functioning
number 4, i got error "HTTP error(return code 400, message "ICM_HTTP_CONNECTION_FAILED").
number 5, i got error "Integration Builder data not understood"
please guide me in order to activate connection to integration builder.
thanks in advance
venjaminHi Venjamin -
Can you confirm a few things first:
1. In SXMB_ADM of R/3 goto Integration Engine Configuration. Is Role set up as Application System and do you have a value for Corresponding Integration Server? If so, please paste that value here.
2. In SM59, for the HTTP destination pointing to your Integration Server, what is the result of your connection test? You should be getting something like "HTTP/1.0 500 Empty HTTP request received" at the top.
3. Also in SM59, do your test connections work for both LCRSAPRFC and SAPSLDAPI?
4. Is your R/3 system a unicode system or non-unicode system? Have the LCRSAPRFC and SAPSLDAPI destinations on both the abap and j2ee side been configured accordingly?
By the way, there is no exchangeProfile for R/3...
Regards,
Jin -
Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB
Dear Experts,
I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
Cc monitoring in NWA.
1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
local IE i.e. Tx SXMB_MONI.
Note : In NWA , I can see only 1 message that too in cancelled status.
2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
it should in ACTIVE status in Tx SMQR..
Regards
RebeccaHi Thomas,
Valuable inputs..
1. Since I don't have any audit log for successful message, would you be able to share referring to the
below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
Regards
Rebecca -
ABAP proxy client call PI with new client 120 in old business system
Hi all
We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
My question is If we go to the SLD and
|-> Click on Business System
|-> Add new client 120
Will it work or we need to do some extra configuration for communication channel.
Also please let me know how to configure Integration Directory for sender agreement, Receiver Agreement and the communication channel.
Thanks in Advance.Hi Naina ,
We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
My question is If we go to the SLD and
|-> Click on Business System
|-> Add new client 120
> hope the technical entry of CRM is already in SLD . So you just need to make a business system entry . point the business sytem to the technical system entry with the right client here 120 .
Will it work or we need to do some extra configuration for communication channel.
> since sender is client proxy you don't need to do anything in case of receiver proxy you will be needing reciver communication channel of XI adapter type .
for proxy based communication your application system(other than PI/XI) should be able to make a proxy call to XI or receive a call from XI .for this purpose you need to make some settings at R/3( or CRM level)
For this check blog : /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Abap proxies ( Client and Server proxies)
Other steps i.e Interface determination/receiver determination are as usual .
Regards , -
Forwarding Application Error in ABAP Proxy to CCMS
Hi,
We are using fault messages for inbound ABAP proxy interfaces to capture application errors, and we can see the error in the monitoring of ECC. However, Is there a way, we can forward it to CCMS of ECC (and not XI), because we want to use an external tool linked to CCMS via SOLMAN to get alerted in case of application errors.
Best regards,
Rahul KumarIs there a way of getting the above thing done? I have a very similar Issue.
Rahul if you have found out a way of doing the same please let me know by email. [email protected]
Thanks,
Karthik -
Forwarding ABAP Proxy Application errors to CCMS of ECC
Hi All,
We are using fault messages for inbound ABAP proxy interfaces to capture application errors, and we can see the error in the monitoring of ECC. However, Is there a way, we can forward it to CCMS of ECC (and not XI), because we want to use an external tool linked to CCMS via SOLMAN to get alerted in case of application errors.
thanks,
KarthikSolved on my own.
If you need information please contact [email protected] -
Activating ABAP Proxy between business system and XI
I have a question on the release of XI Add-on we need to install on the Business system side for activating ABAP Proxy. We are using XI 3.0 system and want to activate the ABAP Proxy between XI 3.0 system and the R3E system running on WAS 620 SP 45.
I read an excellent SDN Blog from Vijaya Kumari on how to activate the ABAP Proxy. It lists XI Add-on installation on the business system. The XI Add-on (SAPK-20006INAPPINT SP06) is what the XI 3.0 configuration guide refers to in OSS note 439915. Is there a newer XI Add-on to go with XI 3.0 system?
Thanks,
AsifHi Asif -
SAPK-20006INAPPINT(SP06) is the latest XI add-on (APPINT 200_620) available. Since your WAS 620 is on (SP45) and the prerequisite for SAPK-20006INAPPINT(SP06) is SAPKB62043, your system looks ready. But of course, refer to the mentioned Note - 439915.
>>><i>Is there a newer XI Add-on to go with XI 3.0 system?</i>
I'm not sure if this is the right question. Any Web AS 6.20 system will require the XI-add on to communicate to XI (2.0 or 3.0) - specifically regarding proxies. WebAS 6.40 systems do not require the add-on.
Let me know if you need any clarification.
Thanks.
Jin -
Hi Experts,
i've gone thru a ABAP Client Proxy scenario which is mention below.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
can anyone elaborate abt this scenario?
i want to know proxy will be generated on XI or on the sender system. if we are creating proxy on XI then how XI message format i.e., (SOAP XML message) is generated and Message interface which is created for Sender will b mapped?
Cheers
FaisalHi Faisal,
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Proxy is created on application system .in this example they have taken two clients of XI system. client 100 is configured as XI integration server and client 105 is configuired as sap application system.client 105 is working as Sender system.Actually we can have only one XI integration server on any NW system but we can have various application systems.
For client proxy creation , we first create outbound mesage interfaces in IR and then we go to SPROXY transaction and chose our outbound message interface and create proxy from that interface.
u create a abap report and send message from there.
use these links:
ABAP Proxy Generation
http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/content.htm
ABAP Proxy Generation
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
Proxy Generation
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
ABAP Proxy Runtime
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
To activate ABAP proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Detailed step-by-step solution for ABAP proxies in XI
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
ABAP Server proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Debugging of Inbound ABAP proxies
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
File to R/3 via ABAP Proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
Cheers
Rohit
please reward points if found useful....it would be appreciable...:)
Edited by: Rohit Goel on Jan 30, 2008 7:45 AM -
SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B
Dear Experts,
I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
Transport Protocol as HTTP
Message Protocol as XI 3.0
Adapter Engine as Central Engine
When I am testing from ECC at Tx SPROXY, I am receiving following error.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
2. No Response message is shown in ECC when testing the message.
3. How do Receiver JDBC adapter for Oracle Database is configured
4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
Please guide.. All your inputs will be appreciated......
Regards
RebeccaDear Indrajit,
Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
But still to go, some of the queries needs more input.
1.In ID, i have created a Sender SOAP communication channel with listed details.
Transport Protocol as HTTP
Message Protocol as XI 3.0
Adapter Engine as Central Engine
Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
Sorry to bother experts...Please answer in sequence...
Regards
Rebecca -
SOAP to Abap Proxy with attachment
Hi Experts,
i am facing one problem while developing one interface from SOAP to ABAP Proxy with attachment.
the sender system is sending empty soap message but with all its content in the attachment.
we need to parse the attachment and send the data to ECC system through proxy.
we made some research on SDN and found out that in sender soap adapter PayloadSwapBean is not supported.
however in receiver XI adapter the module tab is not editable.
could you suggest any solution to handle this interface?
thanks in advance.Hi Aditya,
Can you just try to use SOAP with Servlet(Axis) protocol, since standard SOAP sender does not allow modules to be used.
please refer http://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/frameset.htm
The first attachment is put in the main payload; further attachments become attachments of the XI message.
http://help.sap.com/saphelp_nw70/helpdata/EN/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
Regards,
Srinivas -
How to handle exceptions in sender ABAP Proxy
Hi Experts,
I have a synchronous scenario.
SAP R/3 System A -ABAP Proxy <-> PI <-----> SOAP< ---> Webservice
In system 'A', a function module calls the ABAP Proxy method.
My requirement is that if there is an exception in PI ( for example: timeout or ABAP engine error) then I want to get the exception details in the calling function module.
For example:
Exception in PI:
<SAP:Error xmlns:SAP="XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1/><SAP:P2/>
<SAP:P3/><SAP:P4/>
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace=""/>
<SAP:Stack/>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In the calling function module:
Try
Call to proxy-> method
Catch cx_ai_system_fault INTO v_o_fault.
v_err_msg1 = v_o_fault->GET_TEXT( ).
v_err_msg2 = v_o_fault->errortext.
v_err_msg3 = v_o_fault->code.
Endtry.
Here I get value "MESSAGE.GENERAL" for v_err_msg1 and v_err_msg3. v_err_msg2 is blank.
I want to capture the info available under <SAP:AdditionalText>. How to get that?
Please help!
Thanks & Regards
Gopal>
gopalkrishna baliga wrote:
> Hi Experts,
>
> I have a synchronous scenario.
>
> SAP R/3 System A -ABAP Proxy <-> PI <-----> SOAP< ---> Webservice
>
> In system 'A', a function module calls the ABAP Proxy method.
>
> My requirement is that if there is an exception in PI ( for example: timeout or ABAP engine error) then I want to get the exception details in the calling function module.
>
> For example:
>
> Exception in PI:
>
> <SAP:Error xmlns:SAP="XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
> <SAP:Category>XIAdapterFramework</SAP:Category>
> <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
> <SAP:P1/><SAP:P2/>
> <SAP:P3/><SAP:P4/>
> <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>
> <SAP:ApplicationFaultMessage namespace=""/>
> <SAP:Stack/>
> <SAP:Retry>M</SAP:Retry>
> </SAP:Error>
>
> In the calling function module:
> Try
> Call to proxy-> method
>
> Catch cx_ai_system_fault INTO v_o_fault.
> v_err_msg1 = v_o_fault->GET_TEXT( ).
> v_err_msg2 = v_o_fault->errortext.
> v_err_msg3 = v_o_fault->code.
> Endtry.
>
> Here I get value "MESSAGE.GENERAL" for v_err_msg1 and v_err_msg3. v_err_msg2 is blank.
>
> I want to capture the info available under <SAP:AdditionalText>. How to get that?
>
> Please help!
>
> Thanks & Regards
> Gopal
Hi Gopal,
Maybe the exception is CX_SY_APPLICATION_FAULT, or you can catch by BPM in PI and send back to proxy like a message response. -
Party is using to group business systems of one partner?
I have in one party business system which comunicate with Abap Proxy. But when I send message to SAP PI, I receive message with out Party.
BS_ERP(abap-proxy) -> SAP PI
Configuration looks like:
Party
+ Partner_1
+ Service
+ Business System
+ BS_ERP
+ Communaction Channel
+ CC_XI_Proxy_Sender
How can abap proxy set PARTY of sender?My Integration Builder Configuration looks:
Party
+ Partner_1
+ Service
+ Business System
+ BS_ERP
+ Communaction Channel
+ CC_XI_Proxy_Sender
+ CC_XI_Proxy_Receiver
As you see business system is assigned to Party.
If I send message from PI to BS_ERP message is:
Sender Party: ####
Sender Service: ####
Receiver Party: Partner_1
Receiver Service: BS_ERP
If I send message BACK from BS_ERP to PI message is:
Sender Party: _____
Sender Service: BS_ERP
Receiver Party: ####
Receiver Service: ####
Abap-proxy code is:
DATA lv_proxy TYPE REF TO zxx_mi_somedata_outbound.(CL_PROXY_CLIENT)
DATA lv_msg TYPE zxxmt_somedata_outbound.
CREATE OBJECT lv_proxy.
CALL METHOD lv_proxy->mi_somedata_outbound
EXPORTING
output = lv_msg.
Where can I set that message send from party "Partner_1"? -
3.0 Inbound ABAP Proxy not executing
I am attempting a simple SAP (IDoc) -> XI [WAS 6.4] -> SAP (ABAP Proxy)[WAS 6.2]. This proxy receives a couple key elements from the Idoc and writes them to an accessible directory on the recipient SAP machine. Here's what I have thusfar:
- ABAP Proxy generated successfully on recipent system. Independent test through sprx_test_inbound is successful and file is written as expected
- Test Idoc sent, received and processed through XI successfully (as seen in sxi_monitor) and also received successfully on recipient sap system (as seen on it's sxi_monitor - checkered flag)
- However, no file is written
I have checked the following:
- Related communication channel Message Protocol is "XI 2.0" given recipient SAP system is 6.2
- SICF on recipient SAP system shows services as active
I am unsure what to check next, and from reading the various docs I cannot determine any other requirements for ABAP proxy communication. Ideas?Hi guys!
I am completely stuck in the same situation
Scenario is:
file -> XI3.0 -> WAS6.20(Abap Proxy)
I think I have doubled checked almost everything i can figure out:
- messages in SXMB_MONI successful on both sides (XI and SRM)
- on SRM: SICF services active, queues registered and active, proxy generated and code implemented (actually the method of my implementation class is workin' good if single-tested), pipeline correctly configured in SXMB_ADM
I tried also to debug my proxy by deregistering queues and manually debugging the LUW, setting a breakpoint on my method execution (breakpoint at method), but nothing happens...
What am I missing then, for God's sake? Please help: I'm loosing my youth on that
Thanks
Alex
Maybe you are looking for
-
Cannot be updated because it contains files in use by another application
I have spent hours looking for a solution to this problem after updating itunes to version 7.0.1.8 I was unable to update my ipod nano to version 1.2, came up with box stating cannot update ipod because it contains files that are in use by another ap
-
Add field in report Z_ALR_87011963
hi everybody I have to add a field on the selection screen of report Z_ALR_87011963, the field anlz-pernr I have made a copy of RABEST_ALV01 but I cant detect where the selection screen is getting populated I have added the field in structure CI_REPR
-
HT4914 Does it bill you at the beginning of each year or one year from purchase
When you subscribe to the iTunes Match does it bill you every year on the same date or would it bill me now & again January 1st?
-
Urgent:Issue with converting mx: Application to S: application
Hello, I am currently trying to migrate a flex 3 project to Flash4...but when I replace <mx: application> to <s: Application> it gives following answer: Could not resolve <s:Application> to a component implementation. I have included the ur;s and l
-
? about persistent indicator and use of nav tag
Hi, I have read Nancy O's informative article on persistent indicators. I think I have everything almost working. However, I get some errors when I validate on W3C validation service. The errors I get are: Line 22, Column 23: document type does not