FCC Content convertsion problem
Hi Experts,
I have the following strucrure.
Cust no
Sales org
Dist Channel
division
Indicator1
partner function1
partner no1
Indicator2
partner function2
partner no2
Indicator3
partner function3
partner no3
Here The customer no will appear some times salesorg,dist channel,Division wont appear
Indicator1,Partnerfunction1,partnerno1 will appear and the rest indicator2-partfunc2--- indicator 3 wont appear.
I have given in
Record.fieldNames : Customer_Number,Sales_Organization,Distribution_Channel,Division,Partner_Indicator1,Partner_Function1,Partner_Number1,Partner_Indicator2,Partner_Function2,Partner_Number2,Partner_Indicator3,Partner_Function3,Partner_Number3
Record.fieldFixedLengths 10,4,2,2,1,2,10,1,2,10,1,2,10
ignoreRecordsetName true
Record.missingLastFields=true
Still getting the error -Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Record':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
Could any one please let me know how to fix this issue.
Regards
Kiran
Hi Kiran,
You can try following option
As you said Customer number field may appear if it does not appear then whether there will be 10 zeros or a space?.
In this case create a string as a source structure .Treat the record in the file as a string.
1) Case 1 : 10 zeros.
In message mapping split the string by length using substring function into target structure.
2) case 2 : Space.
Check whether in string if first character is space then calculate the length using space and distribute in target structure
else use logic mentioned in case 1.
In communication channel maintain following entry:
ignoreRecordsetName = true
Row.fieldNames = line
Row.endSeparator = 'nl'
Row.fieldSeparator = 'nl'
Similar Messages
-
FCC Content conversion problem
Hi Experts,
i have a problem with with converting my file structure .
My structure is
Record
Rec_header
PO_DATA
REC-RATA
Header_Data
Debit_Memo1
Trailer
In my test file PO-DATA as well as REC_DATA are coming.
I m using fieldFixedLengths
In PO_DATA we have 10 fields but we are receiving only 8 fields the last 2 fields are not coming.
I tried to use missingLastfields as well as keepIncompleteFields but still the error is coming.
The error:
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'PO_Data':java.lang.Exception: Consistency error: last field in structure 'PO_Data.' is incomplete - specify 'keepIncompleteFields' parameter accordingly to allow this
Regards
SantoshHi Saurabh,
The options given are as follows:
If i give the option:
PO_Data.missingLastfields ignore
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'PO_Data':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
If i give PO_Data.missingLastFields ignore
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'PO_Data':java.lang.Exception: Consistency error: last field in structure 'PO_Data.' is incomplete - specify 'keepIncompleteFields' parameter accordingly to allow this
Ifi give PO_Data.keepIncompleteFields YES
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'PO_Data':java.lang.Exception: Consistency error: field (s) missing - specify 'lastFieldsOptional' parameter to allow this
Regards
Santosh -
Adobe Content Viewer problem. Please Help me...
Hi after updating online. Folio, I tried to update the trial version of the publication on my iPad but I get this message: "the issue isavailable for dowload, but new signing for an application version. Update the application from the App Store. "I went to the AppStore and was not any update of the Content Viewer ... I deleted the version on my iPad I downloaded again ... but without success gives me the same problem ... Please help me ... how can I do??
thanksHello Bob and thank you for responding so quickly ... Would you be kind enough to send me the link where I can download older versions of Folio Builder and Folio Producers Panel tools for InDesign 5.5. I'm looking for them but I can not find them.
Thank you for your patience.
Il giorno 21/gen/2012, alle ore 16:18, Bob Levine ha scritto:
Re: Adobe Content Viewer problem. Please Help me...
created by Bob Levine in Digital Publishing Suite - View the full discussion
As discussed in numerous threads already, the new viewer has not been approved by Apple yet.
If you’re a pro or enterprise customer you can create your own viewer app. If not, you’ll have to wait or roll back to the older tools.
Bob
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4155907#4155907
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4155907#4155907. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Digital Publishing Suite by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
How to debug file content conversion problems?
Hi,
I'm trying to debug a file content conversion problem. I'm mapping a few nodes in an IDOC to a file of fixed length fields. I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created. Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion. How do I debug this because there is no descriptive error in the XI log? If this node is not present, the file gets generated fine.
Thanks,
Basant GuptaHi,
If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
So it wil help you debug the situation.
If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
/people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
Regards,
Moorthy -
Hi. I've got that content protection problem when downloading from blackberry app world. Every time I try to download something, a message comes up that says, "An error has occurred communicating with the BlackBerry App World Client. If you have content protection enabled on your device, please disable and try again,". I'm sure a lot of people had this problem and many of them have had their problem solved, but i've already tried solutions like disabling the encryption and doing the battery pull but the message still comes up.
Are there any other solutions that I can try?
Thank you in advanceHello timothyW,
Welcome to the forums.
Have a look at this article for help changing the content protection settings on your BlackBerry® smartphone.
KB11963
How to change the setting for Content Protection on the BlackBerry smartphone
Hope this helps. Have a good day.
-SR
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
Extended Content type problem
I want to extend the content type 'ExtendDocument' from 'Document'.
So I use 'Oracle Internet File System Manager' to create a new Class Object named 'EXTENDDOCUMENT', which is extend from 'DOCUMENT', and add a attribute 'EXTENDURL'.
This Class Object's bean class is 'ifs.beans.ExtendDocument' and server class is 'ifs.server.S_ExtendDocument'.
I create these 2 java class and put the class files to ORACLE_AS_HOME\ifs\cmsdk\custom_classes directory.
As I want to set the object type as 'ExtendDocument' when uploading a file which expend name is '*.wmv', so that need to change 2 default value 'ParserLookupByFileExtension' and 'IFS.PARSER.ObjectTypeLookupByFileExtension'
So I add 'name=wmv, datatype=STRING, value=oracle.ifs.beans.parsers.ClassSelectionParser' to ParserLookupByFileExtension.
And then add 'name=wmv, datatype=STRING, value=EXTENDDOCUMENT' to IFS.PARSER.ObjectTypeLookupByFileExtension.
After done above actions, i restart my oracle application.
I use CUP to upload a test file 'test.wmv' to CMSDK repository, and its type is 'EXTENDDOCUMENT'.
But if I use FTP or WebStarterApp application to upload 'test.wmv' file to CMSDK repository, then its type is 'DOCUMENT'.
Why and how to change to make FTP and WebStarterApp application can upload *.wmv file's type as 'EXTENDDOCUMENT'?
anybody can help me?
thanks.Nirav-P-Thakar wrote:
FileNameMap fnmMime = URLConnection.getFileNameMap ( ) ;
fnmMime.getContentTypeFor(fileName);
URLConnection.guessContentTypeFromName(fileName);I have tried out both methods but it returns null when the file is of type MS Office or Open Office.In reply 1 BalusC said..
"Alternatively you can use ServletContext#getMimeType() for this. It guesses the content type based on the mime mapping as it is been definied in the web.xml of the application server and the webapplication. If it returns null, then you need to add new <mime-mapping> entry to the web.xml."
I would try doing it this way. Try including entries for the mime mappings in the deployment descriptor of the web application. -
Hi,
I am facing some problem in FCC for Receiver adapter. It has to convert from XML to CSV File.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:PaymentFull_Target xmlns:ns0="http://sdn.com/Payment">
- <RECORDSET>
- <Header>
<LineItem>1</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
- <Header>
<LineItem>2</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
- <Header>
<LineItem>3</LineItem>
<SaleNumber>102</SaleNumber>
<TransNumber>105</TransNumber>
<Store>1326</Store>
<variant>Z6</variant>
<TransType>NEW</TransType>
<Adjustm_Type />
</Header>
</RECORDSET>
</ns0:PaymentFull_Target>
Output File is coming only with lineitem values , remaining fields are not coming.
*1,2,3*
FCC Used...
RecordSet Structure -- Header
Header.fieldNames -
LineItem,SaleNumber,TransNumber,Store,variant,TransType,Adjustm_Type
Header.fieldSeparator----- ,
Header.endSeparator----- 'nl'
Did I miss anything.. any idea whats going wrong?
Thanks
DeepthiHi Deepthi,
Mention the occurrence of header in Recordset
You specify like this:
Recordset: Header, *
Header.fieldSeparator : u2018Field Separatoru2019
-->For FCC on Receiver side you donu2019t have to mention the field names.
-->The u2018endSeparatoru2019 parameter needs to given for substructure only
Check this links:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Rgds,
Akhila -
File adaptor Content conversion problem
Hi all,
I have a client proxy > pi> CSV file scenario which im working on currently - everything is fine apart from 1 really annoying thing.
The problem is this that when data is extracted from SAP it should put in 6 fields within the file produced e.g:
field1,field2,field3,field4,field5,field6
Which is fine however if one of the fields is blank there should still be the blank space which should appear instead of what it is curently doing which is ignoring the blank and shifting everything else left by 1 so:
if out of 6 fields only 5 come out currently its doing this:
field1,field2,field4,field5,field6 (Notice field3 is missing and there is no blank space in its place)
What it should be doing is this:
field1,field2,,field4,field5,field6 (Notice the blank space)
I have gone through all the content conversion parameters I know for receiver file adaptors none have worked so if you know any which will do this please let me know!!
Also if you know of other ways your ideas will be greatly appreciated.
Many thanks in advance
Edited by: Saqib Karim on Mar 5, 2009 5:45 PM>
Saqib Karim wrote:
> Hi Chirag,
>
> Does this mean that there is nothing in the file adaptor to cater for this and the only way is through mapping?
>
> I was hoping for an easier more straight forward solution along the lines of content conversion since this means that it has to apply to ALL FIELDS in the mapping!!??
>
> Thanks
you solution is to alter the mapping in a simple way.
If you are using graphical mapping then use this logic;
Source field -> if EXISTS -> Target
else -> Pass an empty constant -> Target
This will make sure an empty tag is created a the target and FCC will work fine. -
Specifying pdf document's name in browser - content-disposition problem
Hello ,
I want to open a PDF document in browser, which needs to have a specified filename when user tries to save it.
My web app sends an "application/pdf" document back to the browser.
I use the Content-Disposition HTTP header to instruct the browser to open the document inline, i.e. using the appropriate plugin, which is Adobe PDF in this case. When the user clicks Save As..., the document filename needs to be the one specified by the same HTTP header. Here is the code:
response.setContentType("application/pdf");
String contentDisposition = "inline; filename=\"filename.pdf\"";
response.setHeader ("Content-Disposition", contentDisposition);
response.setHeader ("Content-Length",new Long(file.length()).toString());Unfortunately this does not work for me. Document opens fine, but I can't get it to have the name I specified. The plugin uses the default name, which is the full URL of the document. I tried several combinations of HTTP headers, but neither worked. I tried putting an additional GET request parameter at the end of the URL, like ...&filename=filename.pdf , but that didn't work either.
I tried Adobe 7.0 and 8.1.2.
Any suggestions ?
Thanks a lot!Thank you very much for your answer.
Needless to say I tried opening the document in IE, FF and Chrome, and neither worked.
I had a look at the code at your web site, and saw that you were serving files for direct download: Content-Dispositoin:attachment... .
This works fine for me too, and the filename is recognized correctly in that case. The problem is, I want to display the PDF inline...
My server is not configured for URL rewriting, and I would be probably quite some problem to make this app work with it, so the /filename.pdf is not an option for me.
Edited by: matavulj on Sep 25, 2008 7:21 AM -
FIle Content Conversion Problem in IDOC-XI-File Scenario
Dear All,
I am doing IDOC-XI-FILE scenario.
I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
The output xml version generated by Reciever file adapter is as below :
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
- <SITE_DATA>
<STORE_CODE>N002</STORE_CODE>
<TITLE_MEDI>Company</TITLE_MEDI>
<STORE_NAME>Mount Road</STORE_NAME>
<STREET>Chennai</STREET>
<COUNTRY>IN</COUNTRY>
<SALES_TAX_NO>12345678910</SALES_TAX_NO>
</SITE_DATA>
</ns0:MT_SITE_MASTER>
Plz provide me the code I have to write in the file content conversion .
Thanks in advance
Regards
PrabhatIf u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier. Then use the Suppress Logic for the Current Date.
So it will look like this-
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
- <SITE_DATA>
<STORE_CODE>N002</STORE_CODE>
<TITLE_MEDI>Company</TITLE_MEDI>
<STORE_NAME>Mount Road</STORE_NAME>
<STREET>Chennai</STREET>
<COUNTRY>IN</COUNTRY>
<SALES_TAX_NO>12345678910</SALES_TAX_NO>
</SITE_DATA>
<CURR_DATE>
<CURRENT_DATE>20051105</CURRENT_DATE>
</CURR_DATE>
</ns0:MT_SITE_MASTER>
So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
CURR_DATE.fieldFixedLengths - 0
CURR_DATE.fixedLengthTooShortHanling - Cut
And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
Hope this solves ur problem.
Regards,
Moorthy -
File Content Conversion Problem
Hi
I have a flat file having 10 fileds with fixed length of field 7 characters
abc bcd dce cef ecf fgi
123 234 343 233 434 343
322 222 222 222 222 222
+++++++++++++++++++++++++++++++
XML CODE FOLLOWS
+++++++++++++++++++++++++++++++
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_send xmlns:ns0="http://OTO-Continue.com">
-<SEND>
<abc>343</abc>
<bcd>343</bcd>
<dce>434</dce>
<cef>3434</cef>
<ecf>343</ecf>
<fgi>434</fgi>
</SEND>
</ns0:MT_send
As per the client req I'm going with FCC. The file is picking fine with the FILE. But not picking with the FCC.
The parameters which I gave are as follows.
SOURCE I feel it is fine since file is picking fine and keeping the same for FCC also.
PROCESSING
QOS -- Exactly Once
Poll Interval -- 10
Processing Mode -- Delete
Empty-File Handling -- Process empty files
CONTENT CONVERSION Parameters
Document Name -- (am giving sender data type name) DT_send
Document NSpace -- http://OTO-Continue.com
Recordset Name -- SEND
Recordset Structure -- SEND,*
Recordset Sequence -- Ascending
Recordset per Message -- 0
And in the table the parameters am settings are
SEND.fieldNames abc,bcd,cde,def,efg,ghk
SEND.fieldFixedLengths 7,7,7,7,7,7 (because each and every field has 7 characters)
SEND.keepIncompleteFields No
SEND.fieldFixedLengthType char
SEND.fieldContentFormatting trim
SEND.fieldEndSeparator 'nl'
This was the configuration. But this is not working I monitored the Communication Channel and file is not reading and not getting deleting.
What actually went wrong in above configuration. Why it is not working.
Thanks.Hi Swarna,
CONTENT CONVERSION Parameters
Document Name -- ?
DocumentNSpace -- ?
Recordset Name -- ?
Recordset Structure -- ?
Recordset Sequence -- Ascending
Recordset per Message -- ?
Document Name - <Message Type> eg:- (MT_ABC)
DocumentNSpace - Name space of your MT
Recordset Name - The root node( Which has one occurence)
Recordset Structure - The parent node of the fields(can have multiple occurences)
Recordset Sequence -- Ascending
Recordset per Message -- 1/* (No.of records per each record set)
In your structure
+++++++++++++++++++++++++++++++
XML CODE FOLLOWS
+++++++++++++++++++++++++++++++
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_send xmlns:ns0="http://OTO-Continue.com">
-<SEND>
<abc>343</abc>
<bcd>343</bcd>
<dce>434</dce>
<cef>3434</cef>
<ecf>343</ecf>
<fgi>434</fgi>
</SEND>
</ns0:MT_send
There is no root node, so in your FCC you need to mention your RecordsetName and you can ignoreRecordSetName in result structure. Check the following blog simulates your requirement.
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
Regards,
Prasanna -
Content Server problem after 5.0.2 upgrade
Hi,
We've just upgraded our staging environment from 5.0.1 to 5.0.2 and have lost all branding. The diagnostic script reports the following error:
==========
Community Branding Image Publishing Target : FAIL Settings
Community Branding Image Publish File Location: file://localhost/C:/ProgramFiles/plumtree/ptimages/imageserver/plumtree/portal/templates
Community Branding Image Publish Browser Location: http://<SERVERNAME>/imageserver/plumtree/portal/templates
Community Image FTP User Name:
Community Image FTP Password:
Possible Resolution
The file could not be found at the browser locationEnsure the community branding settings in content.properties are correct. The file location and browser location must be valid paths.
Error Details
Exception Message: Connect Failed. HTTP response code: 404
======================
I tried resolving both the file location and the http address from within the Content Server box and was able to without problem so I know it's not these it can't see.
I checked the pcs.log and the following error is reported:
======================
com.plumtree.openfoundation.io.XPFileNotFoundException: jscomponent file for jscontrols not found or failed to load.Exceptions encountered: - com.plumtree.openfoundation.io.XPFileNotFoundException: Failed to receive response from http://<PUBLICURL>/imageserver/plumtree/common/private/js/jscontrols/jscomponent.xmlin the alloted time (10000ms).======================
It appears that the Content Server is trying to access this xml file via the public url for the image server which, due to firewall configurations in this environment, it won't be able to do. I'd like to be able to change how it looks for this file to be http://<SERVERNAME>/imageserver rather than http://<PUBLICURL>/imageserver
Where is it getting this from for me to change it?
Thanks in advance for your advice, hope my problem description makes sense :-)
AnitaHi Diane,
No, we haven't fully resolved this yet. In addition to the issue listed we've come across a number of others that look like problems from install. We've reached the point where it's looking more effective to try and uninstall Content Server and do a clean install from scratch rather than debug every little thing.
As part of the new install we're changing the architecture to create an internal ImageServer on the CS server and then use a scheduled task to push everything out to the external ImageServer on the portal box overnight. This should get around a number of the firewall and dns issues currently making communication between the two quite difficult.
We recently installed another 5.0.2 portal in a different environment and have had none of the same issues with it so we're a little perplexed. When we get this resolved I'll be happy to write a note about what it was. In the meantime if you get anywhere with yours please let us know.
cheers
Anita -
Receiver File Adapter Content Conversion Problem.
Hi All,
I am getting in receiver file adapter due to content conversion setting. Problem is that all the fields coming in file adapter are optional. In content conversion , i have specified fieldfixedlengths. So whenever any optional field is not present , it fails . How should we handle it? is there any option to declare fields as optional, I know that is the there for sender adapter. But no. of fields is also very large, so putting each and every field as optional is very time consuming.
What should i do?
Ranjeet Singh.Hi Daniele,
Instead of using the standard funciton , i created a UDF for handling this situation.
My logic is UDF is like
//write your code here
int Size = Integer.parseInt(Truncate_Size);
String Return_Value = "";
if (!("".equals(Input)) )
if (Input.length() > Size )
Return_Value = Input.substring(0,Size);
else
Return_Value = Input.substring(0, Input.length());
else
for(int i = 0; i< Size ; i++)
Return_Value = Return_Value + " " ;
return Return_Value;
SO in this case also , it should be able to handle empy source element. But it is not working. -
Hi gurus
I sem to have a really silly problem
I'm only getting the FIRST field on file content conversion and no new line
here's a part of the XML file from the payload manifest
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>100853</CUSTOMERID>
<COMPANY>Bram Van Tuyl Coldstore</COMPANY>
<SHORT_NAME>VAN TUYL</SHORT_NAME>
<SALES_REGION>EUROP</SALES_REGION>
</item>
</IP_CUSTOMER_HEADER>
</rfc:Z_XI_005_RFC>
I've defined the following parameters in the content conversion
Recordset sructure item
content conversion parameters
item.fieldSeparator ; (a semi colon)
item.endSeparator 'nl'
if I look in my file all i get is
100853
where's the rest of the data ????
When I don't use content conversion xml file is generated correctly.
Any ideas
I am at 100% loss to see what's wrong here as this should be an EASY automatic conversion.
(the input structure is all character)..
Max pts to anyone who solves this
Cheers
jimbothe file is identical
payload from inbound message
for example
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 /> .......
Paylioad under Receiver Grouping
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 />
etc
text file 100001;1000001........ etc
There's no Payload that I can see under the response (checkered flag) where it says processed successfully.
cheers
jimbo -
Inline type of Content-Disposition problem in IE
Hi,
In a project, we need post some information from applet to servlet. The servlet will send some files back. We like the files shown on browsers. So we set the header in servlet as
response.setHeader("Content-Disposition",
"inline;filename=\"" + fileName + "\"");
We use JSobject in applet to call form from a html file to post the information to servlet, target of the form is set as "_blank", which suppose will open a new browser and show the file. For example if the file is a word file, the IE will show the file inside browser.
However, if two files need to be shown, only the first file is shown, the other browser is blank, and when you kill the blank window, the other will turn to blank window too. We test other types of file, xls files have similar problem, the PDF files work OK. Two things can fix the problem, one is set the form method to ��get��, the other is changing the header from ��inline�� to ��attachment��. But we can't use any of them under the project requirement. Has anyone experienced such wield behavior and know the reason? Is this the bug of IE?
Thanks in advance!Here are a little more about the file types.
The files we test have problems are msword or excel files, I think all MS office type files have the problem. Same problem even you mix them, for example one word file and one excel give you the same problem as two word files.
However there is no problem if I view several PDF files. If we mix the word file with pdf file. If the first file to view is PDF, then it works OK. Otherwise same problem.
The browser we are testing IE 6.0 with SP1.
Maybe you are looking for
-
Confirmation of process order create : goods movement
Dear Sir/Madam , I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user
-
How to use Digital output to turn on sensor for Analog Input?
I am trying to use a digital output to turn on an array of sensors that I then wish to read on 16 analog input lines. I have a 6024E DAQ card. I am planning to take data at 10-20 hz, so not terribly fast, but I will be acquiring for long periods of t
-
Sending Premiere Pro sequence to Pro Tools for automatic audio conforming
I’m looking to implement an online-offline workflow at my production company, and I’m trying to figure out if it’s feasible to send a sequence from Premiere Pro to Pro Tools with enough metadata to take advantage of Pro Tools’ automatic conforming fe
-
DBA_AUTOTASK_CLIENT_JOB no rows returned
In Oracle 11g, could you tell me why there is no rows found in DBA_AUTOTASK_CLIENT_JOB view SQL> select * from DBA_AUTOTASK_CLIENT_JOB; no rows selected SQL> SQL> select * from v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.1
-
I installed jdk 1.3. After that made this: class helloworld { public static void main (string args[]) { System.out.printin("Hello world!"); In command prompt compiled with?javac HelloWorld.java?. Got this massage? ?javac? is not recognized as an