WebDynpro ABAP - ABAP Engine
If we have latest SAP R3 that works on WAS 640 can I deploy WebDynpro for ABAP and use this ABAP Engine to do all the development. That way all the regular R3 deveopment as well as Web Dynpro ABAP development will be in Development box.
Is this ok to do? Any issues. Problems please let me know.
WDA is only available in WAS 7.0 or Netweaver 2004s. So you need this release in order to have Web Dynpro ABAP.
REgards,
Rich Heilman
Similar Messages
-
How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0
Hi WebDynpro for ABAP Experts,
We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
If so can you proviode me the way how can we achieve this?
ADV Thanks
Regards
PhaniHi Alex,
Thanks for your response.
I already created the system object R/3 Backend.
Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
but now the requirement is creation of webDynpro for ABAP views.
The developers developed WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
Shall we need to maintain any JCo Destinations or not?
Pl share your ideas.
ADV Thanks
Regards
Phani -
How to launch Java WebDynpro From ABAP?
I have a requirement to launch a Java WebDynpro from ABAP code. Has anyone done this? If so, does anyone know of documentation/sample code or at least an ABAP class/function group I could look at?
Thanks in advance.The webdynpro application can be triggered simply by a URL, so this is really easy in ABAP.
All you need to know is the URL for the WDJ application running on your java engine.
report zrich_0001.
data: url type string.
url = 'http:\www.sap.com'.
call method cl_gui_frontend_services=>execute
EXPORTING
DOCUMENT = url.
Regards,
Rich Heilman -
What is used for WebDynpro for ABAP?
hi all friends,,
what is used for WebDynpro for ABAP?
Thanks,
S.Suresh.
Title was edited by:
Alvaro Tejada GalindoHi
Web Dynpro for ABAP - Getting Started
Web Dynpro for ABAP is SAPs new standard UI technology for developing user interfaces in the ABAP environment. In the long term Web Dynpro for ABAP will be the successor of the traditional screen (Dynpro) based user interface technology which is based on the SAP GUI. Available with NetWeaver 7.0 (2004s) Web Dynpro for ABAP provides the same declarative UI development paradigm as Web Dynpro for Java directly out of the NetWeaver ABAP Application Server. Web Dynpro for ABAP allows the development of user interfaces directly within the ABAP Workbench (SE80) and the Web Dynpro runtime environment is a central part of the ABAP server and can be used in any SAP solution based on NetWeaver 7.0 (2004s) without the need of an additional server installation.
Web Dynpro for ABAP allows the development of user interfaces in a declarative way by providing a mighty framework which abstracts the rendering technology from the core UI definition tasks. The Web Dynpro developer declares the layout and behavior of the UI without caring about HTML, JavaScript, browser specifics or the HTTP protocol. Instead the focus lies on designing graphically Web Dynpro components based on the Model View Controller model, which enforces a clear separation between the UI layer and the underlying business logic.
This declarative Web Dynpro programming model enforces the developer to focus on the tasks of
Designing the layout of the visible views (where should the table be placed, do I need tabs, how should the button look?)
Declaring the flow and behavior of the application (flow between views, which event is triggered by which button click, etc)
Defining the data binding (which internal table is displayed in a specific table, etc)
Implementing the event handlers and controller methods.
Without making any assumption about the used rendering technology, like which browser should be supported or if the Web Dynpro application will be later displayed in a web browser via HTML at all or in another kind of client with completely different rendering capabilities.
The Web Dynpro Frameworks provides all important UI features directly out of the box:
All elements (tables, buttons, trees, dropdown list boxes, etc) necessary for state of the art user interfaces are provided by the Web Dynpro Framework in the form of predefined UI element libraries.
Complex features and behavior of UI elements.
Internationalization of the UI. All visible strings in a Web Dynpro ABAP UI are handled by the translation system and are translated in the same translation environment like other ABAP language dependent resources. All texts are displayed automatically at runtime, dependent of the users credentials.
Accessibility features are directly built into the framework and UI elements.
A unified rendering engine generates at runtime the data which is sent to the specific client application, which is not limited to browsers but includes the NetWeaver Business Client.
All this is available in the established environment of the ABAP application server and well known capabilities like the transportation and change management system, security environment, test and performance analysis tools or remote debugging can be used like in common ABAP development.
Learn about the Web Dynpro for ABAP technology with the resources below, and post your related questions and answers to the Web Dynpro forum.
Web Dynpro for ABAP: Sneak Preview
Download, License Key Documentation, and Installation Guide available here.
Web Dynpro for ABAP: Tutorials for Beginners
SAP NetWeaver Product Management provides this set of tutorials for getting started with Web Dynpro for ABAP technology.
SAP Help Portal: Web Dynpro for ABAP
This online SAP documentation goes into detail about Web Dynpro architecture and programming, Web Dynpro for ABAP administration and security, and more.
Web Dynpro - Not Just for Java Developers Anymore (PDF 3.8 MB)
In this SAP Insider article, SAP Product Manager Karl Kessler describes the tools of Web Dynpro for ABAP and uses a simple flight report example to highlight new and updated tools in the familiar ABAP environment.
Community Contribution: WDA Tutorial I - Getting Started with Web Dynpro for ABAP (PDF 2.5 MB)
Software Engineer Rich Heilman provides this step-by-step guide for developing a Web Dynpro for ABAP application.
Going into Details
Basic Concepts - Selection vs. LeadSelection
In this blog, Thomas Szuecs of the Web Dynpro for ABAP development team shows how selection and LeadSelection works in Web Dynpro for ABAP.
Web Dynpro for ABAP: Recreate the SE16 Data Browser (PDF 386 KB)
In this tutorial, Thomas Jung of SAP NetWeaver Product Management shows how to create a data browser simulator using Web Dynpro for ABAP.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/80aef577-543f-2a10-d19c-d83a565efe37 [original link is broken]
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo -
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 -
Follow-up webdynpro for abap using portal theme nw2004s, sp12
Hello,
I wanted to get a follow up to this thread,
Re: webdynpro for abap using portal theme nw2004s, sp12
We are having a problem with the way reports developed in Web Dynpro for ABAP displayed in the portal (the pop-ups and dropdowns look out of wack). The issue appears when we wrap the reports into portal themes (either standard or custom). As per the thread (the link for which I posted above), the suggestion was to apply WDFORCEEXTERNALSTYLESHEET parameter to the WDP, however our system doesn't have this parameter in the system, but it seems like I can create my own parameter. Can some on give me all of the properties assigned to WDFORCEEXTERNALSTYLESHEET in table WDY_APP_PROP_DEF.
Thank youHi Brad, I was trying to apply the note 1033496 but our ABAP servers does not have the WDFORCEEXTERNALSTYLESHEET parameter available in WDY_APP_PROP_DEF table. All other notes are not applicable to our issue.
The portal is NW2004s SP12, the ABAP server is NW2004 SP11
Regards.
Message was edited by:
Aleks Ozerov -
Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP
These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
Regards,
MarkHi Mark,
Check this out :
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
Go to section :
Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
and for the ABAP WebDynpro :
SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
I managed to make it work in my internal sytem.
Goodluck.
Cheers,
Danny -
Not able to integrate Payment Gateway with WebDynpro for ABAP
Hi,
I am not able to integrate the Payment Gateway for Billdesk ( third party software) with Webdynpro for ABAP.
Summery of the Issue : -
(*) Data from PORTAL Application to PAYMENT GATEWAY is going Correctly but
(*) Data from PAYMENT GATEWAY to PORTAL Application is not going correctly.
Details about the Problem : -
I have created 3 View in Webdynpro Application for ABAP.
View 1 -> Sales Order
View 2 -> Confirm Order
View 3 -> Success Message
When I am on the View 2 i,e Confirm Order, I have a UI Element ( LINK TO URL) on this View. When I click on the Link it successful takes me to the Bill desk site(Payment Gateway Integrator).After selecting the Card Type - > Master card, or Visa or Amex, I am routed to the Gateway Site of the Citibank, Where I have to enter the CARD details like Card Number, CVV Number, Expiry Date, and press the Submit Button.
Which now takes me to the final confirmation site, stating
1) Order Number
2) Bank ID
3) Merchant ID
4) Amount
5) Authorize ( APPROVED / NOT APPROVED)
Now once i click on the Submit button, It transfers the amount of the Customer to my bank account, correctly and goes back to the my portal application.
Till here it is working correctly, but 1 parameter is missing which is called "msg", and this parameter contains important information regarding the payment. This parameter is sent back form the Gateway Site to my Portal.
1) Authorize STATUS
2) Check Sum
etc... which will be finally required to decided whether I should go on to create the Sales Order for the Customer or not.
If the Authorize Status = '0300' then only create the Sales Order other wise if the status is any thing else lets say not equal to '0300' then gives the message that the Credit Card is not authorize to process the Sales Order.
Regards,
Saurabh Bhatnagar
E : [email protected]Dear Sir,
we are implementing Retail POS (Point of sale) for one retail company. We need to integrate third party payment gateway.
it's name is PLUTAS. We have got developer kit from Plutas (For trial ) . we have installed that kit in our system.
In my program, I am triggering " PL_TriggerTransaction" using call method. After triggering method it executes method, control passes to third party software. But I am not able to catch return parameter (Responce).
So that would be great if you help me out with this issue.
I wrote following code.
REPORT ZTEST678.
INCLUDE OLE2INCL.
data : rc_plutus type ole2_object,
lpszTransData type string,
lTxnType type char4,
lpszTransData1 TYPE string,
ret_string TYPE string,
l_count TYPE i,
l_time TYPE sy-uzeit.
rc_gui type ref to CL_GUI_CONTROL.
lTxnType = '4001'. "----
transaction type
lpszTransData = '1234567'. " -
trasaction data
*create object rc_gui.
create object rc_plutus 'PLUTUSEXCHANGE.EXCHANGEOBJ'(001) no flush. "no flush ."queueonly.
call method of rc_plutus 'PL_TriggerTransaction'(002) = lpszTransData1
exporting
#1 = lTxnType
#2 = lpszTransData.
wait up to 20 seconds.
write: ret_string. " <----
Value is not coming
write: lpszTransData1. " <----
Value is not coming -
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 -
Excel File Upload In Webdynpro For ABAP
Hi All,
I have a doubt regarding EXCEL file upload for Webdynpro for ABAP.
I am able to get the path of file using 'FILEUPLOAD' UI element.Now I need to upload the EXCEL file into ALV.I have tried out with GUI_UPLOAD and other excel upload function module.But these Function Module throws Dump.
Can you please suggest how to go about it.It will be a great help if u can suggest any function module or method.Hi Amita,
Insetad of using GUI_UPLOAD use 'HR_KR_XSTRING_TO_STRING'
Here is the sample code,
TYPES :BEGIN OF str_itab,
name(10) TYPE c,
age(10) TYPE c,
END OF str_itab.
DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
i_data TYPE STANDARD TABLE OF string,
lo_nd_sflight TYPE REF TO if_wd_context_node,
lo_el_sflight TYPE REF TO if_wd_context_element,
l_string TYPE string,
fs_table TYPE str_itab,
l_xstring TYPE xstring,
fields TYPE string_table,
lv_field TYPE string.
DATA : t_table TYPE if_main=>elements_data_tab,
data_table TYPE if_main=>elements_data_tab.
* get single attribute
wd_context->get_attribute(EXPORTING name = `DATASOURCE`
IMPORTING value = l_xstring ).
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
in_xstring = l_xstring
IMPORTING
out_string = l_string.
SPLIT l_string AT
cl_abap_char_utilities=>newline INTO TABLE i_data.
* Bind With table Element.
LOOP AT i_data INTO l_string.
SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE
fields.
READ TABLE fields INTO lv_field INDEX 1.
fs_table-name = lv_field.
READ TABLE fields INTO lv_field INDEX 2.
fs_table-age = lv_field.
APPEND fs_table TO t_table1.
ENDLOOP.
lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB' ).
lo_nd_sflight->bind_table( t_table1 ).
ENDMETHOD.
if correct give correct answer
Thanks & Regards,
Meenachi.R -
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 ). -
Article: Screen Conversion in WebDynpro for ABAP
Hi all,
I want to share with you my first article that i posted in SDN. Looking for your valuable comments...
Click the below link to read by article. Thanks.
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/screen%20conversion%20in%20web%20dynpro%20abap.pdf">Screen Conversion in WebDynpro for ABAP</a>
Some of the links in the article are not accessable from the article. The links are given below.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712">Getting Started with Web Dynpro for ABAP</a>
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/30/f2156a26fb4b4d86c5b0ce9f86bfb3/content.htm">Wizard</a>
[url=http://help.sap.com/saphelp_erp2005/helpdata/en/73/e5e6418b7eca17e10000000a155106/content.htm]Restrictions[/url]HI Hema,
What i understood from u r query is u want 2 refrsh all ui elements data.
u can read data from the respective nodes and clear those data.
Example: I want to delete contents of an ui element on the screen( FULL_NAME ).
create a buuton REFRESH on the screen and assicn a action to that button.u wil get a method with that action.write this follwing code in tat method.
method ONACTIONREFRESH_UI .
DATA lo_nd_processedby TYPE REF TO if_wd_context_node.
DATA lo_el_processedby TYPE REF TO if_wd_context_element.
DATA ls_processedby TYPE wd_this->element_processedby.
DATA lv_full_name LIKE ls_processedby-full_name.
navigate from <CONTEXT> to <PROCESSEDBY> via lead selection
lo_nd_processedby = wd_context->get_child_node( name = wd_this->wdctx_processedby ).
get element via lead selection
lo_el_processedby = lo_nd_processedby->get_element( ).
get single attribute
lo_el_processedby->get_attribute(
EXPORTING
name = `FULL_NAME`
IMPORTING
value = lv_full_name ).
clear lv_full_name.
CALL METHOD lo_el_processedby->set_attribute
EXPORTING
value = lv_full_name
name = `FULL_NAME`
endmethod.
reward if it is use ful -
Dynamic form in Webdynpro for ABAP - Context Cardinality question
Hello -
I have an adobe form in a webdynpro for ABAP application which I want to be able to be dynamic. Basically I want to be able to use a Webdynpro context node with a cardinality of 1-N and the form will take each node of the context and create a page for each one. I am able to do a static form with a context node that has a 1-1 cardinality, but once I change my cardinality to 1-N on the node the static form no longer works (there is no data). Is what I want to do possible? I've looked through all the documentation I could find and could not get a definite answer. Any help would be appreciated.
Widget (1-N)
-Widget_info (1-1)
*Name
*Sku
*Description
-Widget_plant (1-M)
*Plant_Code
*Plant_State
*Plant_City
-Widget_pic (1-1)
*Picture
... So I want to have a form which can print a page for each widget in the context (the number of which can vary). That form would have the Name, sku, description, plant_code, plant_state, plant city and the picture on it. (This is just a generic example of what I need to do)
Regards,
- JasonOk, I think I found a bug... It seems for adobe forms in WD4A, the root context node must be 1-1 and you must nest the 1-n node within that... Not sure why, but it worked. So in my case my context would look like this:
FOO_NODE (1-1)
Widget (1-N)
-Widget_info (1-1)
*Name
*Sku
*Description
-Widget_plant (1-M)
*Plant_Code
*Plant_State
*Plant_City
-Widget_pic (1-1)
*Picture -
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. -
How can we Access RFC of R/3 in WEBDYNPRO FOR ABAP?
Hi all,
i wnat to access a Function Module(RFC) which has created in R/3 in WEBDYNPRO FOR ABAP.Can i access it through SERVICE CALL.or if any other process there.?And how can i map their context & how can i execute?
Edited by: ravi k on Mar 27, 2008 1:07 PMHi,
you can find a [pdf document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600] here.
grtz,
Koen
Maybe you are looking for
-
Shuffle won't sync with ITunes
My computer recently crashed. It ended up that I needed a new hardrive and memory. That's all taken care of, but now I'm in the process of rebuilding the programs. I downloaded ITunes because I have a first generation shuffle. However, now when I try
-
Hi Experts, I want to change the delivery address in PO for a particular Account Assignment Category. When the category is 'Z', I want to fetch the sales order ship to party address which is mentioned in Account assignment tab by clicking more button
-
Error -00904 when trying to load from teradata into oracle
Hi all, We are trying to bring some data from a teradata table into an oracle table. We have followed the correct naming conventions for all staging and target tables. We always seem to get this error: error -00904 invalid identifier I know it relate
-
Clean Install of Windows 7 x64 and install of iTunes 10.5.2.11
I am having a problem with iTunes in that any time I click on a folder anywhere on my PC labeled iTunes it will launch iTunes. I also can not close iTunes if I have any folder named iTunes opened because iTunes will keep re-launching itself. This can
-
Dear All, We have upgraded Bi system to version BW 7 SP level 18 (SAPKW70018). I am activating the technical content from SPRO. I am getting the below dump and job is getting cancelled. In ST22, it is displaying as RAISE_EXCEPTION. The details are as