Client Proxy - RFC scenario - weird
Scenario : Client Proxy (ECC 6.0) - RFC (Wrapper RFC for the posting BAPI and commit BAPI).
QOS : Best Effort.
Here, when the RFC is tested in se37, the bapi return structure is populated. But with in the scenario,
bapi return structure is not populated in the response message.
When tried to execute the scenario with the std BAPI it self, the bapi return structure is populated in the response message.
What could be the issue?
Can anyone please advise on this?
reg
Try to reactivate the RFC adapter after making some dummy changes. Maybe the RFC metadata has changed after the rfc adapter was created. The reactivation of the rfc adapter will reimport the rfc metadata.
make sure that the rfc request is as per needed.
Regards,
Bhavesh
Similar Messages
-
SOAP --XI ---RFC or Java Client Proxy
Hello Gurus,
Need your adivce for a scenario in XI
Scenario --- To implement XI with SAP SCEM(Supply Chain Event Management).
Client is sending data from Web Portal (JSP Page) and wants to integrate with R/3.
(Request from client and Response from R/3 shown again at browser )
Web Portal (JSP Page) is on server A and XI on server B
Queries ---
1. Can I use Java Client Proxy Approach --- proxy --- xi -- rfc approach
If Web Portal (JSP page) is working in server A and XI in server B then can I call xi server from jsp page by passing xi server credential (username,password,bus service) and using sync Interface I can show result back to browser.
2. For SOAP Approach -- SOAP -- XI --- RFC approach
Suppose I need to send two parameters from my Web Portal (JSP page) to xi to R/3 and it will return some result.
Concept of Webservice --- any application (like BAPI ) exposed.
a. Pls tell me all the steps required for IR and ID
b.How can I invoke that generated webservice from my jsp page --- so that my request parameters values go to xi from my jsp page and to R/3 and then result from R/3 to xi and to my jsp page.
RegardsI think second approach is more appropriate ie. SOAP>XI>RFC
Some of the blogs you can refer:
/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Sender SOAP adapter config: http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Hope this helps,
Rgds,
Moorthy -
Cannot create HTTP client Exception in Http -- XI -- RFC scenario
Hi,
We are testing Http --> XI --> RFC scenario
While testing this scenario from RWB we are getting following error message in the SXMB_MONI logs:
<?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="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_CREATE_FAILED</SAP:Code>
<SAP:P1>1</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Cannot create HTTP client (exception 1)</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Following is the info from the Trace:
<Trace level="1" type="System_Error">cl_http_client exc = argument_not_found</Trace>
We have tried following things:
1. In SICF we made sure the /default_host/sap/xi/adapter_plain is active
2. Applied SAP Note: 716739
Any response will be greatly appreciated.
Thanks,
PareshHi UDO,
Thanks for your reply. The error was gone when I tested again this morning. I am guessing it must be the SAP Note 716739 that we applied and might not have refreshed the cache.
I am still intereseted in confirming what exacly fixed this issue.
As per your suggestion, I looked at the left Nav bar and the error was at the "Call Adapter" step. Even in the log message it says the same. The reciever/interface determination and mapping were successfull. I could successfully test the scenario in the integration directory.
Here is what the 716739 Note said:
Symptom
If you call the Integration Server from a sending Integration Engine (proxy), the following error message occurs:
Category = XIServer
Area = INTERNAL
Id = CLIENT_CREATE_FAILED.
In transaction SXMB_ADM, you used the Configure Integration Engine function to enter a URL of the type http://<host>:<port>/sap/xi/engine?type=entry instead of a URL of the type dest://<name>.
Other terms
SICF, SXMB_MONI, SXMB_ADM, XI
Reason and Prerequisites
You have configured the communication route from the sending proxy (Integration Engine) to the Integration Server using the URL of the type
http://<host>:<port>/sap/xi/engine?type=entry and have saved the logon data on the Integration Server in the Service
/sap/xi/engine (transaction SICF).
A program error has occurred: the communication log is not correctly set when the HTTP client is set up.
Solution
The problem is eliminated with SAP_BASIS Support Package 2. To eliminate the problem, you can use an URL of the type dest://<name>, where <name> refers to the name of a HTTP destination that you have maintained with transaction SM59.
Now, I was not using the proxies but Http post to XI. Do you guys also think this might have fixed my issue?
Thanks,
Paresh -
Data stuck in QRFC in client proxy scenario
In client proxy scenario (proxy to file async). I triggered the report porgram from ECC and I the green flag moni in ECC but the mesage is did nto reach PI as it got stuck in qrfc. It reaches PI upon clearing the message from SMQ2. Please help solve this.
this problem persists when queues are not registered or any abapstack workitem gets into error.
select the workitem in smq2. execute it manually. after completing the execution, goto sxmb_adm tcode, there select manage queues. then register queues. -
ABAP client proxy to File scenario
Hi,
I am doing ABAP client proxy to File scenario.
I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
My abap proxy has successfully created 4 objects:
1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
4) Table type (ZSTRING_TAB).
can u tell me how can i fetch data from database table into structure?Hi,
see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
so follow the code and explained about each ob, structure of Msg ..
Regards
Chilla -
Async Client proxy -PI - File scenario- Pipeline steps missing in SXMB_MONI
Hi
I made a scenario where an ABAP client proxy(in a BW system) pulls data from a BW table and push it to PI.
In PI a Mapping is done to write an XML file and sump it to a desired location.
It is working fine in the development environment(request send to PI and mapped into an xml file)..so i migrated it to the quality/test environment where it started failing(It is only visible till SXMB_MONI of Client system and not reaching PI in case of quality/test environment).
I checked SLDCHECK in the Client environments (say DWC for development and DWA for quality) and it looks fine.
All I could see is:
In SXMB_MONI of development system DWC--> Steps that are followed are
Inbound Message
Call Integration Server
Response
In SXMB_MONI of quality/test system DWA-->The only step is
Inbound Message
Could this be an Integration Server issue ??
Please advise !!
Regards,
Nainacheck and compare the the parameter are set in SXMB_ADM of Dev system with Quality system.
u can refer this blog for steps.
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
chirag -
SAP Client Proxy to Webservice Synchronous Scenario
Hi Experts,
I have an outbound Synchronous Scenario.In which i have to trigger a Client Proxy from SAP side and Connect to a WebService using PI.
I have with me the WSDl and URL for Webservice.Can anyone guide me with the necessary steps.
Regards
GauravHi gaurav,
From client proxy u have to send request and get the response back...
So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
Regards,
Sunitha -
Retrieving the Message Header In Asyn Scenario With Sender As Client Proxy
Hi All,
I have a asynchronous scenario (XI to SOAP),where on the sender side Client Proxy is being triggered by an ABAP Report.
My problem is,that as the Proxy is in Sender Side I am not able to get the Message Header (i.e. the Standard Header Structure for Proxy Scenarios which I need to send as an input for creating Alerts).
This message header is automatically populated when I fill it up via message mapping in case of Server Proxy...But for Client Proxy(Async Case)...I am not able to make out......
The Structure Is:
SYSTEM_OF_ORIGIN
SENDER_INTERFACE
SENDER_NAMESPACE
MESSAGE_ID
SENDER_SERVICE
RECEIVER_INTERFACE
RECEIVER_NAMESPACE
RECEIVER_SERVICE
PROCESS_AREA
How can this message header be automatically retrived in the ABAP Code ????
Please help!!!!!!
Regards,
SriparnaHi,
plz find all header variables, explanations and examples at [SAP help: Querying the XI Message Header|http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm]
Regards,
Udo
Edited by: Udo Martens on Jul 20, 2010 12:35 PM -
RFC calls & Synchronous Client Proxy
If I want to execute a Synchronous Client Proxy, sending request to XI and waiting for response from XI, do I HAVE TO define and import a RFC structure ?
My doubt is whether implementing RFC is a must in this case, or we can just define a equivalent structure (to the RFC structure: request & response), define all the mapping and create the proxy accordingly and it will work?
Your help is appreciated.Hi!
No, you don't need to do that. Simply define your interface and generate proxies.
Peter -
Dear experts,
-here my scenario is client proxy(file to file)
-Error is internal error
http_resp_status_code_not_ok
-when we check it in sxmb_moni sysyem cannot identify the receiver business system and receiver message ineterface
-how to solve this problem.
plz help me
regards
someshHi,
1.Go to SM59 -
> INTEGARTION_DIRECTORY_HMI -
> Connection Test.
You should not get any error! If you get an error the consult with your basis team.
2.The server encountered an unexpected condition which prevented it from fulfilling the request.
Check whether you have given the right credentialsand also check the conditions which you have given whether any condition is false... If you are very sure that you have given right credentials then your problem will be solved by restarting J2EE engine
steps to restart J2EE engine
1) run transaction SMICM
2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
for more details on error code follow the link
http://www.web-cache.com/Writings/http-status-codes.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
http://www.helpwithpcs.com/courses/html/html_http_status_codes.htm
3) Check Pipeline URL-
should be
http://<hostname>:<port>/sap/xi/engine?type=entry
and not type=execute.
Need to check this value in your SLD> Business system> <yourIntegrationServer> --> Pipeline URL
4) Go to SM59 and check the Http destination -test connection-
Also check this blog-
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
For timeout check this-
/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
Please reward points if it helps
Thanks
Vikranth -
WS Adapter: Scenario SAP(Client)Proxy= PI= WS
Hello Experts,
I have a scenario - SAP to PI to 3rdParty(NON-SAP).
This is merely data getting pushed out of SAP ECC to 3rd party. Not request-response type.
The REQUIREMENT is P2P Communication Scenario thus will not make use of Integration Sever.
Data will be sent from ABAP(Client)Proxy => PI => WS Adapter/Direct Connection.
Question:
1. Is there any application where I can test the webservice?(i.e. INFOPATH)
If its a request-resopnse type of scenario I can make use of INFOPATH to test the webservice however this is only
consuming of service.
2. Is there anyway to test the webservice other than connecting to the actual 3rd party?AND I dont want to create a server proxy from another ECC client. My test should be SAP->PI->NOn SAP.
Ta!!
Edited by: el_sapinator on Oct 19, 2010 3:51 PMHi gaurav,
From client proxy u have to send request and get the response back...
So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
Regards,
Sunitha -
Hi,
I am having a Client proxy to File Scenario. Here I am getting data from Z table and sending it to 3rd part system in FILE format.
The proxy code is scheduled to run 5 times a day in BACKGROUND mode, I see that some of the jobs gets failed necause of Error in proxy call, it raises exception CX_AI_SYSTEM_FAULT.
This exception comes only at sometimes, when I then go manually and run the program, it results in success.
Please advice.
Thanks & Regards,
Navneeth K.Hi Navneeth,
Can you please provide the complete error message / exception.
Check the below links:
https://wiki.sdn.sap.com/wiki/display/Snippets/How%20to%20handle%20CX_AI_SYSTEM_FAULT%20in%20RFC
http://help.sap.com/saphelp_nw04/helpdata/en/3e/a35c3cff8ca92be10000000a114084/content.htm
Thanks, -
How to use Http test Client for Java Client Proxy Scenario
Hi,
I build a scenario using Java Client Proxy where JSP as my FrontHand.
Can I know that whether i can use Http Test Client in place of JSP for sending data and getting response back. If yes than how can i implement this ?
Regards,
AbhiHi,
with Http Test Client you post your messages
directly to the Integration Engine (not using adapter framework)
so you can use Http Test Client to simulate any message
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> -
Client proxy to file(xml) scenario configuration
I have done client proxy to file (xml) ,while executing abap code there is no error, but xml msg is not received in particular target directory. so i want to know about 1. What are the configuration required for client proxy to pi(with T.Code).
2.how to monitor client proxy in ecc and pi.
please reply me1. What are the configuration required for client proxy to pi(with T.Code).
step1:
1. Create a HTTP connection in the business system using transaction SM59
Technical Setting & Logon Security details:
u2022 Connection Type: H
u2022 Target Host: System name
u2022 Service Number: HTTP Port name
u2022 Path Prefix:
step2:
2. Configuration Business system as local Integration Engine.
1. Go to Transaction SXMB_ADM
2. Choose Edit --> Change Global Configuration Data.
3. Select Role of Business System: Application system
step3:
check maintain SLD Access data / not by using T.C SLDAPICUST
SLDAPICUST->check XI Server is it activate/not
step4:
4.test LCR Connection by using SLDCHECK.
2.how to monitor client proxy in ecc .
trigger the report by using T.c se38 and check the status in SXMB_MONI in ECC.
Edited by: bhavanisankar.solasu on Feb 13, 2012 11:09 AM -
i am getting an exception in my code(in function i am calling inside my report) while executing my abap report for calling client proxy .
is there any thing by which i can find out where the actual problem is?or any debugging system available or any logging available ?Hello Rohit,
We faced the similar problem and found a feasible solution to debug.
1. Write a code for an infinite loop in start of your proxy. For ex:
debug = true.
while debug = true.
endwhile.
2. go to sm51 and find your process in all the list of process.
3. select it and from menu, choose debug.
"Reward Point if useful"
Thanks,
Kulwant
Maybe you are looking for
-
Cliente nacional de Exportação
Bom tarde Com o orçamento de Estado de 2009 foi emitida uma nova lei que tem implicações ao nível de clientes exportadores. Estando um cliente dentro destas condições quando se emite uma factura para esse cliente que exporta para Angola este está ise
-
I went from Firefox Bookmarks to the introduction to Firefox, I could read the information but could not play the video
-
Unpublish KB Article giving Object Not Found
Have a client trying to unpublish an article and its giving "Object not found." message. We can't unpublish OLD of the articles. Trace logs aren't giving much info either: [2015-02-18 13:00:38.214] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-
-
"Applying privileges to external hard drive" won't stop?
I recently got a new MacBook and migrated all my data from an external harddrive to my new machine. I use the external drive also for storing my media, but since using the new machine I have to authenticate every addition/change to my media in the su
-
Hi, I bought an MSI GS70 2QE last week. I've noticed the screen is ever so slightly askew, its minor but its offputtng given the price of the laptop. I'm currently in talks with the place I bought it from who are saying they cant see the issue and ha