Using WEBDav methods
How can I use WEBDav methods in ABAP.
I like to access Exchange Public folder from SAP side using WEBdav development.
Does anybody know where I can find information on how to do this ?
Thanks
Georg
Hi Georg!
For the starting, have a look at help.sap.com:
http://help.sap.com/saphelp_erp2004/helpdata/en/46/bb1853ab4811d4968100a0c94260a5/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/46/bb184dab4811d4968100a0c94260a5/frameset.htm
Regards,
Christian
Similar Messages
-
File transfer from backend to sharepoint server using WebDAV
Hi,
Currently we are in development process of our product and we have a component called Document Publisher which should publish(upload) the documents to the web folders in the sharepoint server using WebDAV from the backend.
I was able to find some classes in the backend like CL_HTTP_WEBDAV, CL_HTTP_WEBDAV_SKWF etc and these classes have some set of methods which i feel can be used for uploading the documents to another location from the backend. But i am not sure how to achieve this and i was not able to find much of the information about this online.
It would be really great if somebody can help me in this.
Thanks a lot in advance,
KasthuriHi Kasturi,
What you exactly want to do because your query not clearly visible to anyone?
Regards -
WLS 10.0: WebDAV methods are rejected
Hi,
WebDAV methods are rejected with status code 501. There is no basis for this in the specification. The only indication is the strict definition of the "http-method" element in the deployment descriptor, but it has been relaxed again in http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/servlet-2_5-changelog.html, section 5.
There is no reason why the call shouldn't be dispatched to the service method of the servlet. The latter can decide whether or not the method is supported or not.
Regards,
Werner.There is another problem. The methods aren't rejected, but the configured error page causes another servlet to be invoked. The error page is a WAR path to an HTML file. The other servlet has a mapping pattern that matches the error page path. It gets a forward of the original request with the original PROPFIND method, which it doesn't support.
I think the forward is wrong because the WAR path doesn't point to a servlet or JSP page. So SRV.9.9.1 doesn't apply. The fact that there happens to be some servlet for which the path matches doesn't matter. As I understand it the path in the location element of the deployment descriptor should be used to fetch the resource from the WAR file.
Werner. -
Exception while contributing content using webdav
Hi All,
Getting the below exception when i try to check in files using webdav (i.e. from windows explorer), not sure why this is happening ? please provide your inputs for troubleshooting this issue.
Stellent Product Version: 7.5.2
helperservice 04.28 00:11:13.716 IdcServerThread-290730 service exception in COLLECTION_CHECKIN_REVISION[23] -1 doService -1 !csDynHTMLArgumentMessage2,3,<$dAlias$>!syParameterNotFound,dAlias!$
deprecation 04.28 00:11:13.719 IdcServerThread-290730 obsolete method SystemUtils.error() called, use err() instead-exception stack
java.lang.Exception: obsolete method SystemUtils.error() called, use err() instead
at intradoc.common.SystemUtils.reportDeprecatedUsage(SystemUtils.java:767)
at intradoc.common.SystemUtils.error(SystemUtils.java:477)
at webdavextension.WebdavHandler.doPutMethod(WebdavHandler.java:614)
at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:336)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:128)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:73)
at intradoc.server.Service.doCodeEx(Service.java:674)
at intradoc.server.Service.doCode(Service.java:656)
at intradoc.server.Service.doAction(Service.java:580)
at intradoc.server.Service.doActions(Service.java:425)
at intradoc.server.Service.doRequest(Service.java:1860)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:350)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:162)
Thanks,
BharaniHi
syParameterNotFound,dAlias is the core reason why the checkin is failing .
Looks to me that you have a metadata configured on your UCM instance with this name .
So what you can do is to navigate to Administration - Folder Administration - Default Information Inherit - Check the option box for <dAlias metadata> - Update
Set the value for this metadata from CS GUI for the Folder where the checkin is being done .
Then checkin the content to this folder from WebDAV again .
See if the issue still persists .
Thanks
Srinath -
Is it possible to share a Mounted Blank Disk Image using WebDav?
I am trying to find a good solution to give individuals the ability to change files in there hosted websites on the Mac Mini Server (10.6.4), but also having a limited folder size. I have seen a few post on using Blank Disk Image as the share folder. I have created the folder and I can see it contents using a WebDav client, but no matter what permissions I put, anytime I try to upload or delete a file from the image I get a 403 error, saying "Forbidden". I can get the WebDav to work on normal shared folders, so I am wondering if it is even possible to share a mounted blank image using WebDav?
It seems if I make an MS-DOS(FAT) image, I can actually make changes to this image file using WebDav, but I cant see how to changer the permissions of the folder. All the methods I have tried do not actually seem to change the file permissions, they default to read and write for everyone.
I am trying to figure out if I am trying to get something to work that is not even possible. I need to be able to limit the size of a folder, share it with specific groups/users in the Open Directory. It also has to be viewable on both Windows and Mac Systems. FTP does not seem to work, since it gives access to the root. I want to be able to have a student/student group post to a wiki, have a website for there project, but they should only have access to this image....
Does anyone know if you can share a mounted image through WebDav, or if there is another way I can setup multiple folders and have websites point to this folder and give only selected users access to the folder for uploading and sharing files?
Any guidance would be greatly appreciated -
Configuring Calendar Connectivity (Exchange2003 using WebDAV)
Hi,
I am trying to setup a Calendar RM to point to our Exchange 2003 environment using WebDAV.
I have followed the steps as mentioned in
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/3a6f67a7414e35e10000000a1553f6/content.htm
On the step <b>"Creating a WebDAV Transport"</b> it requires a system to be created. If I try to create this system I only have the following options to pick from the <b>com.sap.netweaver.coll.appl.gw</b> PAR file Java_Mail,Lotus_Server,Microsoft_Exchange_Server NO DAVxch.
What am I missing here ?
I can complete all other steps , creating the transport etc. I'm just not sure what to do with the system ?
Any help would be greatly appreciated.Hi Rajesh,
Interesting reading, I'm currently trying to figure out which method to use to retrieve calendar scheduling functionality from Exchange 2003. There doesn't seem to be any pointers in help as to which method to follow. Are you aware of any official selection documentation?
Thanks
Nat -
Not able to reload the data from DB using finder methods
Hi all,
<p>
I am facing a weird problem while using finder methods.
I am using weblogic 8.1 SP3 and entity beans are CMP with DB concurrency.DB is oracle
</p>
<h4>Problem Description</h4>
<p>
I am having one session bean which internally interacts with my entity beans,
Now say my transaction is getting initiated in one of the session bean and I use some finder in it.
</p>
<p>
To make the problem more clear lets say my entity bean is loanBean with loanId as primary key.
Now say method A of session bean initiates the transaction and I use something like
<br>
LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
<br>
<b>Note that I am not using findByPrimaryKey method</b>
<br>
now this method A calls some other method B on some session bean which is having Required as its transaction attribute.
<br>
But before the call of B some other thread or background process updates the DB for this loanId and commits,
<br>
now when I fire the same finder in method B I am still getting the old data, ie I am not getting the data which has been modified in DB and committed by some other thread, I still get the old data and when I tried to generate the SQL queries which weblogic is firing, I see
it fires the SQL for every finder other that findByPrimaryKey.
<br>
<b>
Now my problem is I am getting the old data only and I need the new updated data of DB. isolation-level of DB and beans is READCOMMITTED.
Note:: I cant use new transaction to read the data.
</b>
<br>
And I couldn't understand that when weblogic is firing query for every finder then why it should not refresh the data in its cache. Is there any way to disable this kind of caching and say that everytime when i use finder just go to DB and get me the last committed data.
</p>
<br>
Any help in this regard would be very helpful to me.
<br>
Thanks and Regards
<br>
Manish Garg.
</p>Hi,
In my understanding, cache is not involved in this scenario. As you
observed, the container fires sql every time when you invoke this finder.
So, it should just give the result that it got from the DB. Is there a
possibility that the DB is using repeatable_read or serializable for
isolation level?
You can debug further by doing couple of things -
1. Instrument the code in the generated RDBMS java file for the entity bean
(if you use -keepgenerated option for weblogic.ejbc, u can get the source of
this file). This class will have the implementation for ejbFindByLoanId. You
can just print the result set data after the query is fired.
2. Try the same scenario without the ejb container. Like, write a jsp which
will start a user tx and fire the query twice such that there is an update
between the two queries. Note that, you need to use a TxDataSource to get
the JDBC connection so that it will be tx aware.
--Sathish
<Manish Garg> wrote in message news:[email protected]...
Hi all,
<p>
I am facing a weird problem while using finder methods.
I am using weblogic 8.1 SP3 and entity beans are CMP with DB
concurrency.DB is oracle
</p>
<h4>Problem Description</h4>
<p>
I am having one session bean which internally interacts with my entity
beans,
Now say my transaction is getting initiated in one of the session bean and
I use some finder in it.
</p>
<p>
To make the problem more clear lets say my entity bean is loanBean with
loanId as primary key.
Now say method A of session bean initiates the transaction and I use
something like
<br>
LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
<br>
<b>Note that I am not using findByPrimaryKey method</b>
<br>
now this method A calls some other method B on some session bean which is
having Required as its transaction attribute.
<br>
But before the call of B some other thread or background process updates
the DB for this loanId and commits,
<br>
now when I fire the same finder in method B I am still getting the old
data, ie I am not getting the data which has been modified in DB and
committed by some other thread, I still get the old data and when I tried
to generate the SQL queries which weblogic is firing, I see
it fires the SQL for every finder other that findByPrimaryKey.
<br>
<b>
Now my problem is I am getting the old data only and I need the new
updated data of DB. isolation-level of DB and beans is READCOMMITTED.
Note:: I cant use new transaction to read the data.
</b>
<br>
And I couldn't understand that when weblogic is firing query for every
finder then why it should not refresh the data in its cache. Is there any
way to disable this kind of caching and say that everytime when i use
finder just go to DB and get me the last committed data.
</p>
<br>
Any help in this regard would be very helpful to me.
<br>
Thanks and Regards
<br>
Manish Garg.
</p> -
Passing values from applet using POST method to PHP page
Hello there ;)
I realy need a help here.. I`ve been working all day on sending mail from applet. I didn`t succeed bcs of the security restrictions.
So I decided just to pass arguments into PHP page, which process them and send e-mail to me.
So here is the problem.. I need to send String variables througth POST into my php page. Now I`m using GET method, but I need more than 4000 characters.
My actual solution is:
URL url = new URL("http://127.0.0.1/index.php?name=" + name + "&message=" + message);
this.getAppletContext().showDocument(url,"_self");I really need to rewrite it into POST. Would you be so kind and write few lines example [applet + php code]? I`ve already searched, googled, etc.. Pls don`t copy links to other forums here, probably I`ve read it.
Thanx in advance to all :)hi!
i`ve got some news about my applet.. so take this applet code:
public class Apletik extends JApplet {
public void init() { }
public void start()
try
String aLine; // only if reading response
String parametersAsString = "msg=ahoj&to=world";
byte[] parameterAsBytes = parametersAsString.getBytes();
// send parameters to server
URL url = this.getCodeBase();
url = new URL(url + "spracuj.php");
URLConnection con = url.openConnection();
con.setDoOutput(true);
con.setDoInput(true); // only if reading response
con.setUseCaches(false);
con.setRequestProperty("Content=length", String.valueOf(parameterAsBytes.length));
OutputStream oStream = con.getOutputStream();
oStream.write(parameterAsBytes);
oStream.flush();
String line="";
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
while ((aLine = in.readLine()) != null)
JOptionPane.showMessageDialog(null, aLine);
if(aLine.equals("")) break;
in.close();
oStream.close();
catch (Exception ex)
JOptionPane.showMessageDialog(null, ex.toString());
}here is code of spracuj.php which is on server:
<?php
if(isset($_POST['msg']))
echo('hurray!');
?>it has only 1 problem.. when i test it on my localhost, everything seems to be all right. but when i post it to my server, i got IOException HTTP 400 error code :( where is the problem? please help me, i`m so close :D thanx -
Print using ALV method-set_table_for_first_display
Hi ,
I have developed a report with ALV output , using the method -set_table_for_first_display.
But now I am asked to change it to print the output also in 8/11" sheet.
Please suggest how I can do it.
Thanks & Regards,
RamanaPrint function on the ALV toolbar? Is it there? Or, what I have done upon occasion is put a checkbox on selection panel to indicate printout desired. The loop through the table that is used for the ALV display and output a list report.
-
LOGO required in ALV top of page using factory method
Hi,
I am doing an ALV using factory method of class Cl_SALV_TABLE. Can any one help me about putting a LOGO on the top of page.
Thanks in advance.
AmitavaHi,
In START-OF-SELECTION.
put form to display header
like PERFORM build_header
gr_table->display( ).
then...
in FORM
FORM build_header.
lr_grid TYPE REF TO cl_salv_form_layout_grid,
lr_logo TYPE REF TO cl_salv_form_layout_logo,
create object lr_logo.
lr_logo->set_left_content( lr_grid ).
lr_logo->set_right_logo( 'LOGO_NAME' ).
* Set the element top_of_list
gr_table->set_top_of_list( lr_logo ).
ENDFORM.
thanx. -
Setting value for attribute 'PO_NUMBER_SOLD' using setter method
Hi Experts,
I need to set the value of a screen field according to some condition. I am using setter method of this attribute to set the value but it is not getting changed.
I have written following code in DO_PREPARE_OUTPUT method of implementation class ZL_ZZBT131I_ZCREDITCHECK_IMPL using setter method of attribute
Get Referral Authorization Code
lv_val1 = me->typed_context->crechkresph->get_po_number( attribute_path = 'PO_NUMBER' ).
me->typed_context->crechkresph->set_po_number( attribute_path = 'PO_NUMBER'
value = ' ' ).
while debugging I found that in method set_po_number set_property method has been used:--
current->set_property(
iv_attr_name = 'PO_NUMBER_SOLD' "#EC NOTEXT
iv_value = <nval> ).
In set_property method following code is getting executed
if ME->IS_CHANGEABLE( ) = ABAP_TRUE and
LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY.
if <VALUE> ne IV_VALUE.
if ME->MY_MANAGER_ENTRY->DELTA_FLAG is initial.
first 'change' -> proof that entity is locked
if ME->MY_MANAGER_ENTRY->LOCKED = FALSE.
if ME->LOCK( ) = FALSE.
return.
endif.
endif.
flag entity as modified
ME->MY_MANAGER_ENTRY->DELTA_FLAG = IF_GENIL_CONTAINER_OBJECT=>DELTA_CHANGED.
endif.
ME->ACTIVATE_SENDING( ).
change value
<VALUE> = IV_VALUE.
log change
set bit LV_IDX of ME->CHANGE_LOG->* to INDICATOR_SET.
endif.
else.
check if it is a real read-only field or a display mode violation
assert id BOL_ASSERTS subkey 'READ-ONLY_VIOLATION'
fields ME->MY_INSTANCE_KEY->OBJECT_NAME
IV_ATTR_NAME
condition ME->CHANGEABLE = ABAP_TRUE.
endif.
and in debugging I found that if part ( ME->IS_CHANGEABLE( ) = ABAP_TRUE and
LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY) fails and hence else part is getting executed and hence my field a real read-only field or a display mode violation is happening according to comments in code.
What shall I do so that I would be able to change the screen field value?
Any help would be highly appreciated.
Regards,
VimalHi,
Try this:
data: lr_entity type cl_crm_bol_entity.
lr_entity = me->typed_context->crechkresph->collection_wrapper->get_current( ).
lr_entity->set_property( iv_attr_name = 'PO_NUMBER' value = '').
Also, make sure the field is not read-only.
Regards
Prasenjit -
How use the method hasPermission in weblogic server 6.1
Hello everybody !
In my application web ,i restrict access to some ressources (some jsp)
to some specified groups .
So,i create permissions in the file web.xml , as indicated in the doc
6.0 .
For example only the user : system can access to all the jsp , and the
others users no .
Now ,in my code ,I would like to use the method hasPermission in order
to modify my application according to the differents groups of users .
But my problem is that i don't know the parameter aclName !
For the parameter permission I use the syntax "new
weblogic.security.acl.PermissionImpl(".../x.jsp") .
For the parameter sep (char),i use : '.' .
But i don't find the parameter aclName .
When i was in weblogic 5.1 ,i created permission in the file
weblogicURL.policy with the syntax : " Permission
weblogic.security.acl.URLAcl "weblogic.url",".../x.jsp" " and after
i gave "weblogic.url" as parameter for aclName .
But in version 6.0, I try web.xml, web ? but nothing is good .
Is there any person which have an idea or the solution ?
All the sugestions are welcome !
Thanks by advance !
Good bye .hi,
maybe a better approach could be to use roles instead of permissons.
Your menu.jsp could look like this:
<%
if(request.isUserInRole("super-user"))
%>
... code HTML where the button "Creation" is created
<%
%>
You can map the role 'super-user' to an individual principal or a
user group in weblogic.xml. In that case only users that are in
the mapped group/principal will see the 'creation' link. So simply
add user 'system' to a group 'super-user'.
regards,
przemek
Marc Alfonsi schrieb:
Hi Kirann and everybody!
Thanks for your message .
I'm going to explain better than the first time .
I set up security-constraints in my web.xml .
For example only "system" can access to the directory Creation and
all its .jsp , and the others users no .
Now ,in my code , there is a jsp : menu.jsp which displays some
possibilities : creation of an employee , visualisation ...with HTML
code : button "Creation" which call a .jsp of the directory Creation .
Actually , if a user different of "system" try to click on the button
"Creation" there is a dialog box of login . The user writes its loggin
but the access is prohibited ( because security-constraint in web.xml
).It's normal but not very well .I would like that a user who don't
have access to the functionality "Creation" don't see the button
"Creation" !
So in menu.jsp , i would like to use the method hasPermission at the
location of the button "Creation" is created with HTML code :
<%
if weblogic.security.acl.Security.hasPermission(.....,new
weblogic.security.acl.PermissionImpl("/Creation/x.jsp"),'.')
%>
code HTML where the button "Creation" is created
<%
%>
But my problem is that i don't know the first parameter which
correspond
to aclName .
Any suggestions are welcome .
Thanks for help . -
When I launched itunes on my new computer, I plugged my phone into it and turned on imatch. So now my library on my new computer is filled with music files. I am pretty sure that these files are not permanent and that they are only there because of icloud and imatch. I want the files to be permanent so I thought it would be best to use the method described above to transfer files with an external hard drive.
Should I erase all the music files on my new computer's itunes before I get started? My new computer is operating with Windows 8.Hey sunrise5656,
Great question. The current configuration you have can potentially be permanent as you want. You simply have to download all of the iTunes Match songs to the computer using the cloud download icon:
iTunes 11 for Windows: Access all your music anytime, anywhere with iTunes Match
http://support.apple.com/kb/PH12492
You can play songs directly from iCloud, or you can download songs so you can play them when you’re not connected to the Internet.
If a song is available in iCloud, it has a Download button next to it.
Thanks,
Matt M. -
Query on integrating windows file server into SAP KM using WEBDAV
hi
I have sucessfully integrated windows file server into SAP KM using WEBDAV. I have query in it regarding the possible validation against the portal Database user. Can we configure such that the user comparison happens for LDAP as well as database user. Have anyone configured such a scenario?
Regards,
Ganesh NHi Ganesh,
this should work in principle.
However you would need a user in Active Directory for each user in the portal database that should connect to the file server if you are using the SSO22KerbMap Module as I assume.
In my whitepaper I have mentioned this for the internal user index_service that does only exist in the portal database.
Best regards,
André -
Can i use 2 methods to deploy icon files in Oracle IDS?
Dear all,
I'm using Oracle 9IDS(Forms) and i'm trying to use 2 methods to deploy icon file:
-In development phase, i use defaul.icon.path and defaul.icon.extension in registry.dat file and imagebase=documentbase. My icon are well deploy when i run application from form builder.
-In deployment phase, on the same plateform, i use jar file following these steps:
1- I store jar file in same directory with all runtime files(fmx, mmx, etc.)
2- i create a virtual path(/forms90/Tel/) to map with this directory
3- in formsweb.cfg, i put the following line:
[myapp]
imagebase=codebase
archive_jini=f90all_jinit.jar,/forms90/Tel/images.jar
When i call my application directly (http://localhost:8889/forms90/f90servlet?config=myapp),
icons don't appear.
I would like to know, what's wrong?It's possible to use theses both methods for deploy icons on the same plateform?
Thank u for your helpHi Franck,
I thank that red correctly the document(how deploy icon on web).But that isn't the matter.I update my formsweb.cfg as you advise me
[myapp]
archive_jini=...,/forms90/images.jar
imagebase=codebase
Icon don't appear at runtine while other gif files(splashscreen,logo) appear.Notice these others gif files are compressed in the same jar file. Notice also, that when i use default.icon.path parameter in registry.dat file, icons are well deployed.
It's incomprehensible.
Thanks you for your help!
Maybe you are looking for
-
Payment Order generation through F110
Hi Dear one, Our business requirment is they want to run the payment order based on Vendor invoice due dates(eg:if one vendor has number of invoices we want to run the payment based on invoices due dates ) your intime reply is highly appreciated Tha
-
Can't Turn Of "shake to shuffle"!!!! iTouch 2G iOS 4.2.1
I feel I have a very unique problem, I can't turn off the Shake to Shuffle mode (I'm going to call it S2S.) Before you say it, I know HOW to turn it off, but it won't actually let me. Actually, I can't change any of the settings in the "music" tab un
-
Preparing the Assignment of the BW/SUS User to a Business Partner ID
Hello people, i need help in this following scenario...any help would be deeply appreciated. When a new user is created in the SAP SUS system, it will automatically be created in SAP BW, too. At the same time, an internal table (SRM_USER_SUPBPID) is
-
Cannot Install Acrobat 9 Pro after Installing IE8
The story... Running Vista Business. I've been running Acrobat 9 Pro for a while now. I have since upgraded my browser from IE6 (default install) to IE7 to IE8. Today I decided to uninstall/reinstall Acrobat 9 Pro to troubleshoot an issue. All of
-
The screen rotation is locked... not sure how to get that unlocked?!
Hello, the screen rotation is locked on my ipod touch. I have no idea how it got that way and can not find how to turn it off. Please help!