How can I read cookies in WebDynPro for Java
Hi,
in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
debugEnabled = (request.getParameter("Debug") != null);
With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
Has anybody an idea, how I can read cookies in WebDynPro for Java ?
Regards
Steffen
Hi,
This is the latest update I could look for regarding cookies and webdynpro.
Panic - WebContextAdapter is depracted - no more cookies now?
Regards,
Harini S
Similar Messages
-
How to convert .ear file of webdynpro for java application to webdynpro pro
Hi All,
I have a .ear file which belongs one web dynpro for java application.
I do have other information about the same.
I need to convert it into a web dynpro project and use it in NWDS to make changes.
How can I do it? I could not find any solution on SDN.. I hope I get here...
Thanks and Regards,
Aditya Deshapnde
Edited by: Aditya Deshpande on Nov 23, 2010 1:55 PMHi Friend,
This is almost not possible even if you have Java Decompiler -- WD has a lot compile(design)-time only artifacts that are not exist in generated EAR.
Hope this is help full for u.
Regards
Vijay Kalluri -
How can Adobe Reader XI be optimized for documents requiring digital signatures?
ver. 11.0.5
environment: vmware view (virtual desktops)
Issue: Opening PDF forms with digital signatures take 2-3 minutes which is unacceptable for our users. Request technical assistance to mitigate this issue. Thanks,Does the problem happen when you use native machine, as opposed to VMware View? Which OS do you use?
-
I have real complex data (i,q data) for the ISAR imaging. I don't have any knowledge of Labview programming. I bought this signal processing toolset to use only stand-alone time-frequency analyzer.
In the LabVIEW functions palette on the block diagram, if you go to Numeric>>Complex you have to VI's that splits a complex number into rectangular or polar components. Click on the help file for those VI's to see the kind of datatypes you can wire to them.
Cyril Bouton
Active LabVIEW Developper -
How to connect to BAPIS Using webdynpro for java?
Hi guys ,
I am new to sap world . Can any body give overview how to
connect BAPIS FUNCTION MODULES using in webdynpro?Hi Ramana,
Welcome to SAP world.
You have lot of tutorials at SDN on the using BAPI's in WebDynpro.
Please go through this link and follow the tutorial :
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
Make sure you configure your SLD and create JCO connections which is also given in the above link.
Also go through the following link.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm
Do get back incase u need further explanation.
All the best.
Thanks & Regards,
Vijith -
How to invoke Workflow and UWL through Webdynpro for Java
Hi,
In my Development Component there are three applications .The requirement is that the data will flow between one application to another only through workflow in
UWL.
Can anybody help me out as to how to invoke workflow programatically from Webdynpro for Java .
After data goes from one application to workflow UWL, how the second application will work on it . If possible please send me the links of some tutorials .
I searched in Webdynpro Tutorials site but there are no tutorials available there .
Thanks a lot .Hi,
Check the following Threads,U will get lot of details......
WebDynpro application that can work with SAP workflow work items?
/thread/142477 [original link is broken]
Configuring UWL with WebDynpro
/people/niharika.jeena/blog/2006/06/06/launching-webdynpro-from-universal-worklist
Sample Application,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how%20to%20configure%20the%20universal%20worklist.pdf -
Flex with webdynpro for java using Flex Island
Hi Friends,
I am on Netweaver/SAP Enterprise Portal 7.0 SPstack12, I am developing UI for BI reports using VC, I am interested in developing UI using flex and want to integrate those apps with EP, I came to know flux Island supports flux with webdynpro java, basically I am a webdynpro for java developer, I want to develop flux applications with webdynpro for java in NWDS. And i want to know how to use Flex Island with webdynpro for java. So could u please post some useful links.
Thank in advance
Regards
sambaHi
If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.
The following link may help you in building the WDJ component with Flash Islands..
The specified item was not found.
If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
Thanks.
Chitrali -
Accessing portal roles in webdynpro for java
Hi,
Please let me know how to access portal roles in webdynpro for java.
Rgds,
PatanaHi ,
Please use this API to access the portal roles:
IRoleFactory fact=UMFactory.getRoleFactory();
Also see this code to get more information of role using code:
IRoleFactory rolef=UMFactory.getRoleFactory();
IRoleSearchFilter searchfilterrole= rolef.getRoleSearchFilter();
ISearchResult searchResult = rolef.searchRoles(searchfilterrole);
while(searchResult.hasNext())
String unq=(String) searchResult.next();
IRole role1=rolef.getRole(unq);
String roleName = role1.getDisplayName();
String roleID = role1.getUniqueID();
// Once you get the informationof role you can use it in your application as per your requirement.
Also please note that:
You should add "com.sap.security.api.jar" to your project`s java build path for getting the Portal Security API's.
I hope this solves the problem. Please revert back incase you need any further informationon this.
Thanks and Regards,
Pravesh -
Accessing knowledge management documents using webdynpro for java
Dear all,
iam having some documnets in KNLOWLEDGE MANAGEMENT documents folder in portal using webdynpro for java clicking on a link means perner(employee no) i should get that perpicular employee number documents.
examples documents are stored like this in knowledege management folder 20016319.pdf , 20016397.pdf , 20016398.
how to access those employee using webdynpro for java for perticular employee number if i want 20016319
Send me the code for above requirement and where i have to wrirte that code exactly
RegardsDear Kishore,
To get the Employee ID you have to create a Adaptive RFC Model (call BAPI) which will return you the employee pernr, for this
1. Create a model using : BAPI_EMPLOYEE_GETDATA
2. Get User ID using the code
public java.lang.String getUserID( )
//@@begin getUserID()
String userID = new String();
try
// getting Logged in userid
IWDClientUser myUser = WDClientUser.getCurrentUser();
userID = myUser.toString().substring(19).trim();
StringTokenizer filterdUID = new StringTokenizer(userID,")");
userID = filterdUID.nextToken();
catch (WDUMException e)
e.printStackTrace();
return userID;
//@@end
3. Execute the BAPI
public java.lang.String getEmployeeID( java.lang.String userID )
//@@begin getEmployeeID()
String employeeID = new String();
Bapi_Employee_Getdata_Input employeeData = new Bapi_Employee_Getdata_Input();
Bapi_Employee_Getdata_Output outData = new Bapi_Employee_Getdata_Output();
Bapip0105B comm = new Bapip0105B();
com.sap.aii.proxy.framework.core.AbstractList list = new Bapip0105B.Bapip0105B_List();
list.add(comm);
employeeData.setUserid(userID);
Calendar cal = Calendar.getInstance(Locale.UK);
Date date = new Date(cal.getTimeInMillis());
employeeData.setDate(date);
employeeData.setAuthority_Check("");
employeeData.setCommunication(list);
outData.addCommunication(comm);
wdContext.nodeBapi_Employee_Getdata_Input().bind(employeeData);
wdContext.nodeOutput_BAPI().bind(outData);
try
wdContext.nodeBapi_Employee_Getdata_Input().currentBapi_Employee_Getdata_InputElement().modelObject().execute();
wdContext.nodeOutput_BAPI().invalidate();
catch (WDDynamicRFCExecuteException e) {printMsg("Failed to Obtain Employee Data");
e.printStackTrace();
employeeID = wdContext.nodeBapi_Employee_Getdata_Input().nodeOutput_BAPI().nodeOrg_Assignment().currentOrg_AssignmentElement().getPerno();
return employeeID;
//@@end
Hope it Helps!!
Warm Regards
Upendra Agrawal -
How can i read local excel file into internal table in webdynpro for abap a
Could someone tell me how How can i read local excel file into an internal table in webdynpro for abap application.
thank u for your replyDeep,
File manuplations...............................
1. At the presentation level:
->GUI_UPLOAD
->GUI_DOWNLOAD
->CL_GUI_FRONTEND
2. At the application server level:
->OPEN DATASET : open a file in the application server for reading or writing.
->READ DATASET : used to read from a file on the application server that has been opened for reading
-> TRANSFER DATASET : writing data to a file.
-> CLOSE DATASET : closes the file
-> DELETE DATASET : delete file
If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......
call function 'GUI_UPLOAD'
exporting
filename = p_file
filetype = 'ASC'
has_field_separator = '#'
tables
data_tab = t_data
p_file : excel file path.
t_data : internal table
<b>reward points if useful.</b>
regards,
Vinod Samuel. -
How can I read mail attachment for making it to the payload?
Hi everybody,
in the following my scenario:
I have an incoming message with attachment by the mail sender adapter using PayloadSwapBean (because of other messages I have to use the bean). I want to send this attachment by using the mail receiver adapter to fix E-mail-address keeping the FromMailAddress, the MailSubject and the FileName
without the metadata as additional attachment.
I have found a thread where it is explained how to handle "payload as mail attachment and dynamic filename" by java-mapping. So far so good. My question is: How can I make my attachment to be the payload? How can I read the attachment by java-mapping?
Thanks for help.
Reagrds,
Sebastian LinkeUSe payloadSwapBean for this to swap your payload and attachment
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Rajesh
Edited by: Rajesh on Feb 5, 2009 5:29 PM -
I downloaded the ipad app for kindle, my wife has the app on her iphone also with several books that she has downloaded to her iphone, how can i read these books on my ipad?
By sharing the same Amazon account on each device. You may also have to use the same Apple ID and password.
-
How can I read the trace data into LabVIEW for E5071B
HI
I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
Many ThanksYou want to start with the driver
In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it. -
Who can tell me how to find the leave request Webdynpro for ABAP iview
Hi,Expert,
As I know Portal only has Webdynpro for java iview for leave request iview in the past.
but someone tell me SAP portal has delivered some new standard WebDynpro for ABAP iview.
I have a requirement to create a employee role for new Leave Request service created by WD ABAP . Under Content Provided by SAP in Content Administration, I couldn't find the iView assocated to the leave request except the Java one. Is there have any Employee Self-Service Web Dynpro ABAP workset ?
thanks
OliviaThe business package for ESS based on Webdynpro for ABAP is available only for ECC 6.0 EHP5.
If you are on EHP5, you may choose to use this version of the BP.
http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/340b0507434193adbfe3f8fc8896c7/frameset.htm
Leave Request application:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/1f/a073be62744fcca7e1fae9942f0031/frameset.htm
Thanks,
Shanti -
How to access(connect) BI Data in webdynpro for java applications
Hi ,
is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
if not how to integrate the BI data in webdynpro applications ?
Regards,
GovinduHi,
Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
You can use DBlink(which i have done).
Please refer the link below:
[Link|Data from BW to Oracle.;
This I have done in NW04s. Not sure whether a better solution is available in the newer release.
Hope it helps.
Regards,
Manoj
Maybe you are looking for
-
Using keypad on wireless keyboard to enter passwords won't work in safari
I have an iMac and I am using an apple wireless keyboard. Whenever I try and type in a password that has numbers in it and I use the keypad, the password is not recognized. I do not have the mouse function turned on. The keypad works fine in all othe
-
[solved]Booting a LVM logical volume spanned across two LUKS paritions
I have two partitions formatted as LUKS that both physical LVM volumes for a logical LVM partition that holds my root filesystem. I can't seem to figure out what the kernel line should be. I tried specifying cryptdevice twice, but it seems to only
-
Converting date format yyyy-mm-dd to mm/dd/yyyy
Hi, I need help converting the above date format. In the database the date is stored as a VARCHAR with the format yyyy-mm-dd but I would like it changed to DATE with the format mm/dd/yyyy. I tried the following and I keep getting invalid month select
-
I need to set up my color printer for blackink printing on both sides as default
Printer: HP Officejet Pro 8500
-
why not invent a tablet with a i5 or i7 reader, DVI, USB ... who would wear the name of ipac or imad