Soap to RFC synchronous scenario
Dear experts,
i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records .
Do i need to use fault message types here ?
If yes what would be its purpose in this scenario ?
Ravi
Hi,
if you have BAPIRET2 then all the errors will be over there
so I guess there is no need to use a fault message
Regards,
Michal Krawczyk
Similar Messages
-
SOAP to RFC synchronous scenario with File
Hi,
My scenario is
Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
Is it possible without BPM?Without BPM you can try below approach, but i would recommend you to use BPM.
Develop SOAP---->PI(rfc look up) -
> SOAP/JAVA application
map RFC loop up response to SOAP receiver and JAVA application/.
Regards,
Raj -
SOAP to RFC synchronous scenario with File without BPM
Hi Folks,
I have a requirement that has to be done with out BPM!!!
Requirement:
Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
1) Can we do this by without using BPM
2)Can we use without BPM module entries for SOAP Sender
Please suggest and help me out in this
Thanks in advance,
Regards
vivekHi Vivek,
Why not have the SOAP interface defined as synchronous?
You can avoid using BPM that way.
Best Regards,
Ravi -
Http to RFC or SOAP to RFC (synchronous)
Hi,
I need to connect PHP with RFC via XI/PI
Request will be send from php developed web pages to R/3 (RFC) to get data back to web page.
I think to resolve this scenario 1u2019ve two options
1: SOAP to RFC (synchronous)
2: HTTP to RFC (synchronous)
Can you please suggest me the scenario?
Thanks for you time
Regards,
Farrukh GhaniHi Ghani,
The two options you mentioned we can use,but it depends on how PHP web site going to send data,if it is going to send webserive then use SOAP adapter,you are expecting response ,the RFC wil work as synchronous.
If it is not Web Service other option is HTTP,receiver would be RFC only.
How to configure SOAP->XI>RFC or HTTP->XI-->RFC scenarios,simple search in sdn will give many blogs,search in sdn,
if you unable to find right one let me know..
Regards,
Raj -
SOAP to RFC - Sync Scenario. How to find where the response is going to?
Hello All
I have a SOAP to RFC sync scenario.
In SXMB_MONI, i see that both the initial message and the response message are successfully processed.
But, the SOAP sender is not receiving the response message.
How can i trouble shoot this scenario? How can i findout what is going wrong?
Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
ThanksHi Chandra,
Please check this blog.
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI blogs are also there on how to use this application...
Regards
Sunil. -
SOAP to Proxy synchronous scenario
Hi,
Hope you are all doing well.
I have a SOAP to Proxy synchronous scenario. As part of this scenario, the data structure of the response sent by SAP is different from the response sent back to the SOAP requester. Hence I have used request message mapping between the SOAP request sent by requester and the one passed on to SAP and response message mapping between the response sent by SAP and the one passed on to the requester. Both the message mappings are incorporated in a single Interface mapping.
The problem is that the interface is behaving like a asynchronous one, i.e., request is passing over to SAP but though the proxy is giving a response back, the same is not coming over to XI.
It would be really helpful if you can let me know what might have gone wrong.
regards
DebansuHi,
you should have that:
1. Two Message Mapping:
1.1. a Message Mapping for request (called MM_request) , from MT_SOAP_request to MT_Proxy_request.
1.2. a Message Mapping for response (called MM_response) , from MT_Proxy_response to MT_SOAP_response.
2. One Operation Mapping (in PI 7.1) or Interface Mapping (in PI 7.0) from SI_SOAP to SI_ Proxy with:
2.1 in the tab "request", so from MT_SOAP_request to MT_Proxy_request , give your Message Mapping "MM_request".
2.2 in tab "response" , so from MT_Proxy_response to MT_SOAP_response, give your Message Mapping "MM_response".
3. In you Directory, you define a flow like that:
from SI_SOAP to SI_ Proxy by using your Operation Mapping.
If I missed nothing, that's all.
MT = Message Type
MM = Message Mapping
SI =Service Interface in PI 7.1 or Message Interface in PI 7.0.
regards.
Mickael
Edited by: Mickael Huchet on Oct 19, 2011 4:07 PM -
File to RFC synchronous scenario stopped Picking the files
Hi Experts,
We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
Give me your valuable inputs to resolve this issue.
Regards
Bhargava krishnaHi Bharghav,
Please go through the below,
Symptom
FTP Adapter is being used in the business scenario for message processing.
During file processing it is noticed, that the FTP sender channel stops
polling. There is no error in the channel monitor or the trace/log files
and the polling jobs are correctly displayed in the AFW scheduler table.
The issue is observed after a network connection issue with the FTP server.
In order to remove the hanging locks from the FTP Adapter, the parameter
'ftp.timeout' setting is required to be set, which releases the lock once
the timeout value is expired. But in the above situation, the value for the
'ftp.timeout' is not taken properly while establishing the data connection
by File Adapter.
Other terms
FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
Reason and Prerequisites
Program error
Solution
The hanging situation has now been improved by code changes. Please see
section "SP Patch Level" of this note for a list of updated software
components.
To get this correction available in your Support Package you need to apply
the patch matching to your Support Package version as per the instructions
in the NetWeaver Support Package Stack guide which can be found on the SAP
Service Marketplace as described in SAP Note 952402.
Thanks & Regards
Uday.S -
SOAP - XI- PROXY synchronous scenario
Hi Experts,
I have a
SOAP -
XI -
PROXY Synchronous Scenario
I have done the following things ESR and ID
ESR:
1. Created DT and respective MT for Request and Response.
2. Created Service Interfaces with Synchronous mode with respective MT's.
3. Created Two separate MM with respective Request and Response MT's.
4. Created Operation Mapping and call both Request and Response Mappings in it.
Integration Directory (ID):
1. Configured considering Sender SOAP and Receiver ECC Services.
2. Configured CC with required parameters in Sender SOAP CC and Receiver XI CC.
3. Generate wsdl from Sender agreement and save it as a local file.
I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
Please hep me out.
ThanksHi Ram,
I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
It looks like you did not create a receiver agreement, or if you did, it did not match the interface that is given or configured in Interface Determination. Can you recheck your configuration?
Regards,
Mark -
HTTP to RFC synchronous scenario Issue
Hi Folks,
Currently I'm working on a HTTP to RFC synchronous scenario. Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW
Result:
http-Status: 500 Internal Server Error
Payload:
<SAP:Error>
<SAP:Category>Application</SAP:Category>
<SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>
<SAP:P2>java.lang.NullPointerException</SAP:P2>
<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>
</SAP:Error>
I also tried executting the message testing tool to see the trace and the below result I got
<?xml version="1.0" encoding="iso-8859-1" ?>
- <Top>
<First>BeginTrace</First>
<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="3" type="T">Mapping is determined</Trace>
<Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>
<Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>
<Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>
<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>
<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
<Trace level="2" type="T">Mode 3</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>
<Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>
<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
<Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
</Top>
But still I'm not able resolve this issue kindly help.
Regards,
SantoshLooks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :
http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem
May be there is no value retrieved from the ECC system so it is saying null value.
For proper configuration check you can refer the following blog:
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
I am a beginner so not the full answer is there but may be this would help you.
Regards
Ravi Anand -
Response structure empty for HTTP to RFC synchronous scenario
Hi experts,
I have a HTTP to RFC synchronous scenario.
The request is given to Price List ZBAPI.
The input to the BAPI is date, material no, customer no and condition type.
The output I am fetcching from access sequence table into the table FINAL type structure ZFINAL which is
then sent back to source as a response.
But the problem is that I get this table as empty although BAPI returns data
Regards,
MozilaDear Mozila,
How did you check that BAPI returns data? Did you use an exact message sent from PI to the receiver business system? If not, I would suggest to take the message which was sent by PI to the receiver business system and use it when performing BAPI test.
Are table contents received by RFC adapter on PI side (can you see BAPI execution results in message contents for response message received by RFC adapter)?
Can you see any errors in RFC communication channel?
Did you check message monitor in Integration Server for the particular message? Are there any errors?
Please also check your message mapping - this may also cause the error in case RFC adapter receives correct results, but HTT client receives empty table.
My regards,
Vadim -
Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.
Java Proxy -> XI -> RFC Synchronous Scenario. Problem
Hi,
I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
The first time that execute the scenario it works perfectly but no the next one and so on.
The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
<Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
<Trace level="1" type="T">no outbound binding found.</Trace>
<Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
A Hint, my services in the first try are:
<b>Sender Service:</b> JPX_DEV (Java Proxy Client)
<b>Receiver Service:</b> DES210_DEV (R/3 4.6C)
But the second try and so on the services that I saw in the monitor are:
<b>Sender Service:</b> DES210_DEV (R/3 4.6C)
<b>Receiver Service:</b> JPX_DEV (Java Proxy Client)
I can't understand why they swich each other.
Any idea?Hi,
Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
Try to recreate or refresh and activate it. Then check it.
also do the cache refresh in SXI_CACHE.
Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
Hope this helps
Regards,
Moorthy -
Hi...All,
we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
thanks in advance,
Pasi.Hello Pasi,
JDBC-RFC Synchronous Scenario with out BPM,
Go through this links...
JDBC Sync - RFC Sync Scenario without BPM
File - RFC - File without a BPM - Possible from SP 19.
JDBC-RFC-File
Re: jdbc-rfc synchronous
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
JDBC-RFC Scnario mapping problem
Thanks,
Satya Kumar
JDBC---RFC will Support Sync????????? -
Soap- XI- RFC Synchronous question
This should be simple but for some reason something isn't clicking with me. I've got a synchronous scenario. I need to set up a message interface that will be exposed as a web service. The sender will send the soap message to this message interface. The message interface will be mapped to an RFC on the R3 end. The RFC however doesn't receive any data it just returns data back to the application working with the web service. My question is how do I set up the MI interface for the SOAP message? If I state synchronous it's going to want both an input and output message types?
Arvind et al...
Let me expand, I think I was a little vague initially. On the back end of this integration is a remote function in R3 lets say called "get_data". The "get_data" function doesn't have any importing parameters. It just provides a listing of data back to the caller. I basically need to expose this RFC as a web service using XI to a .NET application. The .NET application needs to invoke the web service (without providing any initial data) and the web service will invoke the RFC on the backend and return the data provided by the RFC.
Since this is basically a synchronous interface I kind of got stuck when I went to create the message interface for the web service side. As Arvind mentions I need both outbound and inbound message types to create a synchronous message interface. So I guess my question is whether anyone else has encountered a similar scenario and what they may have done to get around it.
Thanks! -
Hello members:
we have a business scenario: SOAP to RFC sync
an external system (ABC) sends documentrequest thru XI SOAP adapter and makes an RFC call to a BAPI and gets back the resposne to the ABC system.we are handling 4 mappings. 1. request msg to a common msg 2. common msg to BAPI request3.bapi response to common msg 4. common msg to response msg(which is same as the req msg)
i have the request msg and common msg as external definitions. I did the following steps and wanted to
know if i am right.
1. there are no data type & msg type needed for this
2. 4 msg interfaces
i) document o/b sysnc
ii) document i/b sync
iii)common o/b sync
iiii) common i/b sync
3) 4 mappings
i) document to common
ii) common to bapi req
iii) bapi resp to common
iiii) common to req/response
4) 3 intf mappings
source intf********** target intf
i)document o/b common o/b uses mapping #1
ii)request :common i/b bapi i/b uses mapping #2
resposne:bapi i/b common i/b uses mapping #3
iii) common i/b document i/b uses mapping # 4
pls provide your inputs if my approach is rite? do i need to have 4 msg intefaces?has any made mappings where 4 mappings are involved ( without BPM)
Thanks in advanceHi,
I think you will have only 2 interfaces.
1. Sync Outbound interface (SOAP Structure)
Two message types Req and Res
2. Sync Inbound interface (RFC Structure)
Two message types Req and Res
Then two message mapping
1. SOAP Request to RFC Request
2. RFC Response to SOAP Response
and finally one Interface mapping.
Thanks,
Prakash -
SOAP to JDBC Synchronous scenario
Hi experts
As per my requirement iam going to do SOAP to JDBC.
Please guide me how to do SOAP to JDBC (synchronous)
through XI .any step by step docs or blogs related to this
please forward to
[email protected]
if helpful points will be rewarded.
Regards,
Nareshhi..
To send SOAP request u have to download the Altova XML spy tool..
follow this link for SOAP adapter.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
for JDBC receiver adapter follow
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
regards
MAnas
reward if helpful..
Maybe you are looking for
-
Can't change image size % in save for web
Hello, I'm using Photoshop CC. When slicing a web mockup, and saving for web, the image percent is blocked at 58.49% and I am not able to increase it to 100%. So my original image of 1024px wide comes out at 600px I haven't changed any settings (that
-
So, I recently bought a refurbished Mac Mini, late 2009 model. It worked fine for the first few months, but after moving back to school, it started acting oddly. First, it had problems booting. It would freeze up during the boot up, or occasionally r
-
I purchased elements for windows by mistake and I need it for mac! What do I do?
I need the Mac version however I purchased the download windows version.
-
This is like a hidden deal because I missed the staples 59 dollar deal on MX922 this weeked it was very short I guess anyway if you look at the specs the MX722 is the same as MX922 except for the lcd screen is 2.5 and doesn't come with cd/dvd tray.
-
Short Dump in Tcode CO01.
Hi Experts, My system ECC 6.0 EHP4 IDES ,My functional team FICO is running transaction CO01 and creating production order. Tcode : CO01 Material : r-f100 Production Plant : 1000 Then press enter and in the next screen. Put Quantity : 10 Date u2013