Error when trying implementing BADI --- IDCO_BPL_RCKM_MR21.
Hi Folks,
I have to implement the BADI "IDCO_BPL_RCKM_MR21" to update the standard price in MR21.
Could any one help me how to implement this BADI. When I tried to implement this BADI I am getting an error message "BADI definition IDCO_BPL_RCKM_MR21 is only provided for SAP internal use". Could any one help how to implement this BADI. My requirement is to update the standard price for material when the standard price is updated in the TCODE MR21.
Helpful answers would be highly rewarded.
Regards,
Ramineni.
Ramineni
BADI IDCO_BPL_RCKM_MR21 is only for SAP Internal Use. You can not create any Implementation...
Refer to the Indicator 'Within SAP' or 'Internal Use' in BADI Definition....
Thanks
Amol Lohade
Similar Messages
-
Getting bad host error when trying to deploy simple web sample application
hi,
Can someone tell me why I'm getting this error when trying to deploy the simple web application from samples
This is what it said:
deploy_common:
[echo] Deploying ../assemble/war/webapps-simple.war.
[exec] java.net.MalformedURLException: Bad host: station_1
thanksHi,
Another update on this issue.
To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
Now, we are getting this error:
XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
What else we might be missing in our libs or do we need to check some other configurations?
Any help on this would be much appreciated.
Thanks,
Gaurav -
HTTP error when trying to access RESTful web service from application
Hi,
We are getting the following error when trying to access a RESTful web service coming from Apex workspace 4.2.1 and Apex listener 2.1:
ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failure
In the Debug report, besides the above I also see:
error_backtrace: ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 543 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 1164 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 396
We get that error whether we use https or http in the URI pointing to the web service. When I test the Web Service in Workspace RESTful service GUI, I get the data back. When I go build an application with a report calling the RESTful Web Service I get that error. Both the Application and the Workspace RESTful services are on the same Apex environment and even the same workspace.
What is odd is that I can actually put the URL of the web service into a browser and I get the data: (using the demo hr data in sample RESTful services.)
IN browser-- https://weblogic-dev.edu/apex/ace/hr/empinfo/
yields:
7839,KING,PRESIDENT,,1981-11-17T05:00:00Z,5000,,10 7698,BLAKE,MANAGER,7839,1981-05-01T04:00:00Z,2850,,30 7782,CLARK,MANAGER,7839,1981-06-09T04:00:00Z,2450,,10 7566,JONES,MANAGER,7839,1981-04-02T05:00:00Z,2975,,20 7788,SCOTT,ANALYST,7566,1982-12-09T05:00:00Z,3000,,20 7902,FORD,ANALYST,7566,1981-12-03T05:00:00Z,3000,,20 7369,SMITH,CLERK,7902,1980-12-17T05:00:00Z,800,,20 7499,ALLEN,SALESMAN,7698,1981-02-20T05:00:00Z,1600,300,30 7521,WARD,SALESMAN,7698,1981-02-22T05:00:00Z,1250,500,30 7654,MARTIN,SALESMAN,7698,1981-09-28T04:00:00Z,1250,1400,30 7844,TURNER,SALESMAN,7698,1981-09-08T04:00:00Z,1500,0,30 7876,ADAMS,CLERK,7788,1983-01-12T05:00:00Z,1100,,20 7900,JAMES,CLERK,7698,1981-12-03T05:00:00Z,950,,30 7934,MILLER,CLERK,7782,1982-01-23T05:00:00Z,1300,,10
Any ideas on what would be causing the Error above in our application?
Thanks,
Pat
Edited by: patfmnd on Mar 11, 2013 3:25 PM
In reviewing the above error, I think we are realizing that we have to have the Weblogic layer SSL cert (actually the CERT from our BigIP load balancer which also does our SSL termination) imported into the Oracle server wallet where Apex is installed. Am I correct?
PMWe resolved our problem. The Apex Administrative Guide made us realize that we had to set up Wallet path in the Instance. This required working with DBAs to follow the Advanced networking guide to get the wallet set up on our server. We then added that path to the Instance configuration. (Manager Instance --> Instance settings). We ran into another other issue related to our implementation of CAS but were able to resolve that, and 'voila' were able to get the sample RESTful service consumed by our application!!
Now to the task of figuring out how to get Basic Auth working between client application and RESTful web service. If anyone has that working, let us know!!
It would be helpful if in the documentation of the Apex 2.x listener or Apex install/configuration there was clear reference to the above steps required for HTTPS access to RESTful web services.
Pat -
Error when trying to create a site collection
Hi,
I receive the following error when trying to create a site collection in sharepoint 2013. Any ideas of what I can do to resolve?
Sorry, something went wrong
Failed to call GetTypes on assembly Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.ConnectionUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.RequestUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.LoadUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. Method 'ParseLogFileEntry' in type 'Microsoft.AnalysisServices.SharePoint.Integration.UnloadUsageDefinition'
from assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation.
thanks,
SherazadHi ,
Based on the error message, please check whether you have installed the spPowerPivot.msi add-in on each of your SharePoint server, and ran the configuration wizard, make sure that the powerpivotwebapplicationsolution.wsp
is deployed correctly.
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
Why am I getting an app store error when trying to download Lion?
Why am I getting an app store error when trying to download Lion? Any ideas?
I would complain really bad and get them to give you a Flash card that they just came out with because they've inconvenienced you so much and you don't have hours to spend at the apple store waiting for the whole thing to load.
The only thing about the flash cards is that it will change your whole motherboard so it won't allow you to install snow leopard or anything less, ever again. (as what the apple specialist told me over the phone).
I would also suggest waiting. It really isn't worth the hastle and you may not benefit from installing it on your old computer... just a thought. -
Photo Booth encountered an error when trying to save your photos. Your photos cannot be saved at this time.
How do i fix this?I had the same issue, as suggested by others on similar question I checked my permissions and they were fine.
This worked for me
1) First saved the photos from my current Photo Booth library
2) Deleted the photo booth library folder
3) Created a new admin user
4) Copy the photo booth library from the new user and paste it in your user (where the previous photo booth library was)
5) You can then delete the new user you created.
*this is my first attempt here, so my bad if its not up to scratch* -
Photo Booth encountered an error when trying to save your photos. Your photos cannot be saved at this time.
prev suggestion was to remove file: com.apple.PhotoBooth.plist.
still not working and I Am running;
OS X version 10.9.1I had the same issue, as suggested by others on similar question I checked my permissions and they were fine.
This worked for me
1) First saved the photos from my current Photo Booth library
2) Deleted the photo booth library folder
3) Created a new admin user
4) Copy the photo booth library from the new user and paste it in your user (where the previous photo booth library was)
5) You can then delete the new user you created.
*this is my first attempt here, so my bad if its not up to scratch* -
I am getting an activation error when trying to sign in to FAceTime
I am getting an activation error when trying to sign in to FAceTime
me too after upgrading into lion..
-
Keep getting 5002 Error when trying to Sign In
Hello,
I created a new @me.com address today for a seperate Apple ID account. I am needing to sign into the iTunes Store, but I keep getting a response that says:
"We could not complete your iTunes Store request. An unknown error occurred (5002)."
Any ideas as to what's going on here?
I also took a screen cap of the issue:
Thank you for the help!
MarcusThank you for your response Carolyn; however, that article does not fix my problem. I am getting this error when trying to sign into the iTunes Store on my Mac.
I get the same problem when signing into the Store on the iPad or iPhone. I simply can't log in, but when I go to iCloud.com or the Apple ID login on Apple.com, it works.
Marcus -
I get error message "unknown error" When trying to log on to itunes via pc, help please!
I get error message "unknown error" When trying to log on to itunes via pc, help please!
Hello, trolle56.
Thank you for the question. You may find these articles helpful in troubleshooting the error received with the iTunes Store.
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/ts3297
Cheers,
Jason H. -
Error when trying to update or download any app
I'm getting an Error when trying to update or download any app from Mac App Store
Every time I try to update xCode to version 6.2 but I get this error :
The server gave an error during download: 503 Service Unavailable.
So I tried to download a random app from the App Store but I got the same error message.
So any advices ?Hello HusseinAlBehary,
Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end.
Apple Services, Stores, and iCloud
https://www.apple.com/support/systemstatus/
Regards,
-Norm G. -
Error when trying to access the RBAC User editor and Message tracking
Hi,
I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue.
https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
I then checked the event logs on the server and saw the below error logged;
Current user: 'Domain/Server Services Accounts/administrator'
Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
have to close this window and log on again.
at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
Any ideas as to what the above event log is specifically referring to?Hi,
From your description, I would like to clarify the following thing:
If you want to search message tracking logs, the account you use should be a member of the role groups below:
Organization Management role group, Records Management role group, Recipient Management role group.
Hope this can be helpful to you.
Best regards,
Amy Wang
TechNet Community Support -
Unable to load media error when trying to play a video in Sharepoint 2013
My team consistently gets an error when trying to play a video in SharePoint 2013. I can upload it, pick a thumbnail and save it. When anyone else goes to the intranet site and tries to play the video, they get a media failed to load error.
I have tried mp4 and wmv formats. I at first thought it had to do with the codec used in Camtasia to create the video, so I encoded it in Microsoft Encoder to a wmv and it still fails. All of the videos I upload fail for other users. If someone else uploads
a video, I get the error and cannot play the video. If I look at the library in Explorer, the video file is missing but the subdirectories for additional content and thumbnails are present. For the videos I upload and can play but everyone else
gets the error, I see those subdirectories as well as the video file itself.Result
Protocol
Host
URL
Body
Caching
Content-Type
Process
Comments
Custom
963
404
HTTP
team.hagerman.com
/submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv
13
private,max-age=0; Expires: Tue, 11 Feb 2014 21:58:26 GMT
iexplore:15076
[#956]
Request:
GET /submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; Zune 4.7; AskTbAD2/5.15.4.23821)
Host: team.hagerman.com
If-Modified-Since: Wed, 26 Feb 2014 19:07:33 GMT
If-None-Match: "{8A07B719-341D-4BEE-BD61-F364394C3E98},2"
DNT: 1
Connection: Keep-Alive
Cookie: databaseBtnText=0; databaseBtnDesc=0; stsSyncAppName=Outlook; stsSyncIconPath=%2F%5Flayouts%2F15%2Fimages%2Fmenuoutl%2Egif; __utma=95027589.2092965952.1364844931.1393356332.1393429315.524; __utmz=95027589.1393268194.522.68.utmcsr=SilverpopMailing|utmccn=TE%20-%20St.%20Louis%20MCAD%20(12)|utmcmd=email;
__qca=P0-1092250856-1367500502168; km_ni=joyvoltenburg; km_uq=; km_lv=x; km_ai=joyvoltenburg; grvinsights=3a306cce826491ec77d9a195a63f57f2; __avc_32508=045-8a-724d-ee8f13e900daac4; Persistent_id_HgixPXFYDDdj0w=0C78ABCB2F34:1392388341; optimizelySegments=%7B%22178845731%22%3A%22false%22%2C%22178855892%22%3A%22ie%22%2C%22179190226%22%3A%22direct%22%7D;
optimizelyEndUserId=oeu1379624626946r0.0872463653920379; optimizelyBuckets=%7B%7D; __utmc=95027589; StorefrontCookie=cmen-US=en-US&bm=US; WSS_FullScreenMode=false; Ribbon.Read=1920886|-1|0|-687423497; Ribbon.DocLibListForm.Edit=682788|-1|0|1882364446;
Ribbon.Library=1920886|-1|710|-687423497; Ribbon.Permission=1920886|-1|1725|1598418443; Ribbon.ListForm.Display=1920886|-1|1620|-1006461573; previousLoggedInAs=; loginAsDifferentAttemptCount=
Authorization: Negotiate YIIF1AYGKwYBBQUCoIIFyDCCBcSgMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCNwICHgYKKwYBBAGCNwICCqKCBY4EggWKYIIFhgYJKoZIhvcSAQICAQBuggV1MIIFcaADAgEFoQMCAQ6iBwMFACAAAACjggRdYYIEWTCCBFWgAwIBBaEOGwxIQUdFUk1BTi5DT02iJDAioAMCAQKhGzAZGwRIVFRQGxF0ZWFtLmhhZ2VybWFuLmNvbaOCBBYwggQSoAMCARehAwIBE6KCBAQEggQA8udpTQGxrKxalOvdnd4xskRGpoVzVyajwNF0khIMv9FLMq/CRXZuKcNtBOP7ckJygktuJyj9JqLBomvOuyBzEEeY4+Twwbt7+lRf87Wrw6EY+efwVOV0F4/E8ggxpuMWEb92vUWnIKVG/qxLqnE0CqVY7W5i/c0tNsi6fZ0s1MY3Yh83ZtIBOCjBbcpO56i4zC3bdIbFOd/ffHlV53iNAfc2g1EryF1i3QoWjlbuLx+8wKLN2IHgmoja6wCBZ1srU0GdJQWKF//n7Yoy/rkC0lsTqzF2ZU/jNgthm8PaE1fV07CZxKJg+UEmEAWxccNwFoDHCWUy34sTBmFMroYROuR3Q+iuoVQJkxO4NbtsiRCNvo0VhZpkZaQ0Essn8GDiYeg/4M4PgAptzWOvk+MyW2nI6vZsbtPaUrS1oPZgxvQXrrt2LwphUnXT71JlLRbWg0sSJkZmWQppzdkMKs0NWauB4GviH4Jv+j7Blms8Mc+k4u/79x3CbpulvazkpbVdBLaSL7w/Qu1wJpKcsJbUV5gYhYFr+CO2TvMlsHlGq4V2bmkxWRuZE7mIfz0GwLTyK05nR2kKfZdtrflfN/T37/1xUZuEe4JuHuL57MJ5qCx3P4vVoPT7/LANKuHOiEX4v2reuejk8xXVRhm+QHMVD7YxTydNe9ncr67qG0DoPhgw32hM/ZyoIYN02yZzr18yGNOdTJkELjypvwaP8UMj4AnS0XUCiF8DNRx88byHEwhhj9l6fzLLXd3YMbOPi73Ql+pYTZs54GiDcxgRtX2BcgypwEc0gauRcItX001PlEwYjtkMh7F5ojKOmqPzcTe9TyNMGcyMNqdi1I5BBEbRqV5DqoFFdnZECg1DcXvWXVCG2StEMfp3bJ0hEf7qaHX0t0hIY23Z7GUaKAz9vDbYc/mOgLZhouyFRcP8NWZ/VAUNdRA5L74azEUyBzK3jkErd9w9DtOwM5Z4v74VxG0yQ7q8Y3LvjstLzuxiJ5U3vrydVomKEV8B6rRJXgFne2vrd8RDy+UVNIIIKBZmvqgJyqoeTELGlvsipyEx+r985RyqunWRhXpXQOXfeaqMNpB8jE/8nGpoE4Iv51LWXI3/s2pjRvsMzmYwmI1WtRBRFbSEYQrszw/eoH/8cmamjIUAMnC44jh8GfDCHt0I059p6c+Ms3Yi8D6D8KpU83D4rQJBJw+ZmND3OwwiNeZpm/scy1JLpxSI5Bl+nPky8uGabOWkwqad++6VAfQ9SbnqKLr2FLaTqstGsVp4XyFDf6tWv/cV0C3aZmuEAtCPqx4iSszCFi0gRrroNFgTm6GD58c1icSdF1OV+2Heeg5oZ1JFZHmsGUGDaHg+k91z2WKFlqSB+jCB96ADAgEXooHvBIHsaI9Tg734C48hbv/O2Dc/BMFF+LItKRkeLQ8PUQPJrUyTLHcgiAV6mB58tYtnM6Sk3HsaYuqkJs2qbFqy0SJoNGylPoc/XD7zOt39u87sbcHhIBx6JCAdFeBjfNeHnl1cV8rKobf3Znj6T9VrmHqrNs+SW0RL32sfVhc+Zhrf2Oo/7AMJoG3Uf0/eribgMl37+4bvn9XiMjVPhDolfeVaNmDwwZPEkP8WejHBclzL0+LlOaYG/TCJF19V6AscWyvNh7Z4cUvOAoM/KgDAiJfxQMcIiUyRuP2ns+FXPRQDwZ+R+gQOgblAZ0Bu4zw=
Response:
HTTP/1.1 404 NOT FOUND
Cache-Control: private,max-age=0
Content-Length: 13
Expires: Tue, 11 Feb 2014 21:58:26 GMT
Server: Microsoft-IIS/7.5
X-SharePointHealthScore: 0
Public-Extension: http://schemas.microsoft.com/repl-2
SPRequestGuid: 1826789c-0589-80e7-31cd-3c1038ea29f6
request-id: 1826789c-0589-80e7-31cd-3c1038ea29f6
X-FRAME-OPTIONS: SAMEORIGIN
SPRequestDuration: 1132
SPIisLatency: 1
WWW-Authenticate: Negotiate oYGyMIGvoAMKAQChCwYJKoZIgvcSAQICooGaBIGXYIGUBgkqhkiG9xIBAgICAG+BhDCBgaADAgEFoQMCAQ+idTBzoAMCAReibARqhLWFbGbcecrn5kQ/ScMjrsqhag2XcrWQQ7g0Mb6ilZ+kFIPC6XJsH7+ldzTk3eQF/4C1f2nzJxENlP2M+75fOiRZGU/r0nvjgX5MdswmrBQkRg8iqKwcwJeE/3/P7nLWVitRs21hnB19oQ==
Persistent-Auth: false
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 15.0.0.4420
X-Content-Type-Options: nosniff
X-MS-InvokeApp: 1; RequireReadOnly
Date: Wed, 26 Feb 2014 21:58:25 GMT -
I keep receiving security errors when trying to open a pdf.
I keep receiving a security error when trying to run my javascript program, the function previously worked, but now creates an error after I entered the addWaterMark function. I have put my whole code below for my script.
The basic function is to load a text file into an array which has the path and file location, open the document, add a watermark, save the file, close the file, then repeat for the next array position.
I am using Acrobat Standard so I am unable to debug using the console, therefore I am struggling to understand what I am doing wrong. I will point out that I am not a fluent programmer, only have a basic knowledge of programming.
Code
app.addSubMenu(
cName:"Extras",
cParent:"Edit"
app.addMenuItem(
cName:"Import File",
cParent:"Extras",
cExec:"main()"
function main()
var fileCount = 0
var listOfFiles = []
listOfFiles = importData()
amountOfFiles = listOfFiles.length
for (var i =0; i<listOfFiles.length; i++) //calculates amount of entries in the array listOfFiles
newFile = openFile(listOfFiles[i]) //Opens current file
var d = app.activeDocs; //Gets current document title name
addWater(d[0]);
app.execMenuItem("Save");
for( var x in d ) d[x].closeDoc();
function addWater(myName)
{ app.alert("watermark",0);
myName.addWatermarkFromText(
cText: "OBSOLETE",
cFont: "Arial",
nFontSize:36,
aColor: color.red,
nOpacity: 0.5
//function SaveFile saves the current file but with an addition of WM to the filename
saveFile = app.trustedFunction(function(currentDoc, currentFileName)
{ app.alert("savefile",0);
app.beginPriv();
currentDoc.saveAs(currentFileName);
app.endPriv();
//function openFile which opens the file named in the variable currentFilename
openFile = app.trustedFunction(function(currentFileName)
{app.alert("openfile" + currentFileName,0);
app.beginPriv();
app.openDoc(currentFileName);
app.endPriv();
//importData function imports the paths and filenames contained in the list.txt located on the desktop
importData = app.trustedFunction(function()
{app.alert("import",0);
app.beginPriv();
cFilePath = "/C/Users/103019944/Desktop/File_List.txt";
var stmData = util.readFileIntoStream(cFilePath);
var cData = util.stringFromStream(stmData);
var cMsg = cData;
var fileArray = cMsg.split("\r\n");
for (var i =0; i<fileArray.length; i++)
return(fileArray);
app.endPriv();I have found the error, you are quite correct I had an extra letter in the filename, I thought I'd checked this but just shows that sattention to detail is the key.
The script works perfectly now, thanks you for your help, really appreciated.
Thanks again
Ben -
Keep getting VncViewer.class not found error when trying to use Windows 7
Greetings,
I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\deverej
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class VncViewer.class not found.
java.lang.ClassNotFoundException: VncViewer.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: VncViewer.class
I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
J2SE Enviornment 5.0 Update 15
Java 6 Update 17
Maybe you are looking for
-
How can i get a software update for an original ipod
????????
-
Hi all, I am workin on SRM 4.0.I have started configuring the system from scratch.I am referring to the SRM EBP 5.0 Configuration Guide.The problems which i am facin are like that: 1> Not able to run the report BBP_UPLOAD_PAYMENT_TERMS. It shows the
-
Messages Deleted in Outlook do not get permanently deleted by aging policy
Our message aging policy is setup to permanently delete messages asap. It works ok when a user does a delete from the phone but when the user deletes from MS Outlook, the messages linger forever. When checked from a phone, the Outlook deleted message
-
Accept user input in sql *plus 9.2.0.1.0
Any body budy can get any idea about my sourcr code? I wrote below code in sql *plus accept p_hire_date1 date FORMAT 'DD-MON-YYYY' prompt 'ENTER hire date from:' accept p_hire_date2 date FORMAT 'DD-MON-YYYY' prompt 'ENTER hire date to:' DECLARE v_hd1
-
went in to change credit card details as credit card had expired and when it got to verify credit card i got a blank page and now it is pending has it taken my new details can anyone help