How to change parameter ALLOW_BROWSER in web-dynpro ?
hi,
i have a request where i have to change the property ALLOW_BROWSER in a web-dynpro from NO to YES.
when i get in portal content administration this property is NOT changeable. the value NO is 'undergreyed' as well
as the property CachingLevel
Hi
have a look on this thread
1. Problem with getting table element's table row
2.How to select the entire row by selecting the checkbox in a table
BR
Satish
Similar Messages
-
How to do parameter binding in web dynpro
My Web Service expects an input object called "Token " which consistes of
Token id, Provider -
both strings
Web service is checkUser
I did mapping and all those things . In my UI(automatically created), i'll take the input from user for Token id and Provider. and on action of button iam calling the web service like this
wdContext.currentRequest_CheckUser_checkUserElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
in init method i have binded the request like this
Request_CheckUser_checkUser req = new Request_CheckUser_checkUser();
wdContext.nodeRequest_CheckUser_checkUser().bind(req);
This were the 4 lines of code . Now i get excpetion like this
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Token] of class [com.intellect.model.proxies.types.CheckUserRq] must exist and can not be null. This is required by schema description.
pls helpHi sujesh,
U have to set the internet settings like ip address and all in the <b>Logical ports</b>. u can find this when u import ur webservice model u 'll get this logical ports in the tree structure just below the model classes.
and one more thing just try the url of the webservice in the internet explorer if u r able to open it or not.
if u r able to do this then, how r u accessing ur internet?? where r u deploying ur application ?? is that server having that internet access and through which ip??
just check all this and let me know...
Sirisha. -
How to call custom themes for Web Dynpro ABAP Application?
Hi,
I need to change the appearance of Web Dynpro ABAP application. So far I followed below steps,
1. Created theme folder u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019 ).
2. used program BSP_UPDATE_MIMEREPOS to dowmloaod content of u2018sap_tradeshowu2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> sap_tradeshowu2019) to desktop.
3. Modified the themes using Eclipse Theme Editor.
4. used program BSP_UPDATE_MIMEREPOS to upload modified themes to MIME repository u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019) .
My current URL is like http://server.name:XXXX/sap/bc/webdynpro/sap/hrrcf_a_startpage_int_cand?sap-client=XXX.
Now I want to know how custom themes called for Web Dynpro ABAP Application.
Is my approach correct?
...NaddyHi Naddy,
What you used is one way and even I failed when tried that method,
Instead go to SE38 - WD_THEMES - and you need to upload the zip file and you need to follow a folder structure.
it is case sensitive, atleast the zip file.
Make a zip file by name "Project.zip" -
Create a Folder Project and have the below folder structure,
1 data - all the properties files and also the designinfo file, below is the code
2 themes - (to get all the files download the theme from portal and you will have all the folders)
2.1 ur
2.1.1 name of the theme
2.1.1.1 common
2.1.1.2 csf
2.1.1.3 r
2.1.1.4 ur - all the css files (would be good if you can get the files from the server.)
2.1.1.5 WSRP
3 war - empty folder
*.designinfo
isVisible=true
version=7.0.14.1.0
isDefault=false
isSapDesign=false
designName=**** name of the theme
Once done create a zip file and click on Start Import and give the path and will ask for transport request, it will take a while to upload once done as mentioned in the use the parameter sap-ep-themeroot="path"
This will resolve the issue.
Cheers-
Pramod
reward points if helpful -
Change style of ABAP web dynpro
Hi,
I have to change the style / color of an ABAP Web Dynpro application at one of our customers.
So the standard blue background must be white and the dark blue heading backgrounds should be green for example.
How can I do this?
Is there a guide to do it?
Thanks in advance and kind regards,
BartHi Jan,
Even i have done the same process for changing background theme for web dynpro application.
My requirement is to upload background image for the theme , i achieved it by changing the css file and uploading back to the custom folder and calling folder in application parameter.
But i am facing lot of issues listed below.
1.)In the application F4 help, pop up window and dropdown are not working
2.)Even for standard applications also facing similar situation
I don't know how to resolve this issue?
My SAP System version is SAP-BASIS Release 702 Level 007 -
How to call PDF file in Web Dynpro Appl?
How to call PDF file in Web Dynpro Appl?
Hi Gobinath,
1. Create a value attribute of type byte called pdfSource.
2. Insert an UI element called Interactive Form in your layout
3. Set the source property of this Interactive From UI element to the context pdfSource.
4. Insert a button which would open your pdf file.
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
byte[] bytes = contextElement.getPdfSource();
try
File file = new File("C:
temp
example.pdf");
FileOutputStream os = new FileOutputStream(file);
os.write(bytes);
os.close();
catch (IOException e)
// do something
e.printStackTrace();
//@@end
Warm Regards,
Murtuza -
Regarding how to pass the data from web dynpro to workflow
hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijayCheck this [thread|SAP_WAPI_START_WORKFLOW;
-
How to pass the data from web dynpro to workflow.
hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijayHi
you can use function module
data ls_input_container TYPE swr_cont.
data lt_input_container TYPE TABLE OF swr_cont.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
EXPORTING
task = ptask
IMPORTING
return_code = lv_return_code
new_status = lv_new_status
TABLES
input_container = pinput_container
message_lines = lt_message_lines
message_struct = lt_message_struct.
where you pass the data in imnternal table "pinput_container" as
ls_input_container-element = 'KUNNR'.
ls_input_container-value = ls_skna1-kunnr ."wd_this->lv_kunnr.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'CLUSER'.
ls_input_container-value = lv_cluser.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'BUKRS'.
ls_input_container-value = lv_bukrs. " youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'VKORG'.
ls_input_container-value = ls_sknvv-vkorg. " youe value as per requirement
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'VTWEG'.
ls_input_container-value = ls_sknvv-vtweg. "youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
ls_input_container-element = 'SPART'.
ls_input_container-value = ls_sknvv-spart. "youe value as per requirement.
APPEND ls_input_container TO lt_input_container .
*Also Forgot to mention where ptask is your workflow ID *
Regards,
Arvind
Edited by: Arvind Patel on May 14, 2010 7:38 AM -
How to send a mail through web dynpro application
Hi
How to send a mail through web dynpro application?
ThanksHi ,
Please post some more details about your query .
One way is to can use LinkToUrl UI element and in the reference property of the UI element , give it as mailto:mail addess
Thanks.
aditya. -
How to put water mark in web dynpro abap Adobe forms
Hi
Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
actually I need to print water mark as back ground in gray color.
Points will be rewarded of Helpful answer..!
Regards,
SidramHi,
for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
Besides, there's an Adobe forum where you might get more information for such Adobe questions.
Regards, Heidi -
HOW WE CAN DISPLY DATE IN WEB-DYNPRO
Hi friend,
i want to one example to up load the date format in web-dynpro abap.
THAHi Vikash,
>
vikash wrote:
> Hi friend,
>
> HOW WE CAN DISPLY DATE IN WEB-DYNPRO
>
> THA
if you want to see date calender help in your view, you have to add an input field in the view and bind it with a context attribute of type dats.
Regards
Pranav -
How to make color screen in Web dynpro appl?
How to make color screen in Web dynpro appl?
Hi Gobi..
<u><b>Go thorugh the follwing links</b></u>
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/forum.jspa%3FforumID%3D52
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
<u><b>Tutorial</b></u>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20edit%20web%20dynpro%20themes.pdf
<u><b>Setting the Theme</b></u>
http://help.sap.com/saphelp_nw2004s/helpdata/en/1e/535d420447e054e10000000a155106/content.htm
<u><b>Configuration</b></u>
http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
Regards,
GS
Message was edited by:
Sathishkumar GS
Message was edited by:
Sathishkumar GS -
How to decrease performane of a web dynpro abap application
Hi Folks,
I am new to web dynpro abap .pls tell me how to decrease performane of a web dynpro abap application but dont say by using icm tracking and wd_trace_tool.that are used to find out errors?>You mean to say we can use Runtime analysis and SQL trace in WDABAP?
Yes, that is exactly what I mean.
>I Thomas i need e learning tutorials created by you.I am new to WDABAP.if possible try to send URL of your e learning tutorials
They are all available here on SCN in the Web Dynpro ABAP eLearning library:
http://www.sdn.sap.com/irj/scn/webdynpro-elearning -
How do I connect my netweaver web dynpro
How do I connect my netweaver web dynpro to the portal? how do i arrange the iviews? how do i add the iviews?
hi,
You can create webdynpro iviews in portal in two ways.
1) from iview template &
2) from webdynpro java applications.
If you create from the 1st one, you have to provide two parameters of the webdynpro application.
i) namespace
ii) application name
you can find these namespace & application name from content admin --> webdynpro --> open your webdynpro project > open the application. you will find two columns.
left side name is the namespace (eg: local/firstproject) & right side you will find application name.
If you create iview from 2nd menthod, the following is the link contains creation of webdynpro iview.
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9]
hope this helps you
regards,
vv. -
How to browse local file using web dynpro
hi everyone
How can I browse local file using Web Dynpro?And read file names into Context or array. I have tried the following code but its not working
String resourcePath = WDURLGenerator.getResourcePath();
String depObjResourcePath = WDURLGenerator.getResourcePath(Test);
WDDeployableObjectPart appPart = WDDeployableObject.getPart(Test, TestApp, WDDeployableObjectPart.APPLICATION);
help required urgently
Thanks & Regards
Jaspreet KaurReply in
how to browse local file using web dynpro
Regards,
Ashwani Kr Sharma -
Pass a parameter in a Web Dynpro Application
Hi,
I have a Web Dynpro that Calls a RFC. This RFC needs a parameter (user ID from portal) in order to obtain Info. from the R/3 System.
I do it with based on the article which calls a bapi "BAPI_FLIGHTLIST".
The application runs OK when I type the parameter (user ID) in an "input field", it only return the information needed (method button) from R3. Now, if I want to get the parameter (user ID) automatically from the Web Dynpro ( the user who Logon into the portal) the application does not work.
I try with this code but isn't work.
wdContext.currentZrfc_Prueba_Portal_InputElement().setZusuario(userid);
How can I set the parameter (Zusuario) in my input field automatically and after I press the button (method) return my info.???
Here is the code.
The method wdDOInit
Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
The method that Execute a RFC
//@@ Begin Take USer
String userid="";
try {
IWDClientUser user = WDClientUser.getCurrentUser();
userid = user.getSAPUser().getUniqueName();
} catch (WDUMException e) {
e.printStackTrace();
//@@ End Take USer
//@@ Begin Set the login user to Zusuario parameter
wdContext.currentZrfc_Prueba_Portal_InputElement().setZusuario(userid);
//@@ End Set the login user to Zusuario parameter
//@@ Begin Method that execute the RFC
try {
wdContext.currentZrfc_Prueba_Portal_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
wdComponentAPI.getMessageManager().reportSuccess(
"Execute whit the user: "
+ wdContext
.currentZrfc_Prueba_Portal_InputElement()
.getZusuario().toString());
} catch (Exception e) {
e.printStackTrace();
wdComponentAPI.getMessageManager().reportException("Caution " + e);
//@@ End Method that execute the RFC
Any help will be rewarded.
Regards
DarioHi Bala Duvvuri,
I taste your code but isn't work.
This the method wdDoInit
public void wdDoInit()
//@@begin wdDoInit()
Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
//@@end
This the method ExecuteRFC
public void ExecuteRFC( ) {
//@@begin ExecuteRFC()
Zrfc_Prueba_Portal_Input input = new Zrfc_Prueba_Portal_Input();
wdContext.nodeZrfc_Prueba_Portal_Input().bind(input);
//@@ Begin Take USer
String userid="";
try {
IWDClientUser user = WDClientUser.getCurrentUser();
userid = user.getSAPUser().getUniqueName();
} catch (WDUMException e) {
e.printStackTrace();
//@@ End Take USer
//@@ Begin Set the login user to Zusuario parameter
input.setZusuario(userid);
//@@ End Set the login user to Zusuario parameter
//@@ Begin Method that execute the RFC
try {
wdContext.currentZrfc_Prueba_Portal_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
wdComponentAPI.getMessageManager().reportSuccess(
"Execute whit the user: "
+ wdContext
.currentZrfc_Prueba_Portal_InputElement()
.getZusuario().toString());
} catch (Throwable e) {
e.printStackTrace();
wdComponentAPI.getMessageManager().reportException("Caution " + e);
//@@ End Method that execute the RFC
//@@end
Regards
Maybe you are looking for
-
There was an error processing a page. a number is out of range.
When I open a PDF generated from a classic ASP application, some particular documents fail when accessing a page: there was an error processing a page. a number is out of range. This only happens in Adobe Reader 10 and 11. The ASP page has a code sim
-
When using Firefox 5 i cannot complete the action of attaching a document (google doc or uploaded doc) to an event in Google Calendar. This action does work correctly in ie and chrome, so it seems to be a compatibility issue. When i get as far as sel
-
Example application to connect to BI system
Hi, Can any one tell me how to connect to BI system In web dynpro java And create chart and table. Regards, H.V.Swathi
-
Good day! I'm working on AIR mobile application for iOS. This is a great feature on iOS which can show the static image before the AIR is initialized. But my app has a really lot of content. When the AIR is initialized user can see the black screen f
-
Lost my ipad. How do I unpair it from my phone?
Unfortunately I lost my Ipad whilst travelling on Thursday, I have reported it to the police, lost property at the train station etc. I have changed my passwords etc on my accounts but could someone please advise how I unpair it from my phone? It's p