Error in webdynpro for abap
Hi Friends,
While creating a webdynpro application, i am getting the following error on the browser when i execute the application. Please help me how can i solve it.
The following error text was processed in the system SE1 : Error in module RSQL of the database interface.
The error occurred on the application server topwdserd001_SE1_51 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: ONACTIONACTION_FIND of program /1BCWDY/3T1358J0N3JXJR8HK9WA==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/3T1358J0N3JXJR8HK9WA==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
here is the code:
can you now see what are the errors:
method ONACTIONACTION_FIND .
DATA LO_ND_NODE_VBAK TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_NODE_VBAK TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_NODE_VBAK TYPE WD_THIS->ELEMENT_NODE_VBAK.
navigate from <CONTEXT> to <NODE_VBAK> via lead selection
LO_ND_NODE_VBAK = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_NODE_VBAk ).
get element via lead selection
LO_EL_NODE_VBAK = LO_ND_NODE_VBAK->GET_ELEMENT( ).
get all declared attributes
LO_EL_NODE_VBAK->GET_STATIC_ATTRIBUTES(
IMPORTING
STATIC_ATTRIBUTES = LS_NODE_VBAK ).
DATA: ls_where(72) TYPE c,
lt_where like TABLE OF ls_where,
lt_vbak TYPE STANDARD TABLE OF vbak.
if not LS_NODE_VBAK-vbeln eq ' '.
CONCATENATE 'VBELN = ''' ls_node_vbak-vbeln '''' INTO ls_where.
APPEND ls_where to lt_where.
ENDIF.
IF NOT LS_NODE_VBAK-erdat EQ '00000000'.
CONCATENATE 'ERDAT = ''' ls_node_vbak-erdat '''' INTO ls_where.
if LS_NODE_VBAK-vbeln ne '00000000'.
CONCATENATE 'AND' ls_where INTO ls_where SEPARATED BY space.
ENDIF.
APPEND ls_where to lt_where.
ENDIF.
SELECT VBELN ERDAT ERZET ERNAM ANGDT BNDDT AUDAT VBTYP TRVOG AUART
AUGRU GWLDT SUBMI LIFSK FAKSK NETWR WAERK VKORG VTWEG SPART
VKGRP VKBUR GSBER GSKST
FROM vbak INTO TABLE lt_vbak WHERE (lt_where).
DATA LO_ND_NODE_ALV TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LS_NODE_ALV TYPE WD_THIS->ELEMENT_NODE_ALV.
navigate from <CONTEXT> to <NODE_ALV> via lead selection
LO_ND_NODE_ALV = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_NODE_ALV ).
get all declared attributes
LO_ND_NODE_ALV->bind_table( lt_vbak ).
endmethod.
Similar Messages
-
Runtime error in webdynpro for abap
hi every one,
The ASSERT condition was violated.
in webdynpro abap can any one help . im getting this error when im inserting customer master in KNA1
and also when i m giving name in customer name field its give error as
Unable to interpret RA as a number in case of customer name i m pretty confused can any one help.Which assert condition was violated? Think of this as a CHECK statement that evaluated as NOT TRUE. Also, are you sure your data elements/domains are correct from customer name? The error fires when you put non-digit characters into numeric fields or NUMC fields.
-
Popup size error in Webdynpro for ABAP
Hi Experts!
Recently we upgraded our SAP HR system
FROM
SAP_BASIS 700 0016
SAP_ABA 700 0016
TO
SAP_BASIS 700 0017
SAP_ABA 700 0017
After the upgrade, all popup called with create_popup_to_confirm in our Webdynpro ABAP programmes, has become oversized. And we can't see the buttons just like links. As you can see at the links.
[View before and after SP|http://www.geocities.com/bajusz79/popup.JPG]
1. Oversized popup
2. No buttons displayed, just links
I cant find any usefull SAP notes. If you know a note number or any solution, please help me!
Thank you!
Peter
Edited by: Peter Bajusz on Jul 17, 2009 10:34 AMHi,
We faced a similiar problem. Luckily for us, we were supposed to upgrade to SP19 and the problem got resolved post SP19 upgrade.
Pls. share if you've got any alternative solution.
Regds,
Srini -
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 -
Webdynpro for ABAP treeBynesting table column Usage
Hi Experts,
I am trying to use treeByNesting table column in webdynpro for ABAP.
Can anyone please share me the code.
I am not getting how to use the recursive node.
I need to develop a tree structure whose leaf if determined at run time, so thought to use this UI element. But right now I am getting an error like : ASSERTION FAILED.
Please suggest how to use recursive node and how to load the child.
Regards,
Kalyani.Hello friend,
I think these links will help you much in solving your error.
Please visit these links,
http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynProABAPApplicationusingTreeand+Frame
http://www.****************/Tutorials/WebDynproABAP/Tree/Page1.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm
Thanks,
Sri Hari -
Send Email with Webdynpro for Abap
Hi,
i want to send an email without a attachment after the customer has filled a form.
The Webdynpro for Abap action must send a notification Email to the
service department about these new request.
Has anyone an example how to send an email with Webdynpro for Abap.
Thanks
ThomasHi Micky,
thanks for your help. I trying to used the SO_NEW_DOCUMENT_SEND_API1 in
a action of my webdynpro for Abap. But I getting the error message that a structure parameter responce an error.
Here the Code of the Action:
DATA HEADER TYPE TABLE OF STRING.
DATA RECEIVERS TYPE STRING.
RECEIVERS = 'my-mailadress'.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = 'nothing'.
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = ' '
COMMIT_WORK = ' '
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
OBJECT_HEADER = HEADER.
OBJECT_CONTENT =
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = RECEIVERS.
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
What's wrong ?
Thanks for your help.
Thomas -
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.
Maybe you are looking for
-
How to use webmail address book on Mac Mini Server with Lion Server.
I have a Mac Mini Server with Lion Server installed; the webmail is setup and working but I can not get the address book to work. I have followed an instruction from this website on how to activate the address book icon in webmail but can not add any
-
Guyz i found many threads and apple knowledge base docs regd setting up imap/pop for gmail &yahoo and did the same on my new iphone...following are my queries,appreciate any answers .... 1> as i do not have IMAP enabling/disabling in my gmail account
-
Will iPhone 3.0 have HD Video?
I know they explained a lot of new features being added out of 100 APIs, but I haven't seen "HD Video" or any of that to say you can watch High Definition TV Shows and Movies on any of the splashes. So will it be on the iPhone 3G or is it a newer pho
-
...how do I reference a certain 'state' or page in my flex application using a URL? Thanks in advance, Randy
-
Hi there, I have a proble to draw a XY plot. How is it possible to set the X-axis with the recorder timestamp ? pls see the attachmend! Thank you! Attachments: Test.vi 22 KB