File to RFC synchronous scenario
Hello Friends,
I have a file to RFC scenario.
Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
Does anyone have such scenario example.
Kindly share.
Edited by: vishal kharat on Aug 5, 2011 2:47 PM
Hi Mr.
You can follow this example, regarding BPM implementation:
http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
For XPath Receiver Determination, follow this links:
http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI
Similar Messages
-
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 -
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????????? -
Xml validation in File to RFC Sync Scenario with Validation fails message
Hi All,
We are using PI 7.4 (Dual Stack) the Requirement is File to RFC Sync Scenario(File <---> RFC).and need to do XML validation against XSD Schema. if any Validations fails Response message should send back to sender.RequestResponseBean standard module is using for File to RFC Sync scenario but how to send the response message to sender if any validation fails. adapter level XML validation is not helpful for this requirement. please help out me how to achieve the requirement with graphical mapping.
Thanks in advance.to validate schema you cannot solve it with graphical mapping but validating the schema in the AAE or the integration engine.
y recomend you to use the AAE validation at sender side, coz the sender system will be notified in case of schema errors.
The response will be validated at Integration Server level.
you can search in the forum, you will get many document about how to configure it.
take a look to my blog: PI 7.3 - XML Validation -
File to Proxy synchronous scenario
Experts,
I am working on a File to proxy synchronous scenario.
I am doing the content conversion at the sendre side by using java program as input structure is very complex so have to go fr java code. Its a txt file at sender side.
Once I read the file in XI, am doing a graphical mapping ( just one to one mapping) then using the server proxy , a service entry is getting created then response am sending to the receiver.
My question is , can I use graphical mapping as I am using a java class for content conversion? both in one scenario is possible?
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
Can Any one help me wz thsi one?
Thanks in Advance
VirendraMy question is , can I use graphical mapping as I am using a java class for content conversion?
You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
Regards,
Abhishek. -
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 -
FILE to SOAP synchronous scenario - config of SOAP channel
Hi All,
I have a scenario where I want PI to pull some files from 3rd party application.
Adapters to be used: SOAP receiver, FILE adapters.
I am aware of the use of Request/Response beans in File sender channel and the File receiver channel to dump the received files in a particular location.
I need help with the configuration of the SOAP channel.
The files to be pulled will be Encrypted.
Summary:
File sender(RequestResponse & ResponseOneWay Beans) , File receiver( to receive the files), SOAP receiver.
Need help with the config of SOAP.
Kindly let me know your views.
Thanks,
Pratibha.Hi,
Let me put it in detail steps:
In forward flow we will be sending an IDoc. It will be processed and later an Acknowledgement file will be generated.
Now, we want to PULL this Ack file. If the other party had to push the Ack file, the scenario would have been simple.
But, we want to poll for this file and then pull it.
So, we would have something like this:
1. FILE SENDER sends a sample file.
2. We will be applying the beans in file sender to make it a synchronous scenario. So, the Ack file will be received at the location mentioned in the corresponding FILE RECEIVER adapter.
3. We have a SOAP RECEIVER which should send the ACK file in response.
I have configured the same scenario where the RECEIVER was HTTP adapter. The 3rd party had provided us the URL and ENT-APRF value. When I used to send the sample file via FILE SENDER to this HTTP receiver, I was able to retrieve the ACK file via the FILE RECEIVER.
Now, I wish to configure the same using RECEIVER SOAP adapter.
I need to know about the config at SOAP end i.e. how and where the ACK file will be available at the SOAP end for the FILE sender to pull the file.
Ack files will be encrypted..
Any views/suggestions will be of great help.
Thanks,
Pratibha. -
Hi Experts,
I have a requirement of FILE TO RFC (BAPI_ABC) synchronous .Everything is ok with it.
But Once I have called BAPI_ABC, I need to call BAPI_TRANSACTION_COMMIT and pass it the hardcoded string u201CXu201D to save the changes made in SAP.
For this in Target Side of mapping i have called this bapi after BAPI_ABC. this wont work.
because with synchronous intefaces we can't do multimapping(1..2)
now when will I call this comit bapi,?
and What will be the probable solution for it.
Shall I use BPM or Proxy. but my client requirement is "everything should be done in PI side only"
Kindly reply it with your best.
Regards,
SumitHello,
I had similar problem and i could resolve this issue with help of SAP Note 1342143 - RFC Adapter: WAIT during call to BAPI_TRANSACTION_COMMIT.
So all you need it is to set up next:
In receiver RFC adapter
Check "Advanced Mode"
Check "Commit Handling for Single BAPI Calls"
Add the following Name-Value pair to the table:
Name: BAPICommitWait
Value: true
BR,
Dzmitry -
Error loading fields in file to RFC (bapi) scenario
Hi,
I'm developing and testing a file to RFC interface
In message monitor all is processed successfully and payload in Technical Routing it's like:
- <IT_TAB>
- <item>
<WERKS>0001</WERKS>
<FECHA>20080129</FECHA>
<HORA>131250</HORA>
<FILENAME>filename</FILENAME>
<MATNR>000000000000000015</MATNR>
<SPEME>00000000.000</SPEME>
<LABST>00000432.000</LABST>
</item>
- <item>
... </item>
I've create a function in R3 which imput table has the same fields (werks, fecha, hora, filename, matnr, speme, labst)
However, when i try to process data, this function seems to load fields incorrectly:
werks = 0
fecha = 00000000
hora = 000000
filename = 0150001
matnr = filename
Why?
CarmeHi Carme !
1) check that the imported RFC definition in XI is the current one and matches with the one of SAP R3.
2) check that you mapped the file message type to the imported RFC request message type object
3) check that the mappings are ok. Test mapping works ok?
4) try to use a file adapter instead of an RFC adapter in the receiver channel to have the content of the input file written on a file in the file system to check if the data is coming in the right format out from XI.
5) try your RFC manually in R3 and see if it works ok.
6) compare the data types of the parameters between the RFC that does not work and one that it does, to see if there is something strange
Regards,
Matias.
ps:please award points if helpful -
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 -
File - BPM (RFC) - Mail Scenario
My scenario is File to Mail scenario thru BPM. in BPM I need to make RFC Call. I set ASMA in File sender adapter and File Nmae is not accessible in BPM Mapping. we are PI7.0 SP12. Im sure this is possible but for some reason not working. Any clue ?
Hi,
>>So Q1: Im not getting Filename into BPM though I checked ASMA in the Sender File Adapter
You cannot take the filename (using Dynamic Configuration) in Message Mapping inside BPM transformation step. So I will propose to take it before entering into BPM.
>>Q2: I need to send attachment name as Dynamic which I should get from the Input Message. we are on PI7.0 SP12.
Check the blogs in sdn, you will get more idea on this. If I get any I will reply back
Regards
Suraj -
File to Soap synchronous Scenario
Hi Experts,
I have designed an synchronous File to SOAP scenario in PI 7.31. I am able to send the request am getting the response to target path also correctly but am not able to see the msg in SXMB_MONI.am not using ICO am using dual stack in PI 7.31 plz help on this.
Regards,
Rajendar KHi Rajendar, what does your configuration look like? (e.g. Service Interfaces, Oparation Mapping)
I'm trying to do the same but SOAP response message is not getting back into IE. I have LOGGING_SYNC already set to 1.
Thanks, Aaron
Maybe you are looking for
-
Predictive text on standard English keyboard disabled
When I install third-party keyboards, the predictive-text option for the standard English keyboard is disabled and not able to be re-enabled - it looks fine under settings, but on the globe pop-up, the switch is off and incapable of being enabled.
-
How to continue transition rendering with custom dialog open
Hi, I'm working on a plugin for some custom transitions (currently for CS6/CC on Windows). I'm using a custom dialog (hasCustomDialog in PiPL) during esSetup to set the transition parameters. While the dialog is open the execution of Premiere is halt
-
For last 3 days my phone has had no service on IOW, London or Milton Keynes, tech support are constantly closed or busy and the single point of contact sales guys is on a perma holiday. Think its time to move my 3 contracts home broadband to someone
-
Turn off filters for sub-folders
If filters are applied to a folder and the filter bar is hidden it is easy to forget and wonder why pics are missing. Working through all folders and sub-folders to make sure filters are off for every one is time consuming - would it be possible to h
-
I need to pay my monthly 15 dollars for creative cloud. i have had 15 dollars in my bank since last saturday when it was supposed to paid i spoke to someone on tuesday and that after noon 3 dollars was taken out of my bank and nothing more i need thi