Component Configuration in webdynpro for abap
Hi Experts,
I have created a component configuration for a webdyn pro component.
When i create this configuration a tab "COMPONENT DEFINED" is not getting enabled.
Please tell me why it is not getting enabled and what is the actual use of this tab.
Hi Archana
Create a context node in your custom controller which is configuration controller and activate the component.
You will now able to see the Component-Defined tab enabled, where you can set the values to the context attributes which are defined in your configurable custom controller.
Thanks
Abhi
Similar Messages
-
How to configure Webdynpro for ABAP Launch for Travel Request workflow UWL
Hello,
We are on SAP ECC 6 EHP4, SAP Netweaver 7.01 SP5, for portal BP1.41. When we are running travel request in this new Webdynpro for ABAP in UWL it will lead from an attachment to PR05 trx. I would think that it would gve another screen where the manager can check a travel request. Is the standard SAP solution leading to this trx. PR05? We have tried to customize the task 20000189 in SWFVISU but it doesn't give us any results.
I would appreciate if you can give me an advice whether SAP standard solution will lead to PR05 or is there any other options what we haven't discovered yet. Otherwise we have to start customize it.
Regards, PaiviHi,
Please follow the below configuration steps for ABAP proxy:
ABAP Proxy configuration:
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Thnx
Chirag -
In webdynpro for ABAP alv table issue
hello gurus,
i am new for webdynpro for ABAP.i strucked at one point at designing time.anybody could you suggest me on this.
thanks in advance.
let me explain my scenario first.
in my webdynpro for ABAP developement i have one alv table having ten fields.i am featching the data for eight fields from one Ztabale and updating , for rest of two fields we need to fill after displaying output using the respective F4 help. Right now these two fields are in input editable mode.now i am getting the values successfully from F4 help and at the same time it is allowing MANUAL ENTRIES also but as per my requirement it should not allow any manual entries . for this i have made these two fields are in readonly mode as like as rest of fields to avoid the MANUAL ENTRIES but at this time i didnot get any F4 helpfor those two fields.
so how can i achive my goal in this thing could any one suggest me.
my final conclusion is we need to get only F4 help values into those two fields . it should not allow any manual values at any point of time.
best regards,
babuya hi harshit,
my self also used same code in my action part . here i have one table with four fields carrid , connid , fldate , price.
for carrid i have created freely programmed search help.but if it is in display mode there is no F4 help in enable mode.
in context for attribute carrid
DATA lo_nd_flight TYPE REF TO if_wd_context_node.
DATA lo_el_flight TYPE REF TO if_wd_context_element.
DATA ls_flight TYPE wd_this->element_flight.
DATA lt_flight TYPE wd_this->elements_flight.
navigate from <CONTEXT> to <FLIGHT> via lead selection
lo_nd_flight = wd_context->get_child_node( name = wd_this->wdctx_flight ).
select connid fldate price from sflight into CORRESPONDING FIELDS OF TABLE
lt_flight UP TO 20 ROWS.
@TODO handle non existant child
IF lo_nd_flight IS INITIAL.
ENDIF.
get element via lead selection
lo_el_flight = lo_nd_flight->get_element( ).
alternative access via index
lo_el_flight = lo_nd_flight->get_element( index = 1 ).
@TODO handle not set lead selection
IF lo_el_flight IS INITIAL.
ENDIF.
get all declared attributes
lo_el_flight->get_static_attributes(
IMPORTING
static_attributes = ls_flight ).
CALL METHOD lo_nd_flight->bind_table
EXPORTING
new_items = lt_flight
set_initial_elements = ABAP_TRUE
index =
DATA: lo_cmp_usage TYPE REF TO if_wd_component_usage.
DATA: lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
instantiate ALV component usage if necessary
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
pass reference to data node to instance of ALV usage
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
lo_interfacecontroller->set_data( r_node_data = lo_nd_flight ).
Configure ALV
DATA lr_config TYPE REF TO cl_salv_wd_config_table.
lr_config = lo_interfacecontroller->get_model( ).
**declerations
DATA: lt_columns TYPE salv_wd_t_column_ref,
ls_columns TYPE salv_wd_s_column_ref,
lr_input TYPE REF TO cl_salv_wd_uie_input_field,
name TYPE string,
lt_node_info TYPE wdr_context_attr_info_map,
ls_node_info TYPE wdr_context_attribute_info,
lv_tabix TYPE sy-tabix,
lr_info TYPE REF TO if_wd_context_node_info.
TYPES: BEGIN OF ty_name,
name TYPE string,
END OF ty_name.
DATA: lt_name TYPE TABLE OF ty_name,
ls_name TYPE ty_name.
**for getting node info
*Get the context node information
lr_info = lo_nd_flight->get_node_info( ).
lt_node_info = lr_info->get_attributes( ).
LOOP AT lt_node_info INTO ls_node_info.
CASE ls_node_info-name.
WHEN 'CARRID'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
WHEN 'REGIONALOFFICER'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
WHEN 'INSPECTORNAME'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
ENDCASE.
ENDLOOP.
*Logic for Table Horizontal Scrolling
lr_config->if_salv_wd_table_settings~set_visible_row_count( 13 ).
" lr_config->if_salv_wd_table_settings~set_width( '1085' ).
lr_config->if_salv_wd_table_settings~set_width( '100%' ).
lr_config->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
" lr_config->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).
lr_config->if_salv_wd_table_settings~set_first_visible_scroll_col( 'CARRID' ).
lr_config->if_salv_wd_table_settings~set_cell_action_event_enabled( abap_true ).
Set the table editable .
DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
lr_table_settings ?= lr_config.
lr_table_settings->set_read_only( abap_false ).
lr_table_settings->set_read_only( abap_true ).
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_column TYPE REF TO cl_salv_wd_column.
DATA: lt_string TYPE STANDARD TABLE OF string,
ld_string TYPE string,
ld_int TYPE i,
lv_index TYPE i.
Make few columns editable and attach inputfield, if permitted.
DATA lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
CLEAR lt_string.
APPEND 'CARRID' TO lt_string.
LOOP AT lt_string INTO ld_string.
lr_column_settings ?= lr_config.
lr_column = lr_column_settings->get_column( ld_string ).
CREATE OBJECT lr_input_field
EXPORTING
value_fieldname = ld_string.
lr_input_field->set_read_only( abap_true ).
lr_column->set_cell_editor( lr_input_field ).
ENDLOOP.
CLEAR lt_string. -
How to create an editable table in webdynpro for ABAP? Help!
Hi Experts,
I have a requirement where I have to create a webdynpro for ABAP table for new row/rows entry, delete row/rows and update row/rows data. This is something like table control in normal ABAP.
how can I achieve this? Is there any such feature in ALV component?
Any code sample will be really helpfull.
Please help!
Thanks
GopalHi,
yes, the ALV is integrated into WDA, have a look at this: http://help.sap.com/saphelp_nw2004s/helpdata/en/74/fd4142646ab46be10000000a155106/frameset.htm
Regards, Heidi
PS: look at the WDA Knowledge Center under https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943, there you can find several ALV tutorials
Message was edited by: Heidi von Geisau -
Need to create a Calender in WebDynpro for ABAP
Hi,
Tcode SSC1 displays owner's calender. I need to create same calender in WebDynpro for ABAP. I couldn't find any standard component usage for the same. Is there any component usage for the same or is there any altenative to create the same?
It's quite urgent.
Thanks,
MaheshHi
You have to use DateNavigator Control to get the left hand side screen in SCC1 and
for the right hand side one you have to work with table Control
for Date Navigator UI control see WDR_TEST_EVENTS
and to get the right hand side screen see WDR_TEST_TABLE see the view SingleMarkableCell.
Using both these standard components you can achieve this.
Abhi -
Webdynpro for ABAP - interactive Adobe form - drop down lists not working
Hi all,
I'm trying to create an interactive form for a client using webdynpro for ABAP and I've viewed the demo "Create SAP Interactive Forms by Adobe with Web Dynpro for ABAP" by Thomas Jung, but when I implement it the form following similar steps the form is not interactive.
In the properties of the "InterativeForm", I've tried clicking the "enabled" flag both on and off. I've also tried setting the "displayType" property to both "ActiveX" and "Native". But none of this worked.
I though my problem might be with Adobe reader so I switched from 8.0 back to 7.0 but this didn't make any difference either.
The system we are using is NW04s WAS 700. Any hints would be greatly appreciated!
Thanks,
-tomThanks for the suggestion Dezso. I've downloaded a newer version of ACF as indicated by the OSS note and installed it. I'm still having the same issue.
My basic question is what options should I be using in the form and on the InteractiveForm component? It looks like because of the evolution of the product there are multiple options available. I recall reading somewhere that as of a certain SP level we should have ZCI (zero client install) available. The would be our preference. It will be a support nightmare if each user needed a manual download of ACF.exe installed.
Should I click the "enabled" flag on the InteractiveForm object? When I create the form should I use the "Native" drop down list or the one from the "Active X" tab? I would like to use the "List Box" control on the form as well but it is only available in the "Standard" tab. So does that mean I can't get the selections from a "List Box"?
Thanks,-tom -
Webdynpro for abap and single sign on
I have developed application using webdynpro for abap and it is working fine. The problem is we can not get sso working . i.e. even though we configure SSO but still getting the screen asking to login into
sap web application server again
This is the 1st wda we have developed and not sure whether we can apply SSO with wda as it is find with webdynpro for Java. The basis team has gone thru all the configurations and could not understand why it did not work.
Thank you in advance.Thank you for your quick response.
1. Is the portal certificate added to Backend ? - yes
2. Is the Backend and Portal in Same Domain ? - yes
3. Are you accessing the Portal using FQDN ? - No, we use web dispatcher to redirect. But the same result if we access Portal using FQDN. -
Webdynpro for ABAP - Popup apearing for userid and pwd
Hi Experts,
We have implemented ESS and gone live. Now we have created one custom application in webdynpro for ABAP and attached with portal.
Initially there was a problem, the application was not getting executed because of system configuration, then I have configured the host name, port number correctly. Then the iView is getting loaded in the portal.
The problem is, when I am trying to access the iView, the popup apearing for the user id and password. This is happening only the webdynpro abap application, this is not happening for all sap standard iViews.
Could anyone help me with this issue?
Thanks
JayHi Jayanthi,
as you had mentioned this is not happening for sap standard iViews(do you mean simple transaction iViews for which you have used a system alias, which was the same you had used for ABAP web dynpro iview)?
Of courese ESS iViews works with their own JCOs which is no way helpful or connected with wd ABAP.
So I believe if your SAP id and Portal id are different(or if they are same but SAP Logon ticket is not configured properly) then only it woudl ask for the authentication again- for Wd ABAP to work fine, only the connector property and WAS to tbe configured in the system object(aka system alias) used for ABAP iview. Now once you enter the login credentials, it is working fine right, then could you please test the user mapping under the user you are logged in, select the alias that you had used while creating the abap wd iView and provide userid/password here, then run the wd ABAP application, it definitely would work.
N.B: if you had provided the credentials once, then it woud be stored in the browser cache, so if you perform the user mapping in user admin, log off from portal, close all your browser windows, then clear cache,(cookies etc). then login to portal, run the wdABAP application, I am sure this would work(it worked for me!!!).
Thanks,
Jakes. -
Uploading PDF into webdynpro for ABAP
Hello,
I have a small Webdynpro for ABAP with an Interactive Form. I can fill my fields in this form. Now I downloaded the PDF to my local drive, changed the fields and tried to upload it again. Thats where my problem is:
I cant upload my changes. I used a File_upload UI Element which is binded to a attribute FORM.FILE type xstring. This attribut I binded to the Interactive_Form element field pdfsources. I implemented a button with an action for my server roundtrip.
I thought thats it but unfortunetly not. Can anybody tell me what I am missing.
Thanks in advance.
regards
stefanHi Stefan
Web Dynpro ABAP development recommends that you create a <a href="http://service.sap.com/message">customer message</a> on component BC-WD-ABA.
Best regards,
Markus Meisl -
How to create interactive forms using Webdynpro for ABAP
Hi All,
I have worked on Webdynpro for ABAP, and now I want to start creating adobe interactive forms using Webdynpro for ABAP. Please provide me with basic examples to start.
Also Please provide me introduction as how interactive forms are related to ISR senarios.
Thanks in Advance.
PhaniHi Varun!,
Can you please send me also the above said step by step tutorial on [email protected]
and can you please also guide me any configurations to be done on Sneak Preview SP12 before developing the interactive forms.
Thank you in advance.
regards
Ravi -
Hi All,
In my client portal there is no iview template of type "SAP WebDynpro iview" .
I created one from the list of PAR templates of type com.sap.portal.appintegrator.sap.WebDynpro
and embedded it in a webdynpro proxy page
i have given the following parameters.
Application
Application Namespace
configuration name
platform 'webdynpro for ABAP'
WebDynpro client 'plain HTML'
system
But at runtime when i login with the end user it gives a blank page.
Please advise.
Thanks,
VVWhat happens when you try to test the same application you put in the iView from SE80. Sounds like the developer of the application might have forgotten to embed their default view in the window. A very common mistake on older support packge levels before the workbench started embedding the default view automatically.
-
Webdynpro for ABAP and Workflow
Hi All,
I have few applications developed in WebDynpro for ABAP. Now I have the following requirement in one of my application. I am creating some new entries in the custom table based on the user inputs and actions. Before creating a new entry some one needs to approve that. Once the approval is done I have to create a new entry.
I came to know that this can be achieved using workflow. I have no much idea on workflow. Could someone suggest me how I can achieve that please?
Thank You,
Suresh.Hello,
Use transaction : SWFVISU and maintain the task and the corresponding webdynpro application (parameters if any).
Register UWL with workitem handler and configure UWL.For details,
http://help.sap.com/saphelp_nw04/helpdata/en/45/a7863f445f4617e10000000a114084/frameset.htm
Each task is a activity in simple terms.For details, please refer help.sap.com inorder to create a workflow.
Hope this helps.
Best Regards,
Saujanya -
Hi Experts,
I am working in Webdynpro Java and Portal Administration for the past three years.
I am very much interested in learning Webdynpro ABAP.
Please let me know what are the skills (in ABAP language especially) i need to know for working in
Webdynpro ABAP. What are the scopes in the coming days for Webdynpro ABAP.
Thanks a lot.Dear Srini,
Welcome to Web Dynpro for ABAP forum!!!
Webdynpro ABAP is mainly for developing webapplications in ABAP.
WDA includes all the three things i.e. Programming, UI design & Settings (configuration).
As you said you have good experience of 3 yrs in Java. Try to gain some knowledge of ABAP Objects (OOP). It will be helpful to you.
There are lots of threads are available.
Plz chk the below links:
[http://help.sap.com/saphelp_nw04s/helpdata/en/de/408e41392fb85fe10000000a1550b0/frameset.htm]
[Advantages of WDA|Advantages of Webdynpro for Abap?]
[Adv & pitfalls of WD4A|Advantages and pitfalls of WD4A]
Hope this will Helpful.
Regards,
Anita Vizhi Arasi B -
Text elements in Webdynpro for Abap
Hi,
Can anybody explain me how to create text element in webdynpro for abap?
Regards,
SoumyaHi,
when you are in the component and that view, then click on menu->GOTO->TEXT symbols and maintain there.
You can access them through this coding
lv_str = wd_assist->if_wd_component_assistance~get_text( `016` ).
Regards,
Lekha. -
WebDynpro for ABAP Application in SAP-4.7 Version
Hi,
I am new to WebDynpro for ABAP. Can anyone tell me that Could I create any application of WebDynpro Application in SAP-4.7 version.
Regards
Dinesh.Hi Dinesh,
Web Dynpro Tool is not available in SAP-4.7 version.
u can create web application using BSP(business server pages which is available in 4.7 version.) from SE80
Web Dynpro tool is available in ECC6.0.
To Create a web dynpro application or component Go To SE80,and select Web Dynpro component/interface from the drop down list.
U need to Have SAP Net Weaver Installed in ur version.
Regards,
Lakshman
Edited by: Lakshman N on Nov 17, 2008 1:16 PM
Maybe you are looking for
-
How to change the default JRE when there are several version of JRE in Sys
How to change the default JRE when there are several version of JRE in System? i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3 Now the JRE is jdk1.3\bin When run class that was compiled with jdk1.5,throw
-
Install purchased Adobe Photoshop Elements 11 without DVD Drive
I purchased Adobe Photoshop Elements 11 but I am unable to load it onto my Ultrabook as it does not have a DVD drive. Is there a way in which I could download Photoshope Elements from the Adobe Elements website using the serial number from my purchas
-
Hi, When i create auto PO,i get an error "enter tax code" I am procuring this material from warehouse and info record does exists fot the same. there is no tax code maintained in info record and when i create auto PO for outside vendor ,i m not getti
-
[solved] NFS client will not work correctly
I have all my $HOME on an NFS Server. So long I used suse and debian, now I want switch to arch but the nfs-client ist not working correctly: I start "portmap nfslock nfsd netfs" over rc.conf. When I do a "rpcinfo -p <ip-arch-system>" I got the follo
-
i am not getting any sound on my macbook pro 2010