Client Synchronous Proxy
Hi friends ,
If i use the synchronous sceanrio at source side, there are two paramerts right importing and exporting .So , once i send the data from ABAP program to XI, then XI will receive the response back .
This response data how can i add to synchornous proxy . If you have sample code pls provide me . And, where these response fields(data) will be updated at SAP side .
Deva
it will be part of your importing parameter
ex;
CALL METHOD lo_output->myproxy
EXPORTING
output = lv_output
IMPORTING
input = lv_input.
Similar Messages
-
Synchronous Proxy - SOAP Scenario (Error 500 in Response).
Hi
I've built a few Synchronous Proxy -> SOAP Scenarios,
with 'Do Not Use SOAP Envelope' option.
For two of them, I'm facing a common error.
The error is: ADAPTER.HTTP_EXCEPTION (HTTP 500 Internal Server Error).
When I paste the EXACTLY SAME payload picked up from XI, into the SOAP client, it works giving valid response.
Trying to figure out the issue.
R/3 System:
WAS 620 (Level 0041)
XI System:
PI 7.0 (Level 0007)
SOAP System:
BizRights (Approva) 3.0
Any help is appreciated.
Rajendra.Hi,
Following SAP notes may help you- 804124, 807000
Regards,
Moorthy -
Outbound Client ABAP Proxy Timeout Error
Hello everybody we have the next scenario:
R/3 Client Synchronous ABAP Proxy->XI-> Synchronous RFC
and we are having problems cause the Sender R/3 is not waiting for the RFC in the Receiver system to process so XI is in log status fot this messages, is there a parameter to increase the time for R/3 Sender to wait for the Call method sentence to complete succesfully??????, thanks in advance.
Regards,
Raul AlvaradoHi,
do changes as below
In SXMB_ADM
go to Configure Integration server
in change specific identifiers Set Runtime parameter: HTTP_TIMEOUT and then restart XI server, changes will be updated.
Regards,
Sukarna. -
Synchronous Proxy to Synchronous JDBC scenario
Hi,
I have a scenario for a synchronous PROXY to a synchronous JDBC scenario. I have set 4 message types .
MT_PROXYOUT u2013 o/b synch with a response MT_PROXYIN
MT_JDBC - i/b synch with a response MT_JDBC_RESPONSE
I then set up an interface mapping for both the request and response message interfaces. The design looks good but I got stuck in the configuration part.
Since itu2019s a proxy sender, the sender agreement is not needed(Correct me if I am wrong). In the interface determination, there is provision for only the inbound interface which in case would be the JDBC (request/response) back to the proxy and the interface mapping is applied.
So do I need just one interface determination from the proxy as sender and jdbc as receiver and also one receiver determination again with the proxy as sender and the jdbc as receiver. I am confused here because when I try to create a receiver determination for the response back from JDBC to proxy receiver , the interface mapping comes blank. Is it taken in account by the single receiver determination in synchronous to synchronous scenarios??
TeresaHi Teressa,
Java Proxy to Synchronous JDBC scenario and SAP XI:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
ABAP proxies-
Client proxy:
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Server Proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Cheers
Sunil -
Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario
Hi all,
We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
We are running PI 7.4.
Any help is appreciated.
Thanks,
PushpaHi,
Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
1. Test a fresh message from local SOAP UI tool.
2. Pick 3rd party WSDL file and Import in SOAP UI tool.
3. Put some dummy data for mandatory fields
4. Trigger it msg and ckh if you get successful / response msg.
5. Check if firewall is open and that URL is not blocked.
Hope it helps
Regards,
Azhar -
What is package structure for Client ABAP Proxy?
1. What is the package structure need to be followed for creating abap client proxy.
2. I read some where in the form, it need to be 4 levels. Why is it?
Thank you
Ganges LeavesHi
U hav to create a 4 level package structure for client ABAP proxy.
U can create ur on packages
1st level-structure package.
2nd level-main package.
3rd and 4th level-sub packages.
To the 4th level only u hav to create proxy.
The classes and code wil be automatically generated at the time of proxy creation.
I think the 4 level structure bcz while in r/3 everythin in integration builder like software component version and all wil be takin as different levels.
Also u can go through the weblogs in the above replies u got.
Regards
Victoria. -
Sample Client ABAP Proxy Program - PI 7.1
I created Proxy. I need to call in a Report Program. I am using PI 7.1
Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1Hi,
>>>Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1
it's exactly the same as for 7.0 and there are blogs that show such sample reports on SDN
just do a little search and I'm sure you can find it
Regards,
Michal Krawczyk -
Dynamic Configuration from Client ABAP Proxy
Hello Experts,
Is it possible somehow to set Dynamic Configuration values to Message Header when calling Client ABAP Proxy from SAP system?
Best RegardsI managed to get the dynamic header configuration at least with inbound proxies:
DATA:
server_context TYPE REF TO if_ws_server_context,
proxy_framework TYPE REF TO if_proxy_framework,
internal_protocol TYPE REF TO if_wsprotocol_internal,
lo_inb_pxy TYPE REF TO cl_xms_inbound_proxy_plsrv,
lo_dyn_header TYPE REF TO if_xms_msghdr30_dynamic.
server_context = cl_proxy_access=>get_server_context( ).
internal_protocol ?= server_context->get_protocol( 'INTERNAL' ).
lo_inb_pxy ?= internal_protocol->get_framework( ).
lo_dyn_header ?= lo_inb_pxy->xmb_message->get_dynamic_header( ). -
Where to deploy EAR file(Client java proxy) in SAP J2EE engine (XI)?
hi i m novice in J2ee technology of XI,
I m trying a blog to create client Java proxy,
can u tell me after making the EAR file .... where should i deploy it,
means it instructs me to deploy the EAR file in the SAP J2EE engine.... what is that .... whats the URL and port ?Hi sudeep
check these
http://help.sap.com/saphelp_nw04/helpdata/en/01/a70e408230c442e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/9c/8a9383a2aeda4a962446d3c29b9e19/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/05/4fac3e00c8b014e10000000a114084/frameset.htm
also this
/message/3943924#3943924 [original link is broken]
thanks -
How to use sequence in client web proxy.
Hi,
I have created a sequence in database.
And I am using that in EntityImpl as:
SequenceImpl sequence=new SequenceImpl("Sequence_name",getDBTransaction);
setAttribute(sequence.getSequenceNumber)
I will automatically set the attribute with the sequence val.
But I want to get the sequence value in client web proxy generated through WSDL.
There I write the same code and imported the files.
But it is giving me error that:
java.lang.nullPointException.
How to access the sequence in client web proxy generated through WSDL.Hi,
expose a method on the ViewObject and make it available to the service interface. In Web Services it does not make sense to create dependencies between a client and the implementation detail of the service.
Frank -
Facing Problem in Deploying EAR for Client Java Proxy.
Hi All,
I am facing problems in deploying EAR in PI/XI server.
The scenario is Client Java Proxy to SAP
. I have followed the the pdf-how to create java proxies in 3.0. Using that I have created the EJB module and it archive.
Finally created the EAR without errors. But while deploying the same in PI server, it throws the following error. Please do help me out in providing any inputs on the same.
Deploy trace is seen below:-
Deploy of the ear has errors :
java.rmi.RemoteException: Cannot deploy application sap.com/BusPartnerEAR..
Reason: Errors while compiling:
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:91: illegal escape character
if (method.equals("U0024descriptor")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:98: illegal escape character
if (method.equals("U0024jcoRuntimeMetaData")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:112: illegal escape character
if (method.equals("U0024generationInfo")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:119: illegal escape character
if (method.equals("U0024messageSpecifier")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:152: illegal escape character
if (method.equals("U0024runtime")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:195: illegal escape character
if (method.equals("U0024messageSpecifierRead")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemoteObjectImpl0_0_Tie.java:202: illegal escape character
if (method.equals("U0024messageSpecifier__")) {
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:93: illegal escape character
org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024descriptor", true);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:112: illegal escape character
ServantObject so = servantpreinvoke("U0024descriptor", MIOSBusinessPartner_PortTypeRemote.class);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:134: illegal escape character
org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024jcoRuntimeMetaData", true);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:153: illegal escape character
ServantObject so = servantpreinvoke("U0024jcoRuntimeMetaData", MIOSBusinessPartner_PortTypeRemote.class);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:216: illegal escape character
org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024generationInfo", true);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:235: illegal escape character
ServantObject so = servantpreinvoke("U0024generationInfo", MIOSBusinessPartner_PortTypeRemote.class);
^
D:/usr/sap/ECD/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/BusPartnerEAR/EJBContainer/temp/temp1175887267437/com/mud/sAPFICA/businessPartner/_MIOSBusinessPartner_PortTypeRemote_Stub.java:257: illegal escape character
org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream)_request("U0024messageSpecifier", true);
21 errors
Awaiting for your replies...
Regards,
DhanaHi,
Thanks for your input..
I have also opend the EAR as ZIP file and deleted the existing listing libaries
apart from the actual implementing Jar and META-INF folder.
I have tried deploying the Jar for the second time, it is throwing the same error.
What I did is...Once the EAR is created, I went to Resource perspective in NWDS and copied the EAR from the EAR project and used the same for deployment.
Is there is anything else to be modified or deleted before deployement?
Regards,
Dhana -
Two Receiver DB in Synchronous Proxy to JDBC Scenario?
Hey,
Is it possible to develop a synchronous proxy to JDBC Scenario that have two different DBs as Receiver?
The response Datas are insert_count and update_count.
Thank.Park,
You can't have more than one receivers in Sychronous case. If you designed the scenario , then u will get the error as "TOO_MANY_RECEIVER CASE_BE".
-raj. -
Cant we use Synchronous RFC instead of Synchronous Proxy if we have to make a Synchronous interface which have RFC on the other side.
Please confirm if the below scenario is possible or not, provided that both the systems are ECC 6.0
Request: RFC 1----> XI -
> RFC 2
Response RFC 2 -
>xi -
> RFC1Kalyan,
Sure, We can use RFC
Cheers
Agasthuri Doss -
7.1 Client ABAP proxy code sample (outbound)
Hi guys,
has somebody implemented new 7.0(7.1) abap proxies using ws runtime?
Could you please post some sample code of client abap proxy?
The 3. proxies were quite easy, but I'm a little bit confused in 7.0 and it's ws-rm.
Thanks a lot, OlianCreate a client proxy (for eg. the name would be like ZCO_MI_EMP_OUT_SYNC).
Create a report program for the client proxy.
report yh_proxyclient.
* tables: ZEMP_DTLS_COPY.
data: input type zmt_emp_tar1 .
data: output type zmt_emp_src1 .
data: client type ref to zco_mi_emp_out_sync .
output-mt_emp_src-dept_id = 'SAP EP'.
data wa_emp type zdt_emp_tar_employee.
data wa_empinsert type zemp_dtls_copy. "ZDT_EMP_TAR_EMPLOYEE.
try.
create object client
* EXPORTING
* logical_port_name =
catch cx_ai_system_fault .
endtry.
try.
call method client->execute_synchronous
exporting
output = output
importing
input = input
catch cx_ai_system_fault .
catch cx_ai_application_fault .
endtry.
loop at input-mt_emp_tar-employee into wa_emp.
write: / wa_emp-emp_id, wa_emp-dept_id, wa_emp-emp_name, wa_emp-emp_address.
endloop.
commit work.
endmethod
the above code is taken fron this wiki (step by step guide using an example)
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/abapClientProxytoABAPServerProxy+Scenario] -
Regarding inbound synchronous proxy
Hii All,
Can anyone help me regarding inbound synchronous proxy (request-response scenario)
Regards,
RajHi Raj,
We declare flat structure like this :
wa_input like input-mt_get_notification-message_payload.
To move the data from proxy to work area :
move input-mt_get_notification-message_payload to wa_input.
Now ucan do your desired operation in a method passing it the input and receiveing the output from the method.
call method me->get_task_det_for_notif_no
exporting
p_input = wa_input
importing
p_output =
output-mt_notification_response-message_payload-sapresponse
Hope this will help.
Still you face any issue , please feel free to ask.
Regards ,
Vivek
Reward if Useful
Maybe you are looking for
-
Issue in cancelling the GR for PO
Hi All, I have an issue where for a PO, im creating a GR for some amount say 10 USD simultaneously a Service entry sheet also gets created for 10 USD. Then im doing partial invoice for above GR say for amount 8.00. Then i reversed the invoice for 8.0
-
I'm using Photoshop CS3 on Windows XP. When I try to open a file from File>Open the Window appears for a fraction of a second and then disappears. At that point Photoshop freezes. The Task Manager says it's still running, but everything is frozen. I
-
New document category (0DOC_CATEG) for SD's Cubes
Hi Folks I have a question, how can i create a new document category? You see, i have a cube (copy fromo 0SD_C03), but only with data from 2LIS_13_VDITM infosource, because only need billing information; with this cube i need to separate Returns, sta
-
Hp psc 1350v all-in-one printer
I have successfully hooked up my hp psv 1350v all-in-one printer to my airport Extreme (802.11n). I had to download the driver from here: http://h10025.www1.hp.com/ewfrf/wc/softwareList?os=219&lc=en&dlc=en&cc=us&lang=e n&product=306895. Unfortunately
-
Vendor determination for Intra company stock transport order
Team, We need the vendor and the partner function to be determined for intra company stock transport order. I have create Vendor and assigned the vendor to the plant code. When i create scheduling agreement with LU , the vendor filed is not getting u