Formatting error in SFP Form
Hi Experts ,
I want to generate one SFP form YLFN_INVOICE_FORM_PT , via one output type ZP00 using TC VF03.
Previously the Print preview was coming , but now no Print Preview is coming.
Please check how i am doing.
1) Goto VF03 , selecting the billing type ZP00 and pressing the Print Preview.
2) Its Blank and come to Screen of VF03.(Invoice Display)
Can u suggest what should i check in form or in Layout. After so many hours of debugging i found Formatting Error at last.
But when i am checking with the previous version i am not getting any layout difference and also my form is also activated.
Please help me out . <removed by moderator>
Waiting for your reply.
VIvek
Edited by: Thomas Zloch on Sep 7, 2011 2:29 PM
you got a smartform i guess, right?
if so, implement a call to FM SSF_READ_ERRORS right under the call of your smartform.
It will catch all the errors thrown during form processing.
You can then go via SE91 message SSFCOMPOSER with your message numbers of your return table and check what´s wrong.
Probably a table or template doesnt fit into main window, or some main window has another width in different pages. But well thats guessing, just find it out.
Similar Messages
-
Getting the formatting error in smart forms
Hi All,
When I am running the program to display the output for SMARTFORM in development system it is working fine ,But doing the same in the production system gives me the formatting error
EXCEPTIONS
FORMATTING_ERROR = 1 .
So it is the same code which exsist in 2 different system & still it works fine in the development system but errors out in the production system .
Does this mean that any smart form settings which is system dependent ?
Any pointers on this regard will be helpful .
Regards,
AnuragHello Guys ,
It was an authority issue
AUTHORITY-CHECK OBJECT 'S_BDS_DS'
ID 'CLASSNAME' FIELD classname
ID 'CLASSTYPE' FIELD classtype
ID 'ACTVT' FIELD activity.
This object was falling .
Anurag -
Error when uploading file in TA: SFP (Form Builder)
Hi Everybody,
i am having a problem in Transaction SFP (Form Builder)
I download a Form Objekt and it was written correct in my Local Drive with the ending xxxx.XML.
Then i wanted to Updold the file, then it says:
"Error occurred when uploading file (unknown file format)
Message no. FPUIFB068"
we are using ERP2005 Rel. SAP ECC 6.0
Hope to hear a solution for my problem.
thank + regards
I.IsmailHi All,
Even I faced the same issue whenI tried to upload the form which was developed in Standalone Live cycle designer and I wanted to upload the same into SAP SFP. Initially I felt that this kind of activity might be supported by SAP Adobe Live Cycle deisgner, But it says the Error wron file foramt....
So what I felt is instead of trying to upload the form by using the tool provided by SAP... I directly copy pasted the XML source code into the SFP newly ccreated blank form. ya..it displays some warning messages...But still since I used a Printable form so I could not face any issue...Might be there would be some effect of this warning in Interactive forms.....
But for copying this you donot want to be a expert in the XML area.. All I did was just copied the source xml file from the line <TEMPLATE> tag and till the end and I replaced in the target xml fiel from the same tag from the top <TEMPLATE>....
and save and activate.....
Regards
Pavan
Edited by: Pavan Bhamidipati on Mar 25, 2011 11:58 AM -
I have just deployed my first report to our 9iAS app server. I can successfully run the report in my browser if I pass ALL parameters in the URL. When I attempt to use paramForm=YES in my URL, the parameter form appears like it should, but when I selected values (LOV) on the parameter form and click "Submit Query", I get the following error.
REP-52007: Parameter form format error.
java.lang.IllegalStateException: Response is already committed!
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)
at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)
at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)
at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)
at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:95)
at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1322)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1139)
at oracle.reports.rwclient.RWClient.doPost(RWClient.java:328)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Can anyone tell me what is wrong? This report run fine, including the parameter selection, in the Report Builder. I simply saved the report out to a JSP and copied it to the report server.
Thanks,
KevinYou may have hit a bug when passing parameter paramform as "PARAMFORM=yes" or "Paramform=yes", you will get the REP-52007 error. The fix will be available in Reports 9.0.2.1.
As a work around, please submit the request with all lower case "paramform=yes" and try again.
Hope this helps,
-Jeff Tang -
ADS - SFP Forms Activation Error
Dear @all, I have an activation Error in SFP for Z FORMS. ADS is configured and all configuration checks working fine:
checked: Hinweis 944221 - Fehleranalyse bei Problemen in der Formularprozessierung
checked with repords:
FP_CHECK_DESTINATION_SERVICE
FP_TEST_IA_01
FP_PDF_TEST_00
FP_TEST_00the exeption is:
#1.5^H#0015C5FEC1F3005000000EC1000060AE000483A5CC36C696#1270648025826#com.adobe.ads.request.ADSRequest#com.adobe/AdobeDocumentServices#com.adobe.ads.request.ADSRequest#SAPSUPPORT2#22098#SAP J2EE Engine JTA
Transaction : [12465520176ffffff93]
#icosap14.implico.de_W40_19162450#ADSUSER#0ad7d10a424c11dfa5100015c5fec1f3#SAPEngine_Application_Thread[impl:3]
_33##0#0#Error#1#/System/Server#Plain###Processing exception during
a "CalculateFieldHashes" operation.
Request start time: Wed Apr 07 15:47:04 CEST 2010
com.adobe.ProcessingException: com.adobe.ProcessingException: Class not
found exception while loading class SAPForm,
classpath: /usr/sap/W40/DVEBMGS01/exe/jstartup.jar:/usr/sap/W40/DVEBMGS01/exe/jvmx.jar:./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.
Exception Stack Trace:
com.adobe.ProcessingException: com.adobe.ProcessingException: Class not
found exception while loading class SAPForm,
classpath: /usr/sap/W40/DVEBMGS01/exe/jstartup.jar:/usr/sap/W40/DVEBMGS01/exe/jvmx.jar:./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.
at com.adobe.ads.request.ADSRequest.processOperations(Unknown
Source)
at com.adobe.ads.request.ADSRequest.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown
Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at
com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at
com.sap.engine.services.webservices.runtime.RuntimeProcessor.process
(RuntimeProcessor.java:157)
at
com.sap.engine.services.webservices.runtime.RuntimeProcessor.process
(RuntimeProcessor.java:79)
at
com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet
(HttpHandlerImpl.java:401)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet
(RequestAnalizer.java:386)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet
(RequestAnalizer.java:364)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.handle
(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle
(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request
(Processor.java:175)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run
(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run
(ActionObject.java:37)
at java.security.AccessController.doPrivileged
(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute
(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run
(SingleThread.java:176)
Caused by: com.adobe.ProcessingException: Class not found exception
while loading class SAPForm,
classpath: /usr/sap/W40/DVEBMGS01/exe/jstartup.jar:/usr/sap/W40/DVEBMGS01/exe/jvmx.jar:./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.
at com.adobe.ads.operation.CalculateFieldHashes.execute(Unknown
Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
... 31 more
Caused by: java.lang.ClassNotFoundException:
com.adobe.service.sap.licensing.SAPForm^M
Found in negative cache^M
Loader Info -
^M
ClassLoader name: [ejbGencom.adobe/AdobeDocumentServices]^M
Parent loader name: [com.adobe/AdobeDocumentServices]^M
References:^M
service:ejb^M
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:signature_lib;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore^M
interface:resourcecontext_api^M
interface:resourceset_api^M
interface:transactionext^M
interface:security^M
interface:cross^M
library:opensql^M -
Receiving an "Unknown Format" error code when submitting a form
Product: Adobe Acrobat 9 Pro Extended
Hi, I'm trying to find out what exactly is Acrobat expecting as a return value on its form submission.
two parts to my setup:
1. The form. It is a garden vaiety form with a button on it which set up as follows:
Action -> Mouse Up -> Submit a form -> PDF The complete document
2. The receiver. This is a REST based service, expecting a HTTP Post.
For the most part, the whole setup works like a charm - the form is posted by the client, the server receives the file, creates a local copy and processes it correctly. After the post is successfully received, the last step on server is to send a reply to the client. This is where I’m getting stuck.
If I return an HttpStatusCode.Ok and a blank SOAP.Fault, I’m getting and “Unknown Format” error on the client side. I tried several different combinations/values/etc, including sending the result code only, but since I don’t know what exactly is acrobat expecting, I’m just shooting in the dark. Other error codes I’ve seen include “Invalid Server Response”.
Unfortunately I can’t find any guidance from Adobe on what Acrobat is expecting in return for the submit functionality, so any help/pointers are greatly appreciated.
Thanks everyone!Here is the contents of a sample FDF that will cause a popup to display when it is imported:
%FDF-1.2
1 0 obj
<< /FDF << /Status (Your message goes here.) >> >>
endobj
trailer
<< /Root 1 0 R >>
%%EOF
Replace "Your message goes here." with the text you want to display, and don't change anything else in the sample. The value of the /Status key in the FDF is a PDF string, so it has to follow the rules described in the PDF standard (ISO 32000) for strings. So read up on it so you know how to properly escape/encode PDF strings.
Note that the server needs to set the MIME type of the response in the "Content-type" HTTP header to "application/vnd.fdf". -
R12 - Format Payment Instructions XML Parsing Error: not well-formed
We are going from 11.5.10 to R12,
We followed the Note : 562806.1 to generate the XML file but we are getting the following error?
XML Parsing Error: not well-formed
Location: http://XXXXXXXXXXXXXX.com:8030/OA_CGI/FNDWRR.exe?temp_id=3412576704
Line Number 1, Column 9:%PDF-1.4
--------^
Any help or suggestions would be great!
ThanksPlease see if the solution in (BI Publisher Reports End With Error When There Is An Ampersand Character ( & ) On The Xml Data File [ID 1081175.1]) is applicable.
Thanks,
Hussein -
Network message format error on Site Studio Designer
Hi all,
I am facing a very wierd issue in Site Studio. I have enabled accounts on the content server. When i use the content server User interface, i can check in any content using the standard check in form with or without specifying the account for it. In the case of Site Studio Designer, when i try to create a new asset/ content( basically check in anything) , it checks in the content successfully when the account metadata field is left blank. If the account field is specified, it gives me an error sayin :
Failed to check in file from location "".
(Network message format error).
When i checked the content server logs, it says:
The request was not processed by the Service handler because of a protocol error.
The request headers parsed from the request are:
{HTTP_USER_AGENT=Site Studio Designer, REQUEST_METHOD=POST, IdcAuthChallengeType=http, SERVER_NAME=punitp97194d.ad.infosys.com, SERVER_SOFTWARE=Apache/2.2.2 (Win32), HTTP_CGIPATHROOT=/idc/idcplg, HTTP_HOST=punitp97194d.ad.infosys.com, GATEWAY_INTERFACE=CGI/1.1, REMOTE_ADDR=10.76.135.190, SERVER_PROTOCOL=HTTP/1.1, SERVER_PROTOCOL_TYPE=NONE, IDC_REQUEST_AGENT=webserver, REMOTE_HOST=10.76.135.190, HTTP_CONNECTION=Keep-Alive, SERVER_PORT=80, HTTP_COOKIE=viscnt=3; IntradocLoginState=1; IdcTimeZone=Asia/Calcutta; IdcLocale=English-US; IntradocAuth=Internet, CONTENT_TYPE=text/hda, CONTENT_LENGTH=617, IDC_REQUEST_CTIME=1250602911, HTTP_INTERNETUSER=eBiz_Designer, SCRIPT_NAME=/idc/idcplg, PATH_TRANSLATED=D:/oracle/ucm/server/weblayout/idcplg}
Network message format error. Unable to parse browser environment or content item. Unable to parse properties. Name-value pairs are missing an '='. Unable to parse properties. Name-value pairs are missing an '='. [ Details ]
An error has occurred. The stack trace below shows more information.
!$The request was not processed by the Service handler because of a protocol error.<br>The request headers parsed from the request are:<br>{HTTP_USER_AGENT=Site Studio Designer\, REQUEST_METHOD=POST\, IdcAuthChallengeType=http\, SERVER_NAME=punitp97194d.ad.infosys.com\, SERVER_SOFTWARE=Apache/2.2.2 (Win32)\, HTTP_CGIPATHROOT=/idc/idcplg\, HTTP_HOST=punitp97194d.ad.infosys.com\, GATEWAY_INTERFACE=CGI/1.1\, REMOTE_ADDR=10.76.135.190\, SERVER_PROTOCOL=HTTP/1.1\, SERVER_PROTOCOL_TYPE=NONE\, IDC_REQUEST_AGENT=webserver\, REMOTE_HOST=10.76.135.190\, HTTP_CONNECTION=Keep-Alive\, SERVER_PORT=80\, HTTP_COOKIE=viscnt=3; IntradocLoginState=1; IdcTimeZone=Asia/Calcutta; IdcLocale=English-US; IntradocAuth=Internet\, CONTENT_TYPE=text/hda\, CONTENT_LENGTH=617\, IDC_REQUEST_CTIME=1250602911\, HTTP_INTERNETUSER=eBiz_Designer\, SCRIPT_NAME=/idc/idcplg\, PATH_TRANSLATED=D:/oracle/ucm/server/weblayout/idcplg}<br>--------------<br>Network message format error.!csUnableToParseBrowserEnvironment!syUnableToParsePairs!syUnableToParsePairs
intradoc.data.DataException: !csUnableToParseBrowserEnvironment!syUnableToParsePairs
at intradoc.server.IdcServerThread.run(IdcServerThread.java:187)
Caused by: java.io.IOException: !syUnableToParsePairs
at intradoc.serialize.DataBinderSerializer.readProperties(DataBinderSerializer.java:625)
at intradoc.serialize.DataBinderSerializer.parseProperties(DataBinderSerializer.java:601)
at intradoc.serialize.DataBinderSerializer.parseReaderData(DataBinderSerializer.java:493)
at intradoc.serialize.DataBinderSerializer.parsePost(DataBinderSerializer.java:1806)
at intradoc.serialize.DataBinderSerializer.parseRequestBody(DataBinderSerializer.java:1065)
at intradoc.data.DataSerializeUtils.parseRequestBody(DataSerializeUtils.java:112)
at intradoc.server.ServiceManager.init(ServiceManager.java:128)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:167)
Please advice.
Thanks in advance,
NithyaThe config .cfg entries are:
<?cfg jcharset="UTF8"?>
#Content Server System Properties
IDC_Name=EBIZ
IdcProductName=idccs
SystemLocale=English-US
InstanceMenuLabel=EBIZ
InstanceDescription=STAGING SERVER
SocketHostAddressSecurityFilter=*.*.*.*
#Database Variables
IsJdbc=true
JdbcDriver=oracle.jdbc.OracleDriver
JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:EBIZ
JdbcUser=EBIZ_admin
JdbcPassword=ZS5CtJYdpcn2mEVqKVQAZ7LKQqacsT+XLnX3PZ/EKqo=
JdbcPasswordEncoding=Intradoc
DatabasePreserveCase=true
#Internet Variables
HttpServerAddress=punitp52975d.ad.infosys.com
MailServer=192.168.170.26
SysAdminAddress=[email protected]
HttpRelativeWebRoot=/idc/
CgiFileName=idcplg
UseSSL=
WebProxyAdminServer=true
#General Option Variables
IsOverrideFormat=false
DownloadApplet=false
MultiUpload=false
IsAutoNumber=true
EnableDocumentHighlight=false
EnterpriseSearchAsDefault=false
IsJspServerEnabled=false
JspEnabledGroups=
#Additional Variables
UseAccounts=True
IdcAdminServerPort=4440
SearchIndexerEngineName=DATABASE.FULLTEXT
IntradocServerPort=4444
DatabaseType=oracle
WebServer=apache
and httpd.conf entries are:
LoadModule IdcApacheAuth C:/Oracle/ucm/server/shared/os/win32/lib/IdcApache22Auth.dll
IdcUserDB EBIZ "C:/Oracle/ucm/server/data/users/userdb.txt"
<Location /idc>
Order allow,deny
Allow from all
DirectoryIndex portal.htm
IdcSecurity EBIZ
</Location>
<Location "/">
IdcSecurity EBIZ
</Location>
EBIZ is our content server instance name.
Thanks and Regards,
Nithya -
FORMAT ERROR = 1 works fine in DEVand QA not in PROD
Hi all,
i have a zreport when i double click on one record it gives me printing option to print the form (smartform).
it works in both QA and DEV. but not in PROD.
if it is a format error it should also give the same error in both DEV and QA.
why am i getting this errror only on PROD?
Can i have some input pls...
much appriciated for your work and thanks in advance.
pasala.Hi Pasalabasker,
I guess you have raised two issues here,
1. To get the transport requests pertaining to smartforms I would add an additional way to the one selvakumar has suggested.
Go to SE03 -> Search for Objects in Requests task->enter the object selection criteria as R3TR SSFO and further name of your smartform-> Execute. This will list all the transport requests pertaining to you smartform. Once you identify the request you can check its status in the quality and Prod.
2.If your smartform versions are same, To identify the format error please check this alternative.
===>In you production server, debug at the point of call of you smartform.Note down the Internal Table/Workarea values been passed during the smartform call .
===> Open the smartform-> get the corresponding function module name of the smartform generated automatically(Under Environment->Function module name).
===> Now simulate the same scenario in se37 for the the function module and the table values.
==> The format errors (if any) will be more descriptive when you execute the function module through se37.Most probably the location of the error node in the smartform hierarchy will be mentioned in this error.
This method has helped me many a times.Hope this helps you too. -
MySQL timestamp formatting errors
I'm continuing to have odd formatting errors when pulling data out of a MySQL database. The one I'm currently having is with time values.
The screenshot shows that the error is being generated in the Variant to Data.vi The actual time stored in the database is 8:30AM But when converted to timestamp, I get 8:29:59.999 Unfortunately, there doesn't seem to be an easy way to 'round' this value back to what I want either.
I could go back to string outputs, since that particular error doesn't seem to propagate into a string. But that messes with the rest of my application. Going back to string output undoes a couple of days work, and leaves me with the problem of having to convert string 'time' back into timestamp that LabVIEW can understand.
The really odd thing is that 12:30 comes out as 12:30 just fine. I'm not sure why this would be. Any ideas?
Patrick Allen
Solved!
Go to Solution.There's no difference at all. Changing the properties of the constant doesn't seem to effect the output at all.
I'm trying to figure a way to convert the string back into a timestamp now via these instructions. http://zone.ni.com/reference/en-XX/help/371361B-01/glang/scan_from_string/ (example at the bottom of the page)
But my string out put is in the form 7/7/2009 8:30:00 AM and there doesn't seem to be a way at all to use the scan from string tool to covert that back into a time stamp.
Even if I manipulate my string output to be exactly 8:30:00 AM 7/7/2009, the example and any variation I can think of simply won't work. I always get the error that the data is not in the expected format.
Message Edited by pallen on 07-07-2009 12:05 PM
Patrick Allen -
Error message with forms 6i and OAS
Hello,
I 'm executing an applet (forms6i&OAS), while executing http://mycomputer:8001/web_html/mybase
i have the error:
keyconfailbundle oracle.forms.engine
runformbundle exception
java.lang.illegal argument exception: unknown format type...
can u please help
thnaks in advance
the applet code is the following
<HTML>
<HEAD><TITLET>titlz</TITLE></HEAD>
<BODY >
<APPLET CODEBASE="/web_frms/"
CODE="oracle.forms.engine.Main"
ARCHIVE="f60all.jar"
WIDTH="750"
HEIGHT="700">
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverHost" VALUE="mycomputer">
<PARAM NAME="serverArgs"
VALUE="module=d:\Direc\pic userid=scott/tiger@inter">
</APPLET>
</BODY>
</HTML>You will need to startup the database before you can run any sql command.
-
Getting Formatting Error message while exicution of QM03 In PT language
Hi guru's
I am getting formatting error in smartform while executing the QM03 transaction for Print preview in PT language.
Here, for same vendor is having 4 notifications. Under these 4 notifications, i am getting this error only for one notification number. But,with this same notification number, getting print preview in EN language.
Please any one can help me to resolving this issue.
Thanks!!
Vinod JHi Nabheet,
I am getting sy-subrc EQ 2 after execution of FM: SSFCOMP_WRITE_TEXT and in EN language it is sy-subrc EQ 0.
But, there is no difference in the data coming to this FM in both EN and PT languages.
Please let me know what does this meaning and why it is coming in my form only in PT language.
Thanks!!
Vinod J -
XML Parsing Error: not well-formed (C# Visual Studio 2013)
I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error when I load the xml file into a browser:
Firefox
XML Parsing Error: not well-formed Location: file:///C:/Users/fenwky/XmlDoc.xml Line Number 2, Column 6:?> -----^
Chrome
This page contains the following errors: error on line 2 at column 16: colon are forbidden from PI names 'xsl:transform'
This is what my c# code looks like in visual studio 2013:
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Stylesheet
String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Save document
doc.Save(xmlfilename);Hi
Kylee Fenwick,
Could you show us your CSV file? And the code how do you imports a csv and exports an xml file?
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Hi Kristen,
Thank you in advance for your healp. Here is my CSV file:
Item Code;Item Description;Current Count;On Order
A0001;"Wheels, Horse on";5;No
A0002;"Wheels, Elephant on";2;No
A0003;"Wheels, Dog on";0;Yes
A0004;"Wheels, Seal on";3;No
A0005;"Wheels, Bear on";7;No
A0006;"Bear, Teddy";2;Yes
A0007;"Clown,";5;No
A0008;"Puppy(crouch),";3;No
A0009;"Puppy(stand),";2;No
A0010;"Puppy(jump),";2;Yes
A0011;"Pupp(lying),";1;Yes
A0012;"(50), Cart with Blocks";0;Yes
A0013;"(100), Cart with Blocks";5;No
A0014;"(200), Cart with Blocks";4;No
A0015;"Carriage, Train with 0";12;No
A0016;"Carriage, Train with 1";10;No
A0017;"Carriage, Train with 2";5;Yes
A0018;"Carriage, Train with 3";4;Yes
A0019;"Carriage, Train with 4";5;No
A0020;"Carriage, Train with 5";2;No
A0021;"(20), Building Blocks";15;No
A0022;"(30), Building Blocks";13;No
A0023;"(40), Building Blocks";16;No
A0024;"(50), Building Blocks";5;Yes
A0025;"(100), Building Blocks";2;Yes
A0026;"(200), Building Blocks";8;No
A0027;"Windmill,";5;No
A0028;"Farmhouse,";6;Yes
A0029;"Fencing,";22;Yes
A0030;"Barn,";12;Yes
A0031;"Tractor,";6;Yes
A0032;"Animals,";3;Yes
A0033;"House,";9;No
A0034;"Car,";12;No
A0035;"(small), Building";4;No
A0036;"(medium), Building";3;No
A0037;"(tall), Building";4;No
A0038;"Shop,";7;No
A0039;"Lights, Traffic";5;Yes
A0040;"Station, Petrol";4;Yes
And here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Data.OleDb;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
namespace CSVImporter
public partial class CSVImporter : Form
//const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
// New code
//const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
//const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
DataSet ds = null;
public CSVImporter()
InitializeComponent();
// Create a Open File Dialog Object.
openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
openFileDialog1.ShowDialog();
string fileName = openFileDialog1.FileName;
//doc.InsertBefore(xDeclare, root);
// Create a CSV Reader object.
CSVReader reader = new CSVReader();
ds = reader.ReadCSVFile(fileName, true);
dataGridView1.DataSource = ds.Tables["Table1"];
private void WXML_Click(object sender, EventArgs e)
WriteXML();
public void WriteXML()
StringWriter stringWriter = new StringWriter();
ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
string xmlStr = stringWriter.ToString();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStr);
XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
doc.InsertBefore(xDeclare, doc.FirstChild);
// Test code //
// Load the style sheet.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load("style1.xsl");
// Test code //
// Transform the file and output an HTML string.
string HTMLoutput;
StringWriter writer = new StringWriter();
xslt.Transform("XmlDoc.xml", null, writer);
HTMLoutput = writer.ToString();
writer.Close();
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Stylesheet
// String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
// newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Save document
doc.Save(xmlfilename);
private void btExportComplexXML_Click(object sender, EventArgs e)
WriteXMLComplex();
public void WriteXMLComplex()
// Creates stringwriter
StringWriter stringWriter = new StringWriter();
ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
string xmlStr = stringWriter.ToString();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStr);
XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
doc.InsertBefore(xDeclare, doc.FirstChild);
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Uses XML transformation.
String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Saves document.
doc.Save(xmlfilecomplex);
//Creates a CSVReader Class
public class CSVReader
public DataSet ReadCSVFile(string fullPath, bool headerRow)
string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
DataSet ds = new DataSet();
try
if (File.Exists(fullPath))
string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
string SQL = string.Format("SELECT * FROM {0}", filename);
OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
adapter.Fill(ds, "TextFile");
ds.Tables[0].TableName = "Table1";
foreach (DataColumn col in ds.Tables["Table1"].Columns)
col.ColumnName = col.ColumnName.Replace(" ", "_");
catch (Exception ex)
MessageBox.Show(ex.Message);
return ds; -
Unrecognized database format error when trying to access addin to Acrobat reader?
I get an "Unrecognized database format" error when trying to access addin to Acrobat reader so I can use Pro to edit a pdf document? What do I do so that teh ACCESS program aI am generating PDF's from uses Pro and not Reader?
Thanks,
DanAdobe Reader and Acrobat Professional are 2 different products. Reader is for free and limited as to what it can do an support.
Add-ins can only use features supported by Reader.
You need Acrobat to edit PDF forms. Acrobat no longer supports access to SQL databases through Acrobat JavaScript.
If you have an add-in and Acrobat can use it for filling a PDF form from Access, you need to talk to the developer to see if it can work with Reader. -
Hi Guys,
I am new to SAP and working in Smartforms now. I am facing an issue that the output screen is not showing any formatting done during the design phase. Not even font changes are displaying, instead only showing the default Courier font. No Bold as well as italics too. And borders also showing some problems.
It was working properly till the last day and suddenly it gone faulty. Hence I cannot run the form and when I try to run it, it displays nothing. I have been designing a Tax Invoice. When I tried to execute the smartform from the form itself, it was showing Formatting Error.
What is the solution for this? I am using ECC 6. Please share your views.Hi Sanjeev,
I've not made any changes to the formatting (Fonts and Borders) and I cross checked it many times.
Everything is fine and Times used everywhere as Font. It is showing the same in the design too but in the output, it comes as Courier !! (May be default settings in case there is some exceptions, I don't know)
I tried another report, pick list form, which too showing the same things. As we have developed only two reports, we cannot check more. The standard SAP forms are displaying as is, but the problem is with the newly designed ones.(Standard forms too are displaying in Courier font)
I think it might be any problem related to the output graphical properties of the smart forms...!!! I am not sure but I need expert advice from you if there is any such scenarios...
Maybe you are looking for
-
Oracle PL/SQL or JavaScript Interaction with a PDF Document
I'm new to LiveCycle - be gentle. . . :-) My department is attempting to develop a web application which will, among other things, generate fixed layout forms filled with data from the database or from an application web page. The web pages for this
-
Lightroom Slideshow into Dreamweaver?
How do you embed a slideshow made in Lightroom and put into a page in Dreamweaver?
-
Win 7 Clipboard clears contents when opening a new application or window
There are similar posts on this issue, but I see none with a satisfactory fix. I have a brand new Dell Laptop, running Win 7 Pro 64-bit SP1. If I copy anything to the Clipboard, it works fine *IF* where I want to paste it is already open. However, If
-
Fld selectn for mvmt type 601 / acct 40005900 differs for Customer goods mo
pls guide the correct path i done delivey document but while doing PGI i am getting this error "Fld selectn for mvmt type 601 / acct 40005900 differs for Customer goods movement (015) Message no. M7093 Diagnosis Comparison of the field selection stri
-
How to upload my film trailer to itunes?
How do I upload or submit my film trailer to iTunes and Apple?