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
Similar Messages
-
File RFC sync scenario error: MsgId alredy exists in the system
Hi,
I am working on File RFC sysnc scenario.
The first message that I tried to processed gave a error
com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date ' ' has a wrong format at field REQ_DATE_H: Unparseable date: " "
When I retried correcting the data, it started giving strange error
Message ID 62D07CA0D3EE11DCCD36DA01C52F0606 for pipeline CENTRAL, version already exists in system.
How to rectify this?
XI version is PI 7.0 SP10Nisar,
Which program to re-run? Are you talking about activating the channel again? If so, then I have done it many times changing the file name.
I got below error in Communication Channel Monitoring:
2008-02-06 02:27:39 Error Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText: ErrorStack: Message ID 83F8B0B0D48311DCA544DA01C52F0606 for pipeline CENTRAL, version already exists in system
2008-02-06 02:27:39 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error Transmitting the message using connection http://xibox:8000/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error The message status set to FAIL.
2008-02-06 02:27:39 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException -
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. -
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 -
RFC Function module-With Only Request message
Hi
i need a RFC with only Request message and Response message is not required.
please help me, how to create a RFC function module with out Response message, and it should contain only Request message.
i have created RFC in this way:
RFC doesn't contain neither import nor export parameters. and i have defined one table in TABLE tab which refers to a ztable created already.
when i imported RFC into XI i came to know that RFC has both Request and Response messages, but i don't need Response message.
Thanks in advance..help would be appreciated
Regards,
RajeshThankx Michal,
I have written ZRFC this way:
insert ZMM_AUTO_GR from INPUT_TABLE .
if sy-subrc = 0.
commit work.
else.
rollback work.
im not using neither import nor export parameters..but using only tables parameters. but when imported in XI im getting same table structure in both request an response.
please suggest what changes required in above code to invoke my ZRFC in async way.
you will not get any response in XI- what chages required in my code to dnt get .reponse in XI.
appreciate your help.
Regards,
Rajesh. -
Sync icloud with outlook fails
Sync icloud with outlook fails because username and password for icloud seems not to be correct. But it is correct.What can I do?
Can you log into iCloud.com ?
-
Hi Experts,
My Scenario: EDI to RFC Synchronous scenario.(Order Status Inquiry interface-- 869/870)
Guys could you suggest whether do i need to use BPM to achieve the output file.
1. we have EDI struture imported from stylus studio and used two mappings as follows
Mesage Mappings:
EDI input request xml file (869 EDI xml File) -
RFC request structure
RFC response Structure -
EDI output xml file (870 EDI XML file)
Interface Mappings:
one interface mapping
My doubt was i have seen some scenarios in SDN that we can achieve sync scenarios without using BPM with the help of module configurations in the file
adapter.
Else do we need to go for the BPM to achieve such scenarios.
Thanks,
--Sai.Such scenarios can be easily achieved using standard SAP module Request Response bean (without using BPM)
Chk this:
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
Thanks
Amit -
Hello,
I am setting up a new scenario where I get an XML file with PI, send that content via sync SOAP receiver call and direct the result of the web service response to SAP (just back to file as intermediate step).
So far I have the transaction working to the SOAP adapter receiver request / response. I see the correct approval response coming in my SOAP channel (RWB AE payload), but this message gets stuck there before routing back to my receiver interface and mappings.
General setup:
FILE Sender to SYNC OB SI.
OB SI Request is my source message type and Response is my final message output type.
OM Source is this Sync OB SI. Target is a SOAP Sync IB SI. Request Mapping program matches the source file message type and target SOAP layout. Response Mapping matches SOAP response and Target is my final file layout.
Routing for Sync OB SI ID uses this OM for Sync IB SI.
SYNC IB SI has Request and REsponse messages mapping the external SOAP call.
When I test the configuration I get success.
When I send messages through I get error in the adapter about this NO_BACK_SYSTEM_IN_HOPLIST (therefore the response message is not making it back into the IE so that it can be mapped again and forwarded).
Complete error message from RWB Adapter Log "Transmitting the message to endpoint http://[myhostname]:[myport]/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: NO_BACK_SYSTEM_IN_HOPLIST:." and the next line is "Received XI System Error. ErrorCode: NO_BACK_SYSTEM_IN_HOPLIST ErrorText: null ErrorStack: Legacy system to which acknowledgment message is to be sent is missing in hoplist (with wasread=false)"
Any ideas for me? (fyi not using BPM).
Regards, Aaron MyersHi AAron,
Looks like this problem has occured before. There are SAP Notes recommended. Below are some helpful links.
http://scn.sap.com/thread/848913
http://scn.sap.com/message/4659941#4659941
Thanks,
Divya. -
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 PMHi 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 -
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 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 -
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 -
Hi ,
I am doing File to RFC Scenario.
My file get picked and I able to view the audit log under RWB message monitoring.
Here I am getting the error
u201CTransmitting the message to endpoint dest://XI_INTEGRATION_SERVER using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message using HTTPTransmitter. Reason: java.net.MalformedURLException: unknown protocol: dest.
Can any one tell me what is the reason.
Regards, NavneetHi Prakasu,
I am using PI 7.1 version .
When I opened SMICM there I am finding the HTTP Port as 52000.and the BS at SLD are also using the same Port in URL..
And when i verified with the Basis they confirmed that Exchange profile is set correctly.
But My file adapter is still not able to send the data to IS.
Than I configured a scenario file to file without IR object and in this case data is coming to IS and it is succesfull also.
what is the reason that in this case file adapter not able to push the data to IS.
I used File adapter with NFS protocol.
regards,
navneet -
Async-Sync scenario with out using BPM
Hi All,
With SP19 we can implement File-RFC-File scenario with out using BPM.
But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
My input file has five elements. A1,A2,A3,A4,A5
The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
Can anyone advise how to go about it. I don't want to use a BPM here.
Thanks
AbinashHi
the following thread may help you
Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
File - RFC - File without a BPM - Possible from SP 19.
Thanks,
Ram -
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
Maybe you are looking for
-
Hi,what is table name where we can see customer open items BR.AJ
-
How can i transfer my entire ipod library to my new computer
I just purchased a new computer and rather hook the old computer to the new one I want to use my Ipod to transfer my library but it will only transfer the purchased songs. Is there anyway to move the ipod library to the new computer using the ipod on
-
How to download all columns in analytics
Hi, We are using obiee 10g. In criteria we are having 10 columns. but in results we are displaying only 8 columns. Out requirement is when we download excel/cvs, we need to get all the 10 columns. Please let us know. Thanks
-
I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! hel
-
Hello community I'm in the market to buy a new notebook/desktop soon and using a PC for homework,banking,surfing the web, little gaming(sleeping dogs,batman arkham city and deadspace), and music. It gets the job done kinda it is almost 5 years and de