Things to be taken care while uploading PAR file
hi
could some one tell me the steps to upload a PAR file.....
downloaded the file
it is in some ZIp format
unzipped and extracted it.
now open NWDS
import PAR file......
is any steps missing
could some one explain the steps in order
Thanks in advance.
Cheers.....
Hi
When u extract the zip file there will be a *.par.bak file. Remove the bak extension and save it in your local system. Then
1. Choose File -> Import
-> PAR File.
2. Specify the location of the PAR file, and the name of the new project to create from the PAR.
3. Click Finish.
Also in the zip file, you will have the necessary jar files which you can copy and add it to the current project at appropriate locations.
Regards,
Ganesh N
Similar Messages
-
Error while uploading par file
Hi,
I am trying to upload par file for the first time. When I try to deploy the par file, I am getting message saying, 'Operation failed: Please make surethe server 'Myportal' (host:port) is running or check the log( sap-plugin.log) for more details'/
I have tried to open the portal http://host:port/irj/portal. I am able to open the portal and can login successfully also. This means that the portal is running ( Am I right ?).
I have tried to upload the par file directly from the portal using
system admin>support>portal runtime>Administration console--Archive uploader.
I got the error messages as given below.
INFO: Detected Portal Archive File: HelloProject.par
INFO: Deployment failed - exception caught: Application upload failed: HelloProject.par - more detail at: E:\usr\sap\IN1\JC01\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\HelloProject.par.log
Please guide me about what could be the pbm and how to solve this.
Thanks in advance.
Regards,
Vishnu PriyaHi Vishnu,
Are you trying to upload a PAR file from the NWDS?
if then you need to configure the J2EE engine correctly before doing so
for that matter you need the port number and also have that the SDM password for deployement
Once these are ready ...go to the J2EE engine tab available on the bottom corner.And make sure the J2EE engine is working. or the server is up.Is this what you are looking for.....if yes.....just reply...I can continue with the deployment..
Regards
Arun -
Error While uploading PAR File into NWDS
Hi Experts,
I have been to this location:
Server(D)\usr\sap\P64(SID)\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
I have copied this file com.sap.portal.runtime.logon.par.bak and pasted on my desktop.
Changed the name to com.mycompany.portal.runtime.logon.par
I tried to upload the file to NWDS(File --> Import --> Par file) and I am getting the fallowing error.
http://imageshack.us/photo/my-images/853/error1un.png/
and when i click OK on above Error
i get this errors : http://imageshack.us/photo/my-images/571/error2v.png/
I am unable to upload the Par file did i miss something?
Regards,
SivaDear Siva,
that is indeed strange.
Still don't know if this could be an issue with your NWDS or the PAR itself.
So let's do 2 tests
===============================================
TEST NR. 1
Let's try and check the NWDS first by creating a custom PAR.
Don't worry, it's easy.
Just open your NWDS and go to the top menu
File > New > Project
Inside the popup window that will open please choose
Portal Application (on the left) and Create a Portal Application Project (on the right)
Then give any name you would like (no spaces or dots, etc...)
You now have a Portal project created on NWDS ( you will see a folder on the left side with your project name)
Click on that folder with your LEFT mouse button and choose EXPORT
Choose PAR File
Choose your Project
Choose a path where you want your PAR file to be saved. (uncheck the deploy PAR file, but check the include the source code).
And click Finish.
Now delete the project you have created (by clicking on the folder with your LEFT mouse button again, but chose DELETE project)
Now you're ready to re-import the PAR file.
===============================================
TEST NR. 2
Maybe your standard PAR file that you've downloaded doesn't have the source code included or is corrupted.
Please try to open it with a ZIP program and check what type of structure/files you have there.
Have you also checked your NWDS log ?
You could also share here that log, so that I can better help you.
Kindest Regards
/Ricardo -
Re: Error while uploading par file .
Hi ,
When I m trying to uploading my par file i m getting this err pop-up .
par upload failed :
please check the log (sap-plugin.log) for more detail
2009-02-23_14-20-27
Application upload failed: P&G_Test.par
com.sapportals.portal.prt.runtime.PortalException: [ApplicationRepositoryService.putArchive] archive: P&G_Test.par
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:328)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:813)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: javax.naming.InvalidNameException: Character not allowed: '&' in 'P&G_Test.par'
at com.sapportals.portal.pcd.pl.PcdName.checkComponent(PcdName.java:54)
at com.sapportals.portal.pcd.pl.PcdName.checkComponents(PcdName.java:69)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:453)
at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1221)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:502)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:663)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:668)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeArchive(ApplicationRepositoryService.java:373)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:299)
... 34 more
Thanks in advanceHi,
The error shows clearly
> Caused by: javax.naming.InvalidNameException: Character not allowed: '&' in 'P&G_Test.par'
As suggested, rename the project, rebuild it and then upload the par to server. That should work.
Regards,
Harini S -
What are the things taken care while using multiple suites?
Hi all,
I have created a plugin which sends the current file path to an url,
its working fine with debugging in Visual studio 2005 and while it is added to the Adobe Illustrator its works only once.
That is its sending the file path only for one file. While i tried for the second time its not working
I am using following suits in my plugin
AIDocumentSuite
AIFilePathSuite
AIActionManagerSuite
AIUnicodeStringSuite
AIURLSuite
I am using the "AIURLSuite" for calling the url and it is calling the url multiple times while its used alone, and its only working once with the multiple suites.
What are the things taken care while using multiple suites? , is it neccessary to release all variables and the suites after completing the task?
Should they released in the same order in which they are acquired?
Thanks in advance
Sreejesh K VHi,
The problem was with the "sAIDocument->GetDocumentModified(mod);"
The "GetDocumentModified" is crashing after executing once, i just removed that statement , and now
i am forcefully saving the document with out checking the modification status!
Its working fine now!
Could you please tell me how can we lock a plugin , or a particular function in a plugin.
There is any specific standard to use the GetDocumentModified function?
Thanks and Best Regards
Sreejesh K V -
What are the main steps to be taken care while doing recording for LSMW
Hi,
I am facing problem in LSMW.
Can anybody suggest me that What are the main steps to be taken care while doing recording for LSMW for recording mm01 ?
thanks'
nareshHi,
Recording in LSMW is similar as SHDB.
in LSMW after you give Project-Subproject and Object.
1)Go to-> Maintain Object Attributes -> double click
2)Press Display/Change Button at top left to make editable mode.
3)Select radiobuton -> Batch Input -> Give Recording name say Z_mm01
4) Click the Recording Overview boton on right -> Give TCode which u want to record....
Rest refer the Document link attached.
Please find the links to various threads on the same.
Re: LSMW - Using a BAPI
BAPI, IDOC in LSMW
Upload the data in LSMW using BAPI
This one is the most complete document for the same
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://service.sap.com/lsmw.
Regards
Kiran -
Error while importing PAR file from local system.
Hi Experts,
While importing PAR file into my NWDS, I am encountered by some strange error.
Please refer below screenshot for your reference.
After clicking on "OK" button of the above error popup, another popup emerge with different error, please find below the screenshot for this error.
Please let me know the reason and resolution of this error. It will be very helpful for me.
Thanks in advance.
Thanks and Regards,
sarvesh AgarwalHi ,
Are u trying to import with .bak extension ? If so please rename the file and remove .bak extension and try.
x.par is enough to import not x.par.bak.
Thanks, -
Error while uploading the file from Allpcation server in LSMW-7th step
Hi Experts,
what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
Thanks in advance,
KSRHi
I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
Is there any specific CODE PAGE to be maintained...
Thanks in advance
Oarsk -
Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API
Hi All,
In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
Error within screenshot are : status Code : 409
status Text :conflict
For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
my code is
function PerformUpload(listName, fileName, listItem, fileData)
var urlOfAttachment="";
// var itemId = listItem.get_id();
urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
// use the request executor (cross domain library) to perform the upload
var reqExecutor = new SP.RequestExecutor(appWebUrl);
reqExecutor.executeAsync({
url: urlOfAttachment,
method: "POST",
headers: {
"Accept": "application/json; odata=verbose",
"X-RequestDigest": digest
contentType: "application/json;odata=verbose",
binaryStringRequestBody: true,
body: fileData,
success: function (x, y, z) {
alert("Success!");
error: function (x, y, z) {
alert(z);Hi,
THis is common issue if your file size exceeds
upload a document of size more than 1mb. worksss well for kb files.
https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
or try the below method
https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
Please remember to click 'Mark as Answer' on the answer if it helps you -
Error while uploading .xml file for Customer/Vendor List for Italy
Hi All,
We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
We have followed the entire process given in the OSS Note(1090857).
We have SAP 4.6c and followed the below steps:
1. Created ID-FI-IT Development class
2. Added domains
3. Added Data elements
4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
Tried uploading the .SAR file also. STill we are recieving the same Error.
Can any one of you help us out.
Thanks in Advance.
RameshOk, we upload .SAR file in this way:
1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
R492445.P9C and K492445.P9C
2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
Tree type UMS1
Format tree IT_CUST_VEN_LIST
5. after continue follow the note
I hope this help you
Roberto -
Multiple languges used while uploading a file using java appn
Hi everybody,
i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files
thank you very muchSanthosh_25 wrote:
actually i have asked the users for the languages... they told some languages like chinees,japanese,german,french,koriean,spanish,italian,dutch,russsian,englishThat isn't deterministic.
Again, this is pointless unless it is deterministic.
But lets say that each language group only uses a single character set.
And each language group stores their files in a specific directory (or server).
That allows you to deterministically identify the character set of the file.
So you can then read each file by using a text reader from the java.io package with the correct encoding set.
This works because it is determinstic.
The following will NOT work.
You have a directory with a bunch of files with completely random content in different languages. There is NO way to write a program that will correctly handle those.
So, again, the first step before doing anything in java is figuring out how you will differentiate the different files. -
Error message while upload excel file (with macro) to sap (iw28)
While upload excel file to sap through iw28, i get error message (vb)
u2022 i have to say that the excel file contain macro , with out the macro , work fine .
u2022 The error display just in refresh command.
the error message :
Public Sub ALV_CUS_Exit()
Dim objs As ChartObjects
Dim obj As ChartObject
Dim sheet As Worksheet
Dim r As Range
For Each sheet In Sheets
Set objs = sheet.ChartObjects
For Each obj In objs
Set r = Sheets("RawData").UsedRange
obj.Chart.SetSourceData Source:=r
Next obj
Next sheet
End Subhi,
This is releated to the ABAP coding...There might be some ouput problem in the Abap list viewer...Pls check it with the ABAP consultant...
Regards
Priyanka.P -
How to get full file path while uploading a file in flex Applications
How to get full file path while uploading a file in flex applications.
FileReference Object is giving file name and other details but not the actual path.
Is there any workaround to to get the file path?.
ThanksWhy not ask in the Flex forum; it is more likely that someone over there knows.
-
Jlaunch process using High CPU, while uploading the files in XI system
Hi,
we are facing jlaunch high cpu usage problems, while uploading the files of more than 25MB, in XI system. PIAFUSER is running on PRIV mode and huge java core dumps and heapdumps are getting generated in server0 node
error message-> - Out of memory situations running XI
Exception thrown [Fri Sep 30 13:57:27,855]:Exception thrown by application running in JCo Server
java.lang.Exception: java.lang.OutOfMemoryError
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:237)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
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)
first , we tested in Quality system, where,we are getting same problems as well.
SAP Note 146289 - Parameter Recommendations for 64-Bit
increased em/intial_size_MB from 512MB to 2 GB and em/global_area_MB value from 96 to 256
SAP Note 723909 - Java VM settings for J2EE 6.40/7.0
we added some jvm parameters in confitool
-Djava.awt.headless=true
-XX:+UseParNewGC
-XX:+PrintGCTimeStamps
Present JVM values in XQ1 system..
Xmx value 3072
xms value 2048
xmn value 1000
we have tested JCo RFC's AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER , connection test was OK.
We increased parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 800m
Please advice me.. how to proceed..
regards,
balaramHi Balaram,
Kindly review below note, Hope it suits.
716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s).
Regards,
Mani -
(409) Conflict Error while uploading the file into Sharepoint library
Getting the below error while uploading the file into Sharepoint library.
(409) Conflict. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.File.SaveBinary(ClientContext context, String serverRelativeUrl,
Stream stream, String etag, Boolean overwriteIfExists
I have used the below code:
ClientOM.File.SaveBinaryDirect(clientContext, "/Shared%20Documents/NewDocument.pptx", memoryStream, true);
Thanks in advance.May be issue is with path.
https://server/ should be there instead of
subsite path(https://server/path/path)
in the client context
Check the below link
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/fbb38b10-1127-48a6-a65f-0301edd766c4/the-remote-server-returned-an-error-409-conflict-error-while-uploading-files-to-sharepoint?forum=sharepointdevelopmentlegacy
Maybe you are looking for
-
I wanted to let you know these are the things my touchpad has been doing: -Very sluggish when first logging in to the computer. -Randomly opens up windows that the arrow hovers over but I don't click on. -Jumps around. -Makes the window half screen.
-
Scanner not working hp deskjet 1510 all in one
Hi.. i have hp deskjet 1510 all in one printer, at first all are working so well. but after 3 days scanner is not working. Everytime i try to scan "hp series not found" will appear. I also tried the print and scan doctor but it shows Hp twain scan er
-
How much would be the monthly cost to host a small Linux instance in Azure?
Hello Guys, I just wanted to ask how much would be the monthly cost of hosting a Small instance of Linux VM in Azure. I doubt this detail has all the pricing parameters included. It's just the VM itself it seems. I know there is a pricing calculator
-
My Z10 restarts randomly many times a day
Hello BB Supporters and Users, My Z10 (STL100-1) starts restarting randomly one week ago, it crashed many times a day without any noticeable reasons. It reboots even while it is idle. I have been using my phone for 9 months without any problem. I hav
-
Icons not in good picture quality
I'm trying to set high resolution images (800x600) as icons for some of my folders. however, when i zoom in the icon size they are not in good quality and the finesse is not there as in the original picture. this didn't use to be the case before in l