X Axis plotting in Business Graphics
get element data throu Parameter or variable
I Try to optimize my methods and put them from my view to the component Controller.
In my View MAIN i got a Context Node BLUBB with some data in it.
i write a method SAVE_DATA to save all the Data ob BLUBB.
DATA lo_nd_BLUBB TYPE REF TO if_wd_context_node. DATA lo_el_BLUBB TYPE REF TO if_wd_context_element. DATA ls_BLUBB TYPE wd_this->element_BLUBB. lo_nd_BLUBB = wd_context->get_child_node( name = wd_this->wdctx_BLUBB ). lo_el_BLUBB = lo_nd_BLUBB->get_element( ). IF lo_el_BLUBB IS INITIAL. ENDIF. * get all declared attributes lo_el_BLUBB->get_static_attributes( IMPORTING static_attributes = ls_BLUBB ). * **speichern update BLUBB from ls_BLUBB.
This Coding workes fine in my View MAIN.
But now i what to have a Method SAVE_DATA in my Component Controller to use this more often in other Views etc.
I Created a Method SAVE_DATE in my CC with the Import Parameter (the Context Node BLUBB is mapped in den CC already)
TABLE Type String
*Übergebene Context node wird lokal übergeben. data: xy_node type string. xy_node =TABLE. DATA lo_nd_DATA TYPE REF TO if_wd_context_node. DATA lo_el_DATA TYPE REF TO if_wd_context_element. DATA ls_DATA TYPE wd_this->element_BLUBB. * lo_nd_zberufuverf = wd_context->get_child_node( name = wd_this->wdctx_BLUBB ). lo_nd_DATA = wd_context->get_child_node( name = xy_node ). lo_el_DATA = lo_nd_DATA->get_element( ). IF lo_el_DATA IS INITIAL. ENDIF. * get all declared attributes lo_el_DATA->get_static_attributes( IMPORTING static_attributes = ls_DATA ). CASE TABELLE. WHEN 'BLUBB'. update ZBLUBB from ls_DATA. ENDCASE.
In my View MAIN i start the Method with
wd_comp_controller->data_save( 'BLUBB' ).
The Coding on line 8 is my Problem.
DATA ls_DATA TYPE wd_this->element_BLUBB.
This coding works for now..but when i whant to use an other context element...for example BLAH my Element wont do it.
So how can i change this definition so "BLUBB" is my Parameter or my Varaiable???
Something like this wont work, but i hope u understand what i mean
DATA ls_DATA TYPE wd_this->element_TABLE
Can u Please Help me.
Kind Regards
Tobi
WebDynpro Application Running endlessly
Hello All,
We have a webdynpro application that was working fine until this morning.
We have a bunch of text fields, buttons and a table view in the application.
All of a sudden I am seeing the issue with the progress indicator in the application. It is running endlessly on any button click or table row selection.
Button events are not getting triggered on button click (I had external break points set in the application, none of them are getting triggered).
There are no changes to the application in the recent days. I update the java version on my machine.
Appriciate your inputs on this. Thanks!
-BK
While executing web dynpro application Rabax_State Error Occurs
Hi all,
I am new to the concept web dynpro, I am getting the Following Error While Executing the Web dynpro Application,
Kindly help me out in this..
In the Logon Page
=====================================================================================
==========================================================================================
After that I am getting this error.
========================================================================================
- The following error text was processed in the system DEV : Die URL enthält keine vollständige Domainangabe (willsys statt willsys.<domain>.<ext>).
- The error occurred on the application server willsys_DEV_00 and in the work process 0 .
- The termination type was: RABAX_STATE
- The ABAP call stack was:
Method: CHECK of program CX_FQDN=======================CP
Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
=======================================================================================================
Thanks in Advance,
Regards,
Brindhan Settu
Upload image to MIME Respository
Hi all,
I have a problem while uploading the image to the MIME repository with the following code:
ls_info-OBJID = '11111111111asd'.
mime_repository = cl_mime_repository_api=>get_api( ).
call method mime_repository->put( exporting
i_url = '/SAP/BC/WEBDYNPRO/SAP/Y_UPLOAD_IMG_MIME_RESPO/IMG/0001.JPG'
i_content = LS_NODE-DATA
I_NEW_LOIO = LS_INFO ).
and it catch an Exception cx_sy_send_dynpro_no_receiver.
anybody know how to fix this?
Thank in advance.
Best regards.
SAM.
PO Creation : Portal Error " ASSERTION_FAILED "
Hi,
While creation of PO by using OP_BUYRER user ID, I am getting below error in Portal. I have roles assigned in Portal, ABAP-SRM and ECC.
Any reason for this error?
Error :
Method: ADD_EVENT_TO_QUEUE of program CL_FPM========================CP
Method: IF_FPM~RAISE_EVENT of program CL_FPM========================CP
Method: SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: IF_COMPONENTCONTROLLER~SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: RESET_SCREEN of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: IF_V_PRSEL~RESET_SCREEN of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: WDDOMODIFYVIEW of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/03N7C4GLNXNTUW30Z88P==CP
Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
Thanks,
Rahul Mandale
Urgent:Issue in select all row of table Control..
Hi Guys,
Please highly appreciation who give me the ans soon it's urgent requirement.
According to my scenario,we have populate some data through table when we save the data it fills a table below table in which a button 'Select all'.
But after saving data when we click on 'Select all' button it's not working.
Note: 1) Without saving data in upper table and if we are select all data of table click on 'Select all' button it's working fine.
2) Before clicking on 'Select all' button we click on edit button too.
Please find below screen.
What is the issue and how can we solve it.
Kindly help us.
Thanks a lot in advance.
RE: drop down on webdynro alv toolbar
Hi Experts,
I have put a drop down by index on alv tool bar and values are getting populated, when i m changing the lead selection on the drop down the event is not getting triggered. Any one who has done drop down on alv toolbar? can u tell which which alv event was used. Any help or suggestion will be appreciated.
Regards,
Narayan
Personalization in Webdynpro
Hello,
We have created a application using webydnpro ABAP.
I have a requirement where i need to personalize the fields displayed on the table.
How can i achieve this, pls help me in this regard.
Thank You,
Shashi
Field placement in FPM
Hello Experts
In a project our customer does not like the placement of the fields on the standard FPM screen for portoflio management. One field is on the right side of the screen and then there is a large gap of empty space and the next field is on the left. Also there are only two columns when there would be room for three or four fields per line. How can we influence this like in a "good old dynpro" and position the fields the way it would benefit the end-user?
Looking at FPM and the possible UIBB's within Portfolio Management (PPM) I could not find a possibility to do this. Also the flow/grouping of the screen should be a combination of standard PPM fields and custom fields that were added to the application. Does anyone have some info IF and how this could be accomplished?
I would much appreciate some pointers.
Thanks
Harry
Cell variant in table column
Dear experts,
I have a simple table element with a column that contains a cell variant for a dropdown list. This is a dynamic table and the cell variant is set for the 3rd column based on the field value in the 1st column. Only the first row will contain the cell variant in the 3rd column. For all other rows, an input field in the cell is used for free text entry. See table below.
I have set the cell variant accordingly for the dropdown list in the first row and this works fine. For the other rows, I have cleared the variant value (for selectedcellvariant) and expect that free text input will work as it takes on the columns celleditor properties. However, after inputting some values in the 3rd column and attempting to save, I get this error for the value input in row 2, column 3 - "The entered value is not in the list of valid values". No variant is bound to this cell so please shed some light on this. Thanks.
value 1 | some other value | Dropdown list for characteristic value (bound to cell variant) |
value 2 | some other value | Free text (variant value is cleared) |
value 3 | some other value | Free text (variant value is cleared) |
Dynamically set Title of UIBB
Hello All,
I am using FPM_OVP_COMPONENT to create a FPM application. I have created two UIBB in single section. for 1st UIBB i have set the title through properties but for my 2nd UIBB i want to set it dynamically depending upon content inside that UIBB. This UIBB some what like contextual panel in webdynpro UI element.
I didn't find any form on SCN or blog related to my requirement. It is my humble request to help me on this issue because this requirement is related to Production issue and needs to be rectified soon .
Thanks
Faiz Khan
Attach multiple documents to DMS through Webdynpro ABAP
Hi All,
I am able to attach single file to DMS through wendynpro abap,but while i am unable to attach multiple files to single document number.
I am using Function module CVAPI_DOC_CREATE for documnet creation.It is accepting structure but not internal table.
Please find the below attached code which I am trying.Please check this and suggest me the solution.
Regards,
Vagdevi
Embed Video in Webdynpro component
Hello All,
Please can you let me know if it is possible to embed a video in Webdynpro component?
What I found out is using IFrame but then it is deprecated and not advisable to be used.
Hence is there anything else that can be done.
Our requirement is that on logging in to the portal and going to a certain page a user will be able to view a video.
Once he has completed viewing the whole video there should be a way of sending out a mail to relevant people.
This can be a button click or anything but the person should not be allowed to send the mail without viewing the whole video first.
Thanks,
T.
Back End Error:WBS element does not exist
Hi friends,
When i create a PO in SRM portal i am getting this below error ,
'Back End Error:WBS element 00226129 does not exist'
Please provide solution for this error.
Thanks,
Arul.
Search help values in internal table
Hi Experts,
i have a requirement to create dropdown by key in an alv cell. I want to get all the search help values and attach it to the value set ( along with the texttable field)
company code and company code description
i used this code:
MOVE 'seacrch help name' TO l_shlp-SHLPNAME.
MOVE 'SH' TO l_shlp-SHLPTYPE.
CALL FUNCTION 'F4IF_SELECT_VALUES'
EXPORTING
shlp = l_shlp
CALL_SHLP_EXIT = 'X'
TABLES
RETURN_TAB = l_retval.
In l_retval, I am getting the company code but i am not getting the text table text (txtmd field) company description. Please let me know how i can achive it.
If there is any class method call which i can use instead of FM, i would prefer.
Thanks & REgards,
Tashi
Example errors in WebDynpro
Goodexpertsdaysscn, I'm programming theexample below toWebDynpro (Save Select Options and ALV Selection records in ABAP Web Dynpro Application - Web Dynpro ABAP - SCN Wiki), but Iappearsome errorsanywhere inthis exampleexplain how tocreate the layoutof the screenthat iswhat I havecreated in thelayouttaband also inthe tabcontext, I am new toWebDynproprogrammingand would like tohelpme, I createobjectsinthelayouttabas well asthe nodesto be createdinthecontexttab.
METHOD onactionget_details .
* Field Symbol Declarations
DATA: BEGIN OF wa_mard,
matnr TYPE mard-matnr,
werks TYPE mard-werks,
lgort TYPE mard-lgort,
END OF wa_mard.
DATA: s_werks TYPE REF TO data,
s_aufnr TYPE REF TO data.
* Field Symbols declarations
FIELD-SYMBOLS: <s_werks> TYPE table.
* Local Data Declarations
DATA lo_nd_header TYPE REF TO if_wd_context_node.
DATA ls_header TYPE wd_this->element_header.
" El nodo creado en context HEADER es igual ha este valor element_header
DATA wa_mara TYPE mara.
DATA li_mard LIKE TABLE OF wa_mard.
DATA wa_marc TYPE marc.
DATA wa_makt TYPE makt.
DATA lo_api_controller TYPE REF TO if_wd_view_controller.
lo_api_controller ?= wd_this->wd_get_api( ).
s_aufnr = wd_this->m_handler->get_range_table_of_sel_field( i_id = 'WERKS_D').
1 READ TABLE <s_werks> INTO ls_werks INDEX 1.
2 CHECK ls_werks-low IS NOT INITIAL.
* Constants Declarations
CONSTANTS: c_x TYPE c VALUE 'X'.
CONSTANTS: c_text TYPE string VALUE 'Select'.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA li_marc TYPE TABLE OF marc.
DATA li_mara TYPE TABLE OF mara.
DATA li_makt TYPE TABLE OF makt.
3 DATA ls_context TYPE wd_this->element_context.
DATA lv_visible LIKE ls_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* get single attribute
lo_el_context->set_attribute(
EXPORTING
value = c_x
name = 'VISIBLE' ).
1.- The field "LS_WERKS" is unknown.
2.- The data object "S_WERKS" has no structure and therefore no component called "LOW".
3.- Type "ELEMENT_CONTEXT" is unknown.
Since I have nottried to advance, please any of youhas developedthis example, hopefully they canguide me.
Best Regards.
Upload receipts to IXOS server
Hi,
We are trying to provide attach receipts functionality on the SAP eTravel portal.
The standard functionality stores the document using Generic Object Services (CL_FITV_GOS=>SAVE).
We need to upload the document to an IXOS archive server.
Is there any approach that we could take where we could use the standard SAP functionality and redirect files to IXOS server.
Regards,
Rufus.
Requierement to add field in business Object
Automatic Screen scroll in Multipane
Hi,
I have an issue in Page Scroll. I am using multipane for a requirement to display some block of UI elements row wise.
Inside the multipane I have used the Group UI element which repeats row wise.
When I scroll the page down and try to click on any space (on group UI element), the page scrolled automatically to the top.
Any idea on this behavior. I want to restrict the page scroll happens automatically.
Would appreciate the timely help.
Pls let me know if the above is not clear.
Thanks
RC