New to Webdynpro for ABAP
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
Similar Messages
-
Hi all New to WebDynpro for ABAP
Hi All,
I am New to WebDynpro.
I try to create an Hello world program for the first time.
I first created a WebDynpro by using SE80.
Then i created a view by right clicking on it.
but once the View was created at the Layout tab i am getting the error:
The Page Cannot be displayed.
as that we get on web browsers.
Please let me know is i have make some changes in settings.Hi Lokesh,
Try this open the internet explorer .In the menu select tools -> internet options ->connections (tab) -> LAN settings ( Button ) -> Check the check box Use a proxy server for your LAN .
Also go to tcode SICF and choose SAP->bc->web dynpro
right click and select activate service from the popup menu.
Regards,
Charumathi.B -
Creating attachment in Webdynpro for ABAP
Hi Expertrs,
I am new to webdynpro for ABAP. I have a requirement like I need to create an attachment in webdynpro screen. I have searched the forums and I got the class CL_GOS_SRV_ATTACHMENT_CREATE and method EXECUTE_ITS. but when I call this method I am getting dump in the method.
Can anybody please suggest me how to create attachment in webdynpro for ABAP?
When ever attachment is created and clicks on save button workflow will be triggered and a workitem appears portal when ever the user click on the display attachment I need to display the created attachemnt.
Please suggest me.
Thank You.
RanganadhHi,
Please follow the steps below;
Follow these steps;
1.create a node 'FILEUPLOAD' with 2 attributes
a) FILECONTENT type XSTRING
b) FILENAME type STRING
2. Create a fileuplaod uielement
a) bind the data property with attribute 'FILECONTENT'
b) bind the filename property with attribute 'FILENAME'
3. Create a button 'UPLOAD'
a) create the action method for this button
Paste the following code in this method
Data l_node type ref to if_wd_context_node.
Data l_stru type wd_this->elements_cn_fileupload.
l_node = wd_context->get_child_node( 'FILEUPLOAD' ).
l_node->get_static_attributes( importing static_attributes = l_stru ).
"save l_stru-fielcontent in database. Your file will be saved in the database in XSTRING format.
Now when you want to display this file;
1. Create a Node 'FILEDOWNLOAD' with 1 attribute
a) FILE type XSTRING
2. Create a filedownload uielement
a) bind the data property with the attribute 'FILE'
Fetch the file from databased and set the File attribute of teh filedownload uielemnt to display the file.
Hope this helps!
Radhika. -
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 -
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 -
The new features avilable in webdynpro for abap with EHP5
Hi,
Currently our ECC 6.0 is upgraded with EHP5 from EHP3.
Could anyboy tell me the new featues available in webdynpro for abap for this EHP5. If i develop WDA objects in EHP3 environment and transport it to new system with EHP5 . What would be the problems i encounter. kindly suggest me..
thanks,
RaghuI would expect in any case that there is no problem when you transport WDA build from ehp3 to ehp5 (Backward compatibility ).
-
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
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 -
Display HTML code in WebDynpro for ABAP
Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
Thanks>I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
Regardless the approach is possible using the iFrame UI. The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
If you have the HTML content in a string, you can simply place it into the ICM cache. This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
Here is the code for placing the string into the ICM Cache:
****Create the cached response object that we will insert our content into
data: cached_response type ref to if_http_response.
create object cached_response
type
cl_http_response
exporting
add_c_msg = 1.
try. " ignore, if compression can not be switched on
call method cached_response->set_compression
exporting
options = cached_response->co_compress_based_on_mime_type
exceptions
others = 1.
catch cx_root.
endtry.
****set the data and the headers
data: l_app_type type string.
cached_response->set_cdata( lv_html_text ).
l_app_type = 'text/html'.
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 60 ).
data: guid type guid_32.
call function 'GUID_CREATE'
importing
ev_guid_32 = guid.
concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
****Cache the URL
cl_http_server=>server_cache_upload( url = lv_iframe_url
response = cached_response ).
wd_context->get_element( )->set_attribute(
name = `IFRAME_URL`
value = lv_iframe_url ). -
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. -
Portal Password Reset Application In webdynpro for ABAP
Hello Friends,
I am new to WDA . I want to create a Password Reset application in WDA like this
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c09b9d-52e0-2d10-3981-86bfa8e19dc3?quicklink=index&overridelayout=true]
Can someone pls give the solution , how to start??
Thanks in advance
HimaniI am afraid that this is not going to be possible for you. From WebDynpro for ABAP, you do not have portal API's to do that.
May be an idea ,If you have SSO in place you could try to call some FM's in r3 side to change the password in r3 system and this would synchronize the UME in portal. -
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 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 -
How can we benefit from WebDynpro for ABAP over Normal ABAP
Dear Guru's,
Please guide me what are +Ves of WebDynpro over Normal ABAP. Once all Applications are developed how can we organize them. For Example In SD module there is sequence of Tcodes to be executed this is true for all modules . Is there any concept involved in this new technology.
For What purpose we can suggest someone to implement in an Organization.
Many Thanks in Advance.
Regards
RamHi Ram,
Here Are some comparisions I made w.r.t Webdynpro for ABAP (also some benifits over Java):
1 "Pros:it will be easier to move your development project through the system landscape if both the UI and business logic are in the same development environment.(Update: This is is less of a concern now that CTS+ lets you bundle your WD Java UI developement with ABAP development objects into a single transport, with SPS13. )
2 tons of custom ABAP business logic is easier to access via WD for ABAP
3 WD for ABAP has a code wizard, so easy to build
4 SAP List Viewer and ALV handled better
5 The biggest thing is the NWDI. Most of the SAP customer have ABAP stack, but not everyone has the Java stack. To develop WD Java you need to set up the NWDI envrionment, like SLD, CMS, CBS, DTR, etc. which is a huge effort if you don't have them in place. While for WD ABAP, the environemnt is normally there as given for most of customers if they have the right version.
6 If your business is in SAP system, I would prefer WD ABAP. There are many WD components available in WD ABAP like select-option, Alv table, F4-help which are not available in WD Java. Beside in WD ABAP you can deal the context node in form of internal table which is much more performant than dealing with the contextelement which is the case for WD Java.
Regards,
Tanaya
Edited by: Tanaya A on Dec 10, 2009 6:19 PM -
Monitor usage of Webdynpro for Abap Application
Dear all,
How does one monitor how many times a Webdynpro for Abap application is called by users? We have an i-view in the portal that calls a WD4A program in the back-end system. Is there anything in the portal or back-end that will give us the usage information?
Thanks, NeetaHi Thomas,
We are not necessarily looking for performance data but how many times a bsp and/or function module is called. The idea is to try and determine how many calls are made to SWN_WIEXECUTE BSP via a URL (http://<hostname>:xxxx/bc/bsp/sap/SWN_WIEXECUTE/MAIN.DO to track a usage of a new workflow approval/rejection process.
We also want track how many calls are made to SAP_WAPI_WORKITEM_COMPLETE function module to track approval/rejection of a workflow process via Portal UWL.
Best Regards, Neeta
Maybe you are looking for
-
Hi Folks, I am getting the following dump error.Can any one here please throw some light on this. Field too small when calculating totals in internal table. <b>In the internal table "\PROGRAM=ZFI\DATA=IT_HEADER[]", a SUM statement is used to calculat
-
How can I upgrade RAM memory for Pavilion dv6-3267cl notebook PC?
My laptop is HP Pavilion dv6-3267cl Entertainment Notebook PC and OS is Windows 7 Home Premium 64-bit Service Pack 1. It has intel core i5 cpu m480 2.67ghz 2667mhz 2 core 4 logical processor and two of 2GB SODIMM Samsung 1067MHz are used right now.
-
Purchase order cannot be created
Hi friends... I am new to SRM and now in learning problem. I am trying to observer and study a case and I need opinions from experts out there. I appreciate the value u spend in responding me. Here is the problem : Purchaser A tried to create purchas
-
Hi, I installed Sap MI 7.1 in Windows server 2003 and with Ms SQL server 2005. The installed system doesnt have a fully qualified domain name. Now i planned to rename the system with a fully qualified domain name. So, after renaming what are the step
-
Hi all, I need to monitor every CE which belongs to different VRF, their IP address may be overlapping. Is there any good idea to do that. Thanks.