Package service responds with E_PACK_UNKNOWN_FILE_TYPE to an almost valid PDF
Some PDFs cause Package service to respond with E_PACK_UNKNOWN_FILE_TYPE. The files are "almost valid" in a sense that they can be opened and displayed by both Acrobat Reader and OS X Preview. But they are not spec-compliant. First few lines in these files look like this:
BT /F1 12.00 Tf ET
%PDF-1.73
3 0 obj
<</Type /Page
/Parent 1 0 R
Note that the very first line is not a %PDF header, but something else. Per my understanding, Content Server is more stringent than Acrobat Reader, and fails these files.
I'm told, the offending files were created by "FPDF v4.8 for PHP4".
The reason I'm posting this here is mostly so that someone else having the same problem can Google it up. But I also would like to register my frustration at how utterly unhelpful both the error response from the service, and the Content Server documentation were in troubleshooting this.
Some PDFs cause Package service to respond with E_PACK_UNKNOWN_FILE_TYPE. The files are "almost valid" in a sense that they can be opened and displayed by both Acrobat Reader and OS X Preview. But they are not spec-compliant. First few lines in these files look like this:
BT /F1 12.00 Tf ET
%PDF-1.73
3 0 obj
<</Type /Page
/Parent 1 0 R
Note that the very first line is not a %PDF header, but something else. Per my understanding, Content Server is more stringent than Acrobat Reader, and fails these files.
I'm told, the offending files were created by "FPDF v4.8 for PHP4".
The reason I'm posting this here is mostly so that someone else having the same problem can Google it up. But I also would like to register my frustration at how utterly unhelpful both the error response from the service, and the Content Server documentation were in troubleshooting this.
Similar Messages
-
Hi,
while consuming the WCF service POST method Jquery, getting error in Chrome and firefox, in IE Its working fine.
ERROR:Failed to load resource: the server responded with a status of 405 (Method Not Allowed) XMLHttpRequest cannot load (WCF service URL). Invalid HTTP status code 405.
Jquery used to call:
$.support.cors = true
$.ajax({
type: "POST",
url: serviceURL,
data: JSON.stringify(managedProps),
useDefaultXhrHeader:false,
contentType: "application/json; charset=utf-8",
dataType: "json",
//processData: true,
crossDomain: true,
success: function (data, status, jqXHR) {
alert("sucess");
error: function (xhr) {
alert("error");
WCF sevice Web.config
<webHttpBinding>
<!--<binding name="webHttpBindingWithJsonP" transferMode="StreamedRequest" />-->
<binding name="crossDomain" crossDomainScriptAccessEnabled="true" transferMode="StreamedResponse" />
</webHttpBinding>
</bindings>
<services>
<service name="DynamicRefinerWCF.DynamicRefiner">
<endpoint address="" behaviorConfiguration="REST" bindingConfiguration="crossDomain" binding="webHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<endpoint address="mex" binding="mexHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<host>
<baseAddresses>
<add baseAddress="http://localhost/example.svc" />
</baseAddresses>
</host>
</service>
</services>
<!--<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>-->
<!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />-->
</system.serviceModel>
<system.webServer>
<!--<modules runAllManagedModulesForAllRequests="true"/>-->
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>
<directoryBrowse enabled="true" />
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Headers" value="Content-Type"/>
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
<add name="Access-Control-Request-Headers:" value="*" />
<add name="Access-Control-Request-Method:" value="*" />
</customHeaders>
</httpProtocol>
<!--
To browse web app root directory during debugging, set the value below to true.
Set to false before deployment to avoid disclosing web app folder information.
-->
<!--<directoryBrowse enabled="true"/>-->
</system.webServer>
</configuration>
Thanks,
SwathiRight on - I have done that a number of times.
-
Service Desk with IC WebClient: Category Modeler not available
Hello,
We are currently implementing a Service Desk Application based on SAP Solution Manager. Therefore we are using the article "Implement an ITIL Employee Service Desk with IC WebClient" of "www.CRMExpertOnline".
One of the steps, which are described in the article describes how to Categorize incidents with the Category Modeler. It says that the Category Modeler is available trough BSP Application CRMM_ERM_CAT.
Unfortunately this SAP-Application is not available on our system.
Our System Data:
SOFTWARE COMPONENT RELEASE LEVEL HIGHEST SUPPORT PACKAGE DESCRIPTION
SAP_BASIS 700 0012 SAPKB70012 SAP Basis Component
SAP_ABA 700 0012 SAPKA70012 Cross-Application Component
PI_BASIS 2005_1_700 0012 SAPKIPYJ7C PI_BASIS 2005_1_700
ST-PI 2005_1_700 0005 SAPKITLQI5 SAP Solution Tools Plug-In
SAP_BW 700 0014 SAPKW70014 SAP NetWeaver BI 7.0
SAP_AP 700 0009 SAPKNA7009 SAP Application Platform
BBPCRM 500 0009 SAPKU50009 BBPCRM
CPRXRPM 400 0009 SAPK-40009INCPRXRPM SAP xRPM/cProjects/cFolders 4.00 (ABAP)
BI_CONT 703 0005 SAPKIBIIP5 Business Intelligence Content
ST 400 0012 SAPKITL422 SAP Solution Manager Tool
ST-A/PI 01I_CRM500 0000 - Application Servicetools for CRM 500
ST-ICO 150_700 0009 SAPK-15079INSTPL SAP Solution Manager Implementation Cont
ST-SER 700_2006_2 0003 SAPKITLOK3 SAP Solution Manager Service Tools
Does anybody know where I can find/download the category modeler-application?
Thanks in advance,
AndreasHello Andreas,
The question is that CRMM_ERM_CAT is an application, also a transaction but this is not the name of the associated BSP I think, this belongs to component CRM-PCF more than Solution Manager.
I have seent some messages speakin about to call:
http://server:port/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?
appl=CRMM_ERM_CAT
Sorry! I can not tell you more about this, regards,
Dolores -
Loading of 'SEOCOMPODF' import package is interrupted with R3load error.
Dear SAP Colleagues,
Please advice with the following, we try to install SAP ERP 6.0 support release 3 on windows 2008 server with oracle database 10g 10.2.0.4.0,
The error is occurred in Import ABAP phase as follow,
ERROR 2010-10-14 12:10:00.729
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
Hint : I already applied this scenario of installation in two other server with same hardware and sap software and itu2019s already up and running,
From my side I applied the following but nothing is changed,
u2022 Applied sap Note 709389
u2022 Replaced the sap source more times,
u2022 Maintained the paging file,
u2022 Restart the sap server
u2022 Restart the installation from scratch
Also I can see that the oracle service and listener is started automatically
I checked the log files mentioned above as follow,
Contents in log file u201Cimport_monitor.javau201D
java version "1.4.2_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)
Import Monitor jobs: running 1, waiting 4, completed 23, failed 0, total 28.
Import Monitor jobs: running 2, waiting 3, completed 23, failed 0, total 28.
Import Monitor jobs: running 3, waiting 2, completed 23, failed 0, total 28.
Loading of 'SEOCOMPODF' import package: ERROR
Loading of 'DD03L' import package: ERROR
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Loading of 'FUPARAREF' import package: ERROR
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Import Monitor jobs: running 1, waiting 1, completed 23, failed 3, total 28.
Loading of 'TODIR' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 23, failed 4, total 28.
Contents in log file u201Cimport_monitoru201D
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'SEOCOMPODF' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i SEOCOMPODF.cmd -dbcodepage 4103 -l SEOCOMPODF.log -stop_on_error' exited with return code 2.
For mode details see 'SEOCOMPODF.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'DD03L' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
For mode details see 'DD03L.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'FUPARAREF' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i FUPARAREF.cmd -dbcodepage 4103 -l FUPARAREF.log -stop_on_error' exited with return code 2.
For mode details see 'FUPARAREF.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
Loading of 'TODIR' import package is started.
TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask processPackage
Loading of 'TODIR' import package into database:
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
ERROR: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
Loading of 'TODIR' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error' exited with return code 2.
For mode details see 'TODIR.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2010-10-14 12:10:00
Cannot start import of packages with views because not all import packages with tables are loaded successfully.
WARNING: 2010-10-14 12:10:00
4 error(s) during processing of packages.
INFO: 2010-10-14 12:10:00
Import Monitor is stopped.
Regards,
Ahmed SaberHi Gagan Deep Kaushal,
The todir.log file it was so big so I backup it run the installation again to regenerate the log file, please find below the log file you requested,
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20101014135456
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:44
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: DbSlErrorMsg rc = 99
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20101014135457
Regards,
Ahmed Saber -
Access Denied Error:5 Adding Package to .WIM with DISM
I am trying to add .CAB packages to a custom .wim file. I am able to mount the image, but upon trying to add .cab packages to the image, it gives me an error like:
An error occurred - Package_for_KB2588516 Error: 0x80070005
Error: 5
Access is denied.
Here is a segment of the DISM.log. I can post the full Logfile if needed. I am running the command prompt with elevated privileges.
2012-02-10 11:58:45, Info CBS Failed to delete registry value: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete store object value named: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete registry value: LastError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete store object value named: LastError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete registry value: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete store object value named: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to persist status for package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1 [HRESULT = 0x80070005
- E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete registry value: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete store object value named: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to query sources for package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1 [HRESULT = 0x80070005
- E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to persist package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1. [HRESULT = 0x80070005 -
E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete registry value: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-02-10 11:58:45, Info CBS Failed to delete store object value named: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]Hi,
If you plan on using DISM to install a .cab file, it is recommended that you use the WUSA.exe tool to extract the files to a directory first.
Make sure that the permission setting of the temp folder that save the mounted image allows the user to modify.
Make sure that you run the command lines in a prompt window with Administrator privilege.
If the issue persists, you’d better consider to change with another image.
The following operating-system-package servicing options are available for a mounted offline image:
DISM.exe /image:<path_to_mounted_image_directory> [/Get-Packages | /Get-PackageInfo | /Add-Package | /Remove-Package ] [/Get-Features | /Get- FeatureInfo | /Enable-Feature | /Disable-Feature ]
The following operating system package servicing options are available for a running operating system:
DISM.exe /online [/Get-Packages | /Get-PackageInfo | /Add-Package | /Remove-Package ] [/Get-Features | /Get-FeatureInfo | /Enable-Feature | /Disable- Feature ]
Pay attention to the following please.
1. You cannot use a network share location as a scratch directory to expand a package (.cab or .msu file) for installation. The directory used for extracting files for temporary usage during servicing must be a local directory.
2. If subsequent actions are requested, they cannot be processed until the previous pending online action is completed.
3. If a package is in the “installed requested” state and then you stage the package, the package state is set to “uninstall requested”. This is because it must be uninstalled before it can be staged.
4. Some packages require other packages to be installed first. Because of this dependency requirement, you should use an answer file if you are installing multiple packages.
Hope that helps. -
No result while creating a service consumer with Web Service Wizzard
Hi,
I've tried to create a service consumer with Web Service Wizzard in SE80 by using URL/HTTP Destination but nothing happens. After the popup with logondata for the WSDL I get the CRM start screen and nothing has been created in the given package.
technical details:
I use a CRM 5.0 system with SP15 (SAPKB70015).
I created the provider service at a 7.10 system with SP5 (SAPKB71005) via SPROXY, SOAMANAGER and WSPUBLISH and get the WSDL-URL from Service Registry.
The Service Registry of the 7.10 system serves as central Service Registry.
Has anybody an idea ?
ChristophGuy,
Thanks for your reply.
This problem has been solved. Since I haven't turned on everything that to use transaction SOAMANAGER needs. After complete the switch-on works, the problem never happens again.
Thanks again. -
How to make an OSB proxy to the server responding with application/json?
Hi,
My question is related to unfortunately unanswered question: Re: OSB and Oracle Maps
Big picture: There is a Jetty server on local network with SpringMVC controllers which respond with JSON. The only way to communicate from frontend application to that server is through the OSB. So OSB should work as transparent proxy, passing headers and respond with original JSON message.
I tried to build such proxy, following some blogs entries. Proxy worked for the REST services based on XML, but when I go to the JSON business service I get stuck.
I think that business service to communicate with JSON server should be a Messaging Service, with Response Type: Text and Request Type: None.
All headers should be passed (Outbound request) so the JSON server receives them in same state as frontend send.
Business service should be invoked from 'Service Callout' because I don't need any asynchronous calls, or routing - just call the business service endpoint, which will call JSON server and pass the response.
There are some problems in which I stepped into when tried this approach:
1. When using Request Type: None the Service Callout give me an error of type:
A callout cannot invoke a one-way operation
When switching Request Type to Text I get it working, but some services on JSON server which operates only on GET method stop work (because switching to Text automatically require to use POST method, which is obvious but not necessary in my case).
2. Even with above modification I cannot get the response from business service - I guess it's because the JSON response isn't wrapped into any XML elements. So in Service Callout any logger prints the message on Request side, but anything is written by Response logger inside the Service Callout. The browser which launch the Proxy Service also answers with:
HTTP 500 (Internal Server Error)
and I don't see any errors in logs, last message is from Request logger inside Service Callout.
3. Business Service itself seems to work - here is an output from 'Run on Server':
Business Service Testing - SampleJSON
Request Document
Response Document
{"models":[],"success":1}
Response Metadata
<con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<http:Content-Length>696</http:Content-Length>
<http:Content-Type>application/json;charset=ISO-8859-1</http:Content-Type>
<http:Server>Jetty(7.4.2.v20110526)</http:Server>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
<tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">ISO-8859-1</tran:encoding>
<http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">200</http:http-response-code>
</con:metadata>
But when calling it from a service proxy I don't get any logger message on the JSON server, which appears normally when I runs business service tests. So it seems that the request doesn't even reach it.
If anyone has a time to look at this problem I can share the configuration jar ready to import: http://dl.dropbox.com/u/21341604/sample-osb-json/sample-json.jar, to make it working you need change Endpoint URI in SampleJSON.biz.
Thanks in advance for any kind of help or tips,
AdrianIf you are the admin, then use the following command in Terminal:
sudo mkdir /.nameOfFolder
Replace nameOfFolder with the name you want. The sudo will prompt you for your admin password. -
Consistent "The server responded with "HTTP/1.1 500 Internal Server Error"
Hello
I'm really failing at this.... Our system:
XServe Intel 10.5.2 Server.. all current updates. Services running:
AFP
DNS
iCal
iChat
Open Directory (Kerberos running)
Web
My personal iCal crashed and I lost my connection to the iCal server. I tried deleting the Account (on my Client) and re-connecting.
Now, ANY attempt at making a new account in iCal on MULTIPLE computers fails with "*Request for http://xxxxxxxxxxx.lan:8008/principals/_uids_/5B72686D-4769-4F3C-98AF-1B617ECB76F3/ failed. The server responded with "HTTP/1.1 500 Internal Server Error"*.
I copied the log on iCal Server after an attempted account creation. Any thoughts on a repair would be appreciated:
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalProvisioningResource: /Library/CalendarServer/Documents/principals>
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalUIDProvisioningResource: /Library/CalendarServer/Documents/principals/_uids_>
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Exception rendering:
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Unhandled Error
2008-03-28 09:56:41-0400 [-] [caldav-8010] Traceback (most recent call last):
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 358, in _handleSegment
2008-03-28 09:56:41-0400 [-] [caldav-8010] child = self._getChild(None, newres, newpath, updatepaths=updatepaths)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 314, in _getChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] result = res.locateChild(self, path)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 117, in locateChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = self.checkSacl(request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 107, in checkSacl
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = defer.maybeDeferred(self.authenticate, request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] --- <exception caught here> ---
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 107, in maybeDeferred
2008-03-28 09:56:41-0400 [-] [caldav-8010] result = f(*args, **kw)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 66, in authenticate
2008-03-28 09:56:41-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).authenticate(request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 727, in authenticate
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = self.principalsForAuthID(request, creds.username)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1245, in principalsForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] authnPrincipal = self.findPrincipalForAuthID(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 81, in findPrincipalForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).findPrincipalForAuthID(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1269, in findPrincipalForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] principal = collection.principalForUser(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 90, in principalForUser
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForShortName(DirectoryService.recordType_users, user)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 87, in principalForShortName
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForRecord(self.directory.recordWithShortName(recordType, name))
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 101, in principalForRecord
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForGUID(record.guid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 93, in principalForGUID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForUID(guid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 125, in principalForUID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.getChild(uidsResourceName).getChild(uid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 304, in getChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] self.provision()
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 399, in provision
2008-03-28 09:56:41-0400 [-] [caldav-8010] self.provisionFile()
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 413, in provisionFile
2008-03-28 09:56:41-0400 [-] [caldav-8010] assert parent.exists()
2008-03-28 09:56:41-0400 [-] [caldav-8010] exceptions.AssertionError:
2008-03-28 09:56:41-0400 [-] [caldav-8010]
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalProvisioningResource: /Library/CalendarServer/Documents/principals>
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalUIDProvisioningResource: /Library/CalendarServer/Documents/principals/_uids_>
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Exception rendering:
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Unhandled Error
2008-03-28 09:57:02-0400 [-] [caldav-8010] Traceback (most recent call last):
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 358, in _handleSegment
2008-03-28 09:57:02-0400 [-] [caldav-8010] child = self._getChild(None, newres, newpath, updatepaths=updatepaths)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 314, in _getChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] result = res.locateChild(self, path)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 117, in locateChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = self.checkSacl(request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 107, in checkSacl
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = defer.maybeDeferred(self.authenticate, request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] --- <exception caught here> ---
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 107, in maybeDeferred
2008-03-28 09:57:02-0400 [-] [caldav-8010] result = f(*args, **kw)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 66, in authenticate
2008-03-28 09:57:02-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).authenticate(request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 727, in authenticate
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = self.principalsForAuthID(request, creds.username)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1245, in principalsForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] authnPrincipal = self.findPrincipalForAuthID(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 81, in findPrincipalForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).findPrincipalForAuthID(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1269, in findPrincipalForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] principal = collection.principalForUser(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 90, in principalForUser
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForShortName(DirectoryService.recordType_users, user)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 87, in principalForShortName
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForRecord(self.directory.recordWithShortName(recordType, name))
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 101, in principalForRecord
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForGUID(record.guid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 93, in principalForGUID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForUID(guid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 125, in principalForUID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.getChild(uidsResourceName).getChild(uid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 304, in getChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] self.provision()
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 399, in provision
2008-03-28 09:57:02-0400 [-] [caldav-8010] self.provisionFile()
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 413, in provisionFile
2008-03-28 09:57:02-0400 [-] [caldav-8010] assert parent.exists()
2008-03-28 09:57:02-0400 [-] [caldav-8010] exceptions.AssertionError:
2008-03-28 09:57:02-0400 [-] [caldav-8010]I started getting this error yesterday. All users and group calendar access fails. I can no longer enable calendaring for any user or group. I check the box for a user, save it, click to a different user, come back to the previous user and it is deselected.
I'm ready to put iCal Server aside and move to Chandler or something else. I've introduced this to our staff and we were just ramping up usage. Now it seems to have died on me.
Anyone have a solution? -
When opening the Calendar app, I am greeted with a box that says "This calendar can not be refreshed," and after clicking ok there is another box saying "The server responded with an error." How do I get rid of this. The calendar functions all right, but just have to close both of those boxes after doing any action in the calendar app.
Please take each of the following steps that you haven't already tried, until the problem is resolved. Back up all databefore making any changes.
Step 1
From the Calendar menu bar, select
Calendar ▹ Preferences ▹ Accounts
Choose the affected account from the list on the left and uncheck the box marked
Enable this account
Then check the box again. Test.
Step 2
Make a note of the account settings, then delete the account and add it back with the same settings.
Step 3
If you can't add the account, the settings may be invalid. Verify them. How you do that depends on what kind of account it is. If it's a Google calendar and you've activated 2-step verification, you need to generate an application-specific password in your Google account and enter it in place of your old password.
Step 4
Quit Calendar. Triple-click the line below on this page to select it:
~/Library/Calendars/Calendar Cache
Right-click or control-click the highlighted line and select
Services ▹ Reveal
from the contextual menu.* A Finder window should open with a file named "Calendar Cache" selected.
Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
*If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return. -
hi All,
I have 2 HT, located different AD Site. HT1 located in HO Site, and HT2 located in Branch Site.
User from HO site can send email to branch site, but user from branch site cannot send email to HO site.
I found this error on Queue Viewer Console:
451 4.4.0 Primary target IP address responded with: ""421 4.4.2 Connection dropped due to SocketError."" Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed
to all alternate hosts
disable all receive connector except default connector still no luck. Telnet SMTP to HT1 from HT2 is working fine.
Event Viewer warning, event ID: 2006.
Send connector Intra-Organization SMTP Send Connector: the connection to IPHT1:25 was disconnected by the remote server.
Send SMTP Log:
2014-03-10T07:11:50.624Z,Intra-Organization SMTP Send Connector,08D109CB5D495BDE,19,IPHT2:57231,IPHT1:25,-,,Remote
2014-03-10T07:21:50.716Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,0,,IPHT1:25,*,,attempting to connect
2014-03-10T07:21:50.763Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,1,IPHT2:15741,IPHT1:25,+,,
2014-03-10T07:21:50.825Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,2,IPHT2:15741,IPHT1:25,<,"220 IPHT1.jakarta.com Microsoft ESMTP MAIL Service ready at Mon, 10 Mar 2014 14:21:50 +0700",
2014-03-10T07:21:50.825Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,3,IPHT2:15741,IPHT1:25,>,EHLO IPHT2.jakarta.com,
2014-03-10T07:21:50.872Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,4,IPHT2:15741,IPHT1:25,<,250-IPHT1.jakarta.com Hello [IPHT2],
2014-03-10T07:21:50.872Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,5,IPHT2:15741,IPHT1:25,<,250-SIZE 104857600,
2014-03-10T07:21:50.872Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,6,IPHT2:15741,IPHT1:25,<,250-DSN,
2014-03-10T07:21:50.872Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,7,IPHT2:15741,IPHT1:25,<,250-ENHANCEDSTATUSCODES,
2014-03-10T07:21:50.872Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,8,IPHT2:15741,IPHT1:25,<,250-STARTTLS,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,9,IPHT2:15741,IPHT1:25,<,250-X-ANONYMOUSTLS,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,10,IPHT2:15741,IPHT1:25,<,250-AUTH NTLM,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,11,IPHT2:15741,IPHT1:25,<,250-X-EXPS GSSAPI NTLM,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,12,IPHT2:15741,IPHT1:25,<,250-8BITMIME,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,13,IPHT2:15741,IPHT1:25,<,250-BINARYMIME,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,14,IPHT2:15741,IPHT1:25,<,250-XEXCH50,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,15,IPHT2:15741,IPHT1:25,<,250-XRDST,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,16,IPHT2:15741,IPHT1:25,<,250 XSHADOW,
2014-03-10T07:21:51.091Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,17,IPHT2:15741,IPHT1:25,>,X-ANONYMOUSTLS,
2014-03-10T07:21:51.122Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,18,IPHT2:15741,IPHT1:25,<,220 2.0.0 SMTP server ready,
2014-03-10T07:26:51.590Z,Intra-Organization SMTP Send Connector,08D109CB5D495C06,19,IPHT2:15741,IPHT1:25,-,,Remote
2014-03-10T07:26:51.590Z,Intra-Organization SMTP Send Connector,08D109CB5D495C0E,0,,IPHT1:25,*,,attempting to connect
2014-03-10T07:26:51.636Z,Intra-Organization SMTP Send Connector,08D109CB5D495C0E,1,IPHT2:15794,IPHT1:25,+,,
anyone have a clue?
thanks.
Endrik
Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread.Hi Niko,
I already disable IPv6 and IPv4 checksum offloading, also check the MTU on each HT but still no luck.
I found the following error on the Netmon:
i already tls on receive connector, enable anonymous authentication, still no luck.
any idea?
thanks.
Endrik
Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread. -
RMAN-06444 dbms_rcvman package body created with compliation errors
I am trying to install Recovery manager but I get the above error message "RMAN-06444 dbms_rcvman package body created with compliation errors" and "RMAN-06433 error installing recovery cataolog"
Can someone tell me what I did wrong?My Oracle version is 8i.
I started from scratch again and was able to create a catalog, create a user(RMAN) with sysdba privleges.
But when I try to connect to the target I get insufficient privleges.???
I tried these methods and still have insufficient privleges.
rman target / catalog rman/rman@rcat
rman target system/manager@jem03 catalog rman/rman@rcat
RMAN> connect target
What am I doing wrong?
Thanks for responding by the way.
James -
SM59 check responds with state init/busy
We have a Java application running under Websphere that frequently respond with state init/bus.
If we start SM59 it takes ages and it ends up with an error that the registered server program is in state init/busy.
From time to time the connection is restored and available, but most of the time the Jco application is NOT available.
Output from SM59
Connect Connection error
Errordetails Error when opening an RFC connection
Errordetails ERROR: timeout during allocate of registered progam
Errordetails LOCATION: SAP-Gateway on host UNIX01 / sapgw00
Errordetails DETAIL: TP server01 init/busy for more than 60 sec
Errordetails COMPONENT: SAP-Gateway
Errordetails COUNTER: 76281
Errordetails MODULE: gwr3cpic.c
Errordetails LINE: 1937
Errordetails RETURN CODE: 677
Errordetails SUBRC: 0
Errordetails RELEASE: 700
Errordetails TIME: Fri Apr 16 11:54:49 2010
Errordetails VERSIE: 2
What could be the issue?
Edited by: W. van Veen on Apr 16, 2010 12:25 PMHi William,
the error timeout during allocate of registered progam <em>can</em> show up if the connection is currently busy (used by another process). So this might be a performance issue, if you have for example only one instance of the server registered, yet calls executed on the server take quite a while. So my first recommendation would be to check if this scenario is applicable. If yes, consider registering the server multiple times in SAP (if supported by your application) and also make sure to configure the outbound scheduler properly so that you don't flood the server with too many RFC calls at the same time.
If we start SM59 it takes ages and it ends up with an error that the registered server program is in state init/busy.
I suspect that you it's not the startup that takes long, but you're referring to the connection test from SM59. So if my comments above don't help, at least it sounds like you can reproduce the problem. Thus I'd try the RFC trace generation scenario as described nicely in OSS note [878860 - RFC tracing for ABAP-to-external communication|https://service.sap.com/sap/support/notes/878860]. This might produce some more info that helps you in figuring out the actual cause of the issue...
Cheers, harald -
Problem creating Service POs with BAPI_PO_CREATE1
Hi.
I'm trying to create service POs with data that i read from an excel file, to do this I'm using the bapi: <b>BAPI_PO_CREATE1</b> I'm passing the following parameters:
IMPORT:
- poheader
- poheaderx
TABLES:
- return
- poitem
- poitemx
- poaccount
- poaccountx
- poservices
- posrvaccessvalues
- poservices text
- extensionin
When I execute the bapi, I'm getting the following messages into table return:
<i>W - Error transferring ExtensionIn data for enhancement CI_EKKODB
E - No instance of object type PurchaseOrder has been created. External reference:
E - PO header data still faulty
E - Purchase order date is in the past
I - Change WBS Element could not be effected
E - You cannot maintain service specs. due to incomplete transfer structure</i>
Can anybody, please say me what am i doing wrong? How this bapi works?
Regards.
Gregory.Hello My friend
Check this code:
Code listing for: LZMMIUP001F01
Description: Include LZMMIUP001F01
***INCLUDE LZMMIUP001F01 .
*& Form fill_item
text
-->P_WA text
FORM fill_item TABLES: poitem STRUCTURE bapimepoitem "Item Data
poitemx STRUCTURE bapimepoitemx "Item Data (Change Parameter
USING wa STRUCTURE zlo_mmcnv009
package.
item number
poitem-po_item = wa-itemnum.
poitemx-po_itemx = 'X'.
poitemx-po_item = wa-itemnum.
IF package <> ''.
poitem-pckg_no = package.
poitemx-pckg_no = 'X'.
ENDIF.
*Account Assignment Category
IF wa-category <> ''.
poitem-acctasscat = wa-category.
poitemx-acctasscat = 'X'.
ENDIF.
*Item Category in Purchasing Document
IF wa-itemcat <> ''.
poitem-item_cat = wa-itemcat.
poitemx-item_cat = 'X'.
ENDIF.
*Short Text
IF wa-sortxt <> ''.
poitem-short_text = wa-sortxt.
poitemx-short_text = 'X'.
ENDIF.
*Material Number
IF wa-material <> ''.
poitem-material = wa-material.
poitemx-material = 'X'.
ENDIF.
Unit of Measure
IF wa-undmesure <> ''.
poitem-po_unit = wa-undmesure.
poitemx-po_unit = 'X'.
ENDIF.
*Purchase Order Quantity
IF wa-quantity <> ''.
poitem-quantity = wa-quantity.
poitemx-quantity = 'X'.
ENDIF.
*Net Price in Purchasing Document
IF wa-netprice <> ''.
poitem-net_price = wa-netprice.
poitemx-net_price = 'X'.
ENDIF.
*Plant
IF wa-plant <> ''.
poitem-plant = wa-plant.
poitemx-plant = 'X'.
ENDIF.
*Material Group
IF wa-matgrp <> ''.
poitem-matl_group = wa-matgrp.
poitemx-matl_group = 'X'.
ENDIF.
*Free Item
IF wa-free <> ''.
poitem-free_item = wa-free.
poitemx-free_item = 'X'.
ENDIF.
APPEND poitem.
APPEND poitemx.
ENDFORM. " fill_item
*& Form fill_header
text
-->P_WA text
FORM fill_header USING wa STRUCTURE zlo_mmcnv009
poheader STRUCTURE bapimepoheader "Header Data
poheaderx STRUCTURE bapimepoheaderx. "Header Data (Change Toolbar)
DATA: dia(2), mes(2), ano(4),
vendor(10) TYPE n.
dia = wa-docdate(2).
mes = wa-docdate+2(2).
ano = wa-docdate+4(4).
CONCATENATE ano mes dia INTO wa-docdate.
dia = wa-datestart(2).
mes = wa-datestart+2(2).
ano = wa-datestart+4(4).
CONCATENATE ano mes dia INTO wa-datestart.
dia = wa-datend(2).
mes = wa-datend+2(2).
ano = wa-datend+4(4).
CONCATENATE ano mes dia INTO wa-datend.
Document Type
IF wa-doctyp <> ''.
poheader-doc_type = wa-doctyp.
poheaderx-doc_type = 'X'.
ENDIF.
vendor number
IF wa-vendor <> ''.
IF NOT ( wa-vendor CA sy-abcde ).
vendor = wa-vendor.
poheader-vendor = vendor.
poheaderx-vendor = 'X'.
ELSE.
poheader-vendor = wa-vendor.
poheaderx-vendor = 'X'.
ENDIF.
ENDIF.
Document Date
IF wa-docdate <> ''.
poheader-doc_date = wa-docdate.
poheaderx-doc_date = 'X'.
ENDIF.
purchasing organization
IF wa-organiz <> ''.
poheader-purch_org = wa-organiz.
poheaderx-purch_org = 'X'.
ENDIF.
Purchasing Group
IF wa-purgroup <> ''.
poheader-pur_group = wa-purgroup.
poheaderx-pur_group = 'X'.
ENDIF.
Start of Validity Period
IF wa-datestart <> ''.
poheader-vper_start = wa-datestart.
poheaderx-vper_start = 'X'.
ENDIF.
End of Validity Period
IF wa-datend <> ''.
poheader-vper_end = wa-datend.
poheaderx-vper_end = 'X'.
ENDIF.
Company Code
IF wa-compcode <> ''.
poheader-comp_code = wa-compcode.
poheaderx-comp_code = 'X'.
ENDIF.
Status of Purchasing Document
IF wa-status <> ''.
poheader-status = wa-status.
poheaderx-status = 'X'.
ENDIF.
ENDFORM. " fill_header
*& Form fill_account
text
-->P_WA text
FORM fill_account TABLES poaccount STRUCTURE bapimepoaccount
poaccountx STRUCTURE bapimepoaccountx
USING wa STRUCTURE zlo_mmcnv009.
DATA: account(10) TYPE n.
poaccount-po_item = wa-itemnum.
poaccountx-po_item = wa-itemnum.
*Cost Centre
poaccount-costcenter = wa-coscenter.
poaccountx-costcenter = 'X'.
*Order Number
poaccount-orderid = wa-ordernumb.
poaccountx-orderid = 'X'.
*"G/L Account Number
IF wa-accnumb <> ''.
account = wa-accnumb.
poaccount-gl_account = account."wa-accnumb.
poaccountx-gl_account = 'X'.
ENDIF.
IF NOT ( wa-coscenter = '' AND
wa-ordernumb = '' AND
wa-accnumb = '' ).
APPEND poaccount.
APPEND poaccountx.
ENDIF.
ENDFORM. " fill_account
*& Form fill_schedule
text
-->P_WA text
FORM fill_schedule TABLES poschedule STRUCTURE bapimeposchedule
poschedulex STRUCTURE bapimeposchedulx
USING wa STRUCTURE zlo_mmcnv009.
DATA: dia(2), mes(2), ano(4).
dia = wa-delivdate(2).
mes = wa-delivdate+2(2).
ano = wa-delivdate+4(4).
CONCATENATE ano mes dia INTO wa-delivdate.
*Delivery Date
poschedule-po_item = wa-itemnum.
poschedulex-po_item = wa-itemnum.
poschedule-delivery_date = wa-delivdate.
poschedulex-delivery_date = 'X'.
IF NOT wa-delivdate = ''.
APPEND poschedule.
APPEND poschedulex.
ENDIF.
ENDFORM. " fill_schedule
*& Form fill_header_contract
text
-->P_WA text
-->P_HEADER text
-->P_HEADERX text
FORM fill_header_contract USING wa STRUCTURE zlo_mmcnv009
coheader STRUCTURE bapimeoutheader
coheaderx STRUCTURE bapimeoutheaderx.
DATA: dia(2), mes(2), ano(4).
dia = wa-datestart(2).
mes = wa-datestart+2(2).
ano = wa-datestart+4(4).
CONCATENATE ano mes dia INTO wa-datestart.
dia = wa-datend(2).
mes = wa-datend+2(2).
ano = wa-datend+4(4).
CONCATENATE ano mes dia INTO wa-datend.
Purchasing Document Date
coheader-doc_date = sy-datum.
coheaderx-doc_date = 'X'.
*Item Number Interval
coheader-item_intvl = '10'.
coheaderx-item_intvl = 'X'.
Currency Key
coheader-currency = 'BHD'.
coheaderx-currency = 'X'.
languaje
coheader-langu = 'EN'.
coheaderx-langu = 'X'.
Document Type
IF wa-doctyp <> ''.
coheader-doc_type = wa-doctyp.
coheaderx-doc_type = 'X'.
ENDIF.
vendor number
IF wa-vendor <> ''.
coheader-vendor = wa-vendor.
coheaderx-vendor = 'X'.
ENDIF.
purchasing organization
IF wa-organiz <> ''.
coheader-purch_org = wa-organiz.
coheaderx-purch_org = 'X'.
ENDIF.
Purchasing Group
IF wa-purgroup <> ''.
coheader-pur_group = wa-purgroup.
coheaderx-pur_group = 'X'.
ENDIF.
Start of Validity Period
IF wa-datestart <> ''.
coheader-vper_start = wa-datestart.
coheaderx-vper_start = 'X'.
ENDIF.
End of Validity Period
IF wa-datend <> ''.
coheader-vper_end = wa-datend.
coheaderx-vper_end = 'X'.
ENDIF.
ENDFORM. " fill_header_contract
*& Form fill_item_contract
text
-->P_WA text
-->P_COITEM text
-->P_COITEMX text
FORM fill_item_contract TABLES: coitem STRUCTURE bapimeoutitem
coitemx STRUCTURE bapimeoutitemx
USING wa STRUCTURE zlo_mmcnv009.
item number
coitem-item_no = wa-itemnum.
coitemx-item_no = wa-itemnum.
coitemx-item_nox = 'X'.
*Material Number
IF wa-material <> ''.
coitem-material = wa-material.
coitemx-material = 'X'.
ENDIF.
*Target Quantity
IF wa-quantity <> ''.
coitem-target_qty = wa-quantity.
coitemx-target_qty = 'X'.
ENDIF.
*Net Price in Purchasing Document
IF wa-netprice <> ''.
coitem-net_price = wa-netprice.
coitemx-net_price = 'X'.
ENDIF.
APPEND coitem.
APPEND coitemx.
ENDFORM. " fill_item_contract
*& Form fill_service
text
-->P_POSERVICES text
-->P_T_ITEM text
-->P_ITEMNUM text
FORM fill_service TABLES poservices STRUCTURE bapiesllc
t_item STRUCTURE zlo_mmcnv009
poservices_2 STRUCTURE bapiesklc
USING itemnum packno.
DATA: line(10) TYPE n,
service(18) TYPE n,
packno2(10) TYPE n.
poservices-pckg_no = packno.
packno2 = packno.
packno = packno + 1.
poservices-line_no = '0000000001'.
poservices-outl_ind = 'X'.
poservices-subpckg_no = packno.
APPEND poservices.
line = '0000000002'.
LOOP AT t_item WHERE itemnum = itemnum.
IF t_item-activity <> ''.
IF NOT ( t_item-activity CA sy-abcde ).
service = t_item-activity.
poservices-service = service.
ELSE.
poservices-service = t_item-activity.
ENDIF.
ELSE.
poservices-service = t_item-activity.
ENDIF.
poservices-pckg_no = packno.
poservices-line_no = line. "itemnum.
poservices-ext_line = t_item-line.
poservices-quantity = t_item-quantity1.
poservices-base_uom = t_item-undmed.
poservices-gr_price = t_item-price.
poservices-short_text = t_item-shortxt.
poservices-subpckg_no = '0000000000'.
poservices-outl_ind = ''.
APPEND poservices.
poservices_2-pckg_no = packno.
poservices_2-line_no = line.
poservices_2-SERNO_LINE =
poservices_2-SERIAL_NO =
poservices_2-quantity = t_item-quantity1.
poservices_2-net_value = t_item-price.
APPEND poservices_2.
line = line + 1.
ENDLOOP.
ENDFORM. " fill_service
*& Form fill_pocond
text
-->P_POCOND text
-->P_POCONDX text
-->P_WA text
FORM fill_pocond TABLES pocond STRUCTURE bapimepocond
pocondx STRUCTURE bapimepocondx
USING wa STRUCTURE zlo_mmcnv009.
*Net Price in Purchasing Document
IF wa-netprice <> ''.
pocond-itm_number = wa-itemnum.
pocondx-itm_number = wa-itemnum.
pocond-cond_value = wa-netprice.
pocondx-cond_value = 'X'.
pocond-currency = 'BHD'.
pocondx-currency = 'X'.
pocond-cond_type = 'PBXX'.
pocondx-cond_type = 'X'.
*COND_TYPE
APPEND pocond.
APPEND pocondx.
ENDIF.
ENDFORM. " fill_pocond -
ALE/UPS (Uniform packaging service): Can anybody help me?
Hi experts,
for a new ALE scenario (MM master data distribution) I would like to use the
ALE/Uniform Packaging Service technology. Unfortunately, the SAP documentation is not very helpful. Does someone have experience with Uniform Packaging Service? Can anybody help me?
Thanks in advance!
Regards,
Stefaneven tried other sim its also not working while other sim is operating good in other phone
-
ALE/Uniform Packaging Service
Hi experts,
for a new ALE scenario (MM master data distribution) I would like to use the
ALE/Uniform Packaging Service technology. Unfortunately, the SAP documentation is not very helpful. Does someone have experience with Unfirom Packaging Service?
Thanks in advance!
Regards,
StefanHi Jim,
Thank you very much for the response. I am now using some of the code provided by my fellow coders from another thread, as well as using the provided XMLSigningSerializer.php script. I am experiencing the same response they are experiencing however. Upon using the XMLSigningSerializer.php, I am receiving the incorrect HMAC. There is another thread covering this topic that I will post in after this and we are welcome to carry on the conversation over there if you prefer.
I have created two simple scripts that submit data to the services, one pulled directly from the admin console with the HMAC provided by that service:
<?xml version="1.0"?> <request xmlns="http://ns.adobe.com/adept" action="get" auth="builtin"> <nonce>KXRwPwAAAAY=</nonce> <expiration>2011-07-14T16:52:02-00:00</expiration> <distributorData/> <limit> <start>0</start> <count>24</count> </limit> <hmac>xr0pdfTJUWH5VInPyjjxYDze0+A=</hmac> </request>
The other features an HMAC generated by XMLSigningSerializer.php
<?xml version="1.0"?> <request xmlns="http://ns.adobe.com/adept" action="get" auth="builtin"> <nonce>KXRwPwAAAAY=</nonce> <expiration>2011-07-14T16:52:02-00:00</expiration> <distributorData/> <limit> <start>0</start> <count>24</count> </limit> <hmac>ywtHrHlVgU2XEcx8F00RTD0gxAw=</hmac></request>
I can provide links and code for each of these items if you'd like to see. Given Adobe provided the XMLSigningSerializer.php script, can we expect an update or support for it?
I'm going to go through the XMLSigningSerializer.php script line by line to see if I can notice anything in comparison with UploadTest script, but if the fellow who wrote the script could address it's issues, that would be great.
Thanks very much for your time!
Julie
-Texas
Maybe you are looking for
-
I am a web developer and ever since the Firefox 22 update, sounds no longer play for any users on the website. I have even recreated the problem myself on a clean install of windows 7/clean firefox/clean quicktime install. The sound code worked flawl
-
TV-Out feature in Nokia Phones
Hello, I was about to buy Nokia N79 or Nokia 5800 Xpress Music, and came to know that the TV out feature has been removed from most of the Nokia phones except higher end ones. I was in despair because this feature was really a important for me and ma
-
Hi All, I am looking for tutorials on the following and related topics: creating custom gui components that extend from JComponent event-handling mechanism STFWed and all I got was some examples on how to create them Look they give an idea on how to
-
Why don't I have internet access?
My ipad does not seem to respond to Wi-Fi.. Mi ipad shows that i have internet connection on the top left corner ,but when i tried to use safary it wont let me....What can I do to get safary and my apps working??
-
[Solved] Permission denied when trying to create aur4 repo
I'm trying to follow the steps here to migrate my aur packages to aur4. I've created my public key, edited ~/.ssh/config as described, and copied my public key file to my aur4 account settings. When I run my git clone command I get this: $ git clone