WebDynPro Component
What is Cardinality in WebDynPro?
Hello Manoj ,
When a node is created in the context of a Web Dynpro component, the cardinality of the node is specified. The cardinality defines how often a node is to be instantiated at runtime that is, how many elements of this node are available at runtime.
http://help.sap.com/saphelp_nw04s/helpdata/en/7a/787e40417c6d1de10000000a1550b0/content.htm
Regards ,
Santosh Karadkar
Similar Messages
-
IE Script error when double clicking on a view in Abap Webdynpro component
Hello experts,
I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
<b>Internet Explorer Script Error</b>
An error has occured in the script on this page.
Line: 1
Char: 1
Error: 'wdp_show_menu' is undefined
Code: 0
URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
Do you want to continue running scripts on this page?
Thanks in advance.
BhupendraHi Bhupendra,
If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
Thanks
Anzy -
Webdynpro component in new tab.
Hi Experts,
I am tring to add a new tab in the struture level of a Project .
I successfully added a new tab and created a webdynpro component for the Tab as well .
However, when i see in the application , the tab does not show the created component. When right click and check the detail, it still shows the component DPR_MAINFRAME / DPR_PROJECTS_STRUCTUR . Kndly advice.
Thanks,
Siva.Hi
Use this table DPR_CUST_TABC to register your component to WD framework.
Regards
Praveen -
How to add a new url link in a view of an existing webdynpro component?
How to add a new url link in a view of an existing webdynpro component?
hi ,
refer SAP online hep :
Implementing Enhancements in a View
http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
Enhancements means inserting user developments into SAP development objects at predefined positions.
The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
refernce :
have a look at this article
How to Create Enhancement Implementation in Web Dynpro ABAP
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
as pointed correctly by Saurav in earlier thread
regards,
amit -
How to call a RFC of a remote system from an ABAP webdynpro component
Dear Experts,
I am a newbie in ABAP Webdynpro.
I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
How do I do that ?? Please help.
Regards,
Mamai.Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
And the regarding the method of calling it depends on your FM.
if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
if it is simple straight forward RFC you can directly call it.
for creating RFC service call call use this method
1. Starting the Wizard
To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
through the creation process.
Press Continue.
2. Choice of Controller
On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
embed service calls in view controllers.
a. Select radio button Use Existent Controller
b. Do not change the default entry for component: <CC name>
c. Enter for controller COMPONENTCONTROLLER
d. Press Continue.
3. Service Type and Service Selection
a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
destination here. Press Continue.
b. Select the service: for Function Module enter <RFC name>. Press Continue.
4. The Required Methods and Context Elements
On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
required by the service call as well as to the required methods. The proposed names are based on the names of the
embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
box.
a. Adapt Context: Select from Nodes/Attributes . Press Continue.
b. Specify Method Name: leave all entries as provided: Component: Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
5. Completing the Choice
When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
and contexts at your disposal for using them within your Web Dynpro component.
or if you want to call directly the use the call statement with destination -
Adding a new field to a standard webdynpro component's layout
Hi all,
I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD') layout.How do i go about adding a new field to the standard component's lay out?
can anyone help me with the necessary details?
Regards,
Abhinay.Check if this is useful to you (Login required)
https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
Rgds/Kiran -
Consuming webservice in a webdynpro component
Hi Experts,
I have a third party free webservice as WSDL link.My requirement is to make use of that webservice in my webdynpro component.
Can any body give me a step by step approach to consume that webservice in my webdynpro Component.
If possible, Provide me some good material for consuming webservice in a webdynpro component.
Awaiting for a useful reply.
Thanks,
Ramanan.phi,
Few indroductory sessions
/people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
It is possible to create webservice in ABAP as well as in Webdynpro.
ABAP Webservice:
http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
http://www.sappro.com/downloads/SAPXI.pdf
Webdynpro Webservice:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM -
How to get the floor plan in Webdynpro component ?
Hi,
How to get the floor plan in Webdynpro component ?
Best Regards,
TripathiHi,
Just copy the templates from Webdynpro Component by choosing OIF or GAF or QAF template.
Regards,
Bansidahr -
Webdynpro Component in Guided Procedures
Hi Experts,
I am very new to guided procedures, please help me out.
Scenario: One Webdynpro Component with few input fields and btn, btn action saves the data in custom db tables. But, i need to mail the filled form to some approver and from there, if the form is approved then save to db else reply with unapproved form.
Please can anybdy tell me, hw i will b able to do all this using guided procedure.
I found some queries and tutorials, also i followed the same steps..bt while creating a new webdynpro object in process action. After selecting my comp from server, it dint shwed up those input field parameters in parameter tab of object or newhere...y so??? Are there any settings to b done??
Also, while assgning roles, its bit complicated,...can anybdy explain me that part???
Thank You So Much Experts,
RunalHi,
I think, you can resolve your issues by going throuh these links
[link1|http://help.sap.com/saphelp_nwce10/helpdata/en/43/34be0d89f01bcce10000000a1553f7/content.htm]
[link2|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00c07d0-61e0-2a10-d589-d7bc9894b02a]
[link3|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b99341-60e0-2a10-6e80-b6e9f58e3654]
Sampath
Edited by: Sampath Gunda on Jun 6, 2008 2:35 PM -
Identifieng Webdynpro component name from the portal screen
Dear experts,
I have included 4 custom fields in the header of the Shopping cart creation which are Change order New order Document type and Document number( In SPRO ). Those fields are appearing as input fields on the portal screen but the requirement is to make Change order & New Order appear as Radio button and Document type should appear as dropdown list.
I wanted to identify the webdynpro component by Right clicking on th portal custom fields-> More info
I tried opening the webdynpro component shown but could not find the Custom fields appearing in the portal.
Can you please suggest an alternate way of finding the the exact WDA component so that I can modify the custom fields according to my requirement.
Please provide your valuable inputs.
Regards,
Murthy.Hi Murthy,
You have checked correctly.
The custom fields added thru spro are not visible in the component view layout.
Enchance the webdynopro component by creating new addition of fields.
regards,
Neelima -
Calling a method in another webdynpro component
Hi,
I have two webdynpro components say Comp A and Comp B.
In Comp A I had a view View A and in Comp B I had a View in View B.
In View A, I had a method X, I want to call this method in View B of Comp B.
How I can do this?
I created a public part of Comp A and tried to add in used webdynpro components. But in the list I am not able to find it.
Please help.
Regards
MQHi,
If both the components Comp A and Comp B are in the same DC you can use the interface controller to call the method in comp A. Add this comp A interface controller in Comp B controller by going to the properties tab, so that you can access the methods of comp A interface controller.
If you have the components in different DC's you can follow the below steps:
Go to public parts in DC meta data section and create a public part by selecting the first radio button option and add the Comp A by selecting the option (Webdynpro Component-->Selected Entities).
Click on Finish button so that public part for comp A is created.
Now build the DC and go to Used Webdynpro components of CompB, give some name and browse to select the used webdynpro component, it will show you the Comp A public part select it and try to finish it.
Once again build the Dc after doing this.
Now you can access the method of comp A in Comp B
wdThis.wdGetCompA.getX()...
Hope this helps you..
Regards,
Saleem -
How to move the fields in the standard webdynpro component.
Hi ,
I am new to webdynpro dynpro.
I have a requirement in which i have to move the standard fields to some other place.
The webdynpro component isn HRRCF_C_PERSONL_DATA_UI.
In this i have to move the fields location and poastal code above the fields country and region which comes in ADDRESS .
First i enhanced the application . then i right clicked the field , but the up menu is disabled since it is a standard one.
kindly give suggestion to move the fields.
Thanks & Regards,
S.VelsankarHi
You need to delete that UIElement from standard component and create similar new UIElement, Now you can move your UIElement as per your requirement. if you want to come back to original state of your component, delete your enhancement and the deleted UIElement will be back.
Thanks
Vishal Kapoor -
Background Scheduling for a webdynpro component
HI,
Please elaborate how can i background schedule my webdynpro component. I am not able to understand the flow logic.
-Sid>
Siddhartha wrote:
> Thnax Thomas, One last thing ..how do I handle/create variant for it ?
>
> -Sid
What, for the classic dynpro program? Just go to SE38 and use the variants radio button to maintain the variants for the program in question. -
Use of multiple Applications for single webdynpro component in ABAP WEB DYNPRO
I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance
Hi Sam,
Different functionalities for a single webdynpro component can be achieved by many ways. Among them is the use of multiple applications. Say for example if you want different views/windows to be displayed at the start up, you can achieve it by specifying at the default window, for each every webdynpro application.
And if you want control the fields, say for example you want to display input fields as editable for one application and read only for other application, you can achieve it through application parameters. Based on parameters, in HANDLEDEFAULT method of window controller , you can specify the type of behaviour , whether it has to editable or not based on parameters and same can be used at context binding of UI properties.
Application configuration can be used for personalization.Web Dynpro ABAP Application Configuration. This tutorial would help you understanding the concept much better. There can be multiple application configurations for a single application.
Regards,
Harsha -
Adding an Input field in Standard Webdynpro Component in SAP SRM
Hi Friends,
I want to add one input field in sap standard webdynpro component in SAP SRM MODULE
the component name is /SAPSRM/WDC_DODC_RFQ_H_BD
view name is V_DODC_RFQ_H_BD
Upon clicking on SAVE button , it shud save in database
what is the name of database table and how to solve this problem
Thnx
SriniHi Kumar,
By using Enhancement Framework you can do this.
How can we add a new field to the Standard Webdynpro application?
Also check this..
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81
Cheers,
Kris. -
Custom Button in Sap Standard webdynpro Component
Hi Friends,
i have one requirement
1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
2. but when i click this button, one Z webdynpro component should run,
Can any one please give me idea on this
Thanks and Regards
Kumar SriniHi,
copy below given code and paste inside of your on action method,
Note: just change the url address
data: l_window type ref to if_wd_window_manager.
data: l_cmp_api type ref to if_wd_component.
data: str type stinrg.
data: result type if_wd_window.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZWEBDYNPRO COMPONENT NAME'
IMPORTING
out_obsolute_url = str.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window = l_cmp_api->get_window_manager ( ).
result = l_window->create_external_window(
url = str ).
result->open( ).
Maybe you are looking for
-
How to Update multiple line Items in Sales order Interactive form
Hi, I have created one online interactive form for sales order. In that I incorporated dynamic table logic .i.e. we can add row and delete row using buttons. Interactive form is working fine with one line item. But if I give multiple lines in
-
How could I get my iPad out of recovery mode without deleting all its data?
I updated my iPad 2 to iOS 7.1.2 or so while it was plugged into my laptop, which caused it to go into recovery mode. And it didn't back up anything at all. I tried TinyUmbrella and other tools, but it only seemed to restart the iPad and put it back
-
Download link in master detail form
I am trying to store a PDF file in the DB and then allow users to click on a link to download it. However, I can't get this to work properly. The report region definition does not allow me to alter the source. What I did was create a master detail fo
-
Getting external VGA monitor to work without cloning. [Solved]
Hey guys. I'm on a ThinkPad T42 with an older ATI card (ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]). I'm using the open source drivers since I'm fairly sure the closed source drivers don't support this card. Anyway, I can get a
-
Get back IP address string of my Network P.C Card.
I'm trying to get my PC network Card IP address in LV 6 application. Anyone have idea how can I do it ? My O.S. is Win98. Regards