Issue in File to File scenario.
Hi Experts,
In file to file scenario the messages are coming with tag encoding=UTF-16 instead of UTF-8 .in SXMB_MONI as shown below:
Error detail:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
Switch from current encoding to specified encoding not supported. Error processing resource 'http://xxx.mdt/messa...
<?xml version="1.0" encoding="utf-16"?><Document xmlns="urn:iso:std:iso:xxxx
Upto last week the messages are observed with the tag <?xml version=''1.0'' encoding=''UTF-8'' in SXMB_MONI. But from yesterday onwards the messages are shown with UTF-16 encoding.
Please share the inputs where is the problem we need to check.
Thanks in advance.
Regards
Mahesh.S
Hi Mahesh,
There might be some change in the input file format.
if this is the case then you need to change the encoding in communication channel....Refer the below link for ref..
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Naveen
Edited by: chichilin on Sep 22, 2011 10:16 PM
Similar Messages
-
Hello Friends,
I am facing an issue during File To IDOC Scenario.
Sender side: Text file
It contains data:
name,surname,7894561230 i.e. phone no.
My sendor data type is also desined in same way.
I am facing given below wrror in SXMB_MONI.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_mm_file_to_idoc_</SAP:P1>
<SAP:P2>java.lang.NullPointerException</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_mm_file_to_idoc_:</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In sendor file adaptor I am using 'File' as message protocol.
Should I have to use 'File content Conversion'.
I tested message mapping. It is working fine.
Kindly suggest me for above error. How I can resolve it?
Regards,
NarendraIt contains data:
name,surname,7894561230 i.e. phone no.
java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_mm_file_to_idocc
In sendor file adaptor I am using 'File' as message protocol.
Should I have to use 'File content Conversion'
can you tell in what format is your source structure? I mean is it an XML or a CSV file?
If it is a CSV file then you need FCC....but then in this case the error should have been thrown by the channel itself and the message wont have come till mapping step....
If your source file is really in csv format then apply FCC....many blogs, references are readily available on SDN.
Regards,
Abhishek. -
PI7.1 File to Idoc scenario issue.
Hi,
We recently had an upgrade from PI7 to PI7.1.
When testing File to Idoc scenario ,we had an issue as below
Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
<Trace level="1" type="T">Error during lookup - com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel GeneratedReceiverChannel_RFC (Party: , Service: ED2_200, Object ID: a8f14398a9993dccadbe983d401f693a) The channel with object ID a8f14398a9993dccadbe983d401f693a could not be found in the Integration Server Java Cache. Check if the channel exists in the Integration Builder Directory and execute a refresh of the Java Cache.</Trace>
<Trace level="1" type="T">Error when parsing RFC Response - null</Trace>
<Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
This was working fine before upggrade.
Any changes required to be done in scenario?
Pls let me know.
Thanks,
Srinivasado a CPA cache refresh
http://hostname:port/CPACache/refresh?mode=full
also check if the object is visible in tcode SXI_CACHE..
also refresh the SXI_CACHE -
Lookup issue for File to Idoc scenario-- Urgent Pls.
Hi All,
Iam doing File to IDoc scenario with one file --> any of 3 R/3 systems.
Routing has to be done dynamically using a lookup file, based on the incoming GLN code and last character of the Order Reference number.
The last character of the Order ref Num will have A,B or C.
Where, ' A' for R/3 152 Client
' B' for R/3 142 Client
'C' for R/3 132 Client.
1. PlantGLN_Routing lookup file :
DestinationSystem, Plant GLNCode, Partner Number,
A, 5000243000473, GDKDVRC152,
B, 5000243000473, GDKDVRC142,
C, 5000243000473, GDKDVRC132,
A 500034000487 GDKDVRC152,
B 500034000487 GDKDVRC142,
C 500034000487 GDKDVRC132,
By Using DestinationSystem and Plant GLN Code as lookup key --> I need to get the value of partner system.
2. IdocCtrlLookup
Purpose: To read the IdocCtrlLookup file to populate the Idoc control segment
Now based on the partner system from previous table --> I need to get the details of Sender Port , Sender Partner Type , Sender Partner Function , Sender Partner Number , Rx Port , Rx Partner Type , Rx Partner Function , Rx Partner Number.
Please help me how can acheive this scenario with the help of lookups.
Its very urgent.
Regards
Krupakar.HI,
Here you would have to use one mapping for dynamic routing , based on this create IM and use it in receiver determination.
the another mapping is general to file to idoc.
see the dynamic routing link here
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping -
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Also if you know the field name the context object can be defined for partner no that can be used in receiver determination in condition. to particular partner no in receiver determination.
Regards
Chilla -
Issue during File to File Scenario
Hi Folks,
I am doing a file to file scenario in which I'm using the Transport protocol as FILE (NFS) and the source directory I'm trying to use is on my local system which is shared. But still i'm getting an error "Configured source directory '
1693.29.52.01\File\Input' does not exist" during the communication channel monitoring.
Regards,
SantoshHi, santosh
rajesh is right NFS stands for network file system which means your PI server only andf not any shared location
If you want file to be picked up from your local machine then create a FTP(file Transmission protocol ) location on your machine and create a shared folder there . this folder should have all the rights(read and write)
In your sender communication channel select option FTP in place of NFS
give details of your FTP location,user credentials then only your file will be picked
regards
sandeep -
File - XI - Mail Scenario. ( Urgent Issue )
Hi ,
Good Morning...
I am doing File to mail Scenario.
I am Using File & Mail Adapter.
I got 5 files in FTP server named as
SAP1.txt
SAP2.txt
SAP3.txt
SAP4.txt
SAP5.txt
Now File adapter should pick this 5 files and make a attachments to a single mail.
I am able to pick one file and attach and send it to the mail.
But now i have to pick all te files and attach to the single mail with same file names like in source.
How should i proceed for the scenario.
Points will be awarded.
Regards,
Jayasimha JangamHi Jangam,
ur having many files should be maped under one file and then send to a mail adapter
it better to go with BPM is there any any common value in all the files
pls do chk out this blog
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
/people/community.user/blog/2006/09/07/email-reporting
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
pls do chk this links they r mainly blogs
if found worth pls do the req
Thanx
Sampath -
Hi all,
In file to file to scenario in sender channel
Qualty of service Processing mode observation
Exactly once Delete Input file not or getting deleted
Exactly once in order Delete reaching output
folder after fewhours
For best effort Delete Input file not
getting deleted
Can anybody tell the reason for the above please.
Regards,
VenkatNo error appeared. But for best effort file is moving to output folder at the same time it is not getting removed from input folder.
For exactly once or exactly once in order file movement is taking few hours and also the input file is not removed from input folder.
Hope i am clear
Regards,
Venkat -
File-to-File Scenario: Parsing issue
Hey experts,
I had to work with idoc-to-file or file-to-file several times, and i noticed that sometimes if one data to map to the file was incomplete it caused several errors mapping, there's any way to fix that?
Let me explain with an example:
XML structure: 3,4,5,(missing field),7
If the parsing corresponding to "6" is smaller than 7 i would get an error because the transmission would be: 3,4,5,7
In most of cases these are mandatory fields, but i'm curious as if we have any other choice to find that error, because in big xml files is really hard to check which data is missing and why
There's any way to leave with blanks to avoid errors and the displacement of data? => 3,4,5, ,7
Thanks in advance,Hi,
We had the similar requirement where the end users find it difficult to check the line item where they had made the error.
So, we decided to do a RFC call to a function module at XI level which captures the line items details and stores in a table.
Parallely an Alert is raised which captures all these informaiton and been sent to their email.
Only thing you need to make sure is that it doesnt show any eror in FCC and should show error while mapping only.
It is difficult to capture error trace during FCC
Regards
Krish -
Hi,
I have a problem in file to file scenario in which the file is not getting transferred from source to target.
Source communication channel - Transport protocol - NFS | Process mode : Delete | The file is picked but not able to delete from the directory.
Error: File: d:\test\file.txt deleting after processing failed - retry
The file is not transferred to target is it because of this CC is not able to delete the file. Does windows also have any authorization issue if so how should one check the authorization. I have the admin access of my system.
Thanks.Hi,
Firstly, Since the scenario works perfectly while using Test mode, so all your design & configuration are OK.
Now, there can be Two reasons why PI is not able to delete the file and process it (during Delete Mode):
(The Problem will persists if you use Archive Mode also)
Prob 1. The directory is write protected or read only
Prob 2. The file is write protected or read only
Solution:
If Unix System
Soln for Prob 1. - go to the directory structure
for ex: if directory where file is kept is /staging/Interface/PI/Test/inbox/
then go to /staging/Interface/PI/Test/ and give command ls -lrt
It will show the directory names with permisions.
use chmod 777 inbox and the permissions willl be changed ( drwxrwxrwx )
Soln for Prob 2. - Get inside /staging/Interface/PI/Test/inbox/ and give command ls -lrt
if the file does not have authorizations as (-rwxrwxrwx) give chmod 777 <filename> and then give command touch <filename>
If Windows System
Soln for Prob 1. - Goto the directoty and right click on the folder and deselect the Read Only Checkbox.
Soln for Prob 2. - Right Click on the file and deselect the Read Only Checkbox
Try again and the scenario will work surely. Let me know if any issues.
Regards,
Souvik
Edited by: Souvik Chatterjee on Mar 14, 2011 8:14 AM -
Error while doing File to File Scenario
All,
I am trying a simple file to file scenario - where xi picks up the file from a location and maps the message and dumps it in another location.
I am Getting the below error while doing the same .........
Time Stamp Status Description
2009-03-30 14:30:24 Success Channel Test_send_cc: Send binary file "d:\input\input.xml". Size 203 with QoS EO
2009-03-30 14:30:24 Success Application attempting to send an XI message asynchronously using connection AFW.
2009-03-30 14:30:24 Success Trying to put the message into the send queue.
2009-03-30 14:30:24 Success Message successfully put into the queue.
2009-03-30 14:30:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
2009-03-30 14:30:24 Error Attempt to delete file "d:\input\input.xml" after processing failed. Retry
2009-03-30 14:30:24 Success The message was successfully retrieved from the send queue.
2009-03-30 14:30:24 Success The message status set to DLNG.
*+2009-03-30 14:30:24 Error Transmitting the message to endpoint http://filip:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.*
2009-03-30 14:30:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Mar 30 14:35:24 GMT+05:30 2009.
And i cant see the meesages using the SXMB_MONI trasaction
please help me resolve ths issue
Regards,
Mahesh.
Edited by: mahesh uma on May 3, 2008 2:12 PMHi Uma,
Go through this links::
Hope these links are useful to you..
Urgent: Message not transmitted from AFW to Integration server
Error with huge file
File to JDBC error
Thanks,
Satya Kumar.. -
Issue with file to file in PI 7.3 (Splitting huge files)
Hi All,
Need your help in fixing the issue with file splitting
We are doing some sample scenarios(file to file) on PI 7.3 server.
We are trying to split a 10MB file by using the 'Advanced Mode' option in the sender file adapter. We gave max split file size as 2MB. The file got split into 5 chunks and was successfully sent to receiver file adapter. In receiver adapter we are able to see that. But in the target folder only 1 file was seen with size 2MB. All other chunks were missing. We need to have the whole data sent from source to target.
How to fix this issue? please provide your inputs.
Thanks and Regards,
Lakshmi NarayanaPI 7.3 has capable of processing larger size files.
Questions:
Have you picked EOIO quality of service? Hope you dont do mapping or content conversion for this file?
have you seen this link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a06d79f3-d094-2e10-1a81-f4d802d0bcf1?QuickLink=index&overridelayout=true
http://help.sap.com/saphelp_nw73/helpdata/en/44/682BCD7F2A6D12E10000000A1553F6/frameset.htm -
File to File scenario in PI 7.1
Hiii...
iam trying file to file scenario...I have designed in service builder and Integration builder....
My scenario i just want to tranfer a file from one folder in PI Server to another folder in the same server...My Communication Channel info are
1.my File type is File adapter.
2.Transport Protocol is File system
3.message protocol is File...
iam not getting any error..I even started my sender and receiver communication channel in RWB....and iam not geeting any error over thr...
But my file is not picked..but in cluster node it states that my processing is started...What may the issue...May knw ur valuable input..
With Regards...
Ramesh....Hi,
Correct log message in cc monitor (with or without files in source path) would be:
Processing started
Polling interval started. Length:XXX seconds
Processing finished successfully
Processing started
Polling interval started. Length:XXX seconds
Processing finished successfully
If you see only
Processing started
Polling interval started. Length:XXX seconds
Processing started
Polling interval started. Length:XXX seconds
Please, recreate your sender cc from integration directory
Regards,
Carme. -
Regarding error in XI File to IDoc scenario
Hi,
when i was doing file 2 idoc scenario i got this error "Unable to convert sender service to an ALE logical system". please resolve my issue as early as possible.Uday,
Please go through these threads:
Unable to convert the sender service to an ALE logical system
How to convert Sender Party/Service to a Logical System?
Unable to convert the sender service to an ALE logical system
BR,
Alok
Edited by: Alok Sharma on Jan 31, 2008 12:39 PM -
File to idoc scenario in pi 7.1
Hi All,
I am testing file to Idoc scenario.
I have few queries. I am using PI 7.1
1) in Message mapping - I import the receiver idoc metadata. and doing mapping.
So there are couple of mandatory fields over there. Please let me know how to treat them. Do I need to diable them or put some value. for exp Direct, Segment. SNDPRN RECPRN all these madatory fields are there. Please advice.
2) When I am creating communication component for sender side(File system) then should I assign the logical port and if then what name it can be . Is there any other place we need to maintain this entry. I remember in PI 7.0 I dont need to assign the local name. But here i see I need to do. if I am not putting the name over there then it throw error message "Unable to convert the sender service <Business Compoenetname> to an ALE logical system.
Please advice how to overcome
3) now any how I am able to process the idoc from PI and its coming to ECC system. but it showing failed over there and giving me error message.
"EDI: Partner profile inbound not available"
I checked all the relevent partner prfile configuration is already there"
I have already used all the forums , I did these scenario in past in PI 7.0 and never faced much issue . but doing first in PI 7.1 after a long time, so I might be possible, I am missing some thing. Please advice and help. thank
RamHi Ram,
There is nothing new in PI7.1 which can cause these errors.. it is because the interface is configured wrongly
>>1) in Message mapping - I import the receiver idoc metadata. and doing mapping.So there are couple of mandatory fields over there. Please let me know how to treat them. Do I need to diable them or put some value. for exp Direct, Segment. SNDPRN RECPRN all these madatory fields are there. Please advice.
If you know the value the you can create the control record during mapping and the fields which you don;t required you can map it co constant. It is using this control record the partner profile entries are found and if there is a mismatch then the idoc will fail with the error which you mentioned in point 3
>>2) When I am creating communication component for sender side(File system) then should I assign the logical port and if then what name it can be . Is there any other place we need to maintain this entry. I remember in PI 7.0 I dont need to assign the local name. But here i see I need to do. if I am not putting the name over there then it throw error message "Unable to convert the sender service <Business Compoenetname> to an ALE logical system.
No in 7.1 also we dont have to do anything like that. There is a blog on this error from Michael, please go through it and understand why and how this error occurs. May be in PI7.0 you were lucky enough for not getting this error
>>3) now any how I am able to process the idoc from PI and its coming to ECC system. but it showing failed over there and giving me error message. "EDI: Partner profile inbound not available"I checked all the relevent partner prfile configuration is already there"
Check the control record of the generated idoc and see whether you have a partner profile entry for the parameters mentioned in it. If not then you need to correct them in PI
Regards
Suraj -
File to IDoc Scenario: Idoc Status 50
Hello,
I have a problem in doing a File to IDoc Scenario with a simple XML file mapped to IDoc "CREMAS.CREMAS03". In the beginning, I got a status 56:"IDoc with errors added". Then I added a logical system (LS name of my sender)manually in "Display IMG";however, it didn't work. So I simply changed the logical system name of my sender to XI_00_800 which already exists in R/3. I tried the scenario again, then I got the status 50:"IDoc added". Looked like the IDoc still hadn't been correctly inserted as a record. May I ask what other steps or configurations do I need to do to get this scenario to work? Thank you.Steve,
<i>Moreover, I didn't create any partner profile. The "XI_00_800" partner profile is in the system all along. Should I create a whole new partner profile and point that to my sender business system?</i>
You need not create it once again as it already exists. Normally , ALE configurations on an R3 system are the responsibiltis of the Functional Team. For instance , on our projects we are never given access to the End r3 systems and the Partner profile are created by the F'nal team itself.
Like I mentioned, ask your F'nal team why you are getting this issue. From XI side , there is nothing more you need to do.
Regards,
Bhavesh
Maybe you are looking for
-
How do I change the little circular picture that I see when I open my computer to log in?
How do I change the little circular picture that I see when I open my computer to log in?
-
Error "Value BLANK / SPACE is invalid for acc.asgnmnt.fund" in NWA Conf.
Hello, We are currently upgrading to ECC 6.0 (from 4.7c) with EA-APPL 603 (SAPK-60303INEAAPPL) and EA-PS 603 (SAPK-60303INEAPS). When I tried to do network activity confirmation from CJ20N, it gave me an error message "Value BLANK / SPACE is invalid
-
I have used Macromedia software to develop flash movies and have used them on my website. All seemed to be going well until today. When I accessed my web page using Safari (2.0.4), the flash "intro" movie to my site keeps stalling out (homepage and o
-
I am trying to watch live espn games online with ESPN360. I have followed the installation instructions and have installed all plug-ins, programs, etc and it still does not work. I can see the video selections to the right of the screen but they neve
-
How to check 5s factory unlocked no sim
I just received a 5s phone off ebay that is suppose to be factory unlocked and has no sim. How can I check to see if is really unlocked.